Searched refs:ring_index (Results 1 - 25 of 37) sorted by relevance

12

/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ih.c257 u32 ring_index = ih->rptr >> 2; local
260 dw[0] = le32_to_cpu(ih->ring[ring_index + 0]);
261 dw[1] = le32_to_cpu(ih->ring[ring_index + 1]);
262 dw[2] = le32_to_cpu(ih->ring[ring_index + 2]);
263 dw[3] = le32_to_cpu(ih->ring[ring_index + 3]);
264 dw[4] = le32_to_cpu(ih->ring[ring_index + 4]);
265 dw[5] = le32_to_cpu(ih->ring[ring_index + 5]);
266 dw[6] = le32_to_cpu(ih->ring[ring_index + 6]);
267 dw[7] = le32_to_cpu(ih->ring[ring_index + 7]);
291 uint32_t ring_index; local
[all...]
H A Dsi_ih.c136 u32 ring_index = ih->rptr >> 2; local
139 dw[0] = le32_to_cpu(ih->ring[ring_index + 0]);
140 dw[1] = le32_to_cpu(ih->ring[ring_index + 1]);
141 dw[2] = le32_to_cpu(ih->ring[ring_index + 2]);
142 dw[3] = le32_to_cpu(ih->ring[ring_index + 3]);
H A Dcik_ih.c253 u32 ring_index = ih->rptr >> 2; local
256 dw[0] = le32_to_cpu(ih->ring[ring_index + 0]);
257 dw[1] = le32_to_cpu(ih->ring[ring_index + 1]);
258 dw[2] = le32_to_cpu(ih->ring[ring_index + 2]);
259 dw[3] = le32_to_cpu(ih->ring[ring_index + 3]);
H A Dtonga_ih.c247 u32 ring_index = ih->rptr >> 2; local
250 dw[0] = le32_to_cpu(ih->ring[ring_index + 0]);
251 dw[1] = le32_to_cpu(ih->ring[ring_index + 1]);
252 dw[2] = le32_to_cpu(ih->ring[ring_index + 2]);
253 dw[3] = le32_to_cpu(ih->ring[ring_index + 3]);
H A Diceland_ih.c243 u32 ring_index = ih->rptr >> 2; local
246 dw[0] = le32_to_cpu(ih->ring[ring_index + 0]);
247 dw[1] = le32_to_cpu(ih->ring[ring_index + 1]);
248 dw[2] = le32_to_cpu(ih->ring[ring_index + 2]);
249 dw[3] = le32_to_cpu(ih->ring[ring_index + 3]);
H A Dcz_ih.c244 u32 ring_index = ih->rptr >> 2; local
247 dw[0] = le32_to_cpu(ih->ring[ring_index + 0]);
248 dw[1] = le32_to_cpu(ih->ring[ring_index + 1]);
249 dw[2] = le32_to_cpu(ih->ring[ring_index + 2]);
250 dw[3] = le32_to_cpu(ih->ring[ring_index + 3]);
H A Damdgpu_irq.c439 u32 ring_index = ih->rptr >> 2; local
447 entry.iv_entry = (const uint32_t *)&ih->ring[ring_index];
/linux-master/drivers/gpu/drm/radeon/
H A Drv770_dma.c49 int ring_index = rdev->asic->copy.dma_ring_index; local
50 struct radeon_ring *ring = &rdev->ring[ring_index];
H A Devergreen_dma.c114 int ring_index = rdev->asic->copy.dma_ring_index; local
115 struct radeon_ring *ring = &rdev->ring[ring_index];
H A Dsi_dma.c237 int ring_index = rdev->asic->copy.dma_ring_index; local
238 struct radeon_ring *ring = &rdev->ring[ring_index];
H A Dr600_dma.c450 int ring_index = rdev->asic->copy.dma_ring_index; local
451 struct radeon_ring *ring = &rdev->ring[ring_index];
H A Dcik_sdma.c585 int ring_index = rdev->asic->copy.dma_ring_index; local
586 struct radeon_ring *ring = &rdev->ring[ring_index];
H A Dr600.c2970 int ring_index = rdev->asic->copy.blit_ring_index; local
2971 struct radeon_ring *ring = &rdev->ring[ring_index];
4096 u32 ring_index; local
4126 ring_index = rptr / 4;
4127 src_id = le32_to_cpu(rdev->ih.ring[ring_index]) & 0xff;
4128 src_data = le32_to_cpu(rdev->ih.ring[ring_index + 1]) & 0xfffffff;
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_iocb.c99 req->ring_index++;
100 if (req->ring_index == req->length) {
101 req->ring_index = 0;
128 req->ring_index++;
129 if (req->ring_index == req->length) {
130 req->ring_index = 0;
382 if (req->ring_index < cnt)
383 req->cnt = cnt - req->ring_index;
386 (req->ring_index - cnt);
423 req->ring_index
[all...]
H A Dqla_nvme.c606 if (req->ring_index < cnt)
607 req->cnt = cnt - req->ring_index;
609 req->cnt = req->length - (req->ring_index - cnt);
708 req->ring_index++;
709 if (req->ring_index == req->length) {
710 req->ring_index = 0;
732 req->ring_index++;
733 if (req->ring_index == req->length) {
734 req->ring_index = 0;
745 wrt_reg_dword(req->req_q_in, req->ring_index);
[all...]
H A Dqla_inline.h362 req->ring_index++;
363 if (req->ring_index == req->length) {
364 req->ring_index = 0;
369 wrt_reg_dword(req->req_q_in, req->ring_index);
H A Dqla_isr.c212 rsp_q->ring_index++;
213 if (rsp_q->ring_index == rsp_q->length) {
214 rsp_q->ring_index = 0;
290 rsp_q->ring_index++;
291 if (rsp_q->ring_index == rsp_q->length) {
292 rsp_q->ring_index = 0;
928 rsp_q->ring_index++;
929 if (rsp_q->ring_index == rsp_q->length) {
930 rsp_q->ring_index = 0;
1208 rsp_q->ring_index
[all...]
H A Dqla_mr.c1402 rsp->ring_index = 0;
2699 lreq_q_out = rsp->ring_index;
2707 rsp->ring_index++;
2709 if (rsp->ring_index == rsp->length) {
2711 rsp->ring_index = 0;
2760 wrt_reg_dword(rsp->rsp_q_out, rsp->ring_index);
2950 req->ring_index++;
2951 if (req->ring_index == req->length) {
2952 req->ring_index = 0;
3092 if (req->ring_index < cn
[all...]
H A Dqla_mid.c771 req->ring_index = 0;
781 "ring_ptr=%p ring_index=%d, "
783 req->ring_ptr, req->ring_index,
786 "ring_ptr=%p ring_index=%d, "
788 req->ring_ptr, req->ring_index, req->cnt,
H A Dqla_edif.c3045 if (req->ring_index < cnt)
3046 req->cnt = cnt - req->ring_index;
3049 (req->ring_index - cnt);
3196 req->ring_index++;
3197 if (req->ring_index == req->length) {
3198 req->ring_index = 0;
3206 wrt_reg_dword(req->req_q_in, req->ring_index);
/linux-master/drivers/net/wireless/intersil/p54/
H A Dp54pci.c133 int ring_index, struct p54p_desc *ring, u32 ring_limit,
140 idx = le32_to_cpu(ring_control->host_idx[ring_index]);
181 ring_control->host_idx[ring_index] = cpu_to_le32(idx);
185 int ring_index, struct p54p_desc *ring, u32 ring_limit,
194 (*index) = idx = le32_to_cpu(ring_control->device_idx[ring_index]);
241 p54p_refill_rx_ring(dev, ring_index, ring, ring_limit, rx_buf, *index);
245 int ring_index, struct p54p_desc *ring, u32 ring_limit,
255 (*index) = idx = le32_to_cpu(ring_control->device_idx[ring_index]);
132 p54p_refill_rx_ring(struct ieee80211_hw *dev, int ring_index, struct p54p_desc *ring, u32 ring_limit, struct sk_buff **rx_buf, u32 index) argument
184 p54p_check_rx_ring(struct ieee80211_hw *dev, u32 *index, int ring_index, struct p54p_desc *ring, u32 ring_limit, struct sk_buff **rx_buf) argument
244 p54p_check_tx_ring(struct ieee80211_hw *dev, u32 *index, int ring_index, struct p54p_desc *ring, u32 ring_limit, struct sk_buff **tx_buf) argument
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Den_tx.c436 u16 index, ring_index, stamp_index; local
460 ring_index = ring_cons & size_mask;
461 stamp_index = ring_index;
487 ring_index = (ring_index + last_nr_txbb) & size_mask;
489 if (unlikely(ring->tx_info[ring_index].ts_requested))
496 priv, ring, ring_index,
502 stamp_index = ring_index;
505 bytes += ring->tx_info[ring_index].nr_bytes;
506 } while ((++done < budget) && (ring_index !
[all...]
/linux-master/drivers/net/wireless/ath/wil6210/
H A Dtxrx_edma.c422 int ring_index = 0; local
443 ring_index = ring - wil->ring_tx;
446 ring_index, ring->size, ring->va,
1121 int ring_index)
1132 d->mac.d[0] = (ring_index << WIL_EDMA_DESC_TX_MAC_CFG_0_QID_POS);
1362 int ring_index = ring - wil->ring_tx; local
1381 len, ring_index);
1407 int ring_index = ring - wil->ring_tx; local
1408 struct wil_ring_tx_data *txdata = &wil->ring_tx_data[ring_index];
1423 ring_index);
1118 wil_tx_desc_map_edma(union wil_tx_desc *desc, dma_addr_t pa, u32 len, int ring_index) argument
[all...]
H A Dtxrx.c2036 int ring_index = ring - wil->ring_tx; local
2037 struct wil_ring_tx_data *txdata = &wil->ring_tx_data[ring_index];
2041 bool mcast = (ring_index == vif->bcast_ring);
2045 skb->len, ring_index, nr_frags);
2053 ring_index, 1 + nr_frags);
2060 wil_dbg_txrx(wil, "Tx[%2d] skb %d bytes 0x%p -> %pad\n", ring_index,
2070 ring_index);
2079 ring_index);
2092 wil_dbg_txrx(wil, "Tx[%2d] desc[%4d]\n", ring_index, i);
2101 ring_index);
2187 int ring_index = ring - wil->ring_tx; local
[all...]
/linux-master/drivers/net/ethernet/agere/
H A Det131x.c2128 u8 ring_index = rfd->ringindex; local
2130 struct fbr_lookup *fbr = rx_local->fbr[ring_index];
2140 if (ring_index == 0)
2190 u8 ring_index; local
2217 ring_index = (psr->word1 >> 26) & 0x03;
2218 fbr = rx_local->fbr[ring_index];
2233 if (ring_index > 1 || buff_index > fbr->num_entries - 1) {
2258 rfd->ringindex = ring_index;

Completed in 218 milliseconds

12