Home
last modified time | relevance | path

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

123

/Linux-v4.19/include/linux/
Dextcon-provider.h23 struct extcon_dev;
28 extern int extcon_dev_register(struct extcon_dev *edev);
29 extern void extcon_dev_unregister(struct extcon_dev *edev);
31 struct extcon_dev *edev);
33 struct extcon_dev *edev);
36 extern struct extcon_dev *extcon_dev_allocate(const unsigned int *cable);
37 extern void extcon_dev_free(struct extcon_dev *edev);
38 extern struct extcon_dev *devm_extcon_dev_allocate(struct device *dev,
40 extern void devm_extcon_dev_free(struct device *dev, struct extcon_dev *edev);
43 extern int extcon_sync(struct extcon_dev *edev, unsigned int id);
[all …]
Dextcon.h174 struct extcon_dev;
181 extern int extcon_get_state(struct extcon_dev *edev, unsigned int id);
192 extern int extcon_get_property(struct extcon_dev *edev, unsigned int id,
195 extern int extcon_get_property_capability(struct extcon_dev *edev,
207 extern int extcon_register_notifier(struct extcon_dev *edev, unsigned int id,
209 extern int extcon_unregister_notifier(struct extcon_dev *edev, unsigned int id,
212 struct extcon_dev *edev, unsigned int id,
215 struct extcon_dev *edev, unsigned int id,
218 extern int extcon_register_notifier_all(struct extcon_dev *edev,
220 extern int extcon_unregister_notifier_all(struct extcon_dev *edev,
[all …]
/Linux-v4.19/drivers/extcon/
Ddevres.c21 struct extcon_dev **r = res; in devm_extcon_dev_match()
31 extcon_dev_free(*(struct extcon_dev **)res); in devm_extcon_dev_release()
37 extcon_dev_unregister(*(struct extcon_dev **)res); in devm_extcon_dev_unreg()
41 struct extcon_dev *edev;
73 struct extcon_dev *devm_extcon_dev_allocate(struct device *dev, in devm_extcon_dev_allocate()
76 struct extcon_dev **ptr, *edev; in devm_extcon_dev_allocate()
105 void devm_extcon_dev_free(struct device *dev, struct extcon_dev *edev) in devm_extcon_dev_free()
126 int devm_extcon_dev_register(struct device *dev, struct extcon_dev *edev) in devm_extcon_dev_register()
128 struct extcon_dev **ptr; in devm_extcon_dev_register()
156 void devm_extcon_dev_unregister(struct device *dev, struct extcon_dev *edev) in devm_extcon_dev_unregister()
[all …]
Dextcon.c209 struct extcon_dev *edev;
234 static int check_mutually_exclusive(struct extcon_dev *edev, u32 new_state) in check_mutually_exclusive()
254 static int find_cable_index_by_id(struct extcon_dev *edev, const unsigned int id) in find_cable_index_by_id()
283 static bool is_extcon_attached(struct extcon_dev *edev, unsigned int index) in is_extcon_attached()
288 static bool is_extcon_changed(struct extcon_dev *edev, int index, in is_extcon_changed()
308 static int is_extcon_property_capability(struct extcon_dev *edev, in is_extcon_property_capability()
341 static void init_property(struct extcon_dev *edev, unsigned int id, int index) in init_property()
360 struct extcon_dev *edev = dev_get_drvdata(dev); in state_show()
378 struct extcon_dev *edev = dev_get_drvdata(dev); in name_show()
416 int extcon_sync(struct extcon_dev *edev, unsigned int id) in extcon_sync()
[all …]
Dextcon.h41 struct extcon_dev { struct
Dextcon-palmas.c55 struct extcon_dev *edev = palmas_usb->edev; in palmas_vbus_irq_handler()
88 struct extcon_dev *edev = palmas_usb->edev; in palmas_id_irq_handler()
132 struct extcon_dev *edev = palmas_usb->edev; in palmas_gpio_id_detect()
Dextcon-max3355.c21 struct extcon_dev *edev;
Dextcon-gpio.c45 struct extcon_dev *edev;
Dextcon-qcom-spmi-misc.c31 struct extcon_dev *edev;
Dextcon-axp288.c110 struct extcon_dev *edev;
111 struct extcon_dev *id_extcon;
Dextcon-intel-int3496.c35 struct extcon_dev *edev;
Dextcon-adc-jack.c45 struct extcon_dev *edev;
Dextcon-usb-gpio.c35 struct extcon_dev *edev;
/Linux-v4.19/drivers/usb/phy/
Dphy-omap-otg.c25 struct extcon_dev *extcon;
90 struct extcon_dev *extcon; in omap_otg_probe()
/Linux-v4.19/include/linux/usb/
Dchipidea.h28 struct extcon_dev *edev;
Dphy.h103 struct extcon_dev *edev;
104 struct extcon_dev *id_edev;
/Linux-v4.19/drivers/gpu/drm/rockchip/
Dcdn-dp-core.h65 struct extcon_dev *extcon;
/Linux-v4.19/include/linux/power/
Dcharger-manager.h69 struct extcon_specific_cable_nb extcon_dev; member
/Linux-v4.19/drivers/power/supply/
Daxp288_charger.c131 struct extcon_dev *cable;
138 struct extcon_dev *edev;
560 struct extcon_dev *edev = info->cable.edev; in axp288_charger_extcon_evt_worker()
616 struct extcon_dev *edev = info->otg.cable; in axp288_charger_otg_evt_worker()
/Linux-v4.19/drivers/usb/dwc3/
Ddwc3-qcom.c54 struct extcon_dev *edev;
55 struct extcon_dev *host_edev;
130 struct extcon_dev *host_edev; in dwc3_qcom_register_extcon()
Ddrd.c443 static struct extcon_dev *dwc3_get_extcon(struct dwc3 *dwc) in dwc3_get_extcon()
447 struct extcon_dev *edev; in dwc3_get_extcon()
Ddwc3-omap.c122 struct extcon_dev *edev;
412 struct extcon_dev *edev; in dwc3_omap_extcon_register()
/Linux-v4.19/drivers/usb/renesas_usbhs/
Dcommon.h257 struct extcon_dev *edev;
/Linux-v4.19/drivers/phy/qualcomm/
Dphy-qcom-usb-hs.c41 struct extcon_dev *vbus_edev;
/Linux-v4.19/drivers/usb/mtu3/
Dmtu3.h211 struct extcon_dev *edev;

123