drivers/extcon/devres.c
118
int devm_extcon_dev_register(struct device *dev, struct extcon_dev *edev)
drivers/extcon/devres.c
120
struct extcon_dev **ptr;
drivers/extcon/devres.c
13
struct extcon_dev **r = res;
drivers/extcon/devres.c
148
void devm_extcon_dev_unregister(struct device *dev, struct extcon_dev *edev)
drivers/extcon/devres.c
172
int devm_extcon_register_notifier(struct device *dev, struct extcon_dev *edev,
drivers/extcon/devres.c
207
struct extcon_dev *edev, unsigned int id,
drivers/extcon/devres.c
228
int devm_extcon_register_notifier_all(struct device *dev, struct extcon_dev *edev,
drivers/extcon/devres.c
23
extcon_dev_free(*(struct extcon_dev **)res);
drivers/extcon/devres.c
261
struct extcon_dev *edev,
drivers/extcon/devres.c
29
extcon_dev_unregister(*(struct extcon_dev **)res);
drivers/extcon/devres.c
33
struct extcon_dev *edev;
drivers/extcon/devres.c
65
struct extcon_dev *devm_extcon_dev_allocate(struct device *dev,
drivers/extcon/devres.c
68
struct extcon_dev **ptr, *edev;
drivers/extcon/devres.c
97
void devm_extcon_dev_free(struct device *dev, struct extcon_dev *edev)
drivers/extcon/extcon-adc-jack.c
43
struct extcon_dev *edev;
drivers/extcon/extcon-axp288.c
103
struct extcon_dev *edev;
drivers/extcon/extcon-axp288.c
104
struct extcon_dev *id_extcon;
drivers/extcon/extcon-fsa9480.c
109
struct extcon_dev *edev;
drivers/extcon/extcon-gpio.c
36
struct extcon_dev *edev;
drivers/extcon/extcon-intel-cht-wc.c
107
struct extcon_dev *edev;
drivers/extcon/extcon-intel-int3496.c
29
struct extcon_dev *edev;
drivers/extcon/extcon-intel-mrfld.c
52
struct extcon_dev *edev;
drivers/extcon/extcon-lc824206xa.c
111
struct extcon_dev *edev;
drivers/extcon/extcon-max14526.c
88
struct extcon_dev *edev;
drivers/extcon/extcon-max14577.c
73
struct extcon_dev *edev;
drivers/extcon/extcon-max3355.c
17
struct extcon_dev *edev;
drivers/extcon/extcon-max77693.c
69
struct extcon_dev *edev;
drivers/extcon/extcon-max77843.c
32
struct extcon_dev *edev;
drivers/extcon/extcon-max8997.c
113
struct extcon_dev *edev;
drivers/extcon/extcon-palmas.c
121
struct extcon_dev *edev = palmas_usb->edev;
drivers/extcon/extcon-palmas.c
44
struct extcon_dev *edev = palmas_usb->edev;
drivers/extcon/extcon-palmas.c
77
struct extcon_dev *edev = palmas_usb->edev;
drivers/extcon/extcon-ptn5150.c
48
struct extcon_dev *edev;
drivers/extcon/extcon-qcom-spmi-misc.c
24
struct extcon_dev *edev;
drivers/extcon/extcon-rt8973a.c
40
struct extcon_dev *edev;
drivers/extcon/extcon-rtk-type-c.c
58
struct extcon_dev *edev;
drivers/extcon/extcon-sm5502.c
38
struct extcon_dev *edev;
drivers/extcon/extcon-usb-gpio.c
26
struct extcon_dev *edev;
drivers/extcon/extcon-usbc-cros-ec.c
20
struct extcon_dev *edev;
drivers/extcon/extcon-usbc-tusb320.c
77
struct extcon_dev *edev;
drivers/extcon/extcon.c
1056
struct extcon_dev *extcon_dev_allocate(const unsigned int *supported_cable)
drivers/extcon/extcon.c
1058
struct extcon_dev *edev;
drivers/extcon/extcon.c
1077
void extcon_dev_free(struct extcon_dev *edev)
drivers/extcon/extcon.c
1089
static int extcon_alloc_cables(struct extcon_dev *edev)
drivers/extcon/extcon.c
1147
static int extcon_alloc_muex(struct extcon_dev *edev)
drivers/extcon/extcon.c
1200
static int extcon_alloc_groups(struct extcon_dev *edev)
drivers/extcon/extcon.c
1243
int extcon_dev_register(struct extcon_dev *edev)
drivers/extcon/extcon.c
1353
void extcon_dev_unregister(struct extcon_dev *edev)
drivers/extcon/extcon.c
1402
struct extcon_dev *extcon_find_edev_by_node(struct device_node *node)
drivers/extcon/extcon.c
1404
struct extcon_dev *edev;
drivers/extcon/extcon.c
1424
struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev, int index)
drivers/extcon/extcon.c
1427
struct extcon_dev *edev;
drivers/extcon/extcon.c
1448
struct extcon_dev *extcon_find_edev_by_node(struct device_node *node)
drivers/extcon/extcon.c
1453
struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev, int index)
drivers/extcon/extcon.c
1467
const char *extcon_get_edev_name(struct extcon_dev *edev)
drivers/extcon/extcon.c
220
struct extcon_dev *edev;
drivers/extcon/extcon.c
246
static int check_mutually_exclusive(struct extcon_dev *edev, u32 new_state)
drivers/extcon/extcon.c
266
static int find_cable_index_by_id(struct extcon_dev *edev, const unsigned int id)
drivers/extcon/extcon.c
295
static bool is_extcon_attached(struct extcon_dev *edev, unsigned int index)
drivers/extcon/extcon.c
300
static bool is_extcon_changed(struct extcon_dev *edev, int index,
drivers/extcon/extcon.c
320
static int is_extcon_property_capability(struct extcon_dev *edev,
drivers/extcon/extcon.c
353
static void init_property(struct extcon_dev *edev, unsigned int id, int index)
drivers/extcon/extcon.c
372
struct extcon_dev *edev = dev_get_drvdata(dev);
drivers/extcon/extcon.c
390
struct extcon_dev *edev = dev_get_drvdata(dev);
drivers/extcon/extcon.c
429
int extcon_sync(struct extcon_dev *edev, unsigned int id)
drivers/extcon/extcon.c
510
int extcon_get_state(struct extcon_dev *edev, const unsigned int id)
drivers/extcon/extcon.c
543
int extcon_set_state(struct extcon_dev *edev, unsigned int id, bool state)
drivers/extcon/extcon.c
598
int extcon_set_state_sync(struct extcon_dev *edev, unsigned int id, bool state)
drivers/extcon/extcon.c
624
int extcon_get_property(struct extcon_dev *edev, unsigned int id,
drivers/extcon/extcon.c
703
int extcon_set_property(struct extcon_dev *edev, unsigned int id,
drivers/extcon/extcon.c
771
int extcon_set_property_sync(struct extcon_dev *edev, unsigned int id,
drivers/extcon/extcon.c
794
int extcon_get_property_capability(struct extcon_dev *edev, unsigned int id,
drivers/extcon/extcon.c
828
int extcon_set_property_capability(struct extcon_dev *edev, unsigned int id,
drivers/extcon/extcon.c
881
struct extcon_dev *extcon_get_extcon_dev(const char *extcon_name)
drivers/extcon/extcon.c
883
struct extcon_dev *sd;
drivers/extcon/extcon.c
913
int extcon_register_notifier(struct extcon_dev *edev, unsigned int id,
drivers/extcon/extcon.c
942
int extcon_unregister_notifier(struct extcon_dev *edev, unsigned int id,
drivers/extcon/extcon.c
975
int extcon_register_notifier_all(struct extcon_dev *edev,
drivers/extcon/extcon.c
999
int extcon_unregister_notifier_all(struct extcon_dev *edev,
drivers/gpu/drm/bridge/ite-it6505.c
3554
struct extcon_dev *extcon;
drivers/gpu/drm/bridge/ite-it6505.c
446
struct extcon_dev *extcon;
drivers/gpu/drm/bridge/sil-sii8620.c
2165
struct extcon_dev *edev;
drivers/gpu/drm/bridge/sil-sii8620.c
88
struct extcon_dev *extcon;
drivers/gpu/drm/rockchip/cdn-dp-core.c
1102
struct extcon_dev *extcon;
drivers/gpu/drm/rockchip/cdn-dp-core.c
155
struct extcon_dev *edev = port->extcon;
drivers/gpu/drm/rockchip/cdn-dp-core.h
59
struct extcon_dev *extcon;
drivers/phy/allwinner/phy-sun4i-usb.c
129
struct extcon_dev *extcon;
drivers/phy/broadcom/phy-bcm-ns2-usbdrd.c
57
struct extcon_dev *edev;
drivers/phy/qualcomm/phy-qcom-usb-hs.c
38
struct extcon_dev *vbus_edev;
drivers/phy/renesas/phy-rcar-gen3-usb2.c
136
struct extcon_dev *extcon;
drivers/phy/rockchip/phy-rockchip-inno-usb2.c
258
struct extcon_dev *edev;
drivers/phy/rockchip/phy-rockchip-inno-usb2.c
440
struct extcon_dev *edev;
drivers/phy/rockchip/phy-rockchip-typec.c
374
struct extcon_dev *extcon;
drivers/phy/rockchip/phy-rockchip-typec.c
808
struct extcon_dev *edev = tcphy->extcon;
drivers/platform/x86/lenovo/yoga-tab2-pro-1380-fastcharger.c
43
struct extcon_dev *extcon;
drivers/power/supply/axp288_charger.c
129
struct extcon_dev *cable;
drivers/power/supply/axp288_charger.c
136
struct extcon_dev *edev;
drivers/power/supply/axp288_charger.c
622
struct extcon_dev *edev = info->cable.edev;
drivers/power/supply/axp288_charger.c
688
struct extcon_dev *edev = info->otg.cable;
drivers/power/supply/bq24190_charger.c
226
struct extcon_dev *edev;
drivers/power/supply/charger-manager.c
1008
ret = devm_extcon_register_notifier(cm->dev, cable->extcon_dev,
drivers/power/supply/charger-manager.c
1062
event = extcon_get_state(cable->extcon_dev,
drivers/power/supply/charger-manager.c
988
cable->extcon_dev = extcon_get_extcon_dev(cable->extcon_name);
drivers/power/supply/charger-manager.c
989
if (IS_ERR(cable->extcon_dev)) {
drivers/power/supply/charger-manager.c
992
return PTR_ERR(cable->extcon_dev);
drivers/power/supply/max8971_charger.c
108
struct extcon_dev *edev;
drivers/power/supply/max8971_charger.c
550
struct extcon_dev *edev = priv->edev;
drivers/power/supply/max8997_charger.c
102
struct extcon_dev *edev = charger->edev;
drivers/power/supply/max8997_charger.c
38
struct extcon_dev *edev;
drivers/power/supply/pm8916_lbc.c
59
struct extcon_dev *edev;
drivers/power/supply/qcom_smbb.c
110
struct extcon_dev *edev;
drivers/power/supply/rt5033_charger.c
34
struct extcon_dev *edev;
drivers/power/supply/rt5033_charger.c
579
struct extcon_dev *edev = charger->edev;
drivers/usb/chipidea/core.c
681
struct extcon_dev *ext_vbus, *ext_id;
drivers/usb/dwc3/core.c
1987
static struct extcon_dev *dwc3_get_extcon(struct dwc3 *dwc)
drivers/usb/dwc3/core.c
1991
struct extcon_dev *edev = NULL;
drivers/usb/dwc3/core.h
1242
struct extcon_dev *edev;
drivers/usb/dwc3/dwc3-omap.c
127
struct extcon_dev *edev;
drivers/usb/dwc3/dwc3-omap.c
417
struct extcon_dev *edev;
drivers/usb/dwc3/dwc3-qcom-legacy.c
161
struct extcon_dev *host_edev;
drivers/usb/dwc3/dwc3-qcom-legacy.c
83
struct extcon_dev *edev;
drivers/usb/dwc3/dwc3-qcom-legacy.c
84
struct extcon_dev *host_edev;
drivers/usb/gadget/udc/amd5536udc.h
571
struct extcon_dev *edev;
drivers/usb/gadget/udc/renesas_usb3.c
343
struct extcon_dev *extcon;
drivers/usb/mtu3/mtu3.h
219
struct extcon_dev *edev;
drivers/usb/mtu3/mtu3_dr.c
200
struct extcon_dev *edev = otg_sx->edev;
drivers/usb/musb/sunxi.c
92
struct extcon_dev *extcon;
drivers/usb/phy/phy-omap-otg.c
25
struct extcon_dev *extcon;
drivers/usb/phy/phy-omap-otg.c
90
struct extcon_dev *extcon;
drivers/usb/phy/phy-tahvo.c
53
struct extcon_dev *extcon;
drivers/usb/phy/phy.c
422
struct extcon_dev *id_ext;
drivers/usb/renesas_usbhs/common.h
262
struct extcon_dev *edev;
drivers/usb/typec/tcpm/fusb302.c
88
struct extcon_dev *extcon;
include/linux/extcon-provider.h
103
static inline int extcon_set_state_sync(struct extcon_dev *edev, unsigned int id,
include/linux/extcon-provider.h
109
static inline int extcon_sync(struct extcon_dev *edev, unsigned int id)
include/linux/extcon-provider.h
114
static inline int extcon_set_property(struct extcon_dev *edev, unsigned int id,
include/linux/extcon-provider.h
121
static inline int extcon_set_property_sync(struct extcon_dev *edev,
include/linux/extcon-provider.h
128
static inline int extcon_set_property_capability(struct extcon_dev *edev,
include/linux/extcon-provider.h
15
struct extcon_dev;
include/linux/extcon-provider.h
20
int extcon_dev_register(struct extcon_dev *edev);
include/linux/extcon-provider.h
21
void extcon_dev_unregister(struct extcon_dev *edev);
include/linux/extcon-provider.h
23
struct extcon_dev *edev);
include/linux/extcon-provider.h
25
struct extcon_dev *edev);
include/linux/extcon-provider.h
28
struct extcon_dev *extcon_dev_allocate(const unsigned int *cable);
include/linux/extcon-provider.h
29
void extcon_dev_free(struct extcon_dev *edev);
include/linux/extcon-provider.h
30
struct extcon_dev *devm_extcon_dev_allocate(struct device *dev,
include/linux/extcon-provider.h
32
void devm_extcon_dev_free(struct device *dev, struct extcon_dev *edev);
include/linux/extcon-provider.h
35
int extcon_sync(struct extcon_dev *edev, unsigned int id);
include/linux/extcon-provider.h
41
int extcon_set_state(struct extcon_dev *edev, unsigned int id,
include/linux/extcon-provider.h
43
int extcon_set_state_sync(struct extcon_dev *edev, unsigned int id,
include/linux/extcon-provider.h
55
int extcon_set_property(struct extcon_dev *edev, unsigned int id,
include/linux/extcon-provider.h
58
int extcon_set_property_sync(struct extcon_dev *edev, unsigned int id,
include/linux/extcon-provider.h
61
int extcon_set_property_capability(struct extcon_dev *edev,
include/linux/extcon-provider.h
65
static inline int extcon_dev_register(struct extcon_dev *edev)
include/linux/extcon-provider.h
70
static inline void extcon_dev_unregister(struct extcon_dev *edev) { }
include/linux/extcon-provider.h
73
struct extcon_dev *edev)
include/linux/extcon-provider.h
79
struct extcon_dev *edev) { }
include/linux/extcon-provider.h
81
static inline struct extcon_dev *extcon_dev_allocate(const unsigned int *cable)
include/linux/extcon-provider.h
86
static inline void extcon_dev_free(struct extcon_dev *edev) { }
include/linux/extcon-provider.h
88
static inline struct extcon_dev *devm_extcon_dev_allocate(struct device *dev,
include/linux/extcon-provider.h
94
static inline void devm_extcon_dev_free(struct extcon_dev *edev) { }
include/linux/extcon-provider.h
97
static inline int extcon_set_state(struct extcon_dev *edev, unsigned int id,
include/linux/extcon.h
168
struct extcon_dev;
include/linux/extcon.h
175
int extcon_get_state(struct extcon_dev *edev, unsigned int id);
include/linux/extcon.h
186
int extcon_get_property(struct extcon_dev *edev, unsigned int id,
include/linux/extcon.h
189
int extcon_get_property_capability(struct extcon_dev *edev,
include/linux/extcon.h
201
int extcon_register_notifier(struct extcon_dev *edev, unsigned int id,
include/linux/extcon.h
203
int extcon_unregister_notifier(struct extcon_dev *edev, unsigned int id,
include/linux/extcon.h
206
struct extcon_dev *edev, unsigned int id,
include/linux/extcon.h
209
struct extcon_dev *edev, unsigned int id,
include/linux/extcon.h
212
int extcon_register_notifier_all(struct extcon_dev *edev,
include/linux/extcon.h
214
int extcon_unregister_notifier_all(struct extcon_dev *edev,
include/linux/extcon.h
217
struct extcon_dev *edev,
include/linux/extcon.h
220
struct extcon_dev *edev,
include/linux/extcon.h
226
struct extcon_dev *extcon_get_extcon_dev(const char *extcon_name);
include/linux/extcon.h
227
struct extcon_dev *extcon_find_edev_by_node(struct device_node *node);
include/linux/extcon.h
228
struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev,
include/linux/extcon.h
232
const char *extcon_get_edev_name(struct extcon_dev *edev);
include/linux/extcon.h
235
static inline int extcon_get_state(struct extcon_dev *edev, unsigned int id)
include/linux/extcon.h
240
static inline int extcon_get_property(struct extcon_dev *edev, unsigned int id,
include/linux/extcon.h
247
static inline int extcon_get_property_capability(struct extcon_dev *edev,
include/linux/extcon.h
253
static inline int extcon_register_notifier(struct extcon_dev *edev,
include/linux/extcon.h
259
static inline int extcon_unregister_notifier(struct extcon_dev *edev,
include/linux/extcon.h
266
struct extcon_dev *edev, unsigned int id,
include/linux/extcon.h
273
struct extcon_dev *edev, unsigned int id,
include/linux/extcon.h
276
static inline int extcon_register_notifier_all(struct extcon_dev *edev,
include/linux/extcon.h
282
static inline int extcon_unregister_notifier_all(struct extcon_dev *edev,
include/linux/extcon.h
289
struct extcon_dev *edev,
include/linux/extcon.h
296
struct extcon_dev *edev,
include/linux/extcon.h
299
static inline struct extcon_dev *extcon_get_extcon_dev(const char *extcon_name)
include/linux/extcon.h
304
static inline struct extcon_dev *extcon_find_edev_by_node(struct device_node *node)
include/linux/extcon.h
309
static inline struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev,
include/linux/extcon.h
315
static inline const char *extcon_get_edev_name(struct extcon_dev *edev)
include/linux/extcon.h
328
struct extcon_dev *edev;
include/linux/mfd/palmas.h
562
struct extcon_dev *edev;
include/linux/power/charger-manager.h
59
struct extcon_dev *extcon_dev;
include/linux/usb/chipidea.h
28
struct extcon_dev *edev;
include/linux/usb/phy.h
103
struct extcon_dev *edev;
include/linux/usb/phy.h
104
struct extcon_dev *id_edev;
sound/soc/samsung/aries_wm8994.c
25
struct extcon_dev *usb_extcon;