Home
last modified time | relevance | path

Searched refs:otg_ctrl (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/phy/
H A Dphy-mv-usb.c90 otg_ctrl.timer[A_WAIT_BCON_TIMER]); in mv_otg_timer_await_bcon()
92 mvotg->otg_ctrl.a_wait_bcon_timeout = 1; in mv_otg_timer_await_bcon()
109 timer = &mvotg->otg_ctrl.timer[id]; in mv_otg_cancel_timer()
125 timer = &mvotg->otg_ctrl.timer[id]; in mv_otg_set_timer()
290 struct mv_otg_ctrl *otg_ctrl = &mvotg->otg_ctrl; in mv_otg_update_inputs() local
297 otg_ctrl->b_sess_vld = 1; in mv_otg_update_inputs()
298 otg_ctrl->b_sess_end = 0; in mv_otg_update_inputs()
300 otg_ctrl->b_sess_vld = 0; in mv_otg_update_inputs()
301 otg_ctrl in mv_otg_update_inputs()
329 struct mv_otg_ctrl *otg_ctrl = &mvotg->otg_ctrl; mv_otg_update_state() local
[all...]
H A Dphy-isp1301-omap.c480 u32 otg_ctrl; in update_otg1() local
482 otg_ctrl = omap_readl(OTG_CTRL) & OTG_CTRL_MASK; in update_otg1()
483 otg_ctrl &= ~OTG_XCEIV_INPUTS; in update_otg1()
484 otg_ctrl &= ~(OTG_ID|OTG_ASESSVLD|OTG_VBUSVLD); in update_otg1()
487 otg_ctrl |= OTG_ASESSVLD; in update_otg1()
490 otg_ctrl &= ~OTG_CTRL_BITS; in update_otg1()
493 otg_ctrl |= OTG_VBUSVLD; in update_otg1()
502 otg_ctrl |= OTG_ID; in update_otg1()
509 omap_writel(otg_ctrl, OTG_CTRL); in update_otg1()
515 u32 otg_ctrl; in update_otg2() local
530 u32 otg_ctrl, otg_change; otg_update_isp() local
643 u32 otg_ctrl; omap_otg_irq() local
1112 u32 otg_ctrl; isp1301_work() local
1402 u32 otg_ctrl; isp1301_start_srp() local
[all...]
H A Dphy-mv-usb.h136 struct mv_otg_ctrl otg_ctrl; member
/kernel/linux/linux-6.6/drivers/usb/phy/
H A Dphy-mv-usb.c90 otg_ctrl.timer[A_WAIT_BCON_TIMER]); in mv_otg_timer_await_bcon()
92 mvotg->otg_ctrl.a_wait_bcon_timeout = 1; in mv_otg_timer_await_bcon()
109 timer = &mvotg->otg_ctrl.timer[id]; in mv_otg_cancel_timer()
125 timer = &mvotg->otg_ctrl.timer[id]; in mv_otg_set_timer()
290 struct mv_otg_ctrl *otg_ctrl = &mvotg->otg_ctrl; in mv_otg_update_inputs() local
297 otg_ctrl->b_sess_vld = 1; in mv_otg_update_inputs()
298 otg_ctrl->b_sess_end = 0; in mv_otg_update_inputs()
300 otg_ctrl->b_sess_vld = 0; in mv_otg_update_inputs()
301 otg_ctrl in mv_otg_update_inputs()
329 struct mv_otg_ctrl *otg_ctrl = &mvotg->otg_ctrl; mv_otg_update_state() local
[all...]
H A Dphy-mv-usb.h136 struct mv_otg_ctrl otg_ctrl; member
/kernel/linux/linux-6.6/drivers/phy/ti/
H A Dphy-tusb1210.c59 u8 otg_ctrl; member
155 tusb->otg_ctrl = reg; in tusb1210_set_mode()
329 tusb1210_ulpi_write(tusb, ULPI_OTG_CTRL, tusb->otg_ctrl); in tusb1210_chg_det_work()
442 ret = tusb1210_ulpi_read(tusb, ULPI_OTG_CTRL, &tusb->otg_ctrl); in tusb1210_probe_charger_detect()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()

Completed in 7 milliseconds