/linux/drivers/extcon/ |
H A D | extcon-max77843.c | 387 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 …]
|
H A D | extcon-max8997.c | 325 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()
|
H A D | extcon-palmas.c | 53 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()
|
H A D | extcon-ptn5150.c | 88 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()
|
H A D | extcon-max14577.c | 351 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()
|
H A D | extcon-axp288.c | 263 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()
|
H A D | extcon-adc-jack.c | 76 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()
|
H A D | extcon-intel-cht-wc.c | 272 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()
|
H A D | extcon-gpio.c | 53 extcon_set_state_sync(data->edev, data->extcon_id, state); in gpio_extcon_work()
|
H A D | extcon-lc824206xa.c | 333 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()
|
H A D | extcon-intel-int3496.c | 101 extcon_set_state_sync(data->edev, EXTCON_USB_HOST, !id); in int3496_do_usb_id()
|
H A D | extcon-rt8973a.c | 398 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()
|
H A D | extcon-intel-mrfld.c | 147 extcon_set_state_sync(data->edev, EXTCON_USB_HOST, usb_host); in mrfld_extcon_role_detect()
|
H A D | extcon-sm5502.c | 515 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()
|
H A D | extcon-fsa9480.c | 212 extcon_set_state_sync(usbsw->edev, cable, attached); in fsa9480_handle_change()
|
H A D | extcon.c | 598 int extcon_set_state_sync(struct extcon_dev *edev, unsigned int id, bool state) in extcon_set_state_sync() function 608 EXPORT_SYMBOL_GPL(extcon_set_state_sync);
|
/linux/include/linux/ |
H A D | extcon-provider.h | 43 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/drivers/usb/phy/ |
H A D | phy-tahvo.c | 117 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/drivers/phy/broadcom/ |
H A D | phy-bcm-ns2-usbdrd.c | 241 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/Documentation/driver-api/ |
H A D | extcon.rst | 151 :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/drivers/power/supply/ |
H A D | pm8916_lbc.c | 190 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()
|
H A D | qcom_smbb.c | 379 extcon_set_state_sync(chg->edev, EXTCON_USB, in smbb_usb_valid_handler()
|
/linux/drivers/phy/rockchip/ |
H A D | phy-rockchip-inno-usb2.c | 738 extcon_set_state_sync(rphy->edev, in rockchip_usb2phy_otg_sm_work() 741 extcon_set_state_sync(rphy->edev, in rockchip_usb2phy_otg_sm_work() 1079 extcon_set_state_sync(rphy->edev, EXTCON_USB_HOST, !id); in rockchip_usb2phy_id_irq() 1329 extcon_set_state_sync(rphy->edev, EXTCON_USB_HOST, !id); in rockchip_usb2phy_otg_port_init()
|
/linux/drivers/phy/allwinner/ |
H A D | phy-sun4i-usb.c | 634 extcon_set_state_sync(data->extcon, EXTCON_USB_HOST, in sun4i_usb_phy0_id_vbus_det_scan() 654 extcon_set_state_sync(data->extcon, EXTCON_USB, vbus_det); in sun4i_usb_phy0_id_vbus_det_scan()
|
/linux/drivers/usb/gadget/udc/ |
H A D | renesas_usb3.c | 492 extcon_set_state_sync(usb3->extcon, EXTCON_USB_HOST, usb3->extcon_host); in renesas_usb3_extcon_work() 493 extcon_set_state_sync(usb3->extcon, EXTCON_USB, usb3->extcon_usb); in renesas_usb3_extcon_work()
|