Lines Matching defs:ctx
60 static void xhci_hci_request_queue(void* ctx, usb_request_t* req) {
61 xhci_request_queue(ctx, req);
64 static void xhci_set_bus_interface(void* ctx, usb_bus_interface_t* bus) {
65 xhci_t* xhci = ctx;
76 static size_t xhci_get_max_device_count(void* ctx) {
77 xhci_t* xhci = ctx;
82 static zx_status_t xhci_enable_ep(void* ctx, uint32_t device_id,
85 xhci_t* xhci = ctx;
89 static uint64_t xhci_get_frame(void* ctx) {
90 xhci_t* xhci = ctx;
94 static zx_status_t xhci_config_hub(void* ctx, uint32_t device_id, usb_speed_t speed,
96 xhci_t* xhci = ctx;
100 static zx_status_t xhci_hub_device_added(void* ctx, uint32_t hub_address, int port,
102 xhci_t* xhci = ctx;
106 static zx_status_t xhci_hub_device_removed(void* ctx, uint32_t hub_address, int port) {
107 xhci_t* xhci = ctx;
112 static zx_status_t xhci_reset_ep(void* ctx, uint32_t device_id, uint8_t ep_address) {
113 xhci_t* xhci = ctx;
117 static size_t xhci_get_max_transfer_size(void* ctx, uint32_t device_id, uint8_t ep_address) {
130 static zx_status_t xhci_cancel_all(void* ctx, uint32_t device_id, uint8_t ep_address) {
131 xhci_t* xhci = ctx;
135 static zx_status_t xhci_get_bti(void* ctx, zx_handle_t* out_handle) {
136 xhci_t* xhci = ctx;
183 static zx_status_t xhci_suspend(void* ctx, uint32_t flags) {
185 xhci_t* xhci = ctx;
194 static void xhci_unbind(void* ctx) {
196 xhci_t* xhci = ctx;
202 static void xhci_release(void* ctx) {
204 xhci_t* xhci = ctx;
310 .ctx = xhci,
482 static zx_status_t usb_xhci_bind(void* ctx, zx_device_t* parent) {