/kernel/linux/linux-5.10/include/linux/ |
H A D | extcon-provider.h | 15 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 D | extcon.h | 168 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 D | extcon-provider.h | 15 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 D | extcon.h | 168 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 D | devres.c | 13 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 D | extcon.c | 219 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 D | extcon.h | 8 * struct extcon_dev - An extcon device represents one external connector. 41 struct extcon_dev { struct
|
H A D | extcon-palmas.c | 44 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 D | extcon-qcom-spmi-misc.c | 23 struct extcon_dev *edev;
|
/kernel/linux/linux-6.6/drivers/extcon/ |
H A D | devres.c | 13 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 D | extcon.c | 220 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 D | extcon.h | 8 * struct extcon_dev - An extcon device represents one external connector. 42 struct extcon_dev { struct
|
H A D | extcon-palmas.c | 44 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 D | charger-manager.h | 44 * @extcon_dev: the extcon device. 59 struct extcon_dev *extcon_dev; member
|
/kernel/linux/linux-6.6/include/linux/power/ |
H A D | charger-manager.h | 44 * @extcon_dev: the extcon device. 59 struct extcon_dev *extcon_dev; member
|
/kernel/linux/linux-5.10/drivers/usb/phy/ |
H A D | phy-omap-otg.c | 25 struct extcon_dev *extcon; 90 struct extcon_dev *extcon; in omap_otg_probe()
|
/kernel/linux/linux-6.6/drivers/usb/phy/ |
H A D | phy-omap-otg.c | 25 struct extcon_dev *extcon; 90 struct extcon_dev *extcon; in omap_otg_probe()
|
/kernel/linux/linux-5.10/include/linux/usb/ |
H A D | phy.h | 103 struct extcon_dev *edev; 104 struct extcon_dev *id_edev;
|
H A D | chipidea.h | 28 struct extcon_dev *edev;
|
/kernel/linux/linux-6.6/include/linux/usb/ |
H A D | phy.h | 103 struct extcon_dev *edev; 104 struct extcon_dev *id_edev;
|
H A D | chipidea.h | 28 struct extcon_dev *edev;
|
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/ |
H A D | cdn-dp-core.h | 57 struct extcon_dev *extcon;
|
/kernel/linux/linux-6.6/drivers/gpu/drm/rockchip/ |
H A D | cdn-dp-core.h | 58 struct extcon_dev *extcon;
|
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | max8997_charger.c | 38 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 D | charger-manager.c | 987 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()
|