/linux-4.19.296/drivers/extcon/ |
D | extcon-max77693.c | 510 extcon_set_state_sync(info->edev, EXTCON_DOCK, attached); in max77693_muic_dock_handler() 511 extcon_set_state_sync(info->edev, EXTCON_DISP_MHL, attached); in max77693_muic_dock_handler() 519 extcon_set_state_sync(info->edev, EXTCON_USB, false); in max77693_muic_dock_handler() 520 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SDP, in max77693_muic_dock_handler() 535 extcon_set_state_sync(info->edev, dock_id, attached); in max77693_muic_dock_handler() 601 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, attached); in max77693_muic_adc_ground_handler() 609 extcon_set_state_sync(info->edev, EXTCON_USB, attached); in max77693_muic_adc_ground_handler() 610 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SDP, in max77693_muic_adc_ground_handler() 616 extcon_set_state_sync(info->edev, EXTCON_DISP_MHL, attached); in max77693_muic_adc_ground_handler() 658 extcon_set_state_sync(info->edev, EXTCON_JIG, attached); in max77693_muic_jig_handler() [all …]
|
D | extcon-max3355.c | 43 extcon_set_state_sync(data->edev, EXTCON_USB_HOST, false); in max3355_id_irq() 44 extcon_set_state_sync(data->edev, EXTCON_USB, true); in max3355_id_irq() 51 extcon_set_state_sync(data->edev, EXTCON_USB, false); in max3355_id_irq() 52 extcon_set_state_sync(data->edev, EXTCON_USB_HOST, true); in max3355_id_irq()
|
D | extcon-max77843.c | 393 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, attached); in max77843_muic_adc_gnd_handler() 404 extcon_set_state_sync(info->edev, EXTCON_DISP_MHL, attached); in max77843_muic_adc_gnd_handler() 440 extcon_set_state_sync(info->edev, EXTCON_JIG, attached); in max77843_muic_jig_handler() 458 extcon_set_state_sync(info->edev, EXTCON_DISP_MHL, attached); in max77843_muic_dock_handler() 459 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, attached); in max77843_muic_dock_handler() 460 extcon_set_state_sync(info->edev, EXTCON_DOCK, attached); in max77843_muic_dock_handler() 558 extcon_set_state_sync(info->edev, EXTCON_USB, attached); in max77843_muic_chg_handler() 559 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SDP, in max77843_muic_chg_handler() 569 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_CDP, in max77843_muic_chg_handler() 579 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_DCP, in max77843_muic_chg_handler() [all …]
|
D | extcon-max8997.c | 332 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, attached); in max8997_muic_handle_usb() 335 extcon_set_state_sync(info->edev, EXTCON_USB, attached); in max8997_muic_handle_usb() 336 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SDP, in max8997_muic_handle_usb() 362 extcon_set_state_sync(info->edev, EXTCON_DOCK, attached); in max8997_muic_handle_dock() 385 extcon_set_state_sync(info->edev, EXTCON_JIG, attached); in max8997_muic_handle_jig_uart() 407 extcon_set_state_sync(info->edev, EXTCON_DISP_MHL, attached); in max8997_muic_adc_handler() 490 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_CDP, in max8997_muic_chg_handler() 494 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_DCP, in max8997_muic_chg_handler() 498 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SLOW, in max8997_muic_chg_handler() 502 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_FAST, in max8997_muic_chg_handler()
|
D | extcon-palmas.c | 64 extcon_set_state_sync(edev, EXTCON_USB, true); in palmas_vbus_irq_handler() 73 extcon_set_state_sync(edev, EXTCON_USB, false); in palmas_vbus_irq_handler() 101 extcon_set_state_sync(edev, EXTCON_USB_HOST, true); in palmas_id_irq_handler() 109 extcon_set_state_sync(edev, EXTCON_USB_HOST, false); in palmas_id_irq_handler() 114 extcon_set_state_sync(edev, EXTCON_USB_HOST, false); in palmas_id_irq_handler() 119 extcon_set_state_sync(edev, EXTCON_USB_HOST, true); in palmas_id_irq_handler() 140 extcon_set_state_sync(edev, EXTCON_USB_HOST, false); in palmas_gpio_id_detect() 143 extcon_set_state_sync(edev, EXTCON_USB_HOST, true); in palmas_gpio_id_detect()
|
D | extcon-usb-gpio.c | 84 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, false); in usb_extcon_detect_cable() 86 extcon_set_state_sync(info->edev, EXTCON_USB, false); in usb_extcon_detect_cable() 89 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, true); in usb_extcon_detect_cable() 92 extcon_set_state_sync(info->edev, EXTCON_USB, true); in usb_extcon_detect_cable()
|
D | extcon-max14577.c | 360 extcon_set_state_sync(info->edev, EXTCON_JIG, attached); in max14577_muic_jig_handler() 457 extcon_set_state_sync(info->edev, EXTCON_USB, attached); in max14577_muic_chg_handler() 458 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SDP, in max14577_muic_chg_handler() 462 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_DCP, in max14577_muic_chg_handler() 466 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_CDP, in max14577_muic_chg_handler() 470 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SLOW, in max14577_muic_chg_handler() 474 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_FAST, in max14577_muic_chg_handler()
|
D | extcon-axp288.c | 262 extcon_set_state_sync(info->edev, info->previous_cable, false); in axp288_handle_chrg_det_event() 264 extcon_set_state_sync(info->edev, EXTCON_USB, false); in axp288_handle_chrg_det_event() 267 extcon_set_state_sync(info->edev, cable, vbus_attach); in axp288_handle_chrg_det_event() 269 extcon_set_state_sync(info->edev, EXTCON_USB, in axp288_handle_chrg_det_event()
|
D | extcon-intel-cht-wc.c | 206 extcon_set_state_sync(ext->edev, cable, state); in cht_wc_extcon_set_state() 208 extcon_set_state_sync(ext->edev, EXTCON_USB, state); in cht_wc_extcon_set_state() 253 extcon_set_state_sync(ext->edev, EXTCON_USB_HOST, ext->usb_host); in cht_wc_extcon_pwrsrc_event()
|
D | extcon-adc-jack.c | 78 extcon_set_state_sync(data->edev, def->id, true); in adc_jack_handler() 86 extcon_set_state_sync(data->edev, def->id, false); in adc_jack_handler()
|
D | extcon-gpio.c | 64 extcon_set_state_sync(data->edev, data->extcon_id, state); in gpio_extcon_work()
|
D | extcon-qcom-spmi-misc.c | 55 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, !id); in qcom_usb_extcon_detect_cable()
|
D | extcon-intel-int3496.c | 82 extcon_set_state_sync(data->edev, EXTCON_USB_HOST, !id); in int3496_do_usb_id()
|
D | extcon-arizona.c | 652 ret = extcon_set_state_sync(info->edev, report, true); in arizona_hpdet_irq() 737 ret = extcon_set_state_sync(info->edev, EXTCON_JACK_HEADPHONE, true); in arizona_identify_headphone() 794 ret = extcon_set_state_sync(info->edev, EXTCON_JACK_HEADPHONE, true); in arizona_start_hpdet_acc_id() 919 ret = extcon_set_state_sync(info->edev, in arizona_micd_detect() 1147 ret = extcon_set_state_sync(info->edev, in arizona_jackdet() 1189 ret = extcon_set_state_sync(info->edev, in arizona_jackdet()
|
D | extcon-sm5502.c | 419 extcon_set_state_sync(info->edev, id, attached); in sm5502_muic_cable_handler() 421 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SDP, in sm5502_muic_cable_handler()
|
D | extcon-rt8973a.c | 403 extcon_set_state_sync(info->edev, id, attached); in rt8973a_muic_cable_handler() 405 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SDP, in rt8973a_muic_cable_handler()
|
D | extcon.c | 593 int extcon_set_state_sync(struct extcon_dev *edev, unsigned int id, bool state) in extcon_set_state_sync() function 615 EXPORT_SYMBOL_GPL(extcon_set_state_sync);
|
/linux-4.19.296/include/linux/ |
D | extcon-provider.h | 51 extern int extcon_set_state_sync(struct extcon_dev *edev, unsigned int id, 111 static inline int extcon_set_state_sync(struct extcon_dev *edev, unsigned int id, in extcon_set_state_sync() function
|