Lines Matching refs:extcon_dev

23 struct extcon_dev;
28 extern int extcon_dev_register(struct extcon_dev *edev);
29 extern void extcon_dev_unregister(struct extcon_dev *edev);
31 struct extcon_dev *edev);
33 struct extcon_dev *edev);
36 extern struct extcon_dev *extcon_dev_allocate(const unsigned int *cable);
37 extern void extcon_dev_free(struct extcon_dev *edev);
38 extern struct extcon_dev *devm_extcon_dev_allocate(struct device *dev,
40 extern void devm_extcon_dev_free(struct device *dev, struct extcon_dev *edev);
43 extern int extcon_sync(struct extcon_dev *edev, unsigned int id);
49 extern int extcon_set_state(struct extcon_dev *edev, unsigned int id,
51 extern int extcon_set_state_sync(struct extcon_dev *edev, unsigned int id,
63 extern int extcon_set_property(struct extcon_dev *edev, unsigned int id,
66 extern int extcon_set_property_sync(struct extcon_dev *edev, unsigned int id,
69 extern int extcon_set_property_capability(struct extcon_dev *edev,
73 static inline int extcon_dev_register(struct extcon_dev *edev) in extcon_dev_register()
78 static inline void extcon_dev_unregister(struct extcon_dev *edev) { } in extcon_dev_unregister()
81 struct extcon_dev *edev) in devm_extcon_dev_register()
87 struct extcon_dev *edev) { } in devm_extcon_dev_unregister()
89 static inline struct extcon_dev *extcon_dev_allocate(const unsigned int *cable) in extcon_dev_allocate()
94 static inline void extcon_dev_free(struct extcon_dev *edev) { } in extcon_dev_free()
96 static inline struct extcon_dev *devm_extcon_dev_allocate(struct device *dev, in devm_extcon_dev_allocate()
102 static inline void devm_extcon_dev_free(struct extcon_dev *edev) { } in devm_extcon_dev_free()
105 static inline int extcon_set_state(struct extcon_dev *edev, unsigned int id, in extcon_set_state()
111 static inline int extcon_set_state_sync(struct extcon_dev *edev, unsigned int id, in extcon_set_state_sync()
117 static inline int extcon_sync(struct extcon_dev *edev, unsigned int id) in extcon_sync()
122 static inline int extcon_set_property(struct extcon_dev *edev, unsigned int id, in extcon_set_property()
129 static inline int extcon_set_property_sync(struct extcon_dev *edev, in extcon_set_property_sync()
136 static inline int extcon_set_property_capability(struct extcon_dev *edev, in extcon_set_property_capability()