Home
last modified time | relevance | path

Searched refs:max_streams (Results 1 – 25 of 34) sorted by relevance

12

/linux/drivers/net/wireless/ath/ath9k/
H A Dcommon-init.c177 int i, max_streams; in ath9k_cmn_setup_ht_cap() local
195 max_streams = 1; in ath9k_cmn_setup_ht_cap()
197 max_streams = 2; in ath9k_cmn_setup_ht_cap()
199 max_streams = 3; in ath9k_cmn_setup_ht_cap()
201 max_streams = 2; in ath9k_cmn_setup_ht_cap()
204 if (max_streams >= 2) in ath9k_cmn_setup_ht_cap()
211 tx_streams = ath9k_cmn_count_streams(ah->txchainmask, max_streams); in ath9k_cmn_setup_ht_cap()
212 rx_streams = ath9k_cmn_count_streams(ah->rxchainmask, max_streams); in ath9k_cmn_setup_ht_cap()
/linux/drivers/media/platform/cadence/
H A Dcdns-csi2rx.c96 u8 max_streams; member
152 for (i = 0; i < csi2rx->max_streams; i++) { in csi2rx_reset()
161 for (i = 0; i < csi2rx->max_streams; i++) in csi2rx_reset()
270 for (i = 0; i < csi2rx->max_streams; i++) { in csi2rx_start()
333 for (i = 0; i < csi2rx->max_streams; i++) { in csi2rx_stop()
569 csi2rx->max_streams = (dev_cfg >> 4) & 7; in csi2rx_get_resources()
570 if (csi2rx->max_streams > CSI2RX_STREAMS_MAX) { in csi2rx_get_resources()
572 csi2rx->max_streams); in csi2rx_get_resources()
587 for (i = 0; i < csi2rx->max_streams; i++) { in csi2rx_get_resources()
716 csi2rx->num_lanes, csi2rx->max_lanes, csi2rx->max_streams, in csi2rx_probe()
H A Dcdns-csi2tx.c118 unsigned int max_streams; member
472 csi2tx->max_streams = (dev_cfg & CSI2TX_DEVICE_CONFIG_STREAMS_MASK) >> 4; in csi2tx_get_resources()
473 if (csi2tx->max_streams > CSI2TX_STREAMS_MAX) { in csi2tx_get_resources()
475 csi2tx->max_streams); in csi2tx_get_resources()
481 for (i = 0; i < csi2tx->max_streams; i++) { in csi2tx_get_resources()
627 csi2tx->num_lanes, csi2tx->max_lanes, csi2tx->max_streams, in csi2tx_probe()
/linux/tools/testing/selftests/zram/
H A Dzram_lib.sh136 local max_streams=$(cat $sys_path)
138 [ "$max_s" -ne "$max_streams" ] && \
142 echo "$sys_path = '$max_streams'"
/linux/include/uapi/linux/usb/
H A Dch9.h708 int max_streams; in usb_ss_max_streams() local
713 max_streams = comp->bmAttributes & 0x1f; in usb_ss_max_streams()
715 if (!max_streams) in usb_ss_max_streams()
718 max_streams = 1 << max_streams; in usb_ss_max_streams()
720 return max_streams; in usb_ss_max_streams()
H A Draw_gadget.h137 __u16 max_streams; member
/linux/drivers/usb/gadget/udc/
H A Dtrace.h151 __field(unsigned, max_streams)
163 __entry->max_streams = ep->max_streams;
173 __entry->max_streams, __entry->mult, __entry->maxburst,
H A Ddummy_hcd.c1062 ep->ep.max_streams = 16; in init_dummy_udc_hw()
1209 int max_streams; in get_max_streams_for_pipe() local
1213 max_streams >>= 4; in get_max_streams_for_pipe()
1215 max_streams &= 0xf; in get_max_streams_for_pipe()
1216 max_streams++; in get_max_streams_for_pipe()
1217 return max_streams; in get_max_streams_for_pipe()
1223 int max_streams; in set_max_streams_for_pipe() local
1229 max_streams &= 0xf; in set_max_streams_for_pipe()
1231 max_streams &= 0xf0; in set_max_streams_for_pipe()
1233 max_streams |= streams; in set_max_streams_for_pipe()
[all …]
/linux/drivers/usb/dwc3/
H A Dtrace.h296 __field(unsigned int, max_streams)
307 __entry->max_streams = dep->endpoint.max_streams;
316 __entry->maxpacket_limit, __entry->max_streams,
/linux/sound/soc/intel/atom/sst/
H A Dsst_pvt.c357 if (str_id <= 0 || str_id > sst_drv_ctx->info.max_streams) { in sst_validate_strid()
360 str_id, sst_drv_ctx->info.max_streams); in sst_validate_strid()
380 for (i = 1; i <= sst_drv_ctx->info.max_streams; i++) in get_stream_id_mrfld()
H A Dsst.c305 ctx->info.max_streams); in sst_context_init()
307 for (i = 1; i <= ctx->info.max_streams; i++) { in sst_context_init()
440 for (i = 1; i <= ctx->info.max_streams; i++) { in intel_sst_suspend()
556 for (i = 1; i <= ctx->info.max_streams; i++) { in intel_sst_resume()
H A Dsst_acpi.c57 .max_streams = 25,
/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-fw-isys.c230 unsigned int max_streams; in ipu6_isys_fwcom_cfg_init() local
234 max_streams = isys->pdata->ipdata->max_streams; in ipu6_isys_fwcom_cfg_init()
238 num_in_message_queues = clamp(num_streams, 1U, max_streams); in ipu6_isys_fwcom_cfg_init()
H A Dipu6.h312 u32 max_streams; member
H A Dipu6.c300 isys_ipdata.max_streams = IPU6_ISYS_NUM_STREAMS; in ipu6_internal_pdata_init()
359 isys_ipdata.max_streams = IPU6SE_ISYS_NUM_STREAMS; in ipu6_internal_pdata_init()
/linux/arch/x86/include/asm/
H A Dplatform_sst_audio.h87 unsigned int max_streams; member
/linux/drivers/usb/cdns3/
H A Dcdns3-trace.h461 __field(unsigned int, max_streams)
473 __entry->max_streams = priv_ep->endpoint.max_streams;
484 __entry->maxpacket_limit, __entry->max_streams,
H A Dcdnsp-gadget.c1598 int max_streams = HCC_MAX_PSA(pdev->hcc_params); in cdnsp_gadget_init_endpoints() local
1604 if (max_streams < STREAM_LOG_STREAMS) { in cdnsp_gadget_init_endpoints()
1606 max_streams); in cdnsp_gadget_init_endpoints()
1610 max_streams = STREAM_LOG_STREAMS; in cdnsp_gadget_init_endpoints()
1652 pep->endpoint.max_streams = max_streams; in cdnsp_gadget_init_endpoints()
/linux/drivers/usb/gadget/function/
H A Df_tcm.c789 static void uasp_setup_stream_res(struct f_uas *fu, int max_streams) in uasp_setup_stream_res() argument
793 for (i = 0; i < max_streams; i++) { in uasp_setup_stream_res()
806 int max_streams; in uasp_prepare_reqs() local
809 max_streams = UASP_SS_EP_COMP_NUM_STREAMS; in uasp_prepare_reqs()
811 max_streams = 1; in uasp_prepare_reqs()
813 for (i = 0; i < max_streams; i++) { in uasp_prepare_reqs()
822 uasp_setup_stream_res(fu, max_streams); in uasp_prepare_reqs()
/linux/drivers/usb/host/
H A Dxhci.c3302 unsigned int max_streams; in xhci_calculate_streams_entries() local
3312 max_streams = HCC_MAX_PSA(xhci->hcc_params); in xhci_calculate_streams_entries()
3313 if (*num_stream_ctxs > max_streams) { in xhci_calculate_streams_entries()
3315 max_streams); in xhci_calculate_streams_entries()
3316 *num_stream_ctxs = max_streams; in xhci_calculate_streams_entries()
3317 *num_streams = max_streams; in xhci_calculate_streams_entries()
3330 unsigned int max_streams; in xhci_calculate_streams_and_bitmask() local
3341 max_streams = usb_ss_max_streams(&eps[i]->ss_ep_comp); in xhci_calculate_streams_and_bitmask()
3342 if (max_streams < (*num_streams - 1)) { in xhci_calculate_streams_and_bitmask()
3345 max_streams); in xhci_calculate_streams_and_bitmask()
[all …]
/linux/include/linux/usb/
H A Dgadget.h243 u16 max_streams; member
/linux/drivers/media/platform/amphion/
H A Dvpu_windsor.c83 u32 max_streams; member
1179 return iface->max_streams; in vpu_windsor_get_max_instance_count()
H A Dvpu_malone.c247 u32 max_streams; member
1716 return iface->max_streams; in vpu_malone_get_max_instance_count()
/linux/drivers/usb/usbip/
H A Dvudc_dev.c541 ep->ep.max_streams = 16; in init_vudc_hw()
/linux/drivers/usb/gadget/legacy/
H A Draw_gadget.c1243 limits->max_streams = ep->max_streams; in fill_ep_limits()

12