Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/extcon/
Dextcon-max77693.c510 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 …]
Dextcon-max3355.c43 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()
Dextcon-max77843.c393 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 …]
Dextcon-max8997.c332 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()
Dextcon-palmas.c64 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()
Dextcon-usb-gpio.c84 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()
Dextcon-max14577.c360 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()
Dextcon-axp288.c262 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()
Dextcon-intel-cht-wc.c206 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()
Dextcon-adc-jack.c78 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()
Dextcon-gpio.c64 extcon_set_state_sync(data->edev, data->extcon_id, state); in gpio_extcon_work()
Dextcon-qcom-spmi-misc.c55 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, !id); in qcom_usb_extcon_detect_cable()
Dextcon-intel-int3496.c82 extcon_set_state_sync(data->edev, EXTCON_USB_HOST, !id); in int3496_do_usb_id()
Dextcon-arizona.c652 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()
Dextcon-sm5502.c419 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()
Dextcon-rt8973a.c403 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()
Dextcon.c593 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/
Dextcon-provider.h51 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