Home
last modified time | relevance | path

Searched refs:extcon_dev (Results 1 – 25 of 61) sorted by relevance

123

/Linux-v6.6/include/linux/
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 *edev, unsigned int id);
[all …]
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 *edev,
[all …]
/Linux-v6.6/drivers/extcon/
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;
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 **ptr; in devm_extcon_dev_register()
148 void devm_extcon_dev_unregister(struct device *dev, struct extcon_dev *edev) in devm_extcon_dev_unregister()
[all …]
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 *edev, unsigned int id) in extcon_sync()
[all …]
Dextcon.h42 struct extcon_dev { struct
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()
Dextcon-max3355.c17 struct extcon_dev *edev;
Dextcon-gpio.c36 struct extcon_dev *edev;
Dextcon-axp288.c103 struct extcon_dev *edev;
104 struct extcon_dev *id_extcon;
Dextcon-adc-jack.c41 struct extcon_dev *edev;
Dextcon-qcom-spmi-misc.c24 struct extcon_dev *edev;
Dextcon-intel-int3496.c29 struct extcon_dev *edev;
Dextcon-usb-gpio.c26 struct extcon_dev *edev;
Dextcon-intel-mrfld.c52 struct extcon_dev *edev;
/Linux-v6.6/include/linux/power/
Dcharger-manager.h59 struct extcon_dev *extcon_dev; member
/Linux-v6.6/drivers/usb/phy/
Dphy-omap-otg.c25 struct extcon_dev *extcon;
90 struct extcon_dev *extcon; in omap_otg_probe()
/Linux-v6.6/include/linux/usb/
Dphy.h103 struct extcon_dev *edev;
104 struct extcon_dev *id_edev;
Dchipidea.h28 struct extcon_dev *edev;
/Linux-v6.6/drivers/power/supply/
Dmax8997_charger.c38 struct extcon_dev *edev;
102 struct extcon_dev *edev = charger->edev; in max8997_battery_extcon_evt_worker()
Daxp288_charger.c129 struct extcon_dev *cable;
136 struct extcon_dev *edev;
622 struct extcon_dev *edev = info->cable.edev; in axp288_charger_extcon_evt_worker()
688 struct extcon_dev *edev = info->otg.cable; in axp288_charger_otg_evt_worker()
Dcharger-manager.c987 cable->extcon_dev = extcon_get_extcon_dev(cable->extcon_name); in charger_extcon_init()
988 if (IS_ERR(cable->extcon_dev)) { in charger_extcon_init()
991 return PTR_ERR(cable->extcon_dev); in charger_extcon_init()
1007 ret = devm_extcon_register_notifier(cm->dev, cable->extcon_dev, in charger_extcon_init()
1061 event = extcon_get_state(cable->extcon_dev, in charger_manager_register_extcon()
/Linux-v6.6/drivers/gpu/drm/rockchip/
Dcdn-dp-core.h58 struct extcon_dev *extcon;
/Linux-v6.6/drivers/usb/dwc3/
Ddwc3-omap.c127 struct extcon_dev *edev;
417 struct extcon_dev *edev; in dwc3_omap_extcon_register()
Ddwc3-qcom.c82 struct extcon_dev *edev;
83 struct extcon_dev *host_edev;
162 struct extcon_dev *host_edev; in dwc3_qcom_register_extcon()
/Linux-v6.6/drivers/usb/renesas_usbhs/
Dcommon.h262 struct extcon_dev *edev;

123