/Linux-v5.10/arch/mips/include/asm/ |
D | asm-eva.h | 19 #define kernel_ll(reg, addr) "ll " reg ", " addr "\n" argument 20 #define kernel_sc(reg, addr) "sc " reg ", " addr "\n" argument 21 #define kernel_lw(reg, addr) "lw " reg ", " addr "\n" argument 22 #define kernel_lwl(reg, addr) "lwl " reg ", " addr "\n" argument 23 #define kernel_lwr(reg, addr) "lwr " reg ", " addr "\n" argument 24 #define kernel_lh(reg, addr) "lh " reg ", " addr "\n" argument 25 #define kernel_lb(reg, addr) "lb " reg ", " addr "\n" argument 26 #define kernel_lbu(reg, addr) "lbu " reg ", " addr "\n" argument 27 #define kernel_sw(reg, addr) "sw " reg ", " addr "\n" argument 28 #define kernel_swl(reg, addr) "swl " reg ", " addr "\n" argument [all …]
|
/Linux-v5.10/arch/parisc/include/asm/ |
D | asmregs.h | 11 rp: .reg %r2 12 arg3: .reg %r23 13 arg2: .reg %r24 14 arg1: .reg %r25 15 arg0: .reg %r26 16 dp: .reg %r27 17 ret0: .reg %r28 18 ret1: .reg %r29 19 sl: .reg %r29 20 sp: .reg %r30 [all …]
|
/Linux-v5.10/drivers/gpu/drm/bridge/analogix/ |
D | analogix_dp_reg.c | 28 u32 reg; in analogix_dp_enable_video_mute() local 31 reg = readl(dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_enable_video_mute() 32 reg |= HDCP_VIDEO_MUTE; in analogix_dp_enable_video_mute() 33 writel(reg, dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_enable_video_mute() 35 reg = readl(dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_enable_video_mute() 36 reg &= ~HDCP_VIDEO_MUTE; in analogix_dp_enable_video_mute() 37 writel(reg, dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_enable_video_mute() 43 u32 reg; in analogix_dp_stop_video() local 45 reg = readl(dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_stop_video() 46 reg &= ~VIDEO_EN; in analogix_dp_stop_video() [all …]
|
/Linux-v5.10/tools/testing/selftests/powerpc/include/ |
D | vmx_asm.h | 9 #define PUSH_VMX(pos,reg) \ argument 10 li reg,pos; \ 11 stvx v20,reg,%r1; \ 12 addi reg,reg,16; \ 13 stvx v21,reg,%r1; \ 14 addi reg,reg,16; \ 15 stvx v22,reg,%r1; \ 16 addi reg,reg,16; \ 17 stvx v23,reg,%r1; \ 18 addi reg,reg,16; \ [all …]
|
/Linux-v5.10/drivers/media/cec/platform/s5p/ |
D | exynos_hdmi_cecctrl.c | 26 unsigned int reg; in s5p_cec_set_divider() local 30 if (regmap_read(cec->pmu, EXYNOS_HDMI_PHY_CONTROL, ®)) { in s5p_cec_set_divider() 35 reg = (reg & ~(0x3FF << 16)) | (div_ratio << 16); in s5p_cec_set_divider() 37 if (regmap_write(cec->pmu, EXYNOS_HDMI_PHY_CONTROL, reg)) { in s5p_cec_set_divider() 44 writeb(0x0, cec->reg + S5P_CEC_DIVISOR_3); in s5p_cec_set_divider() 45 writeb(0x0, cec->reg + S5P_CEC_DIVISOR_2); in s5p_cec_set_divider() 46 writeb(0x0, cec->reg + S5P_CEC_DIVISOR_1); in s5p_cec_set_divider() 47 writeb(div_val, cec->reg + S5P_CEC_DIVISOR_0); in s5p_cec_set_divider() 52 u8 reg; in s5p_cec_enable_rx() local 54 reg = readb(cec->reg + S5P_CEC_RX_CTRL); in s5p_cec_enable_rx() [all …]
|
/Linux-v5.10/drivers/media/platform/s5p-jpeg/ |
D | jpeg-hw-s5p.c | 19 unsigned long reg; in s5p_jpeg_reset() local 22 reg = readl(regs + S5P_JPG_SW_RESET); in s5p_jpeg_reset() 24 while (reg != 0) { in s5p_jpeg_reset() 26 reg = readl(regs + S5P_JPG_SW_RESET); in s5p_jpeg_reset() 37 unsigned long reg, m; in s5p_jpeg_input_raw_mode() local 45 reg = readl(regs + S5P_JPGCMOD); in s5p_jpeg_input_raw_mode() 46 reg &= ~S5P_MOD_SEL_MASK; in s5p_jpeg_input_raw_mode() 47 reg |= m; in s5p_jpeg_input_raw_mode() 48 writel(reg, regs + S5P_JPGCMOD); in s5p_jpeg_input_raw_mode() 53 unsigned long reg, m; in s5p_jpeg_proc_mode() local [all …]
|
D | jpeg-hw-exynos4.c | 18 unsigned int reg; in exynos4_jpeg_sw_reset() local 20 reg = readl(base + EXYNOS4_JPEG_CNTL_REG); in exynos4_jpeg_sw_reset() 21 writel(reg & ~(EXYNOS4_DEC_MODE | EXYNOS4_ENC_MODE), in exynos4_jpeg_sw_reset() 24 reg = readl(base + EXYNOS4_JPEG_CNTL_REG); in exynos4_jpeg_sw_reset() 25 writel(reg & ~EXYNOS4_SOFT_RESET_HI, base + EXYNOS4_JPEG_CNTL_REG); in exynos4_jpeg_sw_reset() 29 writel(reg | EXYNOS4_SOFT_RESET_HI, base + EXYNOS4_JPEG_CNTL_REG); in exynos4_jpeg_sw_reset() 34 unsigned int reg; in exynos4_jpeg_set_enc_dec_mode() local 36 reg = readl(base + EXYNOS4_JPEG_CNTL_REG); in exynos4_jpeg_set_enc_dec_mode() 39 writel((reg & EXYNOS4_ENC_DEC_MODE_MASK) | in exynos4_jpeg_set_enc_dec_mode() 43 writel((reg & EXYNOS4_ENC_DEC_MODE_MASK) | in exynos4_jpeg_set_enc_dec_mode() [all …]
|
D | jpeg-hw-exynos3250.c | 20 u32 reg = 1; in exynos3250_jpeg_reset() local 25 while (reg != 0 && --count > 0) { in exynos3250_jpeg_reset() 28 reg = readl(regs + EXYNOS3250_SW_RESET); in exynos3250_jpeg_reset() 31 reg = 0; in exynos3250_jpeg_reset() 34 while (reg != 1 && --count > 0) { in exynos3250_jpeg_reset() 38 reg = readl(regs + EXYNOS3250_JPGDRI); in exynos3250_jpeg_reset() 62 u32 reg; in exynos3250_jpeg_clk_set() local 64 reg = readl(base + EXYNOS3250_JPGCMOD) & ~EXYNOS3250_HALF_EN_MASK; in exynos3250_jpeg_clk_set() 66 writel(reg | EXYNOS3250_HALF_EN, base + EXYNOS3250_JPGCMOD); in exynos3250_jpeg_clk_set() 71 u32 reg; in exynos3250_jpeg_input_raw_fmt() local [all …]
|
/Linux-v5.10/drivers/scsi/qla2xxx/ |
D | qla_dbg.c | 109 struct device_reg_24xx __iomem *reg = &ha->iobase->isp24; in qla27xx_dump_mpi_ram() local 122 wrt_reg_word(®->mailbox0, MBC_LOAD_DUMP_MPI_RAM); in qla27xx_dump_mpi_ram() 123 wrt_reg_word(®->mailbox1, LSW(addr)); in qla27xx_dump_mpi_ram() 124 wrt_reg_word(®->mailbox8, MSW(addr)); in qla27xx_dump_mpi_ram() 126 wrt_reg_word(®->mailbox2, MSW(LSD(dump_dma))); in qla27xx_dump_mpi_ram() 127 wrt_reg_word(®->mailbox3, LSW(LSD(dump_dma))); in qla27xx_dump_mpi_ram() 128 wrt_reg_word(®->mailbox6, MSW(MSD(dump_dma))); in qla27xx_dump_mpi_ram() 129 wrt_reg_word(®->mailbox7, LSW(MSD(dump_dma))); in qla27xx_dump_mpi_ram() 131 wrt_reg_word(®->mailbox4, MSW(dwords)); in qla27xx_dump_mpi_ram() 132 wrt_reg_word(®->mailbox5, LSW(dwords)); in qla27xx_dump_mpi_ram() [all …]
|
/Linux-v5.10/drivers/memory/tegra/ |
D | tegra210.c | 20 .reg = 0x228, 24 .reg = 0x2e8, 34 .reg = 0x228, 38 .reg = 0x2f4, 48 .reg = 0x228, 52 .reg = 0x2e8, 62 .reg = 0x228, 66 .reg = 0x2f4, 76 .reg = 0x228, 80 .reg = 0x2ec, [all …]
|
D | tegra30.c | 44 .reg = 0x228, 48 .reg = 0x2e8, 58 .reg = 0x228, 62 .reg = 0x2f4, 72 .reg = 0x228, 76 .reg = 0x2e8, 86 .reg = 0x228, 90 .reg = 0x2f4, 100 .reg = 0x228, 104 .reg = 0x2ec, [all …]
|
D | tegra114.c | 23 .reg = 0x228, 27 .reg = 0x2e8, 37 .reg = 0x228, 41 .reg = 0x2f4, 51 .reg = 0x228, 55 .reg = 0x2e8, 65 .reg = 0x228, 69 .reg = 0x2f4, 79 .reg = 0x228, 83 .reg = 0x2ec, [all …]
|
D | tegra124.c | 23 .reg = 0x228, 27 .reg = 0x2e8, 37 .reg = 0x228, 41 .reg = 0x2f4, 51 .reg = 0x228, 55 .reg = 0x2e8, 65 .reg = 0x228, 69 .reg = 0x2f4, 79 .reg = 0x228, 83 .reg = 0x2ec, [all …]
|
/Linux-v5.10/drivers/video/fbdev/riva/ |
D | nvreg.h | 44 #define DEVICE_ACCESS(device,reg) \ argument 45 nvCONTROL[(NV_##device##_##reg)/4] 47 #define DEVICE_WRITE(device,reg,value) DEVICE_ACCESS(device,reg)=(value) argument 48 #define DEVICE_READ(device,reg) DEVICE_ACCESS(device,reg) argument 49 #define DEVICE_PRINT(device,reg) \ argument 50 ErrorF("NV_"#device"_"#reg"=#%08lx\n",DEVICE_ACCESS(device,reg)) 56 #define PDAC_Write(reg,value) DEVICE_WRITE(PDAC,reg,value) argument 57 #define PDAC_Read(reg) DEVICE_READ(PDAC,reg) argument 58 #define PDAC_Print(reg) DEVICE_PRINT(PDAC,reg) argument 63 #define PFB_Write(reg,value) DEVICE_WRITE(PFB,reg,value) argument [all …]
|
/Linux-v5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_dcb_82598.c | 23 u32 reg = 0; in ixgbe_dcb_config_rx_arbiter_82598() local 28 reg = IXGBE_READ_REG(hw, IXGBE_RUPPBMR) | IXGBE_RUPPBMR_MQA; in ixgbe_dcb_config_rx_arbiter_82598() 29 IXGBE_WRITE_REG(hw, IXGBE_RUPPBMR, reg); in ixgbe_dcb_config_rx_arbiter_82598() 31 reg = IXGBE_READ_REG(hw, IXGBE_RMCS); in ixgbe_dcb_config_rx_arbiter_82598() 33 reg &= ~IXGBE_RMCS_ARBDIS; in ixgbe_dcb_config_rx_arbiter_82598() 35 reg |= IXGBE_RMCS_RRM; in ixgbe_dcb_config_rx_arbiter_82598() 37 reg |= IXGBE_RMCS_DFP; in ixgbe_dcb_config_rx_arbiter_82598() 39 IXGBE_WRITE_REG(hw, IXGBE_RMCS, reg); in ixgbe_dcb_config_rx_arbiter_82598() 46 reg = credit_refill | (credit_max << IXGBE_RT2CR_MCL_SHIFT); in ixgbe_dcb_config_rx_arbiter_82598() 49 reg |= IXGBE_RT2CR_LSP; in ixgbe_dcb_config_rx_arbiter_82598() [all …]
|
/Linux-v5.10/drivers/media/pci/cx23885/ |
D | cx23885-ioctl.c | 32 struct v4l2_dbg_register *reg) in cx23417_g_register() argument 39 if ((reg->reg & 0x3) != 0 || reg->reg >= 0x10000) in cx23417_g_register() 42 if (mc417_register_read(dev, (u16) reg->reg, &value)) in cx23417_g_register() 45 reg->size = 4; in cx23417_g_register() 46 reg->val = value; in cx23417_g_register() 51 struct v4l2_dbg_register *reg) in cx23885_g_register() argument 55 if (reg->match.addr > 1) in cx23885_g_register() 57 if (reg->match.addr) in cx23885_g_register() 58 return cx23417_g_register(dev, reg); in cx23885_g_register() 60 if ((reg->reg & 0x3) != 0 || reg->reg >= pci_resource_len(dev->pci, 0)) in cx23885_g_register() [all …]
|
/Linux-v5.10/drivers/net/ethernet/microchip/ |
D | encx24j600-regmap.c | 60 static int regmap_encx24j600_sfr_read(void *context, u8 reg, u8 *val, in regmap_encx24j600_sfr_read() argument 64 u8 banked_reg = reg & ADDR_MASK; in regmap_encx24j600_sfr_read() 65 u8 bank = ((reg & BANK_MASK) >> BANK_SHIFT); in regmap_encx24j600_sfr_read() 71 if (reg < 0x80) { in regmap_encx24j600_sfr_read() 81 switch (reg) { in regmap_encx24j600_sfr_read() 104 tx_buf[i++] = reg; in regmap_encx24j600_sfr_read() 112 u8 reg, u8 *val, size_t len, in regmap_encx24j600_sfr_update() argument 115 u8 banked_reg = reg & ADDR_MASK; in regmap_encx24j600_sfr_update() 116 u8 bank = ((reg & BANK_MASK) >> BANK_SHIFT); in regmap_encx24j600_sfr_update() 120 { .tx_buf = ®, .len = sizeof(reg), }, in regmap_encx24j600_sfr_update() [all …]
|
/Linux-v5.10/arch/mips/include/asm/octeon/ |
D | cvmx-fau.h | 129 static inline uint64_t __cvmx_fau_store_address(uint64_t noadd, uint64_t reg) in __cvmx_fau_store_address() argument 133 cvmx_build_bits(CVMX_FAU_BITS_REGISTER, reg); in __cvmx_fau_store_address() 152 static inline uint64_t __cvmx_fau_atomic_address(uint64_t tagwait, uint64_t reg, in __cvmx_fau_atomic_address() argument 158 cvmx_build_bits(CVMX_FAU_BITS_REGISTER, reg); in __cvmx_fau_atomic_address() 170 static inline int64_t cvmx_fau_fetch_and_add64(cvmx_fau_reg_64_t reg, in cvmx_fau_fetch_and_add64() argument 173 return cvmx_read64_int64(__cvmx_fau_atomic_address(0, reg, value)); in cvmx_fau_fetch_and_add64() 185 static inline int32_t cvmx_fau_fetch_and_add32(cvmx_fau_reg_32_t reg, in cvmx_fau_fetch_and_add32() argument 188 reg ^= SWIZZLE_32; in cvmx_fau_fetch_and_add32() 189 return cvmx_read64_int32(__cvmx_fau_atomic_address(0, reg, value)); in cvmx_fau_fetch_and_add32() 200 static inline int16_t cvmx_fau_fetch_and_add16(cvmx_fau_reg_16_t reg, in cvmx_fau_fetch_and_add16() argument [all …]
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/inc/ |
D | reg_helper.h | 67 #define REG_SET_2(reg, init_value, f1, v1, f2, v2) \ argument 68 REG_SET_N(reg, 2, init_value, \ 69 FN(reg, f1), v1,\ 70 FN(reg, f2), v2) 72 #define REG_SET_3(reg, init_value, f1, v1, f2, v2, f3, v3) \ argument 73 REG_SET_N(reg, 3, init_value, \ 74 FN(reg, f1), v1,\ 75 FN(reg, f2), v2,\ 76 FN(reg, f3), v3) 78 #define REG_SET_4(reg, init_value, f1, v1, f2, v2, f3, v3, f4, v4) \ argument [all …]
|
/Linux-v5.10/drivers/acpi/pmic/ |
D | intel_pmic_bxtwc.c | 30 .reg = 0x63, 35 .reg = 0x65, 40 .reg = 0x67, 45 .reg = 0x6d, 50 .reg = 0x6f, 55 .reg = 0x70, 60 .reg = 0x71, 65 .reg = 0x72, 70 .reg = 0x73, 75 .reg = 0x74, [all …]
|
D | intel_pmic_bytcrc.c | 27 .reg = 0x63, 32 .reg = 0x62, 37 .reg = 0x64, 42 .reg = 0x6a, 47 .reg = 0x6b, 52 .reg = 0x6c, 57 .reg = 0x6d, 67 .reg = 0x66, 77 .reg = 0x69, 82 .reg = 0x68, [all …]
|
/Linux-v5.10/drivers/net/wireless/ralink/rt2x00/ |
D | rt2400pci.c | 48 u32 reg; in rt2400pci_bbp_write() local 56 if (WAIT_FOR_BBP(rt2x00dev, ®)) { in rt2400pci_bbp_write() 57 reg = 0; in rt2400pci_bbp_write() 58 rt2x00_set_field32(®, BBPCSR_VALUE, value); in rt2400pci_bbp_write() 59 rt2x00_set_field32(®, BBPCSR_REGNUM, word); in rt2400pci_bbp_write() 60 rt2x00_set_field32(®, BBPCSR_BUSY, 1); in rt2400pci_bbp_write() 61 rt2x00_set_field32(®, BBPCSR_WRITE_CONTROL, 1); in rt2400pci_bbp_write() 63 rt2x00mmio_register_write(rt2x00dev, BBPCSR, reg); in rt2400pci_bbp_write() 72 u32 reg; in rt2400pci_bbp_read() local 85 if (WAIT_FOR_BBP(rt2x00dev, ®)) { in rt2400pci_bbp_read() [all …]
|
D | rt2500pci.c | 48 u32 reg; in rt2500pci_bbp_write() local 56 if (WAIT_FOR_BBP(rt2x00dev, ®)) { in rt2500pci_bbp_write() 57 reg = 0; in rt2500pci_bbp_write() 58 rt2x00_set_field32(®, BBPCSR_VALUE, value); in rt2500pci_bbp_write() 59 rt2x00_set_field32(®, BBPCSR_REGNUM, word); in rt2500pci_bbp_write() 60 rt2x00_set_field32(®, BBPCSR_BUSY, 1); in rt2500pci_bbp_write() 61 rt2x00_set_field32(®, BBPCSR_WRITE_CONTROL, 1); in rt2500pci_bbp_write() 63 rt2x00mmio_register_write(rt2x00dev, BBPCSR, reg); in rt2500pci_bbp_write() 72 u32 reg; in rt2500pci_bbp_read() local 85 if (WAIT_FOR_BBP(rt2x00dev, ®)) { in rt2500pci_bbp_read() [all …]
|
/Linux-v5.10/drivers/net/ethernet/sfc/ |
D | io.h | 78 static inline u32 efx_reg(struct efx_nic *efx, unsigned int reg) in efx_reg() argument 80 return efx->reg_base + reg; in efx_reg() 85 unsigned int reg) in _efx_writeq() argument 87 __raw_writeq((__force u64)value, efx->membase + reg); in _efx_writeq() 89 static inline __le64 _efx_readq(struct efx_nic *efx, unsigned int reg) in _efx_readq() argument 91 return (__force __le64)__raw_readq(efx->membase + reg); in _efx_readq() 96 unsigned int reg) in _efx_writed() argument 98 __raw_writel((__force u32)value, efx->membase + reg); in _efx_writed() 100 static inline __le32 _efx_readd(struct efx_nic *efx, unsigned int reg) in _efx_readd() argument 102 return (__force __le32)__raw_readl(efx->membase + reg); in _efx_readd() [all …]
|
/Linux-v5.10/drivers/clk/ |
D | clk-highbank.c | 39 void __iomem *reg; member 47 u32 reg; in clk_pll_prepare() local 49 reg = readl(hbclk->reg); in clk_pll_prepare() 50 reg &= ~HB_PLL_RESET; in clk_pll_prepare() 51 writel(reg, hbclk->reg); in clk_pll_prepare() 53 while ((readl(hbclk->reg) & HB_PLL_LOCK) == 0) in clk_pll_prepare() 55 while ((readl(hbclk->reg) & HB_PLL_LOCK_500) == 0) in clk_pll_prepare() 64 u32 reg; in clk_pll_unprepare() local 66 reg = readl(hbclk->reg); in clk_pll_unprepare() 67 reg |= HB_PLL_RESET; in clk_pll_unprepare() [all …]
|