| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_nbio.c | 30 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 D | soc21.c | 254 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 D | hdp_v5_2.c | 44 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 D | nbif_v6_3_1.c | 595 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 D | gmc_v9_0.c | 1321 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 D | sdma_v6_0.c | 328 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 D | sdma_v7_0.c | 331 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 D | amdgpu_gmc.c | 1554 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 D | vpe_v6_1.c | 258 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 D | jpeg_v3_0.c | 178 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in jpeg_v3_0_hw_init()
|
| H A D | jpeg_v5_3_0.c | 149 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in jpeg_v5_3_0_hw_init()
|
| H A D | umsch_mm_v4_0.c | 225 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in umsch_mm_v4_0_ring_start()
|
| H A D | jpeg_v5_0_0.c | 166 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in jpeg_v5_0_0_hw_init()
|
| H A D | jpeg_v2_0.c | 163 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in jpeg_v2_0_hw_init()
|
| H A D | jpeg_v4_0_5.c | 515 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in jpeg_v4_0_5_start()
|
| H A D | jpeg_v2_5.c | 219 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in jpeg_v2_5_hw_init()
|
| H A D | jpeg_v4_0.c | 198 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in jpeg_v4_0_hw_init()
|
| H A D | sdma_v4_0.c | 863 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 D | jpeg_v5_0_2.c | 239 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in jpeg_v5_0_2_hw_init()
|
| H A D | jpeg_v5_0_1.c | 278 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in jpeg_v5_0_1_hw_init()
|
| H A D | vcn_v5_0_2.c | 218 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in vcn_v5_0_2_hw_init()
|
| H A D | vcn_v5_0_0.c | 264 adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell, in vcn_v5_0_0_hw_init()
|
| H A D | jpeg_v4_0_3.c | 402 adev->nbio.funcs->vcn_doorbell_range( in jpeg_v4_0_3_hw_init()
|
| H A D | gfx_v12_0.c | 3723 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 D | blkback.c | 1298 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()
|