/drivers/scsi/qla2xxx/ |
D | qla_iocb.c | 100 req->ring_index++; in qla2x00_prep_cont_type0_iocb() 101 if (req->ring_index == req->length) { in qla2x00_prep_cont_type0_iocb() 102 req->ring_index = 0; in qla2x00_prep_cont_type0_iocb() 128 req->ring_index++; in qla2x00_prep_cont_type1_iocb() 129 if (req->ring_index == req->length) { in qla2x00_prep_cont_type1_iocb() 130 req->ring_index = 0; in qla2x00_prep_cont_type1_iocb() 376 if (req->ring_index < cnt) in qla2x00_start_scsi() 377 req->cnt = cnt - req->ring_index; in qla2x00_start_scsi() 380 (req->ring_index - cnt); in qla2x00_start_scsi() 417 req->ring_index++; in qla2x00_start_scsi() [all …]
|
D | qla_mr.c | 1424 rsp->ring_index = 0; in qlafx00_init_response_q_entries() 2717 lreq_q_out = rsp->ring_index; in qlafx00_process_response_queue() 2725 rsp->ring_index++; in qlafx00_process_response_queue() 2727 if (rsp->ring_index == rsp->length) { in qlafx00_process_response_queue() 2729 rsp->ring_index = 0; in qlafx00_process_response_queue() 2776 WRT_REG_DWORD(rsp->rsp_q_out, rsp->ring_index); in qlafx00_process_response_queue() 2967 req->ring_index++; in qlafx00_prep_cont_type1_iocb() 2968 if (req->ring_index == req->length) { in qlafx00_prep_cont_type1_iocb() 2969 req->ring_index = 0; in qlafx00_prep_cont_type1_iocb() 3123 if (req->ring_index < cnt) in qlafx00_start_scsi() [all …]
|
D | qla_mid.c | 705 req->ring_index = 0; in qla25xx_create_req_que() 717 req->ring_ptr, req->ring_index, in qla25xx_create_req_que() 722 req->ring_ptr, req->ring_index, req->cnt, in qla25xx_create_req_que()
|
D | qla_isr.c | 1665 rsp->ring_index++; in qla2x00_process_response_queue() 1666 if (rsp->ring_index == rsp->length) { in qla2x00_process_response_queue() 1667 rsp->ring_index = 0; in qla2x00_process_response_queue() 1721 WRT_REG_WORD(ISP_RSP_Q_OUT(ha, reg), rsp->ring_index); in qla2x00_process_response_queue() 2581 rsp->ring_index++; in qla24xx_process_response_queue() 2582 if (rsp->ring_index == rsp->length) { in qla24xx_process_response_queue() 2583 rsp->ring_index = 0; in qla24xx_process_response_queue() 2661 WRT_REG_DWORD(®->rsp_q_out[0], rsp->ring_index); in qla24xx_process_response_queue() 2663 WRT_REG_DWORD(rsp->rsp_q_out, rsp->ring_index); in qla24xx_process_response_queue()
|
D | qla_nx.c | 2793 req->ring_index++; in qla82xx_start_iocbs() 2794 if (req->ring_index == req->length) { in qla82xx_start_iocbs() 2795 req->ring_index = 0; in qla82xx_start_iocbs() 2802 dbval = dbval | (req->id << 8) | (req->ring_index << 16); in qla82xx_start_iocbs()
|
D | qla_target.c | 1881 if (vha->req->ring_index < cnt) in qlt_check_reserve_free_req() 1882 vha->req->cnt = cnt - vha->req->ring_index; in qlt_check_reserve_free_req() 1885 (vha->req->ring_index - cnt); in qlt_check_reserve_free_req() 1890 vha->vp_idx, vha->req->ring_index, in qlt_check_reserve_free_req() 1908 vha->req->ring_index++; in qlt_get_req_pkt() 1909 if (vha->req->ring_index == vha->req->length) { in qlt_get_req_pkt() 1910 vha->req->ring_index = 0; in qlt_get_req_pkt()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | si_ih.c | 124 u32 ring_index = adev->irq.ih.rptr >> 2; in si_ih_decode_iv() local 127 dw[0] = le32_to_cpu(adev->irq.ih.ring[ring_index + 0]); in si_ih_decode_iv() 128 dw[1] = le32_to_cpu(adev->irq.ih.ring[ring_index + 1]); in si_ih_decode_iv() 129 dw[2] = le32_to_cpu(adev->irq.ih.ring[ring_index + 2]); in si_ih_decode_iv() 130 dw[3] = le32_to_cpu(adev->irq.ih.ring[ring_index + 3]); in si_ih_decode_iv()
|
D | cik_ih.c | 243 u32 ring_index = adev->irq.ih.rptr >> 2; in cik_ih_decode_iv() local 246 dw[0] = le32_to_cpu(adev->irq.ih.ring[ring_index + 0]); in cik_ih_decode_iv() 247 dw[1] = le32_to_cpu(adev->irq.ih.ring[ring_index + 1]); in cik_ih_decode_iv() 248 dw[2] = le32_to_cpu(adev->irq.ih.ring[ring_index + 2]); in cik_ih_decode_iv() 249 dw[3] = le32_to_cpu(adev->irq.ih.ring[ring_index + 3]); in cik_ih_decode_iv()
|
D | iceland_ih.c | 222 u32 ring_index = adev->irq.ih.rptr >> 2; in iceland_ih_decode_iv() local 225 dw[0] = le32_to_cpu(adev->irq.ih.ring[ring_index + 0]); in iceland_ih_decode_iv() 226 dw[1] = le32_to_cpu(adev->irq.ih.ring[ring_index + 1]); in iceland_ih_decode_iv() 227 dw[2] = le32_to_cpu(adev->irq.ih.ring[ring_index + 2]); in iceland_ih_decode_iv() 228 dw[3] = le32_to_cpu(adev->irq.ih.ring[ring_index + 3]); in iceland_ih_decode_iv()
|
D | cz_ih.c | 222 u32 ring_index = adev->irq.ih.rptr >> 2; in cz_ih_decode_iv() local 225 dw[0] = le32_to_cpu(adev->irq.ih.ring[ring_index + 0]); in cz_ih_decode_iv() 226 dw[1] = le32_to_cpu(adev->irq.ih.ring[ring_index + 1]); in cz_ih_decode_iv() 227 dw[2] = le32_to_cpu(adev->irq.ih.ring[ring_index + 2]); in cz_ih_decode_iv() 228 dw[3] = le32_to_cpu(adev->irq.ih.ring[ring_index + 3]); in cz_ih_decode_iv()
|
D | amdgpu_ih.c | 170 u32 ring_index = adev->irq.ih.rptr >> 2; in amdgpu_ih_process() local 174 (const void *) &adev->irq.ih.ring[ring_index]); in amdgpu_ih_process() 177 &adev->irq.ih.ring[ring_index]; in amdgpu_ih_process()
|
D | tonga_ih.c | 233 u32 ring_index = adev->irq.ih.rptr >> 2; in tonga_ih_decode_iv() local 236 dw[0] = le32_to_cpu(adev->irq.ih.ring[ring_index + 0]); in tonga_ih_decode_iv() 237 dw[1] = le32_to_cpu(adev->irq.ih.ring[ring_index + 1]); in tonga_ih_decode_iv() 238 dw[2] = le32_to_cpu(adev->irq.ih.ring[ring_index + 2]); in tonga_ih_decode_iv() 239 dw[3] = le32_to_cpu(adev->irq.ih.ring[ring_index + 3]); in tonga_ih_decode_iv()
|
/drivers/net/wireless/intersil/p54/ |
D | p54pci.c | 136 int ring_index, struct p54p_desc *ring, u32 ring_limit, in p54p_refill_rx_ring() argument 143 idx = le32_to_cpu(ring_control->host_idx[ring_index]); in p54p_refill_rx_ring() 184 ring_control->host_idx[ring_index] = cpu_to_le32(idx); in p54p_refill_rx_ring() 188 int ring_index, struct p54p_desc *ring, u32 ring_limit, in p54p_check_rx_ring() argument 197 (*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()
|
/drivers/gpu/drm/radeon/ |
D | rv770_dma.c | 49 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()
|
D | evergreen_dma.c | 115 int ring_index = rdev->asic->copy.dma_ring_index; in evergreen_copy_dma() local 116 struct radeon_ring *ring = &rdev->ring[ring_index]; in evergreen_copy_dma()
|
D | si_dma.c | 238 int ring_index = rdev->asic->copy.dma_ring_index; in si_copy_dma() local 239 struct radeon_ring *ring = &rdev->ring[ring_index]; in si_copy_dma()
|
D | r600_dma.c | 451 int ring_index = rdev->asic->copy.dma_ring_index; in r600_copy_dma() local 452 struct radeon_ring *ring = &rdev->ring[ring_index]; in r600_copy_dma()
|
D | cik_sdma.c | 586 int ring_index = rdev->asic->copy.dma_ring_index; in cik_copy_dma() local 587 struct radeon_ring *ring = &rdev->ring[ring_index]; in cik_copy_dma()
|
D | r600.c | 2971 int ring_index = rdev->asic->copy.blit_ring_index; in r600_copy_cpdma() local 2972 struct radeon_ring *ring = &rdev->ring[ring_index]; in r600_copy_cpdma() 4101 u32 ring_index; in r600_irq_process() local 4131 ring_index = rptr / 4; in r600_irq_process() 4132 src_id = le32_to_cpu(rdev->ih.ring[ring_index]) & 0xff; in r600_irq_process() 4133 src_data = le32_to_cpu(rdev->ih.ring[ring_index + 1]) & 0xfffffff; in r600_irq_process()
|
D | cik.c | 3692 int ring_index = rdev->asic->copy.blit_ring_index; in cik_copy_cpdma() local 3693 struct radeon_ring *ring = &rdev->ring[ring_index]; in cik_copy_cpdma() 7549 u32 ring_index; in cik_irq_process() local 7577 ring_index = rptr / 4; in cik_irq_process() 7580 (const void *) &rdev->ih.ring[ring_index]); in cik_irq_process() 7582 src_id = le32_to_cpu(rdev->ih.ring[ring_index]) & 0xff; in cik_irq_process() 7583 src_data = le32_to_cpu(rdev->ih.ring[ring_index + 1]) & 0xfffffff; in cik_irq_process() 7584 ring_id = le32_to_cpu(rdev->ih.ring[ring_index + 2]) & 0xff; in cik_irq_process()
|
D | si.c | 6441 u32 ring_index; in si_irq_process() local 6468 ring_index = rptr / 4; in si_irq_process() 6469 src_id = le32_to_cpu(rdev->ih.ring[ring_index]) & 0xff; in si_irq_process() 6470 src_data = le32_to_cpu(rdev->ih.ring[ring_index + 1]) & 0xfffffff; in si_irq_process() 6471 ring_id = le32_to_cpu(rdev->ih.ring[ring_index + 2]) & 0xff; in si_irq_process()
|
D | evergreen.c | 5049 u32 ring_index; in evergreen_irq_process() local 5077 ring_index = rptr / 4; in evergreen_irq_process() 5078 src_id = le32_to_cpu(rdev->ih.ring[ring_index]) & 0xff; in evergreen_irq_process() 5079 src_data = le32_to_cpu(rdev->ih.ring[ring_index + 1]) & 0xfffffff; in evergreen_irq_process()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_tx.c | 411 u16 new_index, ring_index, stamp_index; in mlx4_en_process_tx_cq() local 435 ring_index = ring_cons & size_mask; in mlx4_en_process_tx_cq() 436 stamp_index = ring_index; in mlx4_en_process_tx_cq() 463 ring_index = (ring_index + last_nr_txbb) & size_mask; in mlx4_en_process_tx_cq() 465 if (unlikely(ring->tx_info[ring_index].ts_requested)) in mlx4_en_process_tx_cq() 470 priv, ring, ring_index, in mlx4_en_process_tx_cq() 477 stamp_index = ring_index; in mlx4_en_process_tx_cq() 480 bytes += ring->tx_info[ring_index].nr_bytes; in mlx4_en_process_tx_cq() 481 } while ((++done < budget) && (ring_index != new_index)); in mlx4_en_process_tx_cq()
|
D | en_ethtool.c | 1150 static int mlx4_en_get_rxfh(struct net_device *dev, u32 *ring_index, u8 *key, in mlx4_en_get_rxfh() argument 1162 if (!ring_index) in mlx4_en_get_rxfh() 1164 ring_index[i] = i % rss_rings; in mlx4_en_get_rxfh() 1173 static int mlx4_en_set_rxfh(struct net_device *dev, const u32 *ring_index, in mlx4_en_set_rxfh() argument 1188 if (!ring_index) in mlx4_en_set_rxfh() 1190 if (i > 0 && !ring_index[i] && !rss_rings) in mlx4_en_set_rxfh() 1193 if (ring_index[i] != (i % (rss_rings ?: n))) in mlx4_en_set_rxfh() 1216 if (ring_index) in mlx4_en_set_rxfh()
|
/drivers/net/ethernet/agere/ |
D | et131x.c | 2130 u8 ring_index = rfd->ringindex; in nic_return_rfd() local 2132 struct fbr_lookup *fbr = rx_local->fbr[ring_index]; in nic_return_rfd() 2142 if (ring_index == 0) in nic_return_rfd() 2192 u8 ring_index; in nic_rx_pkts() local 2219 ring_index = (psr->word1 >> 26) & 0x03; in nic_rx_pkts() 2220 fbr = rx_local->fbr[ring_index]; in nic_rx_pkts() 2235 if (ring_index > 1 || buff_index > fbr->num_entries - 1) { in nic_rx_pkts() 2260 rfd->ringindex = ring_index; in nic_rx_pkts()
|