Lines Matching refs:extcon_dev

97 static int check_mutually_exclusive(struct extcon_dev *edev, u32 new_state)  in check_mutually_exclusive()
117 static int find_cable_index_by_id(struct extcon_dev *edev, const unsigned int id) in find_cable_index_by_id()
130 static int find_cable_id_by_name(struct extcon_dev *edev, const char *name) in find_cable_id_by_name()
147 static int find_cable_index_by_name(struct extcon_dev *edev, const char *name) in find_cable_index_by_name()
176 struct extcon_dev *edev = dev_get_drvdata(dev); in state_show()
195 struct extcon_dev *edev = dev_get_drvdata(dev); in state_store()
213 struct extcon_dev *edev = dev_get_drvdata(dev); in name_show()
258 int extcon_update_state(struct extcon_dev *edev, u32 mask, u32 state) in extcon_update_state()
344 int extcon_set_state(struct extcon_dev *edev, u32 state) in extcon_set_state()
358 int extcon_get_cable_state_(struct extcon_dev *edev, const unsigned int id) in extcon_get_cable_state_()
383 int extcon_get_cable_state(struct extcon_dev *edev, const char *cable_name) in extcon_get_cable_state()
403 int extcon_set_cable_state_(struct extcon_dev *edev, unsigned int id, in extcon_set_cable_state_()
433 int extcon_set_cable_state(struct extcon_dev *edev, in extcon_set_cable_state()
450 struct extcon_dev *extcon_get_extcon_dev(const char *extcon_name) in extcon_get_extcon_dev()
452 struct extcon_dev *sd; in extcon_get_extcon_dev()
521 struct extcon_dev *extd; in extcon_register_interest()
579 int extcon_register_notifier(struct extcon_dev *edev, unsigned int id, in extcon_register_notifier()
604 int extcon_unregister_notifier(struct extcon_dev *edev, unsigned int id, in extcon_unregister_notifier()
669 struct extcon_dev *extcon_dev_allocate(const unsigned int *supported_cable) in extcon_dev_allocate()
671 struct extcon_dev *edev; in extcon_dev_allocate()
690 void extcon_dev_free(struct extcon_dev *edev) in extcon_dev_free()
698 struct extcon_dev **r = res; in devm_extcon_dev_match()
708 extcon_dev_free(*(struct extcon_dev **)res); in devm_extcon_dev_release()
725 struct extcon_dev *devm_extcon_dev_allocate(struct device *dev, in devm_extcon_dev_allocate()
728 struct extcon_dev **ptr, *edev; in devm_extcon_dev_allocate()
749 void devm_extcon_dev_free(struct device *dev, struct extcon_dev *edev) in devm_extcon_dev_free()
765 int extcon_dev_register(struct extcon_dev *edev) in extcon_dev_register()
978 void extcon_dev_unregister(struct extcon_dev *edev) in extcon_dev_unregister()
1023 extcon_dev_unregister(*(struct extcon_dev **)res); in devm_extcon_dev_unreg()
1041 int devm_extcon_dev_register(struct device *dev, struct extcon_dev *edev) in devm_extcon_dev_register()
1043 struct extcon_dev **ptr; in devm_extcon_dev_register()
1071 void devm_extcon_dev_unregister(struct device *dev, struct extcon_dev *edev) in devm_extcon_dev_unregister()
1086 struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev, int index) in extcon_get_edev_by_phandle()
1089 struct extcon_dev *edev; in extcon_get_edev_by_phandle()
1118 struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev, int index) in extcon_get_edev_by_phandle()
1129 const char *extcon_get_edev_name(struct extcon_dev *edev) in extcon_get_edev_name()