Home
last modified time | relevance | path

Searched refs:ring_index (Results 1 – 25 of 38) sorted by relevance

12

/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_ih.c273 u32 ring_index = ih->rptr >> 2; in amdgpu_ih_decode_iv_helper() local
276 dw[0] = le32_to_cpu(ih->ring[ring_index + 0]); in amdgpu_ih_decode_iv_helper()
277 dw[1] = le32_to_cpu(ih->ring[ring_index + 1]); in amdgpu_ih_decode_iv_helper()
278 dw[2] = le32_to_cpu(ih->ring[ring_index + 2]); in amdgpu_ih_decode_iv_helper()
279 dw[3] = le32_to_cpu(ih->ring[ring_index + 3]); in amdgpu_ih_decode_iv_helper()
280 dw[4] = le32_to_cpu(ih->ring[ring_index + 4]); in amdgpu_ih_decode_iv_helper()
281 dw[5] = le32_to_cpu(ih->ring[ring_index + 5]); in amdgpu_ih_decode_iv_helper()
282 dw[6] = le32_to_cpu(ih->ring[ring_index + 6]); in amdgpu_ih_decode_iv_helper()
283 dw[7] = le32_to_cpu(ih->ring[ring_index + 7]); in amdgpu_ih_decode_iv_helper()
A Dcik_ih.c247 u32 ring_index = ih->rptr >> 2; in cik_ih_decode_iv() local
250 dw[0] = le32_to_cpu(ih->ring[ring_index + 0]); in cik_ih_decode_iv()
251 dw[1] = le32_to_cpu(ih->ring[ring_index + 1]); in cik_ih_decode_iv()
252 dw[2] = le32_to_cpu(ih->ring[ring_index + 2]); in cik_ih_decode_iv()
253 dw[3] = le32_to_cpu(ih->ring[ring_index + 3]); in cik_ih_decode_iv()
A Dsi_ih.c130 u32 ring_index = ih->rptr >> 2; in si_ih_decode_iv() local
133 dw[0] = le32_to_cpu(ih->ring[ring_index + 0]); in si_ih_decode_iv()
134 dw[1] = le32_to_cpu(ih->ring[ring_index + 1]); in si_ih_decode_iv()
135 dw[2] = le32_to_cpu(ih->ring[ring_index + 2]); in si_ih_decode_iv()
136 dw[3] = le32_to_cpu(ih->ring[ring_index + 3]); in si_ih_decode_iv()
A Dcz_ih.c239 u32 ring_index = ih->rptr >> 2; in cz_ih_decode_iv() local
242 dw[0] = le32_to_cpu(ih->ring[ring_index + 0]); in cz_ih_decode_iv()
243 dw[1] = le32_to_cpu(ih->ring[ring_index + 1]); in cz_ih_decode_iv()
244 dw[2] = le32_to_cpu(ih->ring[ring_index + 2]); in cz_ih_decode_iv()
245 dw[3] = le32_to_cpu(ih->ring[ring_index + 3]); in cz_ih_decode_iv()
A Diceland_ih.c238 u32 ring_index = ih->rptr >> 2; in iceland_ih_decode_iv() local
241 dw[0] = le32_to_cpu(ih->ring[ring_index + 0]); in iceland_ih_decode_iv()
242 dw[1] = le32_to_cpu(ih->ring[ring_index + 1]); in iceland_ih_decode_iv()
243 dw[2] = le32_to_cpu(ih->ring[ring_index + 2]); in iceland_ih_decode_iv()
244 dw[3] = le32_to_cpu(ih->ring[ring_index + 3]); in iceland_ih_decode_iv()
A Dtonga_ih.c241 u32 ring_index = ih->rptr >> 2; in tonga_ih_decode_iv() local
244 dw[0] = le32_to_cpu(ih->ring[ring_index + 0]); in tonga_ih_decode_iv()
245 dw[1] = le32_to_cpu(ih->ring[ring_index + 1]); in tonga_ih_decode_iv()
246 dw[2] = le32_to_cpu(ih->ring[ring_index + 2]); in tonga_ih_decode_iv()
247 dw[3] = le32_to_cpu(ih->ring[ring_index + 3]); in tonga_ih_decode_iv()
A Damdgpu_irq.c488 u32 ring_index = ih->rptr >> 2; in amdgpu_irq_dispatch() local
496 entry.iv_entry = (const uint32_t *)&ih->ring[ring_index]; in amdgpu_irq_dispatch()
/linux/drivers/scsi/qla2xxx/
A Dqla_iocb.c98 req->ring_index++; in qla2x00_prep_cont_type0_iocb()
100 req->ring_index = 0; in qla2x00_prep_cont_type0_iocb()
127 req->ring_index++; in qla2x00_prep_cont_type1_iocb()
129 req->ring_index = 0; in qla2x00_prep_cont_type1_iocb()
422 req->ring_index++; in qla2x00_start_scsi()
467 req->ring_index++; in qla2x00_start_iocbs()
489 req->ring_index); in qla2x00_start_iocbs()
1656 req->ring_index++; in qla24xx_start_scsi()
1859 req->ring_index++; in qla24xx_dif_start_scsi()
2019 req->ring_index++; in qla2xxx_start_scsi_mq()
[all …]
A Dqla_nvme.c437 if (req->ring_index < cnt) in qla2x00_start_nvme_mq()
438 req->cnt = cnt - req->ring_index; in qla2x00_start_nvme_mq()
440 req->cnt = req->length - (req->ring_index - cnt); in qla2x00_start_nvme_mq()
539 req->ring_index++; in qla2x00_start_nvme_mq()
540 if (req->ring_index == req->length) { in qla2x00_start_nvme_mq()
541 req->ring_index = 0; in qla2x00_start_nvme_mq()
563 req->ring_index++; in qla2x00_start_nvme_mq()
564 if (req->ring_index == req->length) { in qla2x00_start_nvme_mq()
565 req->ring_index = 0; in qla2x00_start_nvme_mq()
576 wrt_reg_dword(req->req_q_in, req->ring_index); in qla2x00_start_nvme_mq()
A Dqla_inline.h359 req->ring_index++; in qla_83xx_start_iocbs()
360 if (req->ring_index == req->length) { in qla_83xx_start_iocbs()
361 req->ring_index = 0; in qla_83xx_start_iocbs()
366 wrt_reg_dword(req->req_q_in, req->ring_index); in qla_83xx_start_iocbs()
A Dqla_mr.c1402 rsp->ring_index = 0; in qlafx00_init_response_q_entries()
2698 lreq_q_out = rsp->ring_index; in qlafx00_process_response_queue()
2706 rsp->ring_index++; in qlafx00_process_response_queue()
2710 rsp->ring_index = 0; in qlafx00_process_response_queue()
2949 req->ring_index++; in qlafx00_prep_cont_type1_iocb()
2951 req->ring_index = 0; in qlafx00_prep_cont_type1_iocb()
3091 if (req->ring_index < cnt) in qlafx00_start_scsi()
3092 req->cnt = cnt - req->ring_index; in qlafx00_start_scsi()
3095 (req->ring_index - cnt); in qlafx00_start_scsi()
3144 req->ring_index++; in qlafx00_start_scsi()
[all …]
A Dqla_isr.c196 rsp_q->ring_index++; in __qla_consume_iocb()
198 rsp_q->ring_index = 0; in __qla_consume_iocb()
274 rsp_q->ring_index++; in __qla_copy_purex_to_buffer()
276 rsp_q->ring_index = 0; in __qla_copy_purex_to_buffer()
1063 rsp_q->ring_index++; in qla27xx_copy_fpin_pkt()
1065 rsp_q->ring_index = 0; in qla27xx_copy_fpin_pkt()
2781 rsp->ring_index++; in qla2x00_process_response_queue()
2783 rsp->ring_index = 0; in qla2x00_process_response_queue()
3725 if (rsp->ring_index == 0) in qla_chk_cont_iocb_avail()
3786 rsp->ring_index++; in qla24xx_process_response_queue()
[all …]
A Dqla_mid.c778 req->ring_index = 0; in qla25xx_create_req_que()
790 req->ring_ptr, req->ring_index, in qla25xx_create_req_que()
795 req->ring_ptr, req->ring_index, req->cnt, in qla25xx_create_req_que()
A Dqla_edif.c2822 if (req->ring_index < cnt) in qla28xx_start_scsi_edif()
2823 req->cnt = cnt - req->ring_index; in qla28xx_start_scsi_edif()
2826 (req->ring_index - cnt); in qla28xx_start_scsi_edif()
2984 req->ring_index++; in qla28xx_start_scsi_edif()
2985 if (req->ring_index == req->length) { in qla28xx_start_scsi_edif()
2986 req->ring_index = 0; in qla28xx_start_scsi_edif()
2994 wrt_reg_dword(req->req_q_in, req->ring_index); in qla28xx_start_scsi_edif()
/linux/drivers/net/wireless/intersil/p54/
A Dp54pci.c133 int ring_index, struct p54p_desc *ring, u32 ring_limit, in p54p_refill_rx_ring() argument
140 idx = le32_to_cpu(ring_control->host_idx[ring_index]); in p54p_refill_rx_ring()
181 ring_control->host_idx[ring_index] = cpu_to_le32(idx); in p54p_refill_rx_ring()
185 int ring_index, struct p54p_desc *ring, u32 ring_limit, in p54p_check_rx_ring() argument
194 (*index) = idx = le32_to_cpu(ring_control->device_idx[ring_index]); in p54p_check_rx_ring()
241 p54p_refill_rx_ring(dev, ring_index, ring, ring_limit, rx_buf, *index); in p54p_check_rx_ring()
245 int ring_index, struct p54p_desc *ring, u32 ring_limit, in p54p_check_tx_ring() argument
255 (*index) = idx = le32_to_cpu(ring_control->device_idx[ring_index]); in p54p_check_tx_ring()
/linux/drivers/gpu/drm/radeon/
A Drv770_dma.c49 int ring_index = rdev->asic->copy.dma_ring_index; in rv770_copy_dma() local
50 struct radeon_ring *ring = &rdev->ring[ring_index]; in rv770_copy_dma()
A Devergreen_dma.c114 int ring_index = rdev->asic->copy.dma_ring_index; in evergreen_copy_dma() local
115 struct radeon_ring *ring = &rdev->ring[ring_index]; in evergreen_copy_dma()
A Dsi_dma.c237 int ring_index = rdev->asic->copy.dma_ring_index; in si_copy_dma() local
238 struct radeon_ring *ring = &rdev->ring[ring_index]; in si_copy_dma()
A Dr600_dma.c450 int ring_index = rdev->asic->copy.dma_ring_index; in r600_copy_dma() local
451 struct radeon_ring *ring = &rdev->ring[ring_index]; in r600_copy_dma()
A Dcik_sdma.c585 int ring_index = rdev->asic->copy.dma_ring_index; in cik_copy_dma() local
586 struct radeon_ring *ring = &rdev->ring[ring_index]; in cik_copy_dma()
/linux/drivers/net/ethernet/mellanox/mlx4/
A Den_tx.c432 u16 index, ring_index, stamp_index; in mlx4_en_process_tx_cq() local
456 ring_index = ring_cons & size_mask; in mlx4_en_process_tx_cq()
457 stamp_index = ring_index; in mlx4_en_process_tx_cq()
483 ring_index = (ring_index + last_nr_txbb) & size_mask; in mlx4_en_process_tx_cq()
485 if (unlikely(ring->tx_info[ring_index].ts_requested)) in mlx4_en_process_tx_cq()
492 priv, ring, ring_index, in mlx4_en_process_tx_cq()
498 stamp_index = ring_index; in mlx4_en_process_tx_cq()
501 bytes += ring->tx_info[ring_index].nr_bytes; in mlx4_en_process_tx_cq()
502 } while ((++done < budget) && (ring_index != new_index)); in mlx4_en_process_tx_cq()
A Den_ethtool.c1257 static int mlx4_en_get_rxfh(struct net_device *dev, u32 *ring_index, u8 *key, in mlx4_en_get_rxfh() argument
1268 if (!ring_index) in mlx4_en_get_rxfh()
1270 ring_index[i] = i % rss_rings; in mlx4_en_get_rxfh()
1279 static int mlx4_en_set_rxfh(struct net_device *dev, const u32 *ring_index, in mlx4_en_set_rxfh() argument
1294 if (!ring_index) in mlx4_en_set_rxfh()
1296 if (i > 0 && !ring_index[i] && !rss_rings) in mlx4_en_set_rxfh()
1299 if (ring_index[i] != (i % (rss_rings ?: n))) in mlx4_en_set_rxfh()
1322 if (ring_index) in mlx4_en_set_rxfh()
/linux/drivers/net/wireless/ath/wil6210/
A Dtxrx.c2038 int ring_index = ring - wil->ring_tx; in __wil_tx_ring() local
2043 bool mcast = (ring_index == vif->bcast_ring); in __wil_tx_ring()
2047 skb->len, ring_index, nr_frags); in __wil_tx_ring()
2055 ring_index, 1 + nr_frags); in __wil_tx_ring()
2072 ring_index); in __wil_tx_ring()
2081 ring_index); in __wil_tx_ring()
2103 ring_index); in __wil_tx_ring()
2108 pa, len, ring_index); in __wil_tx_ring()
2120 wil_dbg_txrx(wil, "Tx[%2d] desc[%4d]\n", ring_index, i); in __wil_tx_ring()
2136 ring_index, used, used + nr_frags + 1); in __wil_tx_ring()
[all …]
A Dtxrx_edma.c422 int ring_index = 0; in wil_ring_free_edma() local
443 ring_index = ring - wil->ring_tx; in wil_ring_free_edma()
446 ring_index, ring->size, ring->va, in wil_ring_free_edma()
1121 int ring_index) in wil_tx_desc_map_edma() argument
1132 d->mac.d[0] = (ring_index << WIL_EDMA_DESC_TX_MAC_CFG_0_QID_POS); in wil_tx_desc_map_edma()
1362 int ring_index = ring - wil->ring_tx; in wil_tx_tso_gen_desc() local
1381 len, ring_index); in wil_tx_tso_gen_desc()
1407 int ring_index = ring - wil->ring_tx; in __wil_tx_ring_tso_edma() local
1423 ring_index); in __wil_tx_ring_tso_edma()
1431 ring_index, min_desc_required); in __wil_tx_ring_tso_edma()
[all …]
/linux/drivers/net/ethernet/agere/
A Det131x.c2128 u8 ring_index = rfd->ringindex; in nic_return_rfd() local
2130 struct fbr_lookup *fbr = rx_local->fbr[ring_index]; in nic_return_rfd()
2140 if (ring_index == 0) in nic_return_rfd()
2190 u8 ring_index; in nic_rx_pkts() local
2217 ring_index = (psr->word1 >> 26) & 0x03; in nic_rx_pkts()
2218 fbr = rx_local->fbr[ring_index]; in nic_rx_pkts()
2233 if (ring_index > 1 || buff_index > fbr->num_entries - 1) { in nic_rx_pkts()
2258 rfd->ringindex = ring_index; in nic_rx_pkts()

Completed in 269 milliseconds

12