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-isp1301-omap.c480 u32 otg_ctrl; in update_otg1() local
493 otg_ctrl |= OTG_VBUSVLD; in update_otg1()
502 otg_ctrl |= OTG_ID; in update_otg1()
515 u32 otg_ctrl; in update_otg2() local
530 u32 otg_ctrl, otg_change; in otg_update_isp() local
536 otg_ctrl = otg_ctrl & OTG_XCEIV_INPUTS; in otg_update_isp()
643 u32 otg_ctrl; in omap_otg_irq() local
676 otg_ctrl |= OTG_BUSDROP; in omap_otg_irq()
754 otg_ctrl); in omap_otg_irq()
1112 u32 otg_ctrl; in isp1301_work() local
[all …]
A Dphy-mv-usb.h136 struct mv_otg_ctrl otg_ctrl; member
/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 15 milliseconds