Home
last modified time | relevance | path

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

12

/linux/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 *edev, unsigned int id);
[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 *edev,
[all …]
/linux/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;
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 …]
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 *edev, unsigned int id) in extcon_sync()
[all …]
H A Dextcon.h42 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-gpio.c36 struct extcon_dev *edev;
H A Dextcon-max3355.c17 struct extcon_dev *edev;
H A Dextcon-intel-int3496.c29 struct extcon_dev *edev;
H A Dextcon-usb-gpio.c26 struct extcon_dev *edev;
H A Dextcon-intel-mrfld.c52 struct extcon_dev *edev;
H A Dextcon-lc824206xa.c111 struct extcon_dev *edev;
H A Dextcon-usbc-cros-ec.c20 struct extcon_dev *edev;
/linux/include/linux/power/
H A Dcharger-manager.h59 struct extcon_dev *extcon_dev; member
/linux/drivers/usb/phy/
H A Dphy-omap-otg.c25 struct extcon_dev *extcon;
90 struct extcon_dev *extcon; in omap_otg_probe()
/linux/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()
H A 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()
H A Dmax8971_charger.c108 struct extcon_dev *edev;
550 struct extcon_dev *edev = priv->edev; in max8971_extcon_evt_worker()
/linux/include/linux/usb/
H A Dchipidea.h28 struct extcon_dev *edev;
/linux/drivers/usb/dwc3/
H A Ddwc3-qcom-legacy.c83 struct extcon_dev *edev;
84 struct extcon_dev *host_edev;
161 struct extcon_dev *host_edev; in dwc3_qcom_register_extcon()
/linux/drivers/usb/renesas_usbhs/
H A Dcommon.h262 struct extcon_dev *edev;
/linux/drivers/usb/mtu3/
H A Dmtu3.h219 struct extcon_dev *edev;
/linux/Documentation/ABI/testing/
H A Dsysfs-class-extcon19 such binary relations may be expressed with extcon_dev's
/linux/drivers/phy/qualcomm/
H A Dphy-qcom-usb-hs.c38 struct extcon_dev *vbus_edev;
/linux/drivers/usb/gadget/udc/
H A Damd5536udc.h571 struct extcon_dev *edev;

12