Lines Matching refs:extcon_dev

168 struct extcon_dev;
175 int extcon_get_state(struct extcon_dev *edev, unsigned int id);
186 int extcon_get_property(struct extcon_dev *edev, unsigned int id,
189 int extcon_get_property_capability(struct extcon_dev *edev,
201 int extcon_register_notifier(struct extcon_dev *edev, unsigned int id,
203 int extcon_unregister_notifier(struct extcon_dev *edev, unsigned int id,
206 struct extcon_dev *edev, unsigned int id,
209 struct extcon_dev *edev, unsigned int id,
212 int extcon_register_notifier_all(struct extcon_dev *edev,
214 int extcon_unregister_notifier_all(struct extcon_dev *edev,
217 struct extcon_dev *edev,
220 struct extcon_dev *edev,
226 struct extcon_dev *extcon_get_extcon_dev(const char *extcon_name);
227 struct extcon_dev *extcon_find_edev_by_node(struct device_node *node);
228 struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev,
232 const char *extcon_get_edev_name(struct extcon_dev *edev);
235 static inline int extcon_get_state(struct extcon_dev *edev, unsigned int id) in extcon_get_state()
240 static inline int extcon_get_property(struct extcon_dev *edev, unsigned int id, in extcon_get_property()
247 static inline int extcon_get_property_capability(struct extcon_dev *edev, in extcon_get_property_capability()
253 static inline int extcon_register_notifier(struct extcon_dev *edev, in extcon_register_notifier()
259 static inline int extcon_unregister_notifier(struct extcon_dev *edev, in extcon_unregister_notifier()
266 struct extcon_dev *edev, unsigned int id, in devm_extcon_register_notifier()
273 struct extcon_dev *edev, unsigned int id, in devm_extcon_unregister_notifier()
276 static inline int extcon_register_notifier_all(struct extcon_dev *edev, in extcon_register_notifier_all()
282 static inline int extcon_unregister_notifier_all(struct extcon_dev *edev, in extcon_unregister_notifier_all()
289 struct extcon_dev *edev, in devm_extcon_register_notifier_all()
296 struct extcon_dev *edev, in devm_extcon_unregister_notifier_all()
299 static inline struct extcon_dev *extcon_get_extcon_dev(const char *extcon_name) in extcon_get_extcon_dev()
304 static inline struct extcon_dev *extcon_find_edev_by_node(struct device_node *node) in extcon_find_edev_by_node()
309 static inline struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev, in extcon_get_edev_by_phandle()
315 static inline const char *extcon_get_edev_name(struct extcon_dev *edev) in extcon_get_edev_name()
328 struct extcon_dev *edev;