Searched refs:a_bus_req (Results 1 - 16 of 16) sorted by relevance
/kernel/linux/linux-5.10/drivers/usb/chipidea/ |
H A D | otg_fsm.c | 40 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() 60 /* If a_bus_drop is TRUE, a_bus_req can't be set */ 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() 486 fsm->a_bus_req = 0; in ci_otg_drv_vbus() 652 fsm->a_bus_req = 1; in ci_otg_fsm_event() 753 fsm->a_bus_req = 1; in ci_otg_fsm_irq()
|
H A D | debug.c | 204 seq_printf(s, "a_bus_req: %d\n", fsm->a_bus_req); in ci_otg_show()
|
H A D | core.c | 1276 (ci->fsm.a_bus_drop == 1) && (ci->fsm.a_bus_req == 0)) { in ci_otg_fsm_wakeup_by_srp()
|
/kernel/linux/linux-6.6/drivers/usb/chipidea/ |
H A D | otg_fsm.c | 40 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() 60 /* If a_bus_drop is TRUE, a_bus_req can't be set */ 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 D | debug.c | 204 seq_printf(s, "a_bus_req: %d\n", fsm->a_bus_req); in ci_otg_show()
|
H A D | core.c | 1298 (ci->fsm.a_bus_drop == 1) && (ci->fsm.a_bus_req == 0)) { in ci_otg_fsm_wakeup_by_srp()
|
/kernel/linux/linux-5.10/drivers/usb/common/ |
H A D | usb-otg-fsm.c | 179 fsm->a_bus_req = 0; in otg_hnp_polling_work() 283 * When HNP is triggered while a_bus_req = 0, a_host will in otg_set_state() 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()
|
/kernel/linux/linux-6.6/drivers/usb/common/ |
H A D | usb-otg-fsm.c | 179 fsm->a_bus_req = 0; in otg_hnp_polling_work() 283 * When HNP is triggered while a_bus_req = 0, a_host will in otg_set_state() 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()
|
/kernel/linux/linux-5.10/drivers/usb/phy/ |
H A D | phy-mv-usb.c | 314 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() 547 "User request: a_bus_req = 1\n"); 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() 617 "User request: and a_bus_req in a_bus_drop_store() [all...] |
H A D | phy-mv-usb.h | 76 u8 a_bus_req; member
|
H A D | phy-fsl-usb.c | 264 * Workaround for a_host suspending too fast. When a_bus_req=0, 564 otg_dev->fsm.a_bus_req = 1; in fsl_otg_set_host() 693 /* clear a_bus_req to enter a_suspend state */ in fsl_otg_start_hnp() 694 otg_dev->fsm.a_bus_req = 0; in fsl_otg_start_hnp()
|
/kernel/linux/linux-6.6/drivers/usb/phy/ |
H A D | phy-mv-usb.c | 314 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() 547 "User request: a_bus_req = 1\n"); 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() 617 "User request: and a_bus_req in a_bus_drop_store() [all...] |
H A D | phy-mv-usb.h | 76 u8 a_bus_req; member
|
H A D | phy-fsl-usb.c | 264 * Workaround for a_host suspending too fast. When a_bus_req=0, 564 otg_dev->fsm.a_bus_req = 1; in fsl_otg_set_host() 693 /* clear a_bus_req to enter a_suspend state */ in fsl_otg_start_hnp() 694 otg_dev->fsm.a_bus_req = 0; in fsl_otg_start_hnp()
|
/kernel/linux/linux-5.10/include/linux/usb/ |
H A D | otg-fsm.h | 94 * @a_bus_req: TRUE when A-device application wants to use the bus. 153 int a_bus_req; member
|
/kernel/linux/linux-6.6/include/linux/usb/ |
H A D | otg-fsm.h | 81 * @a_bus_req: TRUE when A-device application wants to use the bus. 140 int a_bus_req; member
|
Completed in 17 milliseconds