Searched refs:abs_index (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/sfc/ |
D | siena_sriov.c | 193 static unsigned abs_index(struct siena_vf *vf, unsigned index) in abs_index() function 328 efx_filter_init_tx(&filter, abs_index(vf, 0)); in efx_siena_sriov_reset_tx_filter() 368 abs_index(vf, vf->rx_filter_qid)); in efx_siena_sriov_reset_rx_filter() 512 static bool map_vi_index(struct efx_nic *efx, unsigned abs_index, in map_vi_index() argument 518 if (abs_index < EFX_VI_BASE) in map_vi_index() 520 vf_i = (abs_index - EFX_VI_BASE) / efx_vf_size(efx); in map_vi_index() 527 *rel_index_out = abs_index % efx_vf_size(efx); in map_vi_index() 537 unsigned abs_evq = abs_index(vf, vf_evq); in efx_vfdi_init_evq() 600 FRF_AZ_RX_DESCQ_EVQ_ID, abs_index(vf, vf_evq), in efx_vfdi_init_rxq() 608 abs_index(vf, vf_rxq)); in efx_vfdi_init_rxq() [all …]
|
/Linux-v4.19/drivers/scsi/megaraid/ |
D | megaraid_sas_fusion.c | 679 u8 dma_alloc_count, abs_index; in megasas_alloc_rdpq_fusion() local 773 abs_index = (k * RDPQ_MAX_INDEX_IN_ONE_CHUNK) + i; in megasas_alloc_rdpq_fusion() 775 if (abs_index == msix_count) in megasas_alloc_rdpq_fusion() 778 fusion->rdpq_virt[abs_index].RDPQBaseAddress = in megasas_alloc_rdpq_fusion() 780 fusion->reply_frames_desc_phys[abs_index] = in megasas_alloc_rdpq_fusion() 782 fusion->reply_frames_desc[abs_index] = in megasas_alloc_rdpq_fusion() 785 reply_desc = fusion->reply_frames_desc[abs_index]; in megasas_alloc_rdpq_fusion()
|