/openbmc/u-boot/arch/arm/mach-imx/ |
H A D | rdc-sema.c | 18 u32 reg; in imx_rdc_check_sema_required() local 37 u32 reg; in imx_rdc_check_permission() local 53 u8 reg; in imx_rdc_sema_lock() local 83 u8 reg; in imx_rdc_sema_unlock() local 109 u32 reg = 0; in imx_rdc_setup_peri() local
|
/openbmc/linux/arch/x86/pci/ |
H A D | direct.c | 17 #define PCI_CONF1_ADDRESS(bus, devfn, reg) \ argument 22 unsigned int devfn, int reg, int len, u32 *value) in pci_conf1_read() 53 unsigned int devfn, int reg, int len, u32 value) in pci_conf1_write() 93 #define PCI_CONF2_ADDRESS(dev, reg) (u16)(0xC000 | (dev << 8) | reg) argument 96 unsigned int devfn, int reg, int len, u32 *value) in pci_conf2_read() 138 unsigned int devfn, int reg, int len, u32 value) in pci_conf2_write()
|
/openbmc/u-boot/board/freescale/common/ |
H A D | qixis.c | 25 u8 qixis_read_i2c(unsigned int reg) in qixis_read_i2c() 30 void qixis_write_i2c(unsigned int reg, u8 value) in qixis_write_i2c() 38 u8 qixis_read(unsigned int reg) in qixis_read() 45 void qixis_write(unsigned int reg, u8 value) in qixis_write() 153 u8 reg; in set_lbmap() local 162 u8 reg; in set_rcw_src() local
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_asm.c | 25 static bool unreg_is_imm(u16 reg) in unreg_is_imm() 73 u16 reg; in immed_get_value() local 113 static u16 nfp_swreg_to_unreg(swreg reg, bool is_dst) in nfp_swreg_to_unreg() 169 struct nfp_insn_ur_regs *reg) in swreg_to_unrestricted() 204 static u16 nfp_swreg_to_rereg(swreg reg, bool is_dst, bool has_imm8, bool *i8) in nfp_swreg_to_rereg() 250 struct nfp_insn_re_regs *reg, bool has_imm8) in swreg_to_restricted()
|
/openbmc/linux/drivers/net/can/sja1000/ |
H A D | sja1000_isa.c | 69 static u8 sja1000_isa_mem_read_reg(const struct sja1000_priv *priv, int reg) in sja1000_isa_mem_read_reg() 75 int reg, u8 val) in sja1000_isa_mem_write_reg() 80 static u8 sja1000_isa_port_read_reg(const struct sja1000_priv *priv, int reg) in sja1000_isa_port_read_reg() 86 int reg, u8 val) in sja1000_isa_port_write_reg() 92 int reg) in sja1000_isa_port_read_reg_indirect() 106 int reg, u8 val) in sja1000_isa_port_write_reg_indirect()
|
/openbmc/linux/drivers/base/regmap/ |
H A D | regmap-w1.c | 21 static int w1_reg_a8_v8_read(void *context, unsigned int reg, unsigned int *val) in w1_reg_a8_v8_read() 43 static int w1_reg_a8_v8_write(void *context, unsigned int reg, unsigned int val) in w1_reg_a8_v8_write() 69 static int w1_reg_a8_v16_read(void *context, unsigned int reg, in w1_reg_a8_v16_read() 93 static int w1_reg_a8_v16_write(void *context, unsigned int reg, in w1_reg_a8_v16_write() 121 static int w1_reg_a16_v16_read(void *context, unsigned int reg, in w1_reg_a16_v16_read() 146 static int w1_reg_a16_v16_write(void *context, unsigned int reg, in w1_reg_a16_v16_write()
|
/openbmc/u-boot/drivers/video/exynos/ |
H A D | exynos_fb.c | 98 struct exynos_fb *reg; member 104 struct exynos_fb *reg = priv->reg; in exynos_fimd_set_dualrgb() local 122 struct exynos_fb *reg = priv->reg; in exynos_fimd_set_dp_clkcon() local 134 struct exynos_fb *reg = priv->reg; in exynos_fimd_set_par() local 189 struct exynos_fb *reg = priv->reg; in exynos_fimd_set_buffer_address() local 204 struct exynos_fb *reg = priv->reg; in exynos_fimd_set_clock() local 258 struct exynos_fb *reg = priv->reg; in exynos_set_trigger() local 270 struct exynos_fb *reg = priv->reg; in exynos_is_i80_frame_done() local 285 struct exynos_fb *reg = priv->reg; in exynos_fimd_lcd_on() local 297 struct exynos_fb *reg = priv->reg; in exynos_fimd_window_on() local [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-mmio.c | 65 static void bgpio_write8(void __iomem *reg, unsigned long data) in bgpio_write8() 70 static unsigned long bgpio_read8(void __iomem *reg) in bgpio_read8() 75 static void bgpio_write16(void __iomem *reg, unsigned long data) in bgpio_write16() 80 static unsigned long bgpio_read16(void __iomem *reg) in bgpio_read16() 85 static void bgpio_write32(void __iomem *reg, unsigned long data) in bgpio_write32() 90 static unsigned long bgpio_read32(void __iomem *reg) in bgpio_read32() 96 static void bgpio_write64(void __iomem *reg, unsigned long data) in bgpio_write64() 101 static unsigned long bgpio_read64(void __iomem *reg) in bgpio_read64() 112 static unsigned long bgpio_read16be(void __iomem *reg) in bgpio_read16be() 122 static unsigned long bgpio_read32be(void __iomem *reg) in bgpio_read32be() [all …]
|
H A D | gpio-wcove.c | 104 unsigned int reg = type == CTRL_IN ? GPIO_IN_CTRL_BASE : GPIO_OUT_CTRL_BASE; in to_reg() local 114 unsigned int reg = type == IRQ_STATUS ? IRQ_STATUS_BASE : IRQ_MASK_BASE; in to_ireg() local 129 unsigned int mask, reg = to_ireg(gpio, IRQ_MASK, &mask); in wcove_update_irq_mask() local 139 int reg = to_reg(gpio, CTRL_IN); in wcove_update_irq_ctrl() local 147 int reg = to_reg(gpio, CTRL_OUT); in wcove_gpio_dir_in() local 159 int reg = to_reg(gpio, CTRL_OUT); in wcove_gpio_dir_out() local 171 int ret, reg = to_reg(gpio, CTRL_OUT); in wcove_gpio_get_direction() local 190 int ret, reg = to_reg(gpio, CTRL_IN); in wcove_gpio_get() local 205 int reg = to_reg(gpio, CTRL_OUT); in wcove_gpio_set() local 220 int reg = to_reg(gpio, CTRL_OUT); in wcove_gpio_set_config() local [all …]
|
/openbmc/qemu/hw/intc/ |
H A D | arm_gicv3_kvm.c | 136 uint32_t reg, *field; in kvm_dist_get_priority() local 157 uint32_t reg, *field; in kvm_dist_put_priority() local 179 uint32_t reg; in kvm_dist_get_edge_trigger() local 204 uint32_t reg; in kvm_dist_put_edge_trigger() local 230 uint32_t reg; in kvm_gic_get_line_level_bmp() local 241 uint32_t reg; in kvm_gic_put_line_level_bmp() local 253 uint32_t reg; in kvm_dist_getbmp() local 275 uint32_t reg; in kvm_dist_putbmp() local 309 uint32_t reg; in kvm_arm_gicv3_check() local 325 uint32_t regl, regh, reg; in kvm_arm_gicv3_put() local [all …]
|
/openbmc/qemu/hw/nvram/ |
H A D | xlnx-versal-efuse-ctrl.c | 233 static void efuse_isr_postw(RegisterInfo *reg, uint64_t val64) in efuse_isr_postw() 239 static uint64_t efuse_ier_prew(RegisterInfo *reg, uint64_t val64) in efuse_ier_prew() 249 static uint64_t efuse_idr_prew(RegisterInfo *reg, uint64_t val64) in efuse_idr_prew() 297 static void efuse_key_crc_check(RegisterInfo *reg, uint32_t crc, in efuse_key_crc_check() 424 static void efuse_pgm_addr_postw(RegisterInfo *reg, uint64_t val64) in efuse_pgm_addr_postw() 466 static void efuse_rd_addr_postw(RegisterInfo *reg, uint64_t val64) in efuse_rd_addr_postw() 527 static void efuse_aes_crc_postw(RegisterInfo *reg, uint64_t val64) in efuse_aes_crc_postw() 536 static void efuse_aes_u0_crc_postw(RegisterInfo *reg, uint64_t val64) in efuse_aes_u0_crc_postw() 545 static void efuse_aes_u1_crc_postw(RegisterInfo *reg, uint64_t val64) in efuse_aes_u1_crc_postw() 554 static uint64_t efuse_wr_lock_prew(RegisterInfo *reg, uint64_t val) in efuse_wr_lock_prew() [all …]
|
/openbmc/linux/drivers/clk/socfpga/ |
H A D | clk-pll-s10.c | 44 unsigned long fdiv, reg, rdiv, qdiv; in n5x_clk_pll_recalc_rate() local 65 unsigned long arefdiv, reg, mdiv; in agilex_clk_pll_recalc_rate() local 88 unsigned long reg; in clk_pll_recalc_rate() local 143 u32 reg; in clk_pll_prepare() local 156 u32 reg; in n5x_clk_pll_prepare() local 191 void __iomem *reg) in s10_register_pll() 231 void __iomem *reg) in agilex_register_pll() 270 void __iomem *reg) in n5x_register_pll()
|
/openbmc/linux/drivers/net/ipa/ |
H A D | gsi.c | 223 const struct reg *reg; in gsi_irq_ev_ctrl_enable() local 240 const struct reg *reg; in gsi_irq_ev_ctrl_disable() local 256 const struct reg *reg; in gsi_irq_ch_ctrl_enable() local 274 const struct reg *reg; in gsi_irq_ch_ctrl_disable() local 285 const struct reg *reg; in gsi_irq_ieob_enable_one() local 301 const struct reg *reg; in gsi_irq_ieob_disable() local 323 const struct reg *reg; in gsi_irq_enable() local 351 const struct reg *reg; in gsi_irq_disable() local 415 const struct reg *reg; in gsi_evt_ring_command() local 532 const struct reg *reg; in gsi_channel_command() local [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | max98396.c | 355 int reg; in max98396_dai_set_fmt() local 513 int ret, reg, status, bsel = 0; in max98396_dai_hw_params() local 677 int reg; in max98396_dai_tdm_slot() local 823 static bool max98396_readable_register(struct device *dev, unsigned int reg) in max98396_readable_register() 861 static bool max98396_volatile_reg(struct device *dev, unsigned int reg) in max98396_volatile_reg() 916 static bool max98397_volatile_reg(struct device *dev, unsigned int reg) in max98397_volatile_reg() 960 int reg, val; in max98396_mux_get() local 983 int reg, val; in max98396_mux_put() local 1116 int reg = mc->reg; in max98396_adc_value_get() local 1354 int ret, reg, count; in max98396_reset() local [all …]
|
/openbmc/linux/drivers/media/i2c/ |
H A D | cs3308.c | 23 static inline int cs3308_write(struct v4l2_subdev *sd, u8 reg, u8 value) in cs3308_write() 30 static inline int cs3308_read(struct v4l2_subdev *sd, u8 reg) in cs3308_read() 38 static int cs3308_g_register(struct v4l2_subdev *sd, struct v4l2_dbg_register *reg) in cs3308_g_register() 45 static int cs3308_s_register(struct v4l2_subdev *sd, const struct v4l2_dbg_register *reg) in cs3308_s_register()
|
/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
H A D | isp_private.h | 32 const unsigned int reg, in isp_ctrl_store() 47 const unsigned int reg) in isp_ctrl_load() 60 const unsigned int reg, in isp_ctrl_getbit() 70 const unsigned int reg, in isp_ctrl_setbit() 81 const unsigned int reg, in isp_ctrl_clearbit()
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_dcb_82598.c | 23 u32 reg = 0; in ixgbe_dcb_config_rx_arbiter_82598() local 84 u32 reg, max_credits; in ixgbe_dcb_config_tx_desc_arbiter_82598() local 133 u32 reg; in ixgbe_dcb_config_tx_data_arbiter_82598() local 176 u32 fcrtl, reg; in ixgbe_dcb_config_pfc_82598() local 229 u32 reg = 0; in ixgbe_dcb_config_tc_stats_82598() local
|
/openbmc/linux/drivers/mfd/ |
H A D | lm3533-ctrlbank.c | 73 u8 reg; in lm3533_ctrlbank_set_max_current() local 93 u8 reg; in lm3533_ctrlbank_set_brightness() local 107 u8 reg; in lm3533_ctrlbank_get_brightness() local 131 u8 reg; in lm3533_ctrlbank_set_pwm() local 148 u8 reg; in lm3533_ctrlbank_get_pwm() local
|
H A D | rsmu_i2c.c | 47 static bool rsmu_sabre_volatile_reg(struct device *dev, unsigned int reg) in rsmu_sabre_volatile_reg() 57 static int rsmu_read_device(struct rsmu_ddata *rsmu, u8 reg, u8 *buf, u16 bytes) in rsmu_read_device() 87 static int rsmu_write_device(struct rsmu_ddata *rsmu, u8 reg, u8 *buf, u16 bytes) in rsmu_write_device() 110 static int rsmu_write_page_register(struct rsmu_ddata *rsmu, u32 reg) in rsmu_write_page_register() 139 static int rsmu_reg_read(void *context, unsigned int reg, unsigned int *val) in rsmu_reg_read() 156 static int rsmu_reg_write(void *context, unsigned int reg, unsigned int val) in rsmu_reg_write()
|
/openbmc/qemu/tests/qtest/ |
H A D | m48t59-test.c | 34 static uint8_t cmos_read_mmio(QTestState *s, uint8_t reg) in cmos_read_mmio() 39 static void cmos_write_mmio(QTestState *s, uint8_t reg, uint8_t val) in cmos_write_mmio() 46 static uint8_t cmos_read_ioio(QTestState *s, uint8_t reg) in cmos_read_ioio() 52 static void cmos_write_ioio(QTestState *s, uint8_t reg, uint8_t val) in cmos_write_ioio() 58 static uint8_t cmos_read(QTestState *s, uint8_t reg) in cmos_read() 67 static void cmos_write(QTestState *s, uint8_t reg, uint8_t val) in cmos_write() 223 uint8_t reg, val; in fuzz_registers() local
|
/openbmc/linux/drivers/hwmon/ |
H A D | w83627ehf.c | 275 div_from_reg(u8 reg) in div_from_reg() 464 u8 reg; in w83627ehf_write_fan_div() local 590 u16 reg; in w83627ehf_update_device() local 720 unsigned int reg; in store_in_reg() local 819 u16 reg; in store_pwm_mode() local 852 u16 reg; in store_pwm_enable() local 914 u16 reg; in store_tolerance() local 1093 u16 reg; in clear_caseopen() local 1741 u8 reg; in w83627ehf_probe() local 1788 u8 reg; in w83627ehf_probe() local [all …]
|
/openbmc/u-boot/arch/arm/mach-sunxi/ |
H A D | pmic_bus.c | 61 int pmic_bus_read(u8 reg, u8 *data) in pmic_bus_read() 78 int pmic_bus_write(u8 reg, u8 data) in pmic_bus_write() 95 int pmic_bus_setbits(u8 reg, u8 bits) in pmic_bus_setbits() 111 int pmic_bus_clrbits(u8 reg, u8 bits) in pmic_bus_clrbits()
|
/openbmc/linux/sound/firewire/motu/ |
H A D | motu-protocol-v3.c | 40 __be32 reg; in snd_motu_protocol_v3_get_clock_rate() local 62 __be32 reg; in snd_motu_protocol_v3_set_clock_rate() local 110 __be32 reg; in snd_motu_protocol_v3_get_clock_source() local 139 __be32 reg; in snd_motu_protocol_v3_get_clock_source() local 172 __be32 reg; in snd_motu_protocol_v3_switch_fetching_mode() local 239 __be32 reg; in snd_motu_protocol_v3_cache_packet_formats() local
|
/openbmc/linux/drivers/clk/berlin/ |
H A D | berlin2-div.c | 69 u32 reg; in berlin2_div_is_enabled() local 87 u32 reg; in berlin2_div_enable() local 106 u32 reg; in berlin2_div_disable() local 123 u32 reg; in berlin2_div_set_parent() local 154 u32 reg; in berlin2_div_get_parent() local 199 u32 reg; in berlin2_div_recalc_rate() local
|
/openbmc/linux/drivers/net/can/cc770/ |
H A D | cc770_isa.c | 112 static u8 cc770_isa_mem_read_reg(const struct cc770_priv *priv, int reg) in cc770_isa_mem_read_reg() 118 int reg, u8 val) in cc770_isa_mem_write_reg() 123 static u8 cc770_isa_port_read_reg(const struct cc770_priv *priv, int reg) in cc770_isa_port_read_reg() 129 int reg, u8 val) in cc770_isa_port_write_reg() 135 int reg) in cc770_isa_port_read_reg_indirect() 150 int reg, u8 val) in cc770_isa_port_write_reg_indirect()
|