/linux/drivers/extcon/ |
H A D | extcon-max77693.c | 501 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 …]
|
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-qcom-spmi-misc.c | 58 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()
|
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-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/drivers/usb/phy/ |
H A D | phy-tahvo.c | 116 extcon_set_state_sync(tu->extcon, EXTCON_USB, tu->vbus_state); in check_vbus_state() 125 extcon_set_state_sync(tu->extcon, EXTCON_USB_HOST, true); in tahvo_usb_become_host() 144 extcon_set_state_sync(tu->extcon, EXTCON_USB_HOST, false); in tahvo_usb_become_peripheral() 368 extcon_set_state_sync(tu->extcon, EXTCON_USB_HOST, in tahvo_usb_probe() 370 extcon_set_state_sync(tu->extcon, EXTCON_USB, tu->vbus_state); in tahvo_usb_probe()
|
/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/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/drivers/phy/renesas/ |
H A D | phy-rcar-gen3-usb2.c | 155 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/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()
|
H A D | bq24190_charger.c | 1748 ret = extcon_set_state_sync(bdi->edev, EXTCON_USB, otg_enabled); in bq24190_configure_usb_otg()
|
/linux/drivers/phy/rockchip/ |
H A D | phy-rockchip-inno-usb2.c | 722 extcon_set_state_sync(rphy->edev, in rockchip_usb2phy_otg_sm_work() 725 extcon_set_state_sync(rphy->edev, in rockchip_usb2phy_otg_sm_work() 1063 extcon_set_state_sync(rphy->edev, EXTCON_USB_HOST, !id); in rockchip_usb2phy_id_irq() 1313 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 | 635 extcon_set_state_sync(data->extcon, EXTCON_USB_HOST, in sun4i_usb_phy0_id_vbus_det_scan() 655 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()
|