Lines Matching refs:extcon_dev

15 struct extcon_dev;
20 int extcon_dev_register(struct extcon_dev *edev);
21 void extcon_dev_unregister(struct extcon_dev *edev);
23 struct extcon_dev *edev);
25 struct extcon_dev *edev);
28 struct extcon_dev *extcon_dev_allocate(const unsigned int *cable);
29 void extcon_dev_free(struct extcon_dev *edev);
30 struct extcon_dev *devm_extcon_dev_allocate(struct device *dev,
32 void devm_extcon_dev_free(struct device *dev, struct extcon_dev *edev);
35 int extcon_sync(struct extcon_dev *edev, unsigned int id);
41 int extcon_set_state(struct extcon_dev *edev, unsigned int id,
43 int extcon_set_state_sync(struct extcon_dev *edev, unsigned int id,
55 int extcon_set_property(struct extcon_dev *edev, unsigned int id,
58 int extcon_set_property_sync(struct extcon_dev *edev, unsigned int id,
61 int extcon_set_property_capability(struct extcon_dev *edev,
65 static inline int extcon_dev_register(struct extcon_dev *edev) in extcon_dev_register()
70 static inline void extcon_dev_unregister(struct extcon_dev *edev) { } in extcon_dev_unregister()
73 struct extcon_dev *edev) in devm_extcon_dev_register()
79 struct extcon_dev *edev) { } in devm_extcon_dev_unregister()
81 static inline struct extcon_dev *extcon_dev_allocate(const unsigned int *cable) in extcon_dev_allocate()
86 static inline void extcon_dev_free(struct extcon_dev *edev) { } in extcon_dev_free()
88 static inline struct extcon_dev *devm_extcon_dev_allocate(struct device *dev, in devm_extcon_dev_allocate()
94 static inline void devm_extcon_dev_free(struct extcon_dev *edev) { } in devm_extcon_dev_free()
97 static inline int extcon_set_state(struct extcon_dev *edev, unsigned int id, in extcon_set_state()
103 static inline int extcon_set_state_sync(struct extcon_dev *edev, unsigned int id, in extcon_set_state_sync()
109 static inline int extcon_sync(struct extcon_dev *edev, unsigned int id) in extcon_sync()
114 static inline int extcon_set_property(struct extcon_dev *edev, unsigned int id, in extcon_set_property()
121 static inline int extcon_set_property_sync(struct extcon_dev *edev, in extcon_set_property_sync()
128 static inline int extcon_set_property_capability(struct extcon_dev *edev, in extcon_set_property_capability()