Lines Matching full:cable
3 * extcon-axp288.c - X-Power AXP288 PMIC extcon cable detection driver
215 unsigned int cable = info->previous_cable; in axp288_handle_chrg_det_event() local
239 dev_dbg(info->dev, "sdp cable is connected\n"); in axp288_handle_chrg_det_event()
240 cable = EXTCON_CHG_USB_SDP; in axp288_handle_chrg_det_event()
243 dev_dbg(info->dev, "cdp cable is connected\n"); in axp288_handle_chrg_det_event()
244 cable = EXTCON_CHG_USB_CDP; in axp288_handle_chrg_det_event()
247 dev_dbg(info->dev, "dcp cable is connected\n"); in axp288_handle_chrg_det_event()
248 cable = EXTCON_CHG_USB_DCP; in axp288_handle_chrg_det_event()
252 cable = EXTCON_CHG_USB_SDP; in axp288_handle_chrg_det_event()
261 extcon_set_state_sync(info->edev, cable, vbus_attach); in axp288_handle_chrg_det_event()
262 if (cable == EXTCON_CHG_USB_SDP) in axp288_handle_chrg_det_event()
266 info->previous_cable = cable; in axp288_handle_chrg_det_event()
443 /* Start charger cable type detection */ in axp288_extcon_probe()