Lines Matching refs:cur_altsetting
408 u8 iface_no = ctx->control->cur_altsetting->desc.bInterfaceNumber; in cdc_ncm_update_rxtx_max()
481 if (cdc_ncm_comm_intf_is_mbim(dev->intf->cur_altsetting) && ctx->mbim_desc) in cdc_ncm_flags()
490 if (cdc_ncm_comm_intf_is_mbim(dev->intf->cur_altsetting)) in cdc_ncm_eth_hlen()
497 if (cdc_ncm_comm_intf_is_mbim(dev->intf->cur_altsetting)) in cdc_ncm_min_dgram_size()
506 if (cdc_ncm_comm_intf_is_mbim(dev->intf->cur_altsetting) && ctx->mbim_desc) in cdc_ncm_max_dgram_size()
519 u8 iface_no = ctx->control->cur_altsetting->desc.bInterfaceNumber; in cdc_ncm_init()
612 u8 iface_no = ctx->control->cur_altsetting->desc.bInterfaceNumber; in cdc_ncm_set_dgram_size()
731 for (ep = 0; ep < intf->cur_altsetting->desc.bNumEndpoints; ep++) { in cdc_ncm_find_endpoints()
732 e = intf->cur_altsetting->endpoint + ep; in cdc_ncm_find_endpoints()
850 buf = intf->cur_altsetting->extra; in cdc_ncm_bind_common()
851 len = intf->cur_altsetting->extralen; in cdc_ncm_bind_common()
866 ctx->data = usb_ifnum_to_if(dev->udev, intf->cur_altsetting->desc.bInterfaceNumber + 1); in cdc_ncm_bind_common()
875 if (cdc_ncm_comm_intf_is_mbim(intf->cur_altsetting)) { in cdc_ncm_bind_common()
896 iface_no = ctx->data->cur_altsetting->desc.bInterfaceNumber; in cdc_ncm_bind_common()
1053 return intf->cur_altsetting->desc.bAlternateSetting; in cdc_ncm_select_altsetting()