Home
last modified time | relevance | path

Searched refs:num_descriptors (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/net/wireless/ath/wil6210/
H A Dpmc.c40 int num_descriptors, in wil_pmc_alloc() argument
57 if ((num_descriptors <= 0) || (descriptor_size <= 0)) { in wil_pmc_alloc()
60 num_descriptors, descriptor_size); in wil_pmc_alloc()
65 if (num_descriptors > (1 << WIL_RING_SIZE_ORDER_MAX)) { in wil_pmc_alloc()
68 num_descriptors, 1 << WIL_RING_SIZE_ORDER_MAX); in wil_pmc_alloc()
73 if (num_descriptors > INT_MAX / descriptor_size) { in wil_pmc_alloc()
76 num_descriptors, descriptor_size); in wil_pmc_alloc()
81 pmc->num_descriptors = num_descriptors; in wil_pmc_alloc()
85 num_descriptors, descriptor_size); in wil_pmc_alloc()
88 pmc->descriptors = kcalloc(num_descriptors, in wil_pmc_alloc()
[all …]
H A Dpmc.h10 int num_descriptors, int descriptor_size);
H A Dtxrx_edma.h226 u8 num_descriptors; member
H A Dtrace.h264 __entry->num_descs = msg->num_descriptors;
H A Dwil6210.h786 int num_descriptors; member
H A Dtxrx_edma.c1183 num_descs = msg.num_descriptors; in wil_tx_sring_handler()
/linux/drivers/net/wireless/ath/ath10k/
H A Dp2p.c20 u8 noa_descriptors = noa->num_descriptors; in ath10k_p2p_noa_ie_fill()
58 if (!noa->num_descriptors && in ath10k_p2p_noa_ie_len_compute()
65 len += noa->num_descriptors * sizeof(struct ieee80211_p2p_noa_desc); in ath10k_p2p_noa_ie_len_compute()
H A Dwmi.h6133 u8 num_descriptors; member
6183 u8 num_descriptors; member
H A Dwmi-tlv.c429 vdev_id, noa->num_descriptors); in ath10k_wmi_tlv_event_p2p_noa()
/linux/include/uapi/linux/
H A Dcec-funcs.h1506 __u8 num_descriptors, in cec_msg_report_short_audio_descriptor() argument
1511 if (num_descriptors > 4) in cec_msg_report_short_audio_descriptor()
1512 num_descriptors = 4; in cec_msg_report_short_audio_descriptor()
1513 msg->len = 2 + num_descriptors * 3; in cec_msg_report_short_audio_descriptor()
1515 for (i = 0; i < num_descriptors; i++) { in cec_msg_report_short_audio_descriptor()
1523 __u8 *num_descriptors, in cec_ops_report_short_audio_descriptor() argument
1528 *num_descriptors = (msg->len - 2) / 3; in cec_ops_report_short_audio_descriptor()
1529 if (*num_descriptors > 4) in cec_ops_report_short_audio_descriptor()
1530 *num_descriptors = 4; in cec_ops_report_short_audio_descriptor()
1531 for (i = 0; i < *num_descriptors; i++) in cec_ops_report_short_audio_descriptor()
[all …]
/linux/drivers/net/ethernet/google/gve/
H A Dgve_tx.c644 int hlen, num_descriptors, l4_hdr_offset; in gve_tx_add_skb_no_copy() local
676 num_descriptors = 1 + shinfo->nr_frags; in gve_tx_add_skb_no_copy()
678 num_descriptors++; in gve_tx_add_skb_no_copy()
680 num_descriptors++; in gve_tx_add_skb_no_copy()
684 num_descriptors, hlen, addr, skb->len); in gve_tx_add_skb_no_copy()
725 return num_descriptors; in gve_tx_add_skb_no_copy()
728 i += num_descriptors - shinfo->nr_frags; in gve_tx_add_skb_no_copy()
/linux/drivers/hid/surface-hid/
H A Dsurface_hid_core.c63 if (shid->hid_desc.num_descriptors != 1) { in surface_hid_load_hid_descriptor()
65 shid->hid_desc.num_descriptors); in surface_hid_load_hid_descriptor()
H A Dsurface_hid_core.h31 __u8 num_descriptors; /* = 1 */ member
/linux/sound/soc/intel/atom/sst/
H A Dsst_drv_interface.c386 .num_descriptors = 1,
403 .num_descriptors = 2,
/linux/sound/soc/sprd/
H A Dsprd-pcm-compress.c630 codec->num_descriptors = 2; in sprd_platform_compr_get_codec_caps()
641 codec->num_descriptors = 2; in sprd_platform_compr_get_codec_caps()
/linux/sound/soc/uniphier/
H A Daio-compress.c399 .num_descriptors = 1,
/linux/sound/soc/qcom/qdsp6/
H A Dq6apm-dai.c38 .num_descriptors = 1,
H A Dq6asm-dai.c162 .num_descriptors = 1,
/linux/drivers/scsi/lpfc/
H A Dlpfc.h367 u32 num_descriptors; member
/linux/drivers/scsi/smartpqi/
H A Dsmartpqi_init.c592 struct pqi_sg_descriptor *descriptors, int num_descriptors, in pqi_pci_unmap() argument
600 for (i = 0; i < num_descriptors; i++) in pqi_pci_unmap()