Home
last modified time | relevance | path

Searched refs:otg_ctrl (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/usb/phy/
A Dphy-mv-usb.c290 struct mv_otg_ctrl *otg_ctrl = &mvotg->otg_ctrl; in mv_otg_update_inputs() local
329 struct mv_otg_ctrl *otg_ctrl = &mvotg->otg_ctrl; in mv_otg_update_state() local
337 if (otg_ctrl->id == 0) in mv_otg_update_state()
343 if (!otg_ctrl->b_sess_vld || otg_ctrl->id == 0) in mv_otg_update_state()
347 if (otg_ctrl->id) in mv_otg_update_state()
350 (otg_ctrl->a_bus_req || otg_ctrl->a_srp_det)) in mv_otg_update_state()
358 if (otg_ctrl->id || otg_ctrl->a_bus_drop in mv_otg_update_state()
375 if (otg_ctrl->id || !otg_ctrl->b_conn in mv_otg_update_state()
382 if (otg_ctrl->id in mv_otg_update_state()
383 || (!otg_ctrl->b_conn && otg_ctrl->a_sess_vld) in mv_otg_update_state()
[all …]
A Dphy-mv-usb.h136 struct mv_otg_ctrl otg_ctrl; member
/linux/drivers/phy/ti/
A Dphy-tusb1210.c63 u8 otg_ctrl; member
159 tusb->otg_ctrl = reg; in tusb1210_set_mode()
338 tusb1210_ulpi_write(tusb, ULPI_OTG_CTRL, tusb->otg_ctrl); in tusb1210_chg_det_work()
447 ret = tusb1210_ulpi_read(tusb, ULPI_OTG_CTRL, &tusb->otg_ctrl); in tusb1210_probe_charger_detect()
/linux/drivers/power/supply/
A Disp1704_charger.c87 u8 otg_ctrl; in isp1704_charger_type() local
91 otg_ctrl = isp1704_read(isp, ULPI_OTG_CTRL); in isp1704_charger_type()
114 isp1704_write(isp, ULPI_OTG_CTRL, otg_ctrl); in isp1704_charger_type()
/linux/drivers/usb/isp1760/
A Disp1760-core.c33 u32 otg_ctrl; in isp1760_init_core() local
89 otg_ctrl = (ISP176x_HW_DM_PULLDOWN_CLEAR | in isp1760_init_core()
93 otg_ctrl = (ISP176x_HW_SW_SEL_HC_DC_CLEAR | in isp1760_init_core()
97 isp1760_reg_write(hcd->regs, ISP176x_HC_OTG_CTRL, otg_ctrl); in isp1760_init_core()

Completed in 13 milliseconds