Lines Matching refs:nb
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);
203 struct notifier_block *nb);
205 struct notifier_block *nb);
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);
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)
250 struct notifier_block *nb)
256 struct notifier_block *nb)
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)
271 struct notifier_block *nb)
277 struct notifier_block *nb)
314 const char *cable_name, struct notifier_block *nb)