Lines Matching refs:edev
176 int extcon_get_state(struct extcon_dev *edev, unsigned int id);
187 int extcon_get_property(struct extcon_dev *edev, unsigned int id, unsigned int prop,
189 int extcon_get_property_capability(struct extcon_dev *edev, unsigned int id, unsigned int prop);
195 * extcon_register_notifier(*edev, id, *nb) : Register a notifier block
197 * extcon_register_notifier_all(*edev, *nb) : Register a notifier block
200 int extcon_register_notifier(struct extcon_dev *edev, unsigned int id, struct notifier_block *nb);
201 int extcon_unregister_notifier(struct extcon_dev *edev, unsigned int id, struct notifier_block *nb);
202 int devm_extcon_register_notifier(struct device *dev, struct extcon_dev *edev, unsigned int id,
204 void devm_extcon_unregister_notifier(struct device *dev, struct extcon_dev *edev, unsigned int id,
207 int extcon_register_notifier_all(struct extcon_dev *edev, struct notifier_block *nb);
208 int extcon_unregister_notifier_all(struct extcon_dev *edev, struct notifier_block *nb);
209 int devm_extcon_register_notifier_all(struct device *dev, struct extcon_dev *edev, struct notifier_block *nb);
210 void devm_extcon_unregister_notifier_all(struct device *dev, struct extcon_dev *edev, struct notifier_block *nb);
220 const char *extcon_get_edev_name(struct extcon_dev *edev);
223 static inline int extcon_get_state(struct extcon_dev *edev, unsigned int id)
228 static inline int extcon_get_property(struct extcon_dev *edev, unsigned int id, unsigned int prop,
234 static inline int extcon_get_property_capability(struct extcon_dev *edev, unsigned int id, unsigned int prop)
239 static inline int extcon_register_notifier(struct extcon_dev *edev, unsigned int id, struct notifier_block *nb)
244 static inline int extcon_unregister_notifier(struct extcon_dev *edev, unsigned int id, struct notifier_block *nb)
249 static inline int devm_extcon_register_notifier(struct device *dev, struct extcon_dev *edev, unsigned int id,
255 static inline void devm_extcon_unregister_notifier(struct device *dev, struct extcon_dev *edev, unsigned int id,
260 static inline int extcon_register_notifier_all(struct extcon_dev *edev, struct notifier_block *nb)
265 static inline int extcon_unregister_notifier_all(struct extcon_dev *edev, struct notifier_block *nb)
270 static inline int devm_extcon_register_notifier_all(struct device *dev, struct extcon_dev *edev,
276 static inline void devm_extcon_unregister_notifier_all(struct device *dev, struct extcon_dev *edev,
296 static inline const char *extcon_get_edev_name(struct extcon_dev *edev)
309 struct extcon_dev *edev;