Searched refs:a_bus_req (Results 1 – 10 of 10) sorted by relevance
/linux-4.4.14/Documentation/ABI/testing/ |
D | sysfs-platform-chipidea-usb-otg | 1 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.
|
/linux-4.4.14/drivers/usb/chipidea/ |
D | otg_fsm.c | 43 t = scnprintf(next, size, "%d\n", ci->fsm.a_bus_req); in get_a_bus_req() 61 ci->fsm.a_bus_req = 0; in set_a_bus_req() 68 ci->fsm.a_bus_req = 1; in set_a_bus_req() 76 static DEVICE_ATTR(a_bus_req, S_IRUGO | S_IWUSR, get_a_bus_req, set_a_bus_req); 108 ci->fsm.a_bus_req = 0; in set_a_bus_drop() 469 fsm->a_bus_req = 0; in ci_otg_drv_vbus() 625 fsm->a_bus_req = 1; in ci_otg_fsm_event() 726 fsm->a_bus_req = 1; in ci_otg_fsm_irq()
|
D | debug.c | 237 seq_printf(s, "a_bus_req: %d\n", fsm->a_bus_req); in ci_otg_show()
|
D | core.c | 1113 (ci->fsm.a_bus_drop == 1) && (ci->fsm.a_bus_req == 0)) { in ci_otg_fsm_wakeup_by_srp()
|
/linux-4.4.14/drivers/usb/common/ |
D | usb-otg-fsm.c | 204 if (!fsm->a_bus_req || fsm->a_suspend_req_inf) in otg_set_state() 301 else if (!fsm->a_bus_drop && (fsm->a_bus_req || in otg_statemachine() 323 else if ((!fsm->a_bus_req || fsm->a_suspend_req_inf) && in otg_statemachine() 336 else if (fsm->a_bus_req || fsm->b_bus_resume) in otg_statemachine()
|
/linux-4.4.14/drivers/usb/phy/ |
D | phy-mv-usb.c | 325 otg_ctrl->a_bus_req = 1; in mv_otg_update_inputs() 361 (otg_ctrl->a_bus_req || otg_ctrl->a_srp_det)) in mv_otg_update_state() 374 otg_ctrl->a_bus_req = 0; in mv_otg_update_state() 395 || otg_ctrl->a_bus_req) in mv_otg_update_state() 536 mvotg->otg_ctrl.a_bus_req); in get_a_bus_req() 558 mvotg->otg_ctrl.a_bus_req = 1; in set_a_bus_req() 572 static DEVICE_ATTR(a_bus_req, S_IRUGO | S_IWUSR, get_a_bus_req, 628 mvotg->otg_ctrl.a_bus_req = 0; in set_a_bus_drop()
|
D | phy-mv-usb.h | 80 u8 a_bus_req; member
|
D | phy-fsl-usb.c | 570 otg_dev->fsm.a_bus_req = 1; in fsl_otg_set_host() 711 otg_dev->fsm.a_bus_req = 0; in fsl_otg_start_hnp() 1037 fsm->a_bus_req, in show_fsl_usb2_otg_state() 1088 fsl_otg_dev->fsm.a_bus_req = arg; in fsl_otg_ioctl()
|
/linux-4.4.14/Documentation/usb/ |
D | chipidea.txt | 31 echo 0 > /sys/bus/platform/devices/ci_hdrc.0/inputs/a_bus_req 50 echo 1 > /sys/bus/platform/devices/ci_hdrc.0/inputs/a_bus_req
|
/linux-4.4.14/include/linux/usb/ |
D | otg-fsm.h | 70 int a_bus_req; member
|