Searched refs:reg_block (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | dce_v8_0.c | 2826 u32 reg_block, lb_interrupt_mask; in dce_v8_0_set_crtc_vblank_interrupt_state() local 2835 reg_block = CRTC0_REGISTER_OFFSET; in dce_v8_0_set_crtc_vblank_interrupt_state() 2838 reg_block = CRTC1_REGISTER_OFFSET; in dce_v8_0_set_crtc_vblank_interrupt_state() 2841 reg_block = CRTC2_REGISTER_OFFSET; in dce_v8_0_set_crtc_vblank_interrupt_state() 2844 reg_block = CRTC3_REGISTER_OFFSET; in dce_v8_0_set_crtc_vblank_interrupt_state() 2847 reg_block = CRTC4_REGISTER_OFFSET; in dce_v8_0_set_crtc_vblank_interrupt_state() 2850 reg_block = CRTC5_REGISTER_OFFSET; in dce_v8_0_set_crtc_vblank_interrupt_state() 2859 lb_interrupt_mask = RREG32(mmLB_INTERRUPT_MASK + reg_block); in dce_v8_0_set_crtc_vblank_interrupt_state() 2861 WREG32(mmLB_INTERRUPT_MASK + reg_block, lb_interrupt_mask); in dce_v8_0_set_crtc_vblank_interrupt_state() 2864 lb_interrupt_mask = RREG32(mmLB_INTERRUPT_MASK + reg_block); in dce_v8_0_set_crtc_vblank_interrupt_state() [all …]
|
D | atom.h | 137 uint16_t reg_block; member
|
D | atom.c | 187 idx += gctx->reg_block; in atom_get_src_int() 254 val = gctx->reg_block; in atom_get_src_int() 459 idx += gctx->reg_block; in atom_put_dst() 521 gctx->reg_block = val; in atom_put_dst() 910 ctx->ctx->reg_block = U16(*ptr); in atom_op_setregblock() 912 SDEBUG(" base: 0x%04X\n", ctx->ctx->reg_block); in atom_op_setregblock() 1268 ctx->reg_block = 0; in amdgpu_atom_execute_table()
|
D | dce_v6_0.c | 2775 u32 reg_block, interrupt_mask; in dce_v6_0_set_crtc_vblank_interrupt_state() local 2784 reg_block = SI_CRTC0_REGISTER_OFFSET; in dce_v6_0_set_crtc_vblank_interrupt_state() 2787 reg_block = SI_CRTC1_REGISTER_OFFSET; in dce_v6_0_set_crtc_vblank_interrupt_state() 2790 reg_block = SI_CRTC2_REGISTER_OFFSET; in dce_v6_0_set_crtc_vblank_interrupt_state() 2793 reg_block = SI_CRTC3_REGISTER_OFFSET; in dce_v6_0_set_crtc_vblank_interrupt_state() 2796 reg_block = SI_CRTC4_REGISTER_OFFSET; in dce_v6_0_set_crtc_vblank_interrupt_state() 2799 reg_block = SI_CRTC5_REGISTER_OFFSET; in dce_v6_0_set_crtc_vblank_interrupt_state() 2808 interrupt_mask = RREG32(mmINT_MASK + reg_block); in dce_v6_0_set_crtc_vblank_interrupt_state() 2810 WREG32(mmINT_MASK + reg_block, interrupt_mask); in dce_v6_0_set_crtc_vblank_interrupt_state() 2813 interrupt_mask = RREG32(mmINT_MASK + reg_block); in dce_v6_0_set_crtc_vblank_interrupt_state() [all …]
|
D | amdgpu_atombios.c | 1606 ATOM_INIT_REG_BLOCK *reg_block = in amdgpu_atombios_init_mc_reg_table() local 1611 ((u8 *)reg_block + (2 * sizeof(u16)) + in amdgpu_atombios_init_mc_reg_table() 1612 le16_to_cpu(reg_block->usRegIndexTblSize)); in amdgpu_atombios_init_mc_reg_table() 1613 ATOM_INIT_REG_INDEX_FORMAT *format = ®_block->asRegIndexBuf[0]; in amdgpu_atombios_init_mc_reg_table() 1614 num_entries = (u8)((le16_to_cpu(reg_block->usRegIndexTblSize)) / in amdgpu_atombios_init_mc_reg_table() 1651 ((u8 *)reg_data + le16_to_cpu(reg_block->usRegDataBlkSize)); in amdgpu_atombios_init_mc_reg_table()
|
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/hwmgr/ |
D | ppatomctrl.c | 49 ATOM_INIT_REG_BLOCK *reg_block, in atomctrl_retrieve_ac_timing() argument 55 ((uint8_t *)reg_block + (2 * sizeof(uint16_t)) + le16_to_cpu(reg_block->usRegIndexTblSize)); in atomctrl_retrieve_ac_timing() 84 ((uint8_t *)reg_data + le16_to_cpu(reg_block->usRegDataBlkSize)) ; in atomctrl_retrieve_ac_timing() 102 ATOM_INIT_REG_BLOCK *reg_block, in atomctrl_set_mc_reg_address_table() argument 106 uint8_t num_entries = (uint8_t)((le16_to_cpu(reg_block->usRegIndexTblSize)) in atomctrl_set_mc_reg_address_table() 108 ATOM_INIT_REG_INDEX_FORMAT *format = ®_block->asRegIndexBuf[0]; in atomctrl_set_mc_reg_address_table() 138 ATOM_INIT_REG_BLOCK *reg_block; in atomctrl_initialize_mc_reg_table() local 156 reg_block = (ATOM_INIT_REG_BLOCK *) in atomctrl_initialize_mc_reg_table() 158 result = atomctrl_set_mc_reg_address_table(reg_block, table); in atomctrl_initialize_mc_reg_table() 163 reg_block, table); in atomctrl_initialize_mc_reg_table()
|
/Linux-v4.19/drivers/gpu/drm/radeon/ |
D | atom.c | 191 idx += gctx->reg_block; in atom_get_src_int() 258 val = gctx->reg_block; in atom_get_src_int() 463 idx += gctx->reg_block; in atom_put_dst() 525 gctx->reg_block = val; in atom_put_dst() 879 ctx->ctx->reg_block = U16(*ptr); in atom_op_setregblock() 881 SDEBUG(" base: 0x%04X\n", ctx->ctx->reg_block); in atom_op_setregblock() 1223 ctx->reg_block = 0; in atom_execute_table_scratch_unlocked()
|
D | atom.h | 137 uint16_t reg_block; member
|
D | radeon_atombios.c | 4006 ATOM_INIT_REG_BLOCK *reg_block = in radeon_atom_init_mc_reg_table() local 4011 ((u8 *)reg_block + (2 * sizeof(u16)) + in radeon_atom_init_mc_reg_table() 4012 le16_to_cpu(reg_block->usRegIndexTblSize)); in radeon_atom_init_mc_reg_table() 4013 ATOM_INIT_REG_INDEX_FORMAT *format = ®_block->asRegIndexBuf[0]; in radeon_atom_init_mc_reg_table() 4014 num_entries = (u8)((le16_to_cpu(reg_block->usRegIndexTblSize)) / in radeon_atom_init_mc_reg_table() 4051 ((u8 *)reg_data + le16_to_cpu(reg_block->usRegDataBlkSize)); in radeon_atom_init_mc_reg_table()
|
/Linux-v4.19/drivers/net/ethernet/intel/i40e/ |
D | i40e_common.c | 1052 u32 reg_block = 0; in i40e_pre_tx_queue_cfg() local 1056 reg_block = abs_queue_idx / 128; in i40e_pre_tx_queue_cfg() 1060 reg_val = rd32(hw, I40E_GLLAN_TXPRE_QDIS(reg_block)); in i40e_pre_tx_queue_cfg() 1069 wr32(hw, I40E_GLLAN_TXPRE_QDIS(reg_block), reg_val); in i40e_pre_tx_queue_cfg() 1370 u32 reg_block = 0; in i40e_clear_hw() local 1373 reg_block = abs_queue_idx / 128; in i40e_clear_hw() 1377 val = rd32(hw, I40E_GLLAN_TXPRE_QDIS(reg_block)); in i40e_clear_hw() 1382 wr32(hw, I40E_GLLAN_TXPRE_QDIS(reg_block), val); in i40e_clear_hw()
|