Lines Matching defs:ctx
168 static zx_status_t cdc_ethmac_query(void* ctx, uint32_t options, ethmac_info_t* info) {
170 usb_cdc_t* cdc = ctx;
397 static const usb_descriptor_header_t* cdc_get_descriptors(void* ctx, size_t* out_length) {
402 static zx_status_t cdc_control(void* ctx, const usb_setup_t* setup, void* buffer,
419 static zx_status_t cdc_set_configured(void* ctx, bool configured, usb_speed_t speed) {
421 usb_cdc_t* cdc = ctx;
445 static zx_status_t cdc_set_interface(void* ctx, unsigned interface, unsigned alt_setting) {
447 usb_cdc_t* cdc = ctx;
502 static void usb_cdc_unbind(void* ctx) {
504 usb_cdc_t* cdc = ctx;
520 static void usb_cdc_release(void* ctx) {
522 usb_cdc_t* cdc = ctx;
543 zx_status_t usb_cdc_bind(void* ctx, zx_device_t* parent) {
635 .ctx = cdc,
649 .ctx = cdc,