Home
last modified time | relevance | path

Searched refs:nbio (Results 1 – 25 of 37) sorted by relevance

12

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_nbio.c30 if (!adev->nbio.ras) in amdgpu_nbio_ras_sw_init()
33 ras = adev->nbio.ras; in amdgpu_nbio_ras_sw_init()
43 adev->nbio.ras_if = &ras->ras_block.ras_comm; in amdgpu_nbio_ras_sw_init()
50 if (adev->nbio.funcs && adev->nbio.funcs->get_pcie_replay_count) in amdgpu_nbio_get_pcie_replay_count()
51 return adev->nbio.funcs->get_pcie_replay_count(adev); in amdgpu_nbio_get_pcie_replay_count()
60 (!adev->nbio.funcs || !adev->nbio.funcs->get_pcie_replay_count)) in amdgpu_nbio_is_replay_cnt_supported()
74 r = amdgpu_irq_get(adev, &adev->nbio.ras_controller_irq, 0); in amdgpu_nbio_ras_late_init()
77 r = amdgpu_irq_get(adev, &adev->nbio.ras_err_event_athub_irq, 0); in amdgpu_nbio_ras_late_init()
H A Dsoc21.c254 return adev->nbio.funcs->get_memsize(adev); in soc21_get_config_memsize()
389 u32 memsize = adev->nbio.funcs->get_memsize(adev);
478 if (adev->nbio.funcs->program_aspm) in soc21_program_aspm()
479 adev->nbio.funcs->program_aspm(adev); in soc21_program_aspm()
591 adev->nbio.funcs->set_reg_remap(adev); in soc21_common_early_init()
896 if (adev->nbio.ras && in soc21_common_late_init()
897 adev->nbio.ras_err_event_athub_irq.funcs) in soc21_common_late_init()
902 amdgpu_irq_get(adev, &adev->nbio.ras_err_event_athub_irq, 0); in soc21_common_late_init()
908 adev->nbio.funcs->enable_doorbell_selfring_aperture(adev, true); in soc21_common_late_init()
930 adev->nbio.funcs->init_registers(adev); in soc21_common_hw_init()
[all …]
H A Dhdp_v5_2.c44 if (adev->nbio.funcs->get_memsize) in hdp_v5_2_flush_hdp()
45 adev->nbio.funcs->get_memsize(adev); in hdp_v5_2_flush_hdp()
H A Dnbif_v6_3_1.c595 adev->nbio.ras_err_event_athub_irq.funcs = in nbif_v6_3_1_init_ras_err_event_athub_interrupt()
597 adev->nbio.ras_err_event_athub_irq.num_types = 1; in nbif_v6_3_1_init_ras_err_event_athub_interrupt()
604 &adev->nbio.ras_err_event_athub_irq); in nbif_v6_3_1_init_ras_err_event_athub_interrupt()
H A Dgmc_v9_0.c1321 if (adev->nbio.funcs && adev->nbio.funcs->is_nps_switch_requested && in gmc_v9_0_need_reset_on_init()
1322 adev->nbio.funcs->is_nps_switch_requested(adev)) { in gmc_v9_0_need_reset_on_init()
1695 adev->nbio.funcs->get_memsize(adev) * 1024ULL * 1024ULL; in gmc_v9_0_mc_init()
H A Dsdma_v6_0.c328 const struct nbio_hdp_flush_reg *nbio_hf_reg = adev->nbio.hdp_flush_reg; in sdma_v6_0_ring_emit_hdp_flush()
335 amdgpu_ring_write(ring, (adev->nbio.funcs->get_hdp_flush_done_offset(adev)) << 2); in sdma_v6_0_ring_emit_hdp_flush()
336 amdgpu_ring_write(ring, (adev->nbio.funcs->get_hdp_flush_req_offset(adev)) << 2); in sdma_v6_0_ring_emit_hdp_flush()
565 adev->nbio.funcs->sdma_doorbell_range(adev, i, ring->use_doorbell, in sdma_v6_0_gfx_resume_instance()
H A Dsdma_v7_0.c331 const struct nbio_hdp_flush_reg *nbio_hf_reg = adev->nbio.hdp_flush_reg; in sdma_v7_0_ring_emit_hdp_flush()
338 amdgpu_ring_write(ring, (adev->nbio.funcs->get_hdp_flush_done_offset(adev)) << 2); in sdma_v7_0_ring_emit_hdp_flush()
339 amdgpu_ring_write(ring, (adev->nbio.funcs->get_hdp_flush_req_offset(adev)) << 2); in sdma_v7_0_ring_emit_hdp_flush()
560 adev->nbio.funcs->sdma_doorbell_range(adev, i, ring->use_doorbell, in sdma_v7_0_gfx_resume_instance()
H A Damdgpu_gmc.c1554 if (adev->nbio.funcs && in amdgpu_gmc_get_memory_partition()
1555 adev->nbio.funcs->get_memory_partition_mode) in amdgpu_gmc_get_memory_partition()
1556 mode = adev->nbio.funcs->get_memory_partition_mode(adev, in amdgpu_gmc_get_memory_partition()
H A Dvpe_v6_1.c258 adev->nbio.funcs->vpe_doorbell_range(adev, i, ring->use_doorbell, ring->doorbell_index + i*4, 4); in vpe_v6_1_ring_start()
H A Djpeg_v3_0.c178 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in jpeg_v3_0_hw_init()
H A Djpeg_v5_3_0.c149 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in jpeg_v5_3_0_hw_init()
H A Dumsch_mm_v4_0.c225 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in umsch_mm_v4_0_ring_start()
H A Djpeg_v5_0_0.c166 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in jpeg_v5_0_0_hw_init()
H A Djpeg_v2_0.c163 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in jpeg_v2_0_hw_init()
H A Djpeg_v4_0_5.c515 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in jpeg_v4_0_5_start()
H A Djpeg_v2_5.c219 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in jpeg_v2_5_hw_init()
H A Djpeg_v4_0.c198 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in jpeg_v4_0_hw_init()
H A Dsdma_v4_0.c863 const struct nbio_hdp_flush_reg *nbio_hf_reg = adev->nbio.hdp_flush_reg; in sdma_v4_0_ring_emit_hdp_flush()
868 adev->nbio.funcs->get_hdp_flush_done_offset(adev), in sdma_v4_0_ring_emit_hdp_flush()
869 adev->nbio.funcs->get_hdp_flush_req_offset(adev), in sdma_v4_0_ring_emit_hdp_flush()
H A Djpeg_v5_0_2.c239 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in jpeg_v5_0_2_hw_init()
H A Djpeg_v5_0_1.c278 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in jpeg_v5_0_1_hw_init()
H A Dvcn_v5_0_2.c218 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in vcn_v5_0_2_hw_init()
H A Dvcn_v5_0_0.c264 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in vcn_v5_0_0_hw_init()
H A Djpeg_v4_0_3.c402 adev->nbio.funcs->vcn_doorbell_range( in jpeg_v4_0_3_hw_init()
H A Dgfx_v12_0.c3723 if (adev->nbio.funcs->gc_doorbell_init) in gfx_v12_0_hw_init()
3724 adev->nbio.funcs->gc_doorbell_init(adev); in gfx_v12_0_hw_init()
4444 adev->nbio.funcs->get_hdp_flush_req_offset(adev), in gfx_v12_0_ring_emit_hdp_flush()
4445 adev->nbio.funcs->get_hdp_flush_done_offset(adev), in gfx_v12_0_ring_emit_hdp_flush()
/linux/drivers/block/xen-blkback/
H A Dblkback.c1298 int i, nbio = 0; in dispatch_rw_block_io() local
1436 biolist[nbio++] = bio; in dispatch_rw_block_io()
1451 biolist[nbio++] = bio; in dispatch_rw_block_io()
1456 atomic_set(&pending_req->pendcnt, nbio); in dispatch_rw_block_io()
1459 for (i = 0; i < nbio; i++) in dispatch_rw_block_io()

12