Lines Matching refs:extcon_dev

216 	struct extcon_dev *edev;
241 static int check_mutually_exclusive(struct extcon_dev *edev, u32 new_state) in check_mutually_exclusive()
261 static int find_cable_index_by_id(struct extcon_dev *edev, const unsigned int id) in find_cable_index_by_id()
290 static bool is_extcon_attached(struct extcon_dev *edev, unsigned int index) in is_extcon_attached()
295 static bool is_extcon_changed(struct extcon_dev *edev, int index, in is_extcon_changed()
315 static int is_extcon_property_capability(struct extcon_dev *edev, in is_extcon_property_capability()
348 static void init_property(struct extcon_dev *edev, unsigned int id, int index) in init_property()
367 struct extcon_dev *edev = dev_get_drvdata(dev); in state_show()
385 struct extcon_dev *edev = dev_get_drvdata(dev); in name_show()
423 int extcon_sync(struct extcon_dev *edev, unsigned int id) in extcon_sync()
504 int extcon_get_state(struct extcon_dev *edev, const unsigned int id) in extcon_get_state()
537 int extcon_set_state(struct extcon_dev *edev, unsigned int id, bool state) in extcon_set_state()
592 int extcon_set_state_sync(struct extcon_dev *edev, unsigned int id, bool state) in extcon_set_state_sync()
630 int extcon_get_property(struct extcon_dev *edev, unsigned int id, in extcon_get_property()
709 int extcon_set_property(struct extcon_dev *edev, unsigned int id, in extcon_set_property()
774 int extcon_set_property_sync(struct extcon_dev *edev, unsigned int id, in extcon_set_property_sync()
797 int extcon_get_property_capability(struct extcon_dev *edev, unsigned int id, in extcon_get_property_capability()
831 int extcon_set_property_capability(struct extcon_dev *edev, unsigned int id, in extcon_set_property_capability()
882 struct extcon_dev *extcon_get_extcon_dev(const char *extcon_name) in extcon_get_extcon_dev()
884 struct extcon_dev *sd; in extcon_get_extcon_dev()
914 int extcon_register_notifier(struct extcon_dev *edev, unsigned int id, in extcon_register_notifier()
943 int extcon_unregister_notifier(struct extcon_dev *edev, unsigned int id, in extcon_unregister_notifier()
976 int extcon_register_notifier_all(struct extcon_dev *edev, in extcon_register_notifier_all()
1000 int extcon_unregister_notifier_all(struct extcon_dev *edev, in extcon_unregister_notifier_all()
1056 struct extcon_dev *extcon_dev_allocate(const unsigned int *supported_cable) in extcon_dev_allocate()
1058 struct extcon_dev *edev; in extcon_dev_allocate()
1077 void extcon_dev_free(struct extcon_dev *edev) in extcon_dev_free()
1097 int extcon_dev_register(struct extcon_dev *edev) in extcon_dev_register()
1309 void extcon_dev_unregister(struct extcon_dev *edev) in extcon_dev_unregister()
1357 struct extcon_dev *extcon_find_edev_by_node(struct device_node *node) in extcon_find_edev_by_node()
1359 struct extcon_dev *edev; in extcon_find_edev_by_node()
1379 struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev, int index) in extcon_get_edev_by_phandle()
1382 struct extcon_dev *edev; in extcon_get_edev_by_phandle()
1407 struct extcon_dev *extcon_find_edev_by_node(struct device_node *node) in extcon_find_edev_by_node()
1412 struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev, int index) in extcon_get_edev_by_phandle()
1426 const char *extcon_get_edev_name(struct extcon_dev *edev) in extcon_get_edev_name()