Searched refs:abs_index (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/sfc/siena/ |
D | siena_sriov.c | 191 static unsigned abs_index(struct siena_vf *vf, unsigned index) in abs_index() function 327 efx_filter_init_tx(&filter, abs_index(vf, 0)); in efx_siena_sriov_reset_tx_filter() 367 abs_index(vf, vf->rx_filter_qid)); in efx_siena_sriov_reset_rx_filter() 511 static bool map_vi_index(struct efx_nic *efx, unsigned abs_index, in map_vi_index() argument 517 if (abs_index < EFX_VI_BASE) in map_vi_index() 519 vf_i = (abs_index - EFX_VI_BASE) / efx_vf_size(efx); in map_vi_index() 526 *rel_index_out = abs_index % efx_vf_size(efx); in map_vi_index() 536 unsigned abs_evq = abs_index(vf, vf_evq); in efx_vfdi_init_evq() 599 FRF_AZ_RX_DESCQ_EVQ_ID, abs_index(vf, vf_evq), in efx_vfdi_init_rxq() 607 abs_index(vf, vf_rxq)); in efx_vfdi_init_rxq() [all …]
|
/Linux-v6.6/drivers/scsi/megaraid/ |
D | megaraid_sas_fusion.c | 794 u8 dma_alloc_count, abs_index; in megasas_alloc_rdpq_fusion() local 890 abs_index = (k * RDPQ_MAX_INDEX_IN_ONE_CHUNK) + i; in megasas_alloc_rdpq_fusion() 892 if (abs_index == msix_count) in megasas_alloc_rdpq_fusion() 895 fusion->rdpq_virt[abs_index].RDPQBaseAddress = in megasas_alloc_rdpq_fusion() 897 fusion->reply_frames_desc_phys[abs_index] = in megasas_alloc_rdpq_fusion() 899 fusion->reply_frames_desc[abs_index] = in megasas_alloc_rdpq_fusion() 902 reply_desc = fusion->reply_frames_desc[abs_index]; in megasas_alloc_rdpq_fusion()
|