Home
last modified time | relevance | path

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

12

/linux-6.12.1/lib/
Dbuildid.c168 u32 build_id_off, new_off, note_end, name_sz, desc_sz; in parse_build_id() local
181 desc_sz = READ_ONCE(nhdr->n_descsz); in parse_build_id()
185 check_add_overflow(new_off, ALIGN(desc_sz, 4), &new_off) || in parse_build_id()
192 desc_sz > 0 && desc_sz <= BUILD_ID_SIZE_MAX) { in parse_build_id()
196 data = freader_fetch(r, build_id_off, desc_sz); in parse_build_id()
200 memcpy(build_id, data, desc_sz); in parse_build_id()
201 memset(build_id + desc_sz, 0, BUILD_ID_SIZE_MAX - desc_sz); in parse_build_id()
203 *size = desc_sz; in parse_build_id()
/linux-6.12.1/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.c698 int desc_sz = DP_LINK_DESC_ALLOC_SIZE_THRESH; in ath12k_dp_link_desc_bank_alloc() local
702 desc_sz = last_bank_sz; in ath12k_dp_link_desc_bank_alloc()
705 dma_alloc_coherent(ab->dev, desc_sz, in ath12k_dp_link_desc_bank_alloc()
718 desc_bank[i].size = desc_sz; in ath12k_dp_link_desc_bank_alloc()
Ddp_rx.c641 unsigned long tot_desc_sz, desc_sz; in ath12k_dp_reo_cache_flush() local
645 desc_sz = ath12k_hal_reo_qdesc_size(0, HAL_DESC_REO_NON_QOS_TID); in ath12k_dp_reo_cache_flush()
647 while (tot_desc_sz > desc_sz) { in ath12k_dp_reo_cache_flush()
648 tot_desc_sz -= desc_sz; in ath12k_dp_reo_cache_flush()
/linux-6.12.1/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.c617 int desc_sz = DP_LINK_DESC_ALLOC_SIZE_THRESH; in ath11k_dp_link_desc_bank_alloc() local
621 desc_sz = last_bank_sz; in ath11k_dp_link_desc_bank_alloc()
624 dma_alloc_coherent(ab->dev, desc_sz, in ath11k_dp_link_desc_bank_alloc()
637 desc_bank[i].size = desc_sz; in ath11k_dp_link_desc_bank_alloc()
/linux-6.12.1/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.12.1/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.12.1/drivers/net/ethernet/pensando/ionic/
Dionic_lif.c973 unsigned int num_desc, desc_sz, comp_sz, sg_desc_sz; in ionic_lif_create_hwstamp_txq() local
985 desc_sz = sizeof(struct ionic_txq_desc); in ionic_lif_create_hwstamp_txq()
998 num_desc, desc_sz, comp_sz, sg_desc_sz, in ionic_lif_create_hwstamp_txq()
1038 unsigned int num_desc, desc_sz, comp_sz, sg_desc_sz; in ionic_lif_create_hwstamp_rxq() local
1050 desc_sz = sizeof(struct ionic_rxq_desc); in ionic_lif_create_hwstamp_rxq()
1058 num_desc, desc_sz, comp_sz, sg_desc_sz, in ionic_lif_create_hwstamp_rxq()
2059 unsigned int comp_sz, desc_sz, num_desc, sg_desc_sz; in ionic_txrx_alloc() local
2064 desc_sz = sizeof(struct ionic_txq_desc); in ionic_txrx_alloc()
2084 num_desc, desc_sz, comp_sz, sg_desc_sz, in ionic_txrx_alloc()
2107 desc_sz = sizeof(struct ionic_rxq_desc); in ionic_txrx_alloc()
[all …]
Dionic_lif.h173 u16 desc_sz; member
/linux-6.12.1/tools/testing/selftests/bpf/
Dxsk.c748 size_t desc_sz = sizeof(struct xdp_desc); in xsk_socket__delete() local
766 off.rx.desc + xsk->config.rx_size * desc_sz); in xsk_socket__delete()
770 off.tx.desc + xsk->config.tx_size * desc_sz); in xsk_socket__delete()
/linux-6.12.1/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()
Drtw8703b.c1040 u32 desc_sz = rtwdev->chip->rx_pkt_desc_sz; in rtw8703b_query_rx_desc() local
1064 hdr = (struct ieee80211_hdr *)(rx_desc + desc_sz + pkt_stat->shift + in rtw8703b_query_rx_desc()
1070 phy_status = rx_desc + desc_sz + pkt_stat->shift; in rtw8703b_query_rx_desc()
Drtw8821c.c687 u32 desc_sz = rtwdev->chip->rx_pkt_desc_sz; in rtw8821c_query_rx_desc() local
713 hdr = (struct ieee80211_hdr *)(rx_desc + desc_sz + pkt_stat->shift + in rtw8821c_query_rx_desc()
716 phy_status = rx_desc + desc_sz + pkt_stat->shift; in rtw8821c_query_rx_desc()
Drtw8723d.c235 u32 desc_sz = rtwdev->chip->rx_pkt_desc_sz; in rtw8723d_query_rx_desc() local
261 hdr = (struct ieee80211_hdr *)(rx_desc + desc_sz + pkt_stat->shift + in rtw8723d_query_rx_desc()
264 phy_status = rx_desc + desc_sz + pkt_stat->shift; in rtw8723d_query_rx_desc()
Drtw8822b.c942 u32 desc_sz = rtwdev->chip->rx_pkt_desc_sz; in rtw8822b_query_rx_desc() local
968 hdr = (struct ieee80211_hdr *)(rx_desc + desc_sz + pkt_stat->shift + in rtw8822b_query_rx_desc()
971 phy_status = rx_desc + desc_sz + pkt_stat->shift; in rtw8822b_query_rx_desc()
/linux-6.12.1/drivers/soc/ti/
Dknav_qmss_queue.c959 unsigned desc_sz; in knav_pool_desc_unmap() local
962 desc_sz = min(dma_sz, pool->region->desc_size); in knav_pool_desc_unmap()
964 dma_sync_single_for_cpu(pool->dev, dma, desc_sz, DMA_FROM_DEVICE); in knav_pool_desc_unmap()
/linux-6.12.1/include/linux/pds/
Dpds_adminq.h499 __le16 desc_sz; member
/linux-6.12.1/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.12.1/drivers/mmc/host/
Dsdhci.h567 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()
3347 desc += host->desc_sz; in sdhci_adma_show_error()
3348 dma += host->desc_sz; in sdhci_adma_show_error()
4330 host->desc_sz = host->alloc_desc_sz; in sdhci_setup_host()
4331 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.12.1/drivers/ata/
Dlibata-core.c2302 char *desc, size_t desc_sz) in ata_dev_config_ncq() argument
2316 snprintf(desc, desc_sz, "NCQ (not used)"); in ata_dev_config_ncq()
2322 snprintf(desc, desc_sz, "NCQ (not used)"); in ata_dev_config_ncq()
2349 snprintf(desc, desc_sz, "NCQ (depth %d)%s", ddepth, aa_desc); in ata_dev_config_ncq()
2351 snprintf(desc, desc_sz, "NCQ (depth %d/%d)%s", hdepth, in ata_dev_config_ncq()
/linux-6.12.1/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.12.1/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