Lines Matching full:cable
3 * extcon-axp288.c - X-Power AXP288 PMIC extcon cable detection driver
216 unsigned int cable = info->previous_cable; in axp288_handle_chrg_det_event() local
244 dev_dbg(info->dev, "sdp cable is connected\n"); in axp288_handle_chrg_det_event()
245 cable = EXTCON_CHG_USB_SDP; in axp288_handle_chrg_det_event()
248 dev_dbg(info->dev, "cdp cable is connected\n"); in axp288_handle_chrg_det_event()
249 cable = EXTCON_CHG_USB_CDP; in axp288_handle_chrg_det_event()
252 dev_dbg(info->dev, "dcp cable is connected\n"); in axp288_handle_chrg_det_event()
253 cable = EXTCON_CHG_USB_DCP; in axp288_handle_chrg_det_event()
257 cable = EXTCON_CHG_USB_SDP; in axp288_handle_chrg_det_event()
268 extcon_set_state_sync(info->edev, cable, vbus_attach); in axp288_handle_chrg_det_event()
269 if (cable == EXTCON_CHG_USB_SDP) in axp288_handle_chrg_det_event()
273 info->previous_cable = cable; in axp288_handle_chrg_det_event()
468 /* Start charger cable type detection */ in axp288_extcon_probe()