Home
last modified time | relevance | path

Searched refs:extcon_dev (Results 1 - 25 of 118) sorted by relevance

12345

/kernel/linux/linux-5.10/include/linux/
H A Dextcon-provider.h15 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 *ede
[all...]
H A Dextcon.h168 struct extcon_dev;
175 int extcon_get_state(struct extcon_dev *edev, unsigned int id);
186 int extcon_get_property(struct extcon_dev *edev, unsigned int id,
189 int extcon_get_property_capability(struct extcon_dev *edev,
201 int extcon_register_notifier(struct extcon_dev *edev, unsigned int id,
203 int extcon_unregister_notifier(struct extcon_dev *edev, unsigned int id,
206 struct extcon_dev *edev, unsigned int id,
209 struct extcon_dev *edev, unsigned int id,
212 int extcon_register_notifier_all(struct extcon_dev *edev,
214 int extcon_unregister_notifier_all(struct extcon_dev *ede
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dextcon-provider.h15 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 *ede
[all...]
H A Dextcon.h168 struct extcon_dev;
175 int extcon_get_state(struct extcon_dev *edev, unsigned int id);
186 int extcon_get_property(struct extcon_dev *edev, unsigned int id,
189 int extcon_get_property_capability(struct extcon_dev *edev,
201 int extcon_register_notifier(struct extcon_dev *edev, unsigned int id,
203 int extcon_unregister_notifier(struct extcon_dev *edev, unsigned int id,
206 struct extcon_dev *edev, unsigned int id,
209 struct extcon_dev *edev, unsigned int id,
212 int extcon_register_notifier_all(struct extcon_dev *edev,
214 int extcon_unregister_notifier_all(struct extcon_dev *ede
[all...]
/kernel/linux/linux-5.10/drivers/extcon/
H A Ddevres.c13 struct extcon_dev **r = res; in devm_extcon_dev_match()
23 extcon_dev_free(*(struct extcon_dev **)res); in devm_extcon_dev_release()
29 extcon_dev_unregister(*(struct extcon_dev **)res); in devm_extcon_dev_unreg()
33 struct extcon_dev *edev;
62 * Returns the pointer memory of allocated extcon_dev if success
65 struct extcon_dev *devm_extcon_dev_allocate(struct device *dev, in devm_extcon_dev_allocate()
68 struct extcon_dev **ptr, *edev; in devm_extcon_dev_allocate()
97 void devm_extcon_dev_free(struct device *dev, struct extcon_dev *edev) in devm_extcon_dev_free()
118 int devm_extcon_dev_register(struct device *dev, struct extcon_dev *edev) in devm_extcon_dev_register()
120 struct extcon_dev **pt in devm_extcon_dev_register()
[all...]
H A Dextcon.c219 struct extcon_dev *edev;
244 static int check_mutually_exclusive(struct extcon_dev *edev, u32 new_state) in check_mutually_exclusive()
264 static int find_cable_index_by_id(struct extcon_dev *edev, const unsigned int id) in find_cable_index_by_id()
293 static bool is_extcon_attached(struct extcon_dev *edev, unsigned int index) in is_extcon_attached()
298 static bool is_extcon_changed(struct extcon_dev *edev, int index, in is_extcon_changed()
318 static int is_extcon_property_capability(struct extcon_dev *edev, in is_extcon_property_capability()
351 static void init_property(struct extcon_dev *edev, unsigned int id, int index) in init_property()
370 struct extcon_dev *edev = dev_get_drvdata(dev); in state_show()
388 struct extcon_dev *edev = dev_get_drvdata(dev); in name_show()
426 int extcon_sync(struct extcon_dev *ede
[all...]
H A Dextcon.h8 * struct extcon_dev - An extcon device represents one external connector.
41 struct extcon_dev { struct
H A Dextcon-palmas.c44 struct extcon_dev *edev = palmas_usb->edev; in palmas_vbus_irq_handler()
77 struct extcon_dev *edev = palmas_usb->edev; in palmas_id_irq_handler()
121 struct extcon_dev *edev = palmas_usb->edev; in palmas_gpio_id_detect()
H A Dextcon-qcom-spmi-misc.c23 struct extcon_dev *edev;
/kernel/linux/linux-6.6/drivers/extcon/
H A Ddevres.c13 struct extcon_dev **r = res; in devm_extcon_dev_match()
23 extcon_dev_free(*(struct extcon_dev **)res); in devm_extcon_dev_release()
29 extcon_dev_unregister(*(struct extcon_dev **)res); in devm_extcon_dev_unreg()
33 struct extcon_dev *edev;
62 * Returns the pointer memory of allocated extcon_dev if success
65 struct extcon_dev *devm_extcon_dev_allocate(struct device *dev, in devm_extcon_dev_allocate()
68 struct extcon_dev **ptr, *edev; in devm_extcon_dev_allocate()
97 void devm_extcon_dev_free(struct device *dev, struct extcon_dev *edev) in devm_extcon_dev_free()
118 int devm_extcon_dev_register(struct device *dev, struct extcon_dev *edev) in devm_extcon_dev_register()
120 struct extcon_dev **pt in devm_extcon_dev_register()
[all...]
H A Dextcon.c220 struct extcon_dev *edev;
246 static int check_mutually_exclusive(struct extcon_dev *edev, u32 new_state) in check_mutually_exclusive()
266 static int find_cable_index_by_id(struct extcon_dev *edev, const unsigned int id) in find_cable_index_by_id()
295 static bool is_extcon_attached(struct extcon_dev *edev, unsigned int index) in is_extcon_attached()
300 static bool is_extcon_changed(struct extcon_dev *edev, int index, in is_extcon_changed()
320 static int is_extcon_property_capability(struct extcon_dev *edev, in is_extcon_property_capability()
353 static void init_property(struct extcon_dev *edev, unsigned int id, int index) in init_property()
372 struct extcon_dev *edev = dev_get_drvdata(dev); in state_show()
390 struct extcon_dev *edev = dev_get_drvdata(dev); in name_show()
429 int extcon_sync(struct extcon_dev *ede
[all...]
H A Dextcon.h8 * struct extcon_dev - An extcon device represents one external connector.
42 struct extcon_dev { struct
H A Dextcon-palmas.c44 struct extcon_dev *edev = palmas_usb->edev; in palmas_vbus_irq_handler()
77 struct extcon_dev *edev = palmas_usb->edev; in palmas_id_irq_handler()
121 struct extcon_dev *edev = palmas_usb->edev; in palmas_gpio_id_detect()
/kernel/linux/linux-5.10/include/linux/power/
H A Dcharger-manager.h44 * @extcon_dev: the extcon device.
59 struct extcon_dev *extcon_dev; member
/kernel/linux/linux-6.6/include/linux/power/
H A Dcharger-manager.h44 * @extcon_dev: the extcon device.
59 struct extcon_dev *extcon_dev; member
/kernel/linux/linux-5.10/drivers/usb/phy/
H A Dphy-omap-otg.c25 struct extcon_dev *extcon;
90 struct extcon_dev *extcon; in omap_otg_probe()
/kernel/linux/linux-6.6/drivers/usb/phy/
H A Dphy-omap-otg.c25 struct extcon_dev *extcon;
90 struct extcon_dev *extcon; in omap_otg_probe()
/kernel/linux/linux-5.10/include/linux/usb/
H A Dphy.h103 struct extcon_dev *edev;
104 struct extcon_dev *id_edev;
H A Dchipidea.h28 struct extcon_dev *edev;
/kernel/linux/linux-6.6/include/linux/usb/
H A Dphy.h103 struct extcon_dev *edev;
104 struct extcon_dev *id_edev;
H A Dchipidea.h28 struct extcon_dev *edev;
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
H A Dcdn-dp-core.h57 struct extcon_dev *extcon;
/kernel/linux/linux-6.6/drivers/gpu/drm/rockchip/
H A Dcdn-dp-core.h58 struct extcon_dev *extcon;
/kernel/linux/linux-6.6/drivers/power/supply/
H A Dmax8997_charger.c38 struct extcon_dev *edev;
102 struct extcon_dev *edev = charger->edev; in max8997_battery_extcon_evt_worker()
/kernel/linux/linux-5.10/drivers/power/supply/
H A Dcharger-manager.c987 cable->extcon_dev = extcon_get_extcon_dev(cable->extcon_name); in charger_extcon_init()
988 if (IS_ERR_OR_NULL(cable->extcon_dev)) { in charger_extcon_init()
989 pr_err("Cannot find extcon_dev for %s (cable: %s)\n", in charger_extcon_init()
991 if (cable->extcon_dev == NULL) in charger_extcon_init()
994 return PTR_ERR(cable->extcon_dev); in charger_extcon_init()
1010 ret = devm_extcon_register_notifier(cm->dev, cable->extcon_dev, in charger_extcon_init()
1013 pr_err("Cannot register extcon_dev for %s (cable: %s)\n", in charger_extcon_init()
1064 event = extcon_get_state(cable->extcon_dev, in charger_manager_register_extcon()

Completed in 13 milliseconds

12345