Home
last modified time | relevance | path

Searched refs:q_base (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/dma/
H A Dhisi_dma.c367 void __iomem *q_base = hdma_dev->queue_base; in hisi_dma_mask_irq() local
370 hisi_dma_chan_write(q_base, HISI_DMA_HIP08_Q_INT_MSK, in hisi_dma_mask_irq()
373 hisi_dma_chan_write(q_base, HISI_DMA_HIP09_Q_INT_MSK, in hisi_dma_mask_irq()
375 hisi_dma_chan_write(q_base, HISI_DMA_HIP09_Q_ERR_INT_MSK, in hisi_dma_mask_irq()
383 void __iomem *q_base = hdma_dev->queue_base; in hisi_dma_unmask_irq() local
386 hisi_dma_chan_write(q_base, HISI_DMA_HIP08_Q_INT_STS, in hisi_dma_unmask_irq()
388 hisi_dma_chan_write(q_base, HISI_DMA_HIP08_Q_INT_MSK, in hisi_dma_unmask_irq()
391 hisi_dma_chan_write(q_base, HISI_DMA_HIP09_Q_INT_STS, in hisi_dma_unmask_irq()
393 hisi_dma_chan_write(q_base, HISI_DMA_HIP09_Q_ERR_INT_STS, in hisi_dma_unmask_irq()
396 hisi_dma_chan_write(q_base, HISI_DMA_HIP09_Q_INT_MSK, in hisi_dma_unmask_irq()
[all …]
/linux/drivers/net/ethernet/amd/pds_core/
H A Dcore.c148 if (qcq->q_base) in pdsc_qcq_free()
150 qcq->q_base, qcq->q_base_pa); in pdsc_qcq_free()
194 void *q_base, *cq_base; in pdsc_qcq_alloc() local
238 qcq->q_base = dma_alloc_coherent(dev, in pdsc_qcq_alloc()
242 if (!qcq->q_base) { in pdsc_qcq_alloc()
246 q_base = PTR_ALIGN(qcq->q_base, PDS_PAGE_SIZE); in pdsc_qcq_alloc()
248 pdsc_q_map(&qcq->q, q_base, q_base_pa); in pdsc_qcq_alloc()
250 cq_base = PTR_ALIGN(q_base + in pdsc_qcq_alloc()
260 qcq->q_base = dma_alloc_coherent(dev, qcq->q_size, in pdsc_qcq_alloc()
263 if (!qcq->q_base) { in pdsc_qcq_alloc()
[all …]
/linux/drivers/iommu/arm/arm-smmu-v3/
H A Dtegra241-cmdqv.c483 writeq_relaxed(vcmdq->cmdq.q.q_base, REG_VCMDQ_PAGE1(vcmdq, BASE)); in tegra241_vcmdq_hw_init()
639 q->q_base = q->base_dma & VCMDQ_ADDR; in tegra241_vcmdq_alloc_smmu_cmdq()
640 q->q_base |= FIELD_PREP(VCMDQ_LOG2SIZE, q->llq.max_n_shift); in tegra241_vcmdq_alloc_smmu_cmdq()
1025 writeq_relaxed(vcmdq->cmdq.q.q_base, REG_VCMDQ_PAGE1(vcmdq, BASE)); in tegra241_vcmdq_hw_init_user()
1029 vcmdq->cmdq.q.q_base & VCMDQ_ADDR, in tegra241_vcmdq_hw_init_user()
1030 1UL << (vcmdq->cmdq.q.q_base & VCMDQ_LOG2SIZE)); in tegra241_vcmdq_hw_init_user()
1125 vcmdq->cmdq.q.q_base = base_addr_pa & VCMDQ_ADDR; in tegra241_vintf_alloc_lvcmdq_user()
1126 vcmdq->cmdq.q.q_base |= log2size; in tegra241_vintf_alloc_lvcmdq_user()
H A Darm-smmu-v3.c3809 q->q_base = Q_BASE_RWA; in arm_smmu_init_one_queue()
3810 q->q_base |= q->base_dma & Q_BASE_ADDR_MASK; in arm_smmu_init_one_queue()
3811 q->q_base |= FIELD_PREP(Q_BASE_LOG2SIZE, q->llq.max_n_shift); in arm_smmu_init_one_queue()
4213 writeq_relaxed(smmu->cmdq.q.q_base, smmu->base + ARM_SMMU_CMDQ_BASE); in arm_smmu_device_reset()
4239 writeq_relaxed(smmu->evtq.q.q_base, smmu->base + ARM_SMMU_EVTQ_BASE); in arm_smmu_device_reset()
4253 writeq_relaxed(smmu->priq.q.q_base, in arm_smmu_device_reset()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_base.c941 u16 q_id, q_base; in ice_vsi_map_rings_to_vectors() local
949 q_base = vsi->num_txq - tx_rings_rem; in ice_vsi_map_rings_to_vectors()
951 for (q_id = q_base; q_id < (q_base + tx_rings_per_v); q_id++) { in ice_vsi_map_rings_to_vectors()
966 q_base = vsi->num_rxq - rx_rings_rem; in ice_vsi_map_rings_to_vectors()
968 for (q_id = q_base; q_id < (q_base + rx_rings_per_v); q_id++) { in ice_vsi_map_rings_to_vectors()
H A Dice_main.c2702 int xdp_rings_per_v, q_id, q_base; in ice_map_xdp_rings() local
2706 q_base = vsi->num_xdp_txq - xdp_rings_rem; in ice_map_xdp_rings()
2708 for (q_id = q_base; q_id < (q_base + xdp_rings_per_v); q_id++) { in ice_map_xdp_rings()
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_lif.c424 if (qcq->q_base) { in ionic_qcq_free()
425 dma_free_coherent(dev, qcq->q_size, qcq->q_base, qcq->q_base_pa); in ionic_qcq_free()
426 qcq->q_base = NULL; in ionic_qcq_free()
643 new->q_base = dma_alloc_coherent(dev, new->q_size, in ionic_qcq_alloc()
645 if (!new->q_base) { in ionic_qcq_alloc()
650 new->q.base = PTR_ALIGN(new->q_base, PAGE_SIZE); in ionic_qcq_alloc()
660 new->q_base = dma_alloc_coherent(dev, new->q_size, &new->q_base_pa, in ionic_qcq_alloc()
662 if (!new->q_base) { in ionic_qcq_alloc()
667 new->q.base = PTR_ALIGN(new->q_base, PAGE_SIZE); in ionic_qcq_alloc()
740 dma_free_coherent(dev, new->q_size, new->q_base, new->q_base_pa); in ionic_qcq_alloc()
[all …]
/linux/drivers/net/wireless/ti/wlcore/
H A Dmain.c2529 int i, q_base; in wlcore_allocate_hw_queue_base() local
2554 q_base = find_first_zero_bit(iter_data.hw_queue_map, in wlcore_allocate_hw_queue_base()
2556 if (q_base >= WLCORE_NUM_MAC_ADDRESSES) in wlcore_allocate_hw_queue_base()
2559 wlvif->hw_queue_base = q_base * NUM_TX_QUEUES; in wlcore_allocate_hw_queue_base()
/linux/drivers/crypto/hisilicon/
H A Dqm.c3818 u32 q_base = qm->qp_num; in qm_vf_q_assign() local
3849 ret = hisi_qm_set_vft(qm, i, q_base, act_q_num); in qm_vf_q_assign()
3855 q_base += act_q_num; in qm_vf_q_assign()