Lines Matching refs:extcon_dev
209 struct extcon_dev *edev;
234 static int check_mutually_exclusive(struct extcon_dev *edev, u32 new_state) in check_mutually_exclusive()
254 static int find_cable_index_by_id(struct extcon_dev *edev, const unsigned int id) in find_cable_index_by_id()
283 static bool is_extcon_attached(struct extcon_dev *edev, unsigned int index) in is_extcon_attached()
288 static bool is_extcon_changed(struct extcon_dev *edev, int index, in is_extcon_changed()
308 static int is_extcon_property_capability(struct extcon_dev *edev, in is_extcon_property_capability()
341 static void init_property(struct extcon_dev *edev, unsigned int id, int index) in init_property()
360 struct extcon_dev *edev = dev_get_drvdata(dev); in state_show()
378 struct extcon_dev *edev = dev_get_drvdata(dev); in name_show()
416 int extcon_sync(struct extcon_dev *edev, unsigned int id) in extcon_sync()
497 int extcon_get_state(struct extcon_dev *edev, const unsigned int id) in extcon_get_state()
530 int extcon_set_state(struct extcon_dev *edev, unsigned int id, bool state) in extcon_set_state()
585 int extcon_set_state_sync(struct extcon_dev *edev, unsigned int id, bool state) in extcon_set_state_sync()
623 int extcon_get_property(struct extcon_dev *edev, unsigned int id, in extcon_get_property()
702 int extcon_set_property(struct extcon_dev *edev, unsigned int id, in extcon_set_property()
767 int extcon_set_property_sync(struct extcon_dev *edev, unsigned int id, in extcon_set_property_sync()
790 int extcon_get_property_capability(struct extcon_dev *edev, unsigned int id, in extcon_get_property_capability()
824 int extcon_set_property_capability(struct extcon_dev *edev, unsigned int id, in extcon_set_property_capability()
875 struct extcon_dev *extcon_get_extcon_dev(const char *extcon_name) in extcon_get_extcon_dev()
877 struct extcon_dev *sd; in extcon_get_extcon_dev()
907 int extcon_register_notifier(struct extcon_dev *edev, unsigned int id, in extcon_register_notifier()
936 int extcon_unregister_notifier(struct extcon_dev *edev, unsigned int id, in extcon_unregister_notifier()
969 int extcon_register_notifier_all(struct extcon_dev *edev, in extcon_register_notifier_all()
993 int extcon_unregister_notifier_all(struct extcon_dev *edev, in extcon_unregister_notifier_all()
1049 struct extcon_dev *extcon_dev_allocate(const unsigned int *supported_cable) in extcon_dev_allocate()
1051 struct extcon_dev *edev; in extcon_dev_allocate()
1070 void extcon_dev_free(struct extcon_dev *edev) in extcon_dev_free()
1090 int extcon_dev_register(struct extcon_dev *edev) in extcon_dev_register()
1304 void extcon_dev_unregister(struct extcon_dev *edev) in extcon_dev_unregister()
1351 struct extcon_dev *extcon_find_edev_by_node(struct device_node *node) in extcon_find_edev_by_node()
1353 struct extcon_dev *edev; in extcon_find_edev_by_node()
1373 struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev, int index) in extcon_get_edev_by_phandle()
1376 struct extcon_dev *edev; in extcon_get_edev_by_phandle()
1401 struct extcon_dev *extcon_find_edev_by_node(struct device_node *node) in extcon_find_edev_by_node()
1406 struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev, int index) in extcon_get_edev_by_phandle()
1420 const char *extcon_get_edev_name(struct extcon_dev *edev) in extcon_get_edev_name()