Home
last modified time | relevance | path

Searched refs:previous_cable (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/extcon/
A Dextcon-axp288.c106 unsigned int previous_cable; member
216 unsigned int cable = info->previous_cable; in axp288_handle_chrg_det_event()
263 extcon_set_state_sync(info->edev, info->previous_cable, false); in axp288_handle_chrg_det_event()
264 if (info->previous_cable == EXTCON_CHG_USB_SDP) in axp288_handle_chrg_det_event()
273 info->previous_cable = cable; in axp288_handle_chrg_det_event()
378 info->previous_cable = EXTCON_NONE; in axp288_extcon_probe()
A Dextcon-intel-cht-wc.c104 unsigned int previous_cable; member
283 if (cable != ext->previous_cable) { in cht_wc_extcon_pwrsrc_event()
285 cht_wc_extcon_set_state(ext, ext->previous_cable, false); in cht_wc_extcon_pwrsrc_event()
286 ext->previous_cable = cable; in cht_wc_extcon_pwrsrc_event()
354 ext->previous_cable = EXTCON_NONE; in cht_wc_extcon_probe()

Completed in 6 milliseconds