Home
last modified time | relevance | path

Searched refs:a_bus_req (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-platform-chipidea-usb-otg1 What: /sys/bus/platform/devices/ci_hdrc.0/inputs/a_bus_req
6 Set a_bus_req(A-device bus request) input to be 1 if
9 the bus(or wants to work as peripheral). a_bus_req can also
26 the a_bus_req shall be 0.
/openbmc/linux/drivers/usb/chipidea/
H A Dotg_fsm.c40 t = scnprintf(next, size, "%d\n", ci->fsm.a_bus_req); in a_bus_req_show()
58 ci->fsm.a_bus_req = 0; in a_bus_req_store()
65 ci->fsm.a_bus_req = 1; in a_bus_req_store()
78 static DEVICE_ATTR_RW(a_bus_req);
110 ci->fsm.a_bus_req = 0; in a_bus_drop_store()
493 fsm->a_bus_req = 0; in ci_otg_drv_vbus()
659 fsm->a_bus_req = 1; in ci_otg_fsm_event()
760 fsm->a_bus_req = 1; in ci_otg_fsm_irq()
H A Ddebug.c204 seq_printf(s, "a_bus_req: %d\n", fsm->a_bus_req); in ci_otg_show()
H A Dcore.c1298 (ci->fsm.a_bus_drop == 1) && (ci->fsm.a_bus_req == 0)) { in ci_otg_fsm_wakeup_by_srp()
/openbmc/linux/drivers/usb/common/
H A Dusb-otg-fsm.c179 fsm->a_bus_req = 0; in otg_hnp_polling_work()
286 if (!fsm->a_bus_req || fsm->a_suspend_req_inf) in otg_set_state()
385 else if (!fsm->a_bus_drop && (fsm->a_bus_req || in otg_statemachine()
407 else if ((!fsm->a_bus_req || fsm->a_suspend_req_inf) && in otg_statemachine()
420 else if (fsm->a_bus_req || fsm->b_bus_resume) in otg_statemachine()
/openbmc/linux/drivers/usb/phy/
H A Dphy-mv-usb.c314 otg_ctrl->a_bus_req = 1; in mv_otg_update_inputs()
350 (otg_ctrl->a_bus_req || otg_ctrl->a_srp_det)) in mv_otg_update_state()
363 otg_ctrl->a_bus_req = 0; in mv_otg_update_state()
384 || otg_ctrl->a_bus_req) in mv_otg_update_state()
522 mvotg->otg_ctrl.a_bus_req); in a_bus_req_show()
544 mvotg->otg_ctrl.a_bus_req = 1; in a_bus_req_store()
558 static DEVICE_ATTR_RW(a_bus_req);
613 mvotg->otg_ctrl.a_bus_req = 0; in a_bus_drop_store()
H A Dphy-mv-usb.h76 u8 a_bus_req; member
H A Dphy-fsl-usb.c564 otg_dev->fsm.a_bus_req = 1; in fsl_otg_set_host()
694 otg_dev->fsm.a_bus_req = 0; in fsl_otg_start_hnp()
/openbmc/linux/Documentation/usb/
H A Dchipidea.rst62 echo 1 > /sys/bus/platform/devices/ci_hdrc.0/inputs/a_bus_req
77 echo 1 > /sys/bus/platform/devices/ci_hdrc.0/inputs/a_bus_req
/openbmc/linux/include/linux/usb/
H A Dotg-fsm.h140 int a_bus_req; member