Lines Matching refs:extcon_dev
169 struct extcon_dev;
176 int extcon_get_state(struct extcon_dev *edev, unsigned int id);
187 int extcon_get_property(struct extcon_dev *edev, unsigned int id,
190 int extcon_get_property_capability(struct extcon_dev *edev,
202 int extcon_register_notifier(struct extcon_dev *edev, unsigned int id,
204 int extcon_unregister_notifier(struct extcon_dev *edev, unsigned int id,
207 struct extcon_dev *edev, unsigned int id,
210 struct extcon_dev *edev, unsigned int id,
213 int extcon_register_notifier_all(struct extcon_dev *edev,
215 int extcon_unregister_notifier_all(struct extcon_dev *edev,
218 struct extcon_dev *edev,
221 struct extcon_dev *edev,
227 struct extcon_dev *extcon_get_extcon_dev(const char *extcon_name);
228 struct extcon_dev *extcon_find_edev_by_node(struct device_node *node);
229 struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev,
233 const char *extcon_get_edev_name(struct extcon_dev *edev);
236 static inline int extcon_get_state(struct extcon_dev *edev, unsigned int id) in extcon_get_state()
241 static inline int extcon_get_property(struct extcon_dev *edev, unsigned int id, in extcon_get_property()
248 static inline int extcon_get_property_capability(struct extcon_dev *edev, in extcon_get_property_capability()
254 static inline int extcon_register_notifier(struct extcon_dev *edev, in extcon_register_notifier()
260 static inline int extcon_unregister_notifier(struct extcon_dev *edev, in extcon_unregister_notifier()
267 struct extcon_dev *edev, unsigned int id, in devm_extcon_register_notifier()
274 struct extcon_dev *edev, unsigned int id, in devm_extcon_unregister_notifier()
277 static inline int extcon_register_notifier_all(struct extcon_dev *edev, in extcon_register_notifier_all()
283 static inline int extcon_unregister_notifier_all(struct extcon_dev *edev, in extcon_unregister_notifier_all()
290 struct extcon_dev *edev, in devm_extcon_register_notifier_all()
297 struct extcon_dev *edev, in devm_extcon_unregister_notifier_all()
300 static inline struct extcon_dev *extcon_get_extcon_dev(const char *extcon_name) in extcon_get_extcon_dev()
305 static inline struct extcon_dev *extcon_find_edev_by_node(struct device_node *node) in extcon_find_edev_by_node()
310 static inline struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev, in extcon_get_edev_by_phandle()
316 static inline const char *extcon_get_edev_name(struct extcon_dev *edev) in extcon_get_edev_name()
329 struct extcon_dev *edev;