/kernel/linux/linux-5.10/drivers/char/ |
H A D | hpet.c | 727 static int hpet_is_known(struct hpet_data *hdp) in hpet_is_known() argument 732 if (hpetp->hp_hpet_phys == hdp->hd_phys_address) in hpet_is_known() 835 int hpet_alloc(struct hpet_data *hdp) in hpet_alloc() argument 852 if (hpet_is_known(hdp)) { in hpet_alloc() 858 hpetp = kzalloc(struct_size(hpetp, hp_dev, hdp->hd_nirqs), in hpet_alloc() 865 hpetp->hp_hpet = hdp->hd_address; in hpet_alloc() 866 hpetp->hp_hpet_phys = hdp->hd_phys_address; in hpet_alloc() 868 hpetp->hp_ntimer = hdp->hd_nirqs; in hpet_alloc() 870 for (i = 0; i < hdp->hd_nirqs; i++) in hpet_alloc() 871 hpetp->hp_dev[i].hd_hdwirq = hdp in hpet_alloc() 961 struct hpet_data *hdp; hpet_resources() local [all...] |
/kernel/linux/linux-6.6/drivers/char/ |
H A D | hpet.c | 712 static int hpet_is_known(struct hpet_data *hdp) in hpet_is_known() argument 717 if (hpetp->hp_hpet_phys == hdp->hd_phys_address) in hpet_is_known() 800 int hpet_alloc(struct hpet_data *hdp) in hpet_alloc() argument 817 if (hpet_is_known(hdp)) { in hpet_alloc() 823 hpetp = kzalloc(struct_size(hpetp, hp_dev, hdp->hd_nirqs), in hpet_alloc() 830 hpetp->hp_hpet = hdp->hd_address; in hpet_alloc() 831 hpetp->hp_hpet_phys = hdp->hd_phys_address; in hpet_alloc() 833 hpetp->hp_ntimer = hdp->hd_nirqs; in hpet_alloc() 835 for (i = 0; i < hdp->hd_nirqs; i++) in hpet_alloc() 836 hpetp->hp_dev[i].hd_hdwirq = hdp in hpet_alloc() 926 struct hpet_data *hdp; hpet_resources() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_hdp.c | 31 if (!adev->hdp.ras) in amdgpu_hdp_ras_sw_init() 34 ras = adev->hdp.ras; in amdgpu_hdp_ras_sw_init() 37 dev_err(adev->dev, "Failed to register hdp ras block!\n"); in amdgpu_hdp_ras_sw_init() 41 strcpy(ras->ras_block.ras_comm.name, "hdp"); in amdgpu_hdp_ras_sw_init() 44 adev->hdp.ras_if = &ras->ras_block.ras_comm; in amdgpu_hdp_ras_sw_init() 46 /* hdp ras follows amdgpu_ras_block_late_init_default for late init */ in amdgpu_hdp_ras_sw_init()
|
H A D | soc15.c | 1408 adev->hdp.funcs->update_clock_gating(adev, in soc15_common_set_clockgating_state() 1426 adev->hdp.funcs->update_clock_gating(adev, in soc15_common_set_clockgating_state() 1435 adev->hdp.funcs->update_clock_gating(adev, in soc15_common_set_clockgating_state() 1455 if (adev->hdp.funcs && adev->hdp.funcs->get_clock_gating_state) in soc15_common_get_clockgating_state() 1456 adev->hdp.funcs->get_clock_gating_state(adev, flags); in soc15_common_get_clockgating_state()
|
H A D | gmc_v9_0.c | 1547 adev->hdp.ras = &hdp_v4_0_ras; in gmc_v9_0_set_hdp_ras_funcs() 1655 if (adev->hdp.ras && adev->hdp.ras->ras_block.hw_ops && in gmc_v9_0_late_init() 1656 adev->hdp.ras->ras_block.hw_ops->reset_ras_error_count) in gmc_v9_0_late_init() 1657 adev->hdp.ras->ras_block.hw_ops->reset_ras_error_count(adev); in gmc_v9_0_late_init() 2346 adev->hdp.funcs->init_registers(adev); in gmc_v9_0_hw_init() 2349 adev->hdp.funcs->flush_hdp(adev, NULL); in gmc_v9_0_hw_init()
|
H A D | gmc_v10_0.c | 333 /* flush hdp cache */ in gmc_v10_0_flush_gpu_tlb() 334 adev->hdp.funcs->flush_hdp(adev, NULL); in gmc_v10_0_flush_gpu_tlb() 1063 adev->hdp.funcs->init_registers(adev); in gmc_v10_0_gart_enable() 1066 adev->hdp.funcs->flush_hdp(adev, NULL); in gmc_v10_0_gart_enable()
|
H A D | amdgpu.h | 559 /* flush hdp write queue */ 561 /* invalidate hdp read cache */ 916 /* hdp */ 917 struct amdgpu_hdp hdp; member 1265 ((adev)->asic_funcs->flush_hdp ? (adev)->asic_funcs->flush_hdp((adev), (r)) : (adev)->hdp.funcs->flush_hdp((adev), (r))) 1268 ((adev)->hdp.funcs->invalidate_hdp ? (adev)->hdp.funcs->invalidate_hdp((adev), (r)) : (void)0))
|
H A D | soc21.c | 842 adev->hdp.funcs->update_clock_gating(adev, in soc21_common_set_clockgating_state() 875 adev->hdp.funcs->get_clock_gating_state(adev, flags); in soc21_common_get_clockgating_state()
|
H A D | gmc_v11_0.c | 291 /* flush hdp cache */ in gmc_v11_0_flush_gpu_tlb() 292 adev->hdp.funcs->flush_hdp(adev, NULL); in gmc_v11_0_flush_gpu_tlb() 921 adev->hdp.funcs->flush_hdp(adev, NULL); in gmc_v11_0_gart_enable()
|
H A D | nv.c | 1088 adev->hdp.funcs->update_clock_gating(adev, in nv_common_set_clockgating_state() 1115 adev->hdp.funcs->get_clock_gating_state(adev, flags); in nv_common_get_clockgating_state()
|
H A D | psp_v11_0.c | 535 adev->hdp.funcs->flush_hdp(adev, NULL); in psp_v11_0_memory_training()
|
H A D | amdgpu_discovery.c | 2475 adev->hdp.funcs = &hdp_v4_0_funcs; in amdgpu_discovery_set_ip_blocks() 2483 adev->hdp.funcs = &hdp_v5_0_funcs; in amdgpu_discovery_set_ip_blocks() 2486 adev->hdp.funcs = &hdp_v5_2_funcs; in amdgpu_discovery_set_ip_blocks() 2491 adev->hdp.funcs = &hdp_v6_0_funcs; in amdgpu_discovery_set_ip_blocks()
|
H A D | psp_v13_0.c | 571 adev->hdp.funcs->flush_hdp(adev, NULL); in psp_v13_0_memory_training()
|
H A D | sdma_v4_4_2.c | 331 int mem_space, int hdp, in sdma_v4_4_2_wait_reg_mem() 337 SDMA_PKT_POLL_REGMEM_HEADER_HDP_FLUSH(hdp) | in sdma_v4_4_2_wait_reg_mem() 356 * sdma_v4_4_2_ring_emit_hdp_flush - emit an hdp flush on the DMA ring 360 * Emit an hdp flush packet on the requested DMA ring. 1836 3 + /* hdp invalidate */ 1867 3 + /* hdp invalidate */ 330 sdma_v4_4_2_wait_reg_mem(struct amdgpu_ring *ring, int mem_space, int hdp, uint32_t addr0, uint32_t addr1, uint32_t ref, uint32_t mask, uint32_t inv) sdma_v4_4_2_wait_reg_mem() argument
|
H A D | gfx_v11_0.c | 2044 adev->hdp.funcs->flush_hdp(adev, NULL); in gfx_v11_0_config_me_cache() 2088 adev->hdp.funcs->flush_hdp(adev, NULL); in gfx_v11_0_config_pfp_cache() 2133 adev->hdp.funcs->flush_hdp(adev, NULL); in gfx_v11_0_config_mec_cache() 2763 adev->hdp.funcs->flush_hdp(adev, NULL); in gfx_v11_0_cp_gfx_load_pfp_microcode_rs64() 2981 adev->hdp.funcs->flush_hdp(adev, NULL); in gfx_v11_0_cp_gfx_load_me_microcode_rs64() 4183 adev->hdp.funcs->flush_hdp(adev, NULL); in gfx_v11_0_gfxhub_enable() 6151 5 + /* hdp invalidate */ 6186 5 + /*hdp invalidate */
|
H A D | sdma_v4_0.c | 780 int mem_space, int hdp, in sdma_v4_0_wait_reg_mem() 786 SDMA_PKT_POLL_REGMEM_HEADER_HDP_FLUSH(hdp) | in sdma_v4_0_wait_reg_mem() 805 * sdma_v4_0_ring_emit_hdp_flush - emit an hdp flush on the DMA ring 809 * Emit an hdp flush packet on the requested DMA ring. 2324 3 + /* hdp invalidate */ 2356 3 + /* hdp invalidate */ 779 sdma_v4_0_wait_reg_mem(struct amdgpu_ring *ring, int mem_space, int hdp, uint32_t addr0, uint32_t addr1, uint32_t ref, uint32_t mask, uint32_t inv) sdma_v4_0_wait_reg_mem() argument
|
H A D | gfx_v10_0.c | 5738 adev->hdp.funcs->flush_hdp(adev, NULL); in gfx_v10_0_cp_gfx_load_pfp_microcode() 5816 adev->hdp.funcs->flush_hdp(adev, NULL); in gfx_v10_0_cp_gfx_load_ce_microcode() 5893 adev->hdp.funcs->flush_hdp(adev, NULL); in gfx_v10_0_cp_gfx_load_me_microcode() 6268 adev->hdp.funcs->flush_hdp(adev, NULL); in gfx_v10_0_cp_compute_load_microcode() 9212 5 + /* hdp invalidate */ 9247 5 + /*hdp invalidate */
|
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | carminefb.c | 64 u32 hdp; member 107 .hdp = 640, 119 .hdp = 800, 133 if (car_modes[i].hdp == var->xres && in carmine_find_mode() 258 width = par->res->hdp * 4 / CARMINE_DISP_WIDTH_UNIT; in carmine_init_display_param() 275 window_size |= par->res->hdp; in carmine_init_display_param() 371 u32 hdp, vdp, htp, hsp, hsw, vtr, vsp, vsw; in set_display_parameters() local 377 hdp = par->res->hdp - 1; in set_display_parameters() 389 (hdp << CARMINE_DISP_HDB_SHIF in set_display_parameters() [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | carminefb.c | 65 u32 hdp; member 108 .hdp = 640, 120 .hdp = 800, 134 if (car_modes[i].hdp == var->xres && in carmine_find_mode() 259 width = par->res->hdp * 4 / CARMINE_DISP_WIDTH_UNIT; in carmine_init_display_param() 276 window_size |= par->res->hdp; in carmine_init_display_param() 372 u32 hdp, vdp, htp, hsp, hsw, vtr, vsp, vsw; in set_display_parameters() local 378 hdp = par->res->hdp - 1; in set_display_parameters() 390 (hdp << CARMINE_DISP_HDB_SHIF in set_display_parameters() [all...] |
/kernel/linux/linux-5.10/fs/isofs/ |
H A D | inode.c | 668 struct hs_volume_descriptor *hdp; in isofs_fill_super() local 676 hdp = (struct hs_volume_descriptor *)bh->b_data; in isofs_fill_super() 680 * ISO CDs can match hdp->id==HS_STANDARD_ID as well. To ensure in isofs_fill_super() 718 if (strncmp (hdp->id, HS_STANDARD_ID, sizeof hdp->id) == 0) { in isofs_fill_super() 719 if (isonum_711(hdp->type) != ISO_VD_PRIMARY) in isofs_fill_super()
|
/kernel/linux/linux-6.6/fs/isofs/ |
H A D | inode.c | 669 struct hs_volume_descriptor *hdp; in isofs_fill_super() local 677 hdp = (struct hs_volume_descriptor *)bh->b_data; in isofs_fill_super() 681 * ISO CDs can match hdp->id==HS_STANDARD_ID as well. To ensure in isofs_fill_super() 719 if (strncmp (hdp->id, HS_STANDARD_ID, sizeof hdp->id) == 0) { in isofs_fill_super() 720 if (isonum_711(hdp->type) != ISO_VD_PRIMARY) in isofs_fill_super()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/ |
H A D | davinci_cpdma.c | 110 void __iomem *hdp, *cp, *rxfree; member 393 chan_write(chan, hdp, desc_phys(pool, chan->head)); in cpdma_chan_on() 907 chan->hdp = ctlr->params.rxhdp + offset; in cpdma_chan_create() 915 chan->hdp = ctlr->params.txhdp + offset; in cpdma_chan_create() 997 chan_write(chan, hdp, desc_dma); in __cpdma_chan_submit() 1011 chan_write(chan, hdp, desc_dma); in __cpdma_chan_submit() 1260 chan_write(chan, hdp, desc_phys(pool, chan->head)); in __cpdma_chan_process()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/ |
H A D | davinci_cpdma.c | 110 void __iomem *hdp, *cp, *rxfree; member 393 chan_write(chan, hdp, desc_phys(pool, chan->head)); in cpdma_chan_on() 907 chan->hdp = ctlr->params.rxhdp + offset; in cpdma_chan_create() 915 chan->hdp = ctlr->params.txhdp + offset; in cpdma_chan_create() 997 chan_write(chan, hdp, desc_dma); in __cpdma_chan_submit() 1011 chan_write(chan, hdp, desc_dma); in __cpdma_chan_submit() 1260 chan_write(chan, hdp, desc_phys(pool, chan->head)); in __cpdma_chan_process()
|
/kernel/linux/linux-6.6/drivers/clk/stm32/ |
H A D | clk-stm32mp13.c | 745 static struct clk_stm32_gate hdp = { variable 747 .hw.init = CLK_HW_INIT("hdp", "pclk3", &clk_stm32_gate_ops, 0), 1360 STM32_GATE_CFG(HDP, hdp, SECF_NONE),
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | sdma_v4_0.c | 49 #include "hdp/hdp_4_0_offset.h" 866 int mem_space, int hdp, in sdma_v4_0_wait_reg_mem() 872 SDMA_PKT_POLL_REGMEM_HEADER_HDP_FLUSH(hdp) | in sdma_v4_0_wait_reg_mem() 891 * sdma_v4_0_ring_emit_hdp_flush - emit an hdp flush on the DMA ring 895 * Emit an hdp flush packet on the requested DMA ring. 2310 3 + /* hdp invalidate */ 2346 3 + /* hdp invalidate */ 2378 3 + /* hdp invalidate */ 2410 3 + /* hdp invalidate */ 865 sdma_v4_0_wait_reg_mem(struct amdgpu_ring *ring, int mem_space, int hdp, uint32_t addr0, uint32_t addr1, uint32_t ref, uint32_t mask, uint32_t inv) sdma_v4_0_wait_reg_mem() argument
|