/openbmc/linux/drivers/video/fbdev/ |
H A D | sstfb.c | 129 static void sst_dbg_print_read_reg(u32 reg, u32 val) { in sst_dbg_print_read_reg() 147 static void sst_dbg_print_write_reg(u32 reg, u32 val) { in sst_dbg_print_write_reg() 165 # define sst_dbg_print_read_reg(reg, val) do {} while(0) argument 166 # define sst_dbg_print_write_reg(reg, val) do {} while(0) argument 174 #define sst_read(reg) __sst_read(par->mmio_vbase, reg) argument 178 #define sst_dac_read(reg) __sst_dac_read(par->mmio_vbase, reg) argument 180 #define dac_i_read(reg) __dac_i_read(par->mmio_vbase, reg) argument 183 static inline u32 __sst_read(u8 __iomem *vbase, u32 reg) in __sst_read() 242 static u8 __sst_dac_read(u8 __iomem *vbase, u8 reg) in __sst_dac_read() 265 static u32 __dac_i_read(u8 __iomem *vbase, u8 reg) in __dac_i_read() [all …]
|
/openbmc/linux/drivers/clk/sunxi/ |
H A D | clk-sun9i-cpus.c | 29 #define SUN9I_CPUS_MUX_GET_PARENT(reg) ((reg & SUN9I_CPUS_MUX_MASK) >> \ argument 34 #define SUN9I_CPUS_DIV_GET(reg) ((reg & SUN9I_CPUS_DIV_MASK) >> \ argument 36 #define SUN9I_CPUS_DIV_SET(reg, div) ((reg & ~SUN9I_CPUS_DIV_MASK) | \ argument 40 #define SUN9I_CPUS_PLL4_DIV_GET(reg) ((reg & SUN9I_CPUS_PLL4_DIV_MASK) >> \ argument 42 #define SUN9I_CPUS_PLL4_DIV_SET(reg, div) ((reg & ~SUN9I_CPUS_PLL4_DIV_MASK) | \ argument 47 void __iomem *reg; member 57 u32 reg; in sun9i_a80_cpus_clk_recalc_rate() local 158 u32 reg; in sun9i_a80_cpus_clk_set_rate() local
|
/openbmc/linux/arch/powerpc/crypto/ |
H A D | aes-spe-modes.S | 13 #define LOAD_DATA(reg, off) \ argument 15 #define SAVE_DATA(reg, off) \ argument 20 #define LOAD_IV(reg, off) \ argument 22 #define SAVE_IV(reg, off) \ argument 30 #define LOAD_DATA(reg, off) \ argument 33 #define SAVE_DATA(reg, off) \ argument 37 #define LOAD_IV(reg, off) \ argument 40 #define SAVE_IV(reg, off) \ argument
|
/openbmc/linux/tools/perf/util/ |
H A D | amd-sample-raw.c | 23 static void pr_ibs_fetch_ctl(union ibs_fetch_ctl reg) in pr_ibs_fetch_ctl() 73 static void pr_ic_ibs_extd_ctl(union ic_ibs_extd_ctl reg) in pr_ic_ibs_extd_ctl() 78 static void pr_ibs_op_ctl(union ibs_op_ctl reg) in pr_ibs_op_ctl() 91 static void pr_ibs_op_data(union ibs_op_data reg) in pr_ibs_op_data() 102 static void pr_ibs_op_data2_extended(union ibs_op_data2 reg) in pr_ibs_op_data2_extended() 129 static void pr_ibs_op_data2_default(union ibs_op_data2 reg) in pr_ibs_op_data2_default() 148 static void pr_ibs_op_data2(union ibs_op_data2 reg) in pr_ibs_op_data2() 155 static void pr_ibs_op_data3(union ibs_op_data3 reg) in pr_ibs_op_data3()
|
/openbmc/linux/arch/mips/include/asm/mach-lantiq/ |
H A D | lantiq.h | 14 #define ltq_r32(reg) __raw_readl(reg) argument 15 #define ltq_w32(val, reg) __raw_writel(val, reg) argument 16 #define ltq_w32_mask(clear, set, reg) \ argument 18 #define ltq_r8(reg) __raw_readb(reg) argument 19 #define ltq_w8(val, reg) __raw_writeb(val, reg) argument
|
/openbmc/linux/drivers/edac/ |
H A D | i10nm_base.c | 23 #define I10NM_GET_SCK_BAR(d, reg) \ argument 25 #define I10NM_GET_IMC_BAR(d, i, reg) \ argument 31 #define I10NM_GET_HBM_IMC_BAR(d, reg) \ argument 33 #define I10NM_GET_CAPID3_CFG(d, reg) \ argument 36 #define I10NM_GET_CAPID5_CFG(d, reg) \ argument 354 u32 reg; in i10nm_get_imc_num() local 414 u32 reg; in i10nm_check_2lm() local 622 u32 reg; in get_ddr_munit() local 704 u32 reg, off; in i10nm_get_ddr_munits() local 768 u32 reg; in i10nm_check_hbm_imc() local [all …]
|
/openbmc/linux/arch/sh/include/mach-common/mach/ |
H A D | magicpanelr2.h | 19 #define SETBITS_OUTB(mask, reg) __raw_writeb(__raw_readb(reg) | mask, reg) argument 20 #define SETBITS_OUTW(mask, reg) __raw_writew(__raw_readw(reg) | mask, reg) argument 21 #define SETBITS_OUTL(mask, reg) __raw_writel(__raw_readl(reg) | mask, reg) argument 22 #define CLRBITS_OUTB(mask, reg) __raw_writeb(__raw_readb(reg) & ~mask, reg) argument 23 #define CLRBITS_OUTW(mask, reg) __raw_writew(__raw_readw(reg) & ~mask, reg) argument 24 #define CLRBITS_OUTL(mask, reg) __raw_writel(__raw_readl(reg) & ~mask, reg) argument
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | i2c.c | 23 void i2c_read_block(QI2CDevice *i2cdev, uint8_t reg, in i2c_read_block() 30 void i2c_write_block(QI2CDevice *i2cdev, uint8_t reg, in i2c_write_block() 40 uint8_t i2c_get8(QI2CDevice *i2cdev, uint8_t reg) in i2c_get8() 47 uint16_t i2c_get16(QI2CDevice *i2cdev, uint8_t reg) in i2c_get16() 54 void i2c_set8(QI2CDevice *i2cdev, uint8_t reg, uint8_t value) in i2c_set8() 59 void i2c_set16(QI2CDevice *i2cdev, uint8_t reg, uint16_t value) in i2c_set16()
|
H A D | sdhci.c | 28 bool sdma, uint64_t reg) in set_qsdhci_fields() 38 static uint16_t sdhci_mm_readw(QSDHCI *s, uint32_t reg) in sdhci_mm_readw() 44 static uint64_t sdhci_mm_readq(QSDHCI *s, uint32_t reg) in sdhci_mm_readq() 50 static void sdhci_mm_writeq(QSDHCI *s, uint32_t reg, uint64_t val) in sdhci_mm_writeq() 80 static uint16_t sdhci_pci_readw(QSDHCI *s, uint32_t reg) in sdhci_pci_readw() 86 static uint64_t sdhci_pci_readq(QSDHCI *s, uint32_t reg) in sdhci_pci_readq() 92 static void sdhci_pci_writeq(QSDHCI *s, uint32_t reg, uint64_t val) in sdhci_pci_writeq()
|
/openbmc/linux/sound/soc/tegra/ |
H A D | tegra210_amx.c | 36 #define AMX_CH_REG(id, reg) ((reg) + ((id) * TEGRA210_AMX_AUDIOCIF_CH_STRIDE)) argument 131 unsigned int reg) in tegra210_amx_set_audio_cif() 198 int reg = mc->reg; in tegra210_amx_get_byte_map() local 232 int reg = mc->reg; in tegra210_amx_put_byte_map() local 345 #define TEGRA210_AMX_BYTE_MAP_CTRL(reg) \ argument 426 static bool tegra210_amx_wr_reg(struct device *dev, unsigned int reg) in tegra210_amx_wr_reg() 439 static bool tegra194_amx_wr_reg(struct device *dev, unsigned int reg) in tegra194_amx_wr_reg() 449 static bool tegra210_amx_rd_reg(struct device *dev, unsigned int reg) in tegra210_amx_rd_reg() 459 static bool tegra194_amx_rd_reg(struct device *dev, unsigned int reg) in tegra194_amx_rd_reg() 469 static bool tegra210_amx_volatile_reg(struct device *dev, unsigned int reg) in tegra210_amx_volatile_reg()
|
/openbmc/linux/drivers/mfd/ |
H A D | pcf50633-gpio.c | 35 u8 reg; in pcf50633_gpio_set() local 45 u8 reg, val; in pcf50633_gpio_get() local 56 u8 val, reg; in pcf50633_gpio_invert_set() local 67 u8 reg, val; in pcf50633_gpio_invert_get() local 79 u8 reg, val, mask; in pcf50633_gpio_power_supply_set() local
|
H A D | cs47l85-tables.c | 1687 static bool cs47l85_is_adsp_memory(unsigned int reg) in cs47l85_is_adsp_memory() 1727 unsigned int reg) in cs47l85_16bit_readable_register() 2742 unsigned int reg) in cs47l85_16bit_volatile_register() 2790 unsigned int reg) in cs47l85_32bit_readable_register() 2809 unsigned int reg) in cs47l85_32bit_volatile_register()
|
H A D | max8907.c | 26 static bool max8907_gen_is_volatile_reg(struct device *dev, unsigned int reg) in max8907_gen_is_volatile_reg() 41 static bool max8907_gen_is_precious_reg(struct device *dev, unsigned int reg) in max8907_gen_is_precious_reg() 54 static bool max8907_gen_is_writeable_reg(struct device *dev, unsigned int reg) in max8907_gen_is_writeable_reg() 69 static bool max8907_rtc_is_volatile_reg(struct device *dev, unsigned int reg) in max8907_rtc_is_volatile_reg() 83 static bool max8907_rtc_is_precious_reg(struct device *dev, unsigned int reg) in max8907_rtc_is_precious_reg() 93 static bool max8907_rtc_is_writeable_reg(struct device *dev, unsigned int reg) in max8907_rtc_is_writeable_reg()
|
H A D | wm5110-tables.c | 1815 static bool wm5110_is_rev_b_adsp_memory(unsigned int reg) in wm5110_is_rev_b_adsp_memory() 1838 static bool wm5110_is_rev_d_adsp_memory(unsigned int reg) in wm5110_is_rev_d_adsp_memory() 1861 static bool wm5110_is_adsp_memory(struct device *dev, unsigned int reg) in wm5110_is_adsp_memory() 1873 static bool wm5110_readable_register(struct device *dev, unsigned int reg) in wm5110_readable_register() 3016 static bool wm5110_volatile_register(struct device *dev, unsigned int reg) in wm5110_volatile_register()
|
/openbmc/linux/arch/mips/include/asm/mach-ralink/ |
H A D | ralink_regs.h | 35 static inline void rt_sysc_w32(u32 val, unsigned reg) in rt_sysc_w32() 40 static inline u32 rt_sysc_r32(unsigned reg) in rt_sysc_r32() 45 static inline void rt_sysc_m32(u32 clr, u32 set, unsigned reg) in rt_sysc_m32() 52 static inline void rt_memc_w32(u32 val, unsigned reg) in rt_memc_w32() 57 static inline u32 rt_memc_r32(unsigned reg) in rt_memc_r32()
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt_mcr.c | 246 i915_mcr_reg_t reg, u8 rw_flag, in rw_with_mcr_steering_fw() 323 i915_mcr_reg_t reg, u8 rw_flag, in rw_with_mcr_steering() 454 i915_mcr_reg_t reg, in intel_gt_mcr_read() 473 void intel_gt_mcr_unicast_write(struct intel_gt *gt, i915_mcr_reg_t reg, u32 value, in intel_gt_mcr_unicast_write() 490 i915_mcr_reg_t reg, u32 value) in intel_gt_mcr_multicast_write() 555 u32 intel_gt_mcr_multicast_rmw(struct intel_gt *gt, i915_mcr_reg_t reg, in intel_gt_mcr_multicast_rmw() 580 i915_mcr_reg_t reg, in reg_needs_read_steering() 680 i915_mcr_reg_t reg, in intel_gt_mcr_get_nonterminated_steering() 711 u32 intel_gt_mcr_read_any_fw(struct intel_gt *gt, i915_mcr_reg_t reg) in intel_gt_mcr_read_any_fw() 742 u32 intel_gt_mcr_read_any(struct intel_gt *gt, i915_mcr_reg_t reg) in intel_gt_mcr_read_any() [all …]
|
/openbmc/u-boot/drivers/mmc/ |
H A D | bcm2835_sdhci.c | 70 int reg) in bcm2835_sdhci_raw_writel() 92 static inline u32 bcm2835_sdhci_raw_readl(struct sdhci_host *host, int reg) in bcm2835_sdhci_raw_readl() 97 static void bcm2835_sdhci_writel(struct sdhci_host *host, u32 val, int reg) in bcm2835_sdhci_writel() 102 static void bcm2835_sdhci_writew(struct sdhci_host *host, u16 val, int reg) in bcm2835_sdhci_writew() 118 static void bcm2835_sdhci_writeb(struct sdhci_host *host, u8 val, int reg) in bcm2835_sdhci_writeb() 129 static u32 bcm2835_sdhci_readl(struct sdhci_host *host, int reg) in bcm2835_sdhci_readl() 136 static u16 bcm2835_sdhci_readw(struct sdhci_host *host, int reg) in bcm2835_sdhci_readw() 146 static u8 bcm2835_sdhci_readb(struct sdhci_host *host, int reg) in bcm2835_sdhci_readb()
|
/openbmc/linux/drivers/regulator/ |
H A D | anatop-regulator.c | 34 static int anatop_regmap_set_voltage_time_sel(struct regulator_dev *reg, in anatop_regmap_set_voltage_time_sel() 60 static int anatop_regmap_enable(struct regulator_dev *reg) in anatop_regmap_enable() 69 static int anatop_regmap_disable(struct regulator_dev *reg) in anatop_regmap_disable() 74 static int anatop_regmap_is_enabled(struct regulator_dev *reg) in anatop_regmap_is_enabled() 79 static int anatop_regmap_core_set_voltage_sel(struct regulator_dev *reg, in anatop_regmap_core_set_voltage_sel() 96 static int anatop_regmap_core_get_voltage_sel(struct regulator_dev *reg) in anatop_regmap_core_get_voltage_sel() 106 static int anatop_regmap_get_bypass(struct regulator_dev *reg, bool *enable) in anatop_regmap_get_bypass() 121 static int anatop_regmap_set_bypass(struct regulator_dev *reg, bool enable) in anatop_regmap_set_bypass()
|
/openbmc/linux/sound/pci/emu10k1/ |
H A D | io.c | 19 static inline bool check_ptr_reg(struct snd_emu10k1 *emu, unsigned int reg) in check_ptr_reg() 111 u32 reg = va_arg(va, u32); in snd_emu10k1_ptr_write_multiple() local 127 unsigned int reg, in snd_emu10k1_ptr20_read() 143 unsigned int reg, in snd_emu10k1_ptr20_write() 162 unsigned int reg, tmp; in snd_emu10k1_spi_write() local 213 u32 reg, in snd_emu10k1_i2c_write() 274 static void snd_emu1010_fpga_write_locked(struct snd_emu10k1 *emu, u32 reg, u32 value) in snd_emu1010_fpga_write_locked() 291 void snd_emu1010_fpga_write(struct snd_emu10k1 *emu, u32 reg, u32 value) in snd_emu1010_fpga_write() 300 static void snd_emu1010_fpga_read_locked(struct snd_emu10k1 *emu, u32 reg, u32 *value) in snd_emu1010_fpga_read_locked() 317 void snd_emu1010_fpga_read(struct snd_emu10k1 *emu, u32 reg, u32 *value) in snd_emu1010_fpga_read() [all …]
|
/openbmc/qemu/hw/dma/ |
H A D | xlnx_csu_dma.c | 329 static uint64_t addr_pre_write(RegisterInfo *reg, uint64_t val) in addr_pre_write() 335 static uint64_t size_pre_write(RegisterInfo *reg, uint64_t val) in size_pre_write() 356 static uint64_t size_post_read(RegisterInfo *reg, uint64_t val) in size_post_read() 363 static void size_post_write(RegisterInfo *reg, uint64_t val) in size_post_write() 389 static uint64_t status_pre_write(RegisterInfo *reg, uint64_t val) in status_pre_write() 394 static void ctrl_post_write(RegisterInfo *reg, uint64_t val) in ctrl_post_write() 421 static void int_status_post_write(RegisterInfo *reg, uint64_t val) in int_status_post_write() 444 static void int_enable_post_write(RegisterInfo *reg, uint64_t val) in int_enable_post_write() 467 static void int_disable_post_write(RegisterInfo *reg, uint64_t val) in int_disable_post_write() 474 static uint64_t addr_msb_pre_write(RegisterInfo *reg, uint64_t val) in addr_msb_pre_write() [all …]
|
/openbmc/u-boot/drivers/rtc/ |
H A D | rtc-uclass.c | 42 int rtc_read8(struct udevice *dev, unsigned int reg) in rtc_read8() 52 int rtc_write8(struct udevice *dev, unsigned int reg, int val) in rtc_write8() 62 int rtc_read16(struct udevice *dev, unsigned int reg, u16 *valuep) in rtc_read16() 79 int rtc_write16(struct udevice *dev, unsigned int reg, u16 value) in rtc_write16() 92 int rtc_read32(struct udevice *dev, unsigned int reg, u32 *valuep) in rtc_read32() 109 int rtc_write32(struct udevice *dev, unsigned int reg, u32 value) in rtc_write32()
|
/openbmc/u-boot/drivers/video/ |
H A D | ipu_disp.c | 183 u32 reg; in ipu_di_data_wave_config() local 192 u32 reg; in ipu_di_data_pin_config() local 211 u32 reg; in ipu_di_sync_config() local 240 u32 reg; in ipu_dc_map_config() local 263 u32 reg; in ipu_dc_write_tmpl() local 281 u32 reg; in ipu_dc_link_event() local 382 u32 reg; in ipu_dp_csc_setup() local 423 uint32_t reg; in ipu_dp_init() local 532 u32 reg = 0; in ipu_dc_init() local 610 uint32_t reg; in ipu_dp_dc_enable() local [all …]
|
/openbmc/linux/drivers/net/ethernet/atheros/alx/ |
H A D | hw.c | 62 u16 reg, u16 *phy_data) in alx_read_phy_core() 99 u16 reg, u16 phy_data) in alx_write_phy_core() 149 static int __alx_read_phy_dbg(struct alx_hw *hw, u16 reg, u16 *pdata) in __alx_read_phy_dbg() 160 static int __alx_write_phy_dbg(struct alx_hw *hw, u16 reg, u16 data) in __alx_write_phy_dbg() 171 int alx_read_phy_reg(struct alx_hw *hw, u16 reg, u16 *phy_data) in alx_read_phy_reg() 182 int alx_write_phy_reg(struct alx_hw *hw, u16 reg, u16 phy_data) in alx_write_phy_reg() 193 int alx_read_phy_ext(struct alx_hw *hw, u8 dev, u16 reg, u16 *pdata) in alx_read_phy_ext() 204 int alx_write_phy_ext(struct alx_hw *hw, u8 dev, u16 reg, u16 data) in alx_write_phy_ext() 215 static int alx_read_phy_dbg(struct alx_hw *hw, u16 reg, u16 *pdata) in alx_read_phy_dbg() 226 static int alx_write_phy_dbg(struct alx_hw *hw, u16 reg, u16 data) in alx_write_phy_dbg() [all …]
|
/openbmc/u-boot/arch/x86/cpu/quark/ |
H A D | mrc_util.c | 140 uint32_t reg; in set_rcvn() local 215 uint32_t reg; in get_rcvn() local 264 uint32_t reg; in set_rdqs() local 301 uint32_t reg; in get_rdqs() local 334 uint32_t reg; in set_wdqs() local 409 uint32_t reg; in get_wdqs() local 458 uint32_t reg; in set_wdq() local 533 uint32_t reg; in get_wdq() local 579 uint32_t reg; in set_wcmd() local 652 uint32_t reg; in get_wcmd() local [all …]
|
/openbmc/linux/drivers/misc/mei/ |
H A D | hw-me.c | 84 u32 reg; in mei_me_mecsr_read() local 101 u32 reg; in mei_hcsr_read() local 156 u32 reg; in mei_me_d0i3c_read() local 698 u32 reg; in mei_me_pg_set() local 717 u32 reg; in mei_me_pg_unset() local 922 u32 reg; in mei_me_d0i3_enter_sync() local 997 u32 reg; in mei_me_d0i3_enter() local 1025 u32 reg; in mei_me_d0i3_exit_sync() local 1481 u32 reg; in mei_me_fw_type_nm() local 1507 u32 reg; in mei_me_fw_type_sps_4() local [all …]
|