Home
last modified time | relevance | path

Searched refs:extcon_set_state_sync (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.14.4/drivers/extcon/
Dextcon-max77693.c501 extcon_set_state_sync(info->edev, EXTCON_DOCK, attached); in max77693_muic_dock_handler()
502 extcon_set_state_sync(info->edev, EXTCON_DISP_MHL, attached); in max77693_muic_dock_handler()
510 extcon_set_state_sync(info->edev, EXTCON_USB, false); in max77693_muic_dock_handler()
511 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SDP, in max77693_muic_dock_handler()
526 extcon_set_state_sync(info->edev, dock_id, attached); in max77693_muic_dock_handler()
592 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, attached); in max77693_muic_adc_ground_handler()
600 extcon_set_state_sync(info->edev, EXTCON_USB, attached); in max77693_muic_adc_ground_handler()
601 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SDP, in max77693_muic_adc_ground_handler()
607 extcon_set_state_sync(info->edev, EXTCON_DISP_MHL, attached); in max77693_muic_adc_ground_handler()
649 extcon_set_state_sync(info->edev, EXTCON_JIG, attached); in max77693_muic_jig_handler()
[all …]
Dextcon-max77843.c387 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, attached); in max77843_muic_adc_gnd_handler()
398 extcon_set_state_sync(info->edev, EXTCON_DISP_MHL, attached); in max77843_muic_adc_gnd_handler()
434 extcon_set_state_sync(info->edev, EXTCON_JIG, attached); in max77843_muic_jig_handler()
452 extcon_set_state_sync(info->edev, EXTCON_DISP_MHL, attached); in max77843_muic_dock_handler()
453 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, attached); in max77843_muic_dock_handler()
454 extcon_set_state_sync(info->edev, EXTCON_DOCK, attached); in max77843_muic_dock_handler()
552 extcon_set_state_sync(info->edev, EXTCON_USB, attached); in max77843_muic_chg_handler()
553 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SDP, in max77843_muic_chg_handler()
563 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_CDP, in max77843_muic_chg_handler()
573 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_DCP, in max77843_muic_chg_handler()
[all …]
Dextcon-max3355.c39 extcon_set_state_sync(data->edev, EXTCON_USB_HOST, false); in max3355_id_irq()
40 extcon_set_state_sync(data->edev, EXTCON_USB, true); in max3355_id_irq()
47 extcon_set_state_sync(data->edev, EXTCON_USB, false); in max3355_id_irq()
48 extcon_set_state_sync(data->edev, EXTCON_USB_HOST, true); in max3355_id_irq()
Dextcon-max8997.c325 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, attached); in max8997_muic_handle_usb()
328 extcon_set_state_sync(info->edev, EXTCON_USB, attached); in max8997_muic_handle_usb()
329 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SDP, in max8997_muic_handle_usb()
355 extcon_set_state_sync(info->edev, EXTCON_DOCK, attached); in max8997_muic_handle_dock()
378 extcon_set_state_sync(info->edev, EXTCON_JIG, attached); in max8997_muic_handle_jig_uart()
400 extcon_set_state_sync(info->edev, EXTCON_DISP_MHL, attached); in max8997_muic_adc_handler()
483 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_CDP, in max8997_muic_chg_handler()
487 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_DCP, in max8997_muic_chg_handler()
491 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SLOW, in max8997_muic_chg_handler()
495 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_FAST, in max8997_muic_chg_handler()
Dextcon-palmas.c53 extcon_set_state_sync(edev, EXTCON_USB, true); in palmas_vbus_irq_handler()
62 extcon_set_state_sync(edev, EXTCON_USB, false); in palmas_vbus_irq_handler()
90 extcon_set_state_sync(edev, EXTCON_USB_HOST, true); in palmas_id_irq_handler()
98 extcon_set_state_sync(edev, EXTCON_USB_HOST, false); in palmas_id_irq_handler()
103 extcon_set_state_sync(edev, EXTCON_USB_HOST, false); in palmas_id_irq_handler()
108 extcon_set_state_sync(edev, EXTCON_USB_HOST, true); in palmas_id_irq_handler()
129 extcon_set_state_sync(edev, EXTCON_USB_HOST, false); in palmas_gpio_id_detect()
132 extcon_set_state_sync(edev, EXTCON_USB_HOST, true); in palmas_gpio_id_detect()
Dextcon-ptn5150.c88 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, false); in ptn5150_check_state()
90 extcon_set_state_sync(info->edev, EXTCON_USB, true); in ptn5150_check_state()
94 extcon_set_state_sync(info->edev, EXTCON_USB, false); in ptn5150_check_state()
101 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, true); in ptn5150_check_state()
143 extcon_set_state_sync(info->edev, in ptn5150_irq_work()
145 extcon_set_state_sync(info->edev, in ptn5150_irq_work()
Dextcon-usb-gpio.c75 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, false); in usb_extcon_detect_cable()
77 extcon_set_state_sync(info->edev, EXTCON_USB, false); in usb_extcon_detect_cable()
80 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, true); in usb_extcon_detect_cable()
83 extcon_set_state_sync(info->edev, EXTCON_USB, true); in usb_extcon_detect_cable()
Dextcon-max14577.c351 extcon_set_state_sync(info->edev, EXTCON_JIG, attached); in max14577_muic_jig_handler()
448 extcon_set_state_sync(info->edev, EXTCON_USB, attached); in max14577_muic_chg_handler()
449 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SDP, in max14577_muic_chg_handler()
453 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_DCP, in max14577_muic_chg_handler()
457 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_CDP, in max14577_muic_chg_handler()
461 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SLOW, in max14577_muic_chg_handler()
465 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_FAST, in max14577_muic_chg_handler()
Dextcon-axp288.c263 extcon_set_state_sync(info->edev, info->previous_cable, false); in axp288_handle_chrg_det_event()
265 extcon_set_state_sync(info->edev, EXTCON_USB, false); in axp288_handle_chrg_det_event()
268 extcon_set_state_sync(info->edev, cable, vbus_attach); in axp288_handle_chrg_det_event()
270 extcon_set_state_sync(info->edev, EXTCON_USB, in axp288_handle_chrg_det_event()
Dextcon-qcom-spmi-misc.c58 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, !state); in qcom_usb_extcon_detect_cable()
73 extcon_set_state_sync(info->edev, EXTCON_USB, state); in qcom_usb_extcon_detect_cable()
Dextcon-adc-jack.c76 extcon_set_state_sync(data->edev, def->id, true); in adc_jack_handler()
84 extcon_set_state_sync(data->edev, def->id, false); in adc_jack_handler()
Dextcon-intel-cht-wc.c272 extcon_set_state_sync(ext->edev, cable, state); in cht_wc_extcon_set_state()
274 extcon_set_state_sync(ext->edev, EXTCON_USB, state); in cht_wc_extcon_set_state()
328 extcon_set_state_sync(ext->edev, EXTCON_USB_HOST, ext->usb_host); in cht_wc_extcon_pwrsrc_event()
Dextcon-gpio.c53 extcon_set_state_sync(data->edev, data->extcon_id, state); in gpio_extcon_work()
Dextcon-lc824206xa.c333 extcon_set_state_sync(data->edev, data->previous_cable, false); in lc824206xa_work()
334 extcon_set_state_sync(data->edev, data->cable, true); in lc824206xa_work()
Dextcon-intel-int3496.c101 extcon_set_state_sync(data->edev, EXTCON_USB_HOST, !id); in int3496_do_usb_id()
Dextcon-rt8973a.c398 extcon_set_state_sync(info->edev, id, attached); in rt8973a_muic_cable_handler()
400 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SDP, in rt8973a_muic_cable_handler()
Dextcon-intel-mrfld.c147 extcon_set_state_sync(data->edev, EXTCON_USB_HOST, usb_host); in mrfld_extcon_role_detect()
Dextcon-sm5502.c515 extcon_set_state_sync(info->edev, id, attached); in sm5502_muic_cable_handler()
517 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SDP, in sm5502_muic_cable_handler()
Dextcon-fsa9480.c212 extcon_set_state_sync(usbsw->edev, cable, attached); in fsa9480_handle_change()
/linux-6.14.4/include/linux/
Dextcon-provider.h43 int extcon_set_state_sync(struct extcon_dev *edev, unsigned int id,
103 static inline int extcon_set_state_sync(struct extcon_dev *edev, unsigned int id, in extcon_set_state_sync() function
/linux-6.14.4/drivers/usb/phy/
Dphy-tahvo.c117 extcon_set_state_sync(tu->extcon, EXTCON_USB, tu->vbus_state); in check_vbus_state()
126 extcon_set_state_sync(tu->extcon, EXTCON_USB_HOST, true); in tahvo_usb_become_host()
145 extcon_set_state_sync(tu->extcon, EXTCON_USB_HOST, false); in tahvo_usb_become_peripheral()
369 extcon_set_state_sync(tu->extcon, EXTCON_USB_HOST, in tahvo_usb_probe()
371 extcon_set_state_sync(tu->extcon, EXTCON_USB, tu->vbus_state); in tahvo_usb_probe()
/linux-6.14.4/drivers/phy/broadcom/
Dphy-bcm-ns2-usbdrd.c241 extcon_set_state_sync(driver->edev, EXTCON_USB_HOST, true); in extcon_work()
246 extcon_set_state_sync(driver->edev, EXTCON_USB_HOST, false); in extcon_work()
247 extcon_set_state_sync(driver->edev, EXTCON_USB, false); in extcon_work()
250 extcon_set_state_sync(driver->edev, EXTCON_USB, true); in extcon_work()
/linux-6.14.4/drivers/phy/renesas/
Dphy-rcar-gen3-usb2.c155 extcon_set_state_sync(ch->extcon, EXTCON_USB_HOST, true); in rcar_gen3_phy_usb2_work()
156 extcon_set_state_sync(ch->extcon, EXTCON_USB, false); in rcar_gen3_phy_usb2_work()
158 extcon_set_state_sync(ch->extcon, EXTCON_USB_HOST, false); in rcar_gen3_phy_usb2_work()
159 extcon_set_state_sync(ch->extcon, EXTCON_USB, true); in rcar_gen3_phy_usb2_work()
/linux-6.14.4/Documentation/driver-api/
Dextcon.rst151 :identifiers: extcon_set_state_sync
215 extcon_set_state_sync(data->edev, EXTCON_USB, true);
226 extcon_set_state_sync(data->edev, EXTCON_USB, false);
/linux-6.14.4/drivers/power/supply/
Dpm8916_lbc.c190 extcon_set_state_sync(chg->edev, EXTCON_USB, chg->online); in pm8916_lbc_charger_state_changed_irq()
348 extcon_set_state_sync(chg->edev, EXTCON_USB, chg->online); in pm8916_lbc_charger_probe()

12