Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/common/
H A Dusb-otg-fsm.c349 else if (fsm->b_sess_vld && fsm->otg->gadget) in otg_statemachine()
360 if (!fsm->id || !fsm->b_sess_vld) in otg_statemachine()
369 else if (!fsm->id || !fsm->b_sess_vld) in otg_statemachine()
377 if (!fsm->id || !fsm->b_sess_vld) in otg_statemachine()
/openbmc/linux/drivers/usb/phy/
H A Dphy-mv-usb.c297 otg_ctrl->b_sess_vld = 1; in mv_otg_update_inputs()
300 otg_ctrl->b_sess_vld = 0; in mv_otg_update_inputs()
304 otg_ctrl->b_sess_vld = !!(otgsc & OTGSC_STS_B_SESSION_VALID); in mv_otg_update_inputs()
321 dev_dbg(&mvotg->pdev->dev, "b_sess_vld %d\n", otg_ctrl->b_sess_vld); in mv_otg_update_inputs()
339 else if (otg_ctrl->b_sess_vld) in mv_otg_update_state()
343 if (!otg_ctrl->b_sess_vld || otg_ctrl->id == 0) in mv_otg_update_state()
H A Dphy-mv-usb.h90 u8 b_sess_vld; member
H A Dphy-fsl-usb.c259 fsl_otg_dev->fsm.b_sess_vld) in b_srp_end()
/openbmc/linux/drivers/usb/chipidea/
H A Dotg_fsm.c624 if (ci->fsm.b_sess_vld) { in ci_otg_fsm_work()
665 fsm->b_sess_vld = 1; in ci_otg_fsm_event()
766 fsm->b_sess_vld = 1; in ci_otg_fsm_irq()
771 fsm->b_sess_vld = 0; in ci_otg_fsm_irq()
841 ci->fsm.b_sess_vld = in ci_hdrc_otg_fsm_init()
H A Ddebug.c230 seq_printf(s, "b_sess_vld: %d\n", fsm->b_sess_vld); in ci_otg_show()
/openbmc/linux/include/linux/usb/
H A Dotg-fsm.h137 int b_sess_vld; member