Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/phy/
H 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 …]
H A Dphy-mv-usb.h136 struct mv_otg_ctrl otg_ctrl; member
/openbmc/linux/drivers/phy/ti/
H A Dphy-tusb1210.c59 u8 otg_ctrl; member
154 tusb->otg_ctrl = reg; in tusb1210_set_mode()
333 tusb1210_ulpi_write(tusb, ULPI_OTG_CTRL, tusb->otg_ctrl); in tusb1210_chg_det_work()
446 ret = tusb1210_ulpi_read(tusb, ULPI_OTG_CTRL, &tusb->otg_ctrl); in tusb1210_probe_charger_detect()
/openbmc/linux/drivers/power/supply/
H 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()
/openbmc/u-boot/drivers/usb/host/
H A Dehci-zynq.c60 ulpi_write(&ulpi_vp, &ulpi->otg_ctrl, in ehci_zynq_probe()
/openbmc/linux/drivers/usb/isp1760/
H 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()
/openbmc/u-boot/include/usb/
H A Dulpi.h178 u8 otg_ctrl; /* 0x0A Write */ member