Home
last modified time | relevance | path

Searched refs:desc_sz (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.6.21/drivers/net/wireless/ath/ath12k/
Dce.c544 ath12k_ce_alloc_ring(struct ath12k_base *ab, int nentries, int desc_sz) in ath12k_ce_alloc_ring() argument
561 nentries * desc_sz + CE_DESC_RING_ALIGN, in ath12k_ce_alloc_ring()
586 int desc_sz; in ath12k_ce_alloc_pipe() local
593 desc_sz = ath12k_hal_ce_get_desc_size(HAL_CE_DESC_SRC); in ath12k_ce_alloc_pipe()
594 ring = ath12k_ce_alloc_ring(ab, nentries, desc_sz); in ath12k_ce_alloc_pipe()
603 desc_sz = ath12k_hal_ce_get_desc_size(HAL_CE_DESC_DST); in ath12k_ce_alloc_pipe()
604 ring = ath12k_ce_alloc_ring(ab, nentries, desc_sz); in ath12k_ce_alloc_pipe()
609 desc_sz = ath12k_hal_ce_get_desc_size(HAL_CE_DESC_DST_STATUS); in ath12k_ce_alloc_pipe()
610 ring = ath12k_ce_alloc_ring(ab, nentries, desc_sz); in ath12k_ce_alloc_pipe()
889 int desc_sz; in ath12k_ce_free_pipes() local
[all …]
Ddp.c697 int desc_sz = DP_LINK_DESC_ALLOC_SIZE_THRESH; in ath12k_dp_link_desc_bank_alloc() local
701 desc_sz = last_bank_sz; in ath12k_dp_link_desc_bank_alloc()
704 dma_alloc_coherent(ab->dev, desc_sz, in ath12k_dp_link_desc_bank_alloc()
717 desc_bank[i].size = desc_sz; in ath12k_dp_link_desc_bank_alloc()
Ddp_rx.c654 unsigned long tot_desc_sz, desc_sz; in ath12k_dp_reo_cache_flush() local
658 desc_sz = ath12k_hal_reo_qdesc_size(0, HAL_DESC_REO_NON_QOS_TID); in ath12k_dp_reo_cache_flush()
660 while (tot_desc_sz > desc_sz) { in ath12k_dp_reo_cache_flush()
661 tot_desc_sz -= desc_sz; in ath12k_dp_reo_cache_flush()
/linux-6.6.21/drivers/net/wireless/ath/ath11k/
Dce.c614 ath11k_ce_alloc_ring(struct ath11k_base *ab, int nentries, int desc_sz) in ath11k_ce_alloc_ring() argument
631 nentries * desc_sz + CE_DESC_RING_ALIGN, in ath11k_ce_alloc_ring()
656 int desc_sz; in ath11k_ce_alloc_pipe() local
663 desc_sz = ath11k_hal_ce_get_desc_size(HAL_CE_DESC_SRC); in ath11k_ce_alloc_pipe()
664 ring = ath11k_ce_alloc_ring(ab, nentries, desc_sz); in ath11k_ce_alloc_pipe()
673 desc_sz = ath11k_hal_ce_get_desc_size(HAL_CE_DESC_DST); in ath11k_ce_alloc_pipe()
674 ring = ath11k_ce_alloc_ring(ab, nentries, desc_sz); in ath11k_ce_alloc_pipe()
679 desc_sz = ath11k_hal_ce_get_desc_size(HAL_CE_DESC_DST_STATUS); in ath11k_ce_alloc_pipe()
680 ring = ath11k_ce_alloc_ring(ab, nentries, desc_sz); in ath11k_ce_alloc_pipe()
978 int desc_sz; in ath11k_ce_free_pipes() local
[all …]
Ddp.c603 int desc_sz = DP_LINK_DESC_ALLOC_SIZE_THRESH; in ath11k_dp_link_desc_bank_alloc() local
607 desc_sz = last_bank_sz; in ath11k_dp_link_desc_bank_alloc()
610 dma_alloc_coherent(ab->dev, desc_sz, in ath11k_dp_link_desc_bank_alloc()
623 desc_bank[i].size = desc_sz; in ath11k_dp_link_desc_bank_alloc()
Ddp_rx.c722 unsigned long tot_desc_sz, desc_sz; in ath11k_dp_reo_cache_flush() local
726 desc_sz = ath11k_hal_reo_qdesc_size(0, HAL_DESC_REO_NON_QOS_TID); in ath11k_dp_reo_cache_flush()
728 while (tot_desc_sz > desc_sz) { in ath11k_dp_reo_cache_flush()
729 tot_desc_sz -= desc_sz; in ath11k_dp_reo_cache_flush()
/linux-6.6.21/scripts/gdb/linux/
Ddmesg.py49 desc_sz = prb_desc_type.get_type().sizeof
96 desc_off = desc_sz * ind
99 desc = utils.read_memoryview(inf, desc_addr + desc_off, desc_sz).tobytes()
/linux-6.6.21/drivers/net/ethernet/pensando/ionic/
Dionic_lif.c926 unsigned int num_desc, desc_sz, comp_sz, sg_desc_sz; in ionic_lif_create_hwstamp_txq() local
938 desc_sz = sizeof(struct ionic_txq_desc); in ionic_lif_create_hwstamp_txq()
951 num_desc, desc_sz, comp_sz, sg_desc_sz, in ionic_lif_create_hwstamp_txq()
990 unsigned int num_desc, desc_sz, comp_sz, sg_desc_sz; in ionic_lif_create_hwstamp_rxq() local
1002 desc_sz = sizeof(struct ionic_rxq_desc); in ionic_lif_create_hwstamp_rxq()
1010 num_desc, desc_sz, comp_sz, sg_desc_sz, in ionic_lif_create_hwstamp_rxq()
2051 unsigned int comp_sz, desc_sz, num_desc, sg_desc_sz; in ionic_txrx_alloc() local
2056 desc_sz = sizeof(struct ionic_txq_desc); in ionic_txrx_alloc()
2076 num_desc, desc_sz, comp_sz, sg_desc_sz, in ionic_txrx_alloc()
2098 desc_sz = sizeof(struct ionic_rxq_desc); in ionic_txrx_alloc()
[all …]
Dionic_lif.h162 u16 desc_sz; member
Dionic_if.h631 __le16 desc_sz; member
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_nsp.c511 size_t desc_sz; in nfp_nsp_command_buf_dma_sg() local
566 desc_sz = struct_size(desc, descs, nseg); in nfp_nsp_command_buf_dma_sg()
567 desc = kmalloc(desc_sz, GFP_KERNEL); in nfp_nsp_command_buf_dma_sg()
579 dma_desc = dma_map_single(dev, desc, desc_sz, DMA_TO_DEVICE); in nfp_nsp_command_buf_dma_sg()
602 dma_unmap_single(dev, dma_desc, desc_sz, DMA_TO_DEVICE); in nfp_nsp_command_buf_dma_sg()
/linux-6.6.21/tools/testing/selftests/bpf/
Dxsk.c746 size_t desc_sz = sizeof(struct xdp_desc); in xsk_socket__delete() local
764 off.rx.desc + xsk->config.rx_size * desc_sz); in xsk_socket__delete()
768 off.tx.desc + xsk->config.tx_size * desc_sz); in xsk_socket__delete()
/linux-6.6.21/drivers/net/wireless/realtek/rtw88/
Dpci.c210 u32 idx, u32 desc_sz) in rtw_pci_reset_rx_desc() argument
226 idx * desc_sz); in rtw_pci_reset_rx_desc()
236 u32 idx, u32 desc_sz) in rtw_pci_sync_rx_desc_device() argument
245 idx * desc_sz); in rtw_pci_sync_rx_desc_device()
689 u32 desc_sz = chip->rx_buf_desc_sz; in rtw_pci_dma_check() local
693 idx * desc_sz); in rtw_pci_dma_check()
Drtw8821c.c620 u32 desc_sz = rtwdev->chip->rx_pkt_desc_sz; in rtw8821c_query_rx_desc() local
646 hdr = (struct ieee80211_hdr *)(rx_desc + desc_sz + pkt_stat->shift + in rtw8821c_query_rx_desc()
649 phy_status = rx_desc + desc_sz + pkt_stat->shift; in rtw8821c_query_rx_desc()
Drtw8822b.c941 u32 desc_sz = rtwdev->chip->rx_pkt_desc_sz; in rtw8822b_query_rx_desc() local
967 hdr = (struct ieee80211_hdr *)(rx_desc + desc_sz + pkt_stat->shift + in rtw8822b_query_rx_desc()
970 phy_status = rx_desc + desc_sz + pkt_stat->shift; in rtw8822b_query_rx_desc()
Drtw8723d.c347 u32 desc_sz = rtwdev->chip->rx_pkt_desc_sz; in rtw8723d_query_rx_desc() local
373 hdr = (struct ieee80211_hdr *)(rx_desc + desc_sz + pkt_stat->shift + in rtw8723d_query_rx_desc()
376 phy_status = rx_desc + desc_sz + pkt_stat->shift; in rtw8723d_query_rx_desc()
/linux-6.6.21/drivers/soc/ti/
Dknav_qmss_queue.c957 unsigned desc_sz; in knav_pool_desc_unmap() local
960 desc_sz = min(dma_sz, pool->region->desc_size); in knav_pool_desc_unmap()
962 dma_sync_single_for_cpu(pool->dev, dma, desc_sz, DMA_FROM_DEVICE); in knav_pool_desc_unmap()
/linux-6.6.21/include/linux/pds/
Dpds_adminq.h499 __le16 desc_sz; member
/linux-6.6.21/drivers/dma/lgm/
Dlgm-dma.c1274 size_t desc_sz; in ldma_alloc_chan_resources() local
1284 desc_sz = c->desc_num * sizeof(struct dw2_desc); in ldma_alloc_chan_resources()
1285 c->desc_pool = dma_pool_create(c->name, dev, desc_sz, in ldma_alloc_chan_resources()
/linux-6.6.21/drivers/mmc/host/
Dsdhci.h568 unsigned int desc_sz; /* ADMA current descriptor size */ member
Dsdhci.c727 *desc += host->desc_sz; in sdhci_adma_write_desc()
831 desc -= host->desc_sz; in sdhci_adma_table_pre()
3362 desc += host->desc_sz; in sdhci_adma_show_error()
3363 dma += host->desc_sz; in sdhci_adma_show_error()
4339 host->desc_sz = host->alloc_desc_sz; in sdhci_setup_host()
4340 host->adma_table_sz = host->adma_table_cnt * host->desc_sz; in sdhci_setup_host()
Dsdhci-msm.c1950 host->desc_sz = 16; in sdhci_msm_cqe_disable()
2051 host->desc_sz = 12; in sdhci_msm_cqe_add_host()
/linux-6.6.21/drivers/ata/
Dlibata-core.c2322 char *desc, size_t desc_sz) in ata_dev_config_ncq() argument
2336 snprintf(desc, desc_sz, "NCQ (not used)"); in ata_dev_config_ncq()
2342 snprintf(desc, desc_sz, "NCQ (not used)"); in ata_dev_config_ncq()
2369 snprintf(desc, desc_sz, "NCQ (depth %d)%s", ddepth, aa_desc); in ata_dev_config_ncq()
2371 snprintf(desc, desc_sz, "NCQ (depth %d/%d)%s", hdepth, in ata_dev_config_ncq()
/linux-6.6.21/drivers/net/ethernet/ti/
Dnetcp_core.c974 unsigned int desc_sz) in netcp_free_tx_desc_chain() argument
994 desc_sz); in netcp_free_tx_desc_chain()
/linux-6.6.21/drivers/infiniband/hw/mthca/
Dmthca_qp.c931 static int mthca_max_data_size(struct mthca_dev *dev, struct mthca_qp *qp, int desc_sz) in mthca_max_data_size() argument
937 int max_data_size = desc_sz - sizeof (struct mthca_next_seg); in mthca_max_data_size()

12