/openbmc/linux/drivers/clk/rockchip/ |
H A D | rst-rk3588.c | 14 #define RK3588_CRU_RESET_OFFSET(id, reg, bit) [id] = (0 + reg * 16 + bit) argument 17 #define RK3588_PHPTOPCRU_RESET_OFFSET(id, reg, bit) [id] = (0x8000*4 + reg * 16 + bit) argument 20 #define RK3588_SECURECRU_RESET_OFFSET(id, reg, bit) [id] = (0x10000*4 + reg * 16 + bit) argument 23 #define RK3588_PMU1CRU_RESET_OFFSET(id, reg, bit) [id] = (0x30000*4 + reg * 16 + bit) argument
|
/openbmc/linux/sound/soc/img/ |
H A D | img-i2s-in.c | 99 u32 val, u32 reg) in img_i2s_in_ch_writel() 105 u32 reg) in img_i2s_in_ch_readl() 112 u32 reg; in img_i2s_in_ch_disable() local 121 u32 reg; in img_i2s_in_ch_enable() local 130 u32 reg; in img_i2s_in_disable() local 139 u32 reg; in img_i2s_in_enable() local 149 u32 reg; in img_i2s_in_flush() local 221 u32 reg, control_mask, chan_control_mask; in img_i2s_in_hw_params() local 307 u32 reg; in img_i2s_in_set_fmt() local 547 u32 reg; in img_i2s_in_suspend() local [all …]
|
/openbmc/qemu/hw/net/can/ |
H A D | xlnx-zynqmp-can.c | 294 static void can_ier_post_write(RegisterInfo *reg, uint64_t val) in can_ier_post_write() 301 static uint64_t can_icr_pre_write(RegisterInfo *reg, uint64_t val) in can_icr_pre_write() 542 static uint64_t can_srr_pre_write(RegisterInfo *reg, uint64_t val) in can_srr_pre_write() 580 static uint64_t can_msr_pre_write(RegisterInfo *reg, uint64_t val) in can_msr_pre_write() 630 static uint64_t can_brpr_pre_write(RegisterInfo *reg, uint64_t val) in can_brpr_pre_write() 642 static uint64_t can_btr_pre_write(RegisterInfo *reg, uint64_t val) in can_btr_pre_write() 654 static uint64_t can_tcr_pre_write(RegisterInfo *reg, uint64_t val) in can_tcr_pre_write() 781 static uint64_t can_rxfifo_post_read_id(RegisterInfo *reg, uint64_t val) in can_rxfifo_post_read_id() 799 static void can_filter_enable_post_write(RegisterInfo *reg, uint64_t val) in can_filter_enable_post_write() 835 static uint64_t can_filter_id_pre_write(RegisterInfo *reg, uint64_t val) in can_filter_id_pre_write() [all …]
|
/openbmc/linux/drivers/base/regmap/ |
H A D | regmap-i2c.c | 15 static int regmap_smbus_byte_reg_read(void *context, unsigned int reg, in regmap_smbus_byte_reg_read() 34 static int regmap_smbus_byte_reg_write(void *context, unsigned int reg, in regmap_smbus_byte_reg_write() 51 static int regmap_smbus_word_reg_read(void *context, unsigned int reg, in regmap_smbus_word_reg_read() 70 static int regmap_smbus_word_reg_write(void *context, unsigned int reg, in regmap_smbus_word_reg_write() 87 static int regmap_smbus_word_read_swapped(void *context, unsigned int reg, in regmap_smbus_word_read_swapped() 106 static int regmap_smbus_word_write_swapped(void *context, unsigned int reg, in regmap_smbus_word_write_swapped() 139 const void *reg, size_t reg_size, in regmap_i2c_gather_write() 173 const void *reg, size_t reg_size, in regmap_i2c_read() 222 static int regmap_i2c_smbus_i2c_read(void *context, const void *reg, in regmap_i2c_smbus_i2c_read() 263 static int regmap_i2c_smbus_i2c_read_reg16(void *context, const void *reg, in regmap_i2c_smbus_i2c_read_reg16()
|
H A D | regcache-flat.c | 15 static inline unsigned int regcache_flat_get_index(const struct regmap *map, in regcache_flat_get_index() 37 unsigned int reg = map->reg_defaults[i].reg; in regcache_flat_init() local 55 unsigned int reg, unsigned int *value) in regcache_flat_read() 65 static int regcache_flat_write(struct regmap *map, unsigned int reg, in regcache_flat_write()
|
/openbmc/linux/fs/ocfs2/cluster/ |
H A D | heartbeat.c | 284 struct o2hb_region *reg = in o2hb_write_timeout() local 369 struct o2hb_region *reg; in o2hb_nego_timeout() local 434 struct o2hb_region *reg = data; in o2hb_nego_timeout_handler() local 451 struct o2hb_region *reg = data; in o2hb_nego_approve_handler() local 1191 struct o2hb_region *reg = data; in o2hb_thread() local 1270 struct o2hb_region *reg; in o2hb_debug_open() local 1993 struct o2hb_region *reg = NULL; in o2hb_heartbeat_group_make_item() local 2260 struct o2hb_region *reg; in o2hb_region_pin() local 2312 struct o2hb_region *reg; in o2hb_region_unpin() local 2497 struct o2hb_region *reg; in o2hb_stop_all_regions() local [all …]
|
/openbmc/linux/sound/firewire/motu/ |
H A D | motu-protocol-v1.c | 135 __be32 reg; in get_clock_rate_828() local 170 __be32 reg; in get_clock_rate_896() local 191 __be32 reg; in set_clock_rate_828() local 211 __be32 reg; in set_clock_rate_896() local 256 __be32 reg; in get_clock_source_828() local 295 __be32 reg; in get_clock_source_896() local 342 __be32 reg; in switch_fetching_mode_828() local 366 __be32 reg; in switch_fetching_mode_896() local 395 __be32 reg; in detect_packet_formats_828() local
|
/openbmc/u-boot/board/freescale/t102xrdb/ |
H A D | cpld.c | 15 u8 cpld_read(unsigned int reg) in cpld_read() 22 void cpld_write(unsigned int reg, u8 value) in cpld_write() 34 u8 reg = CPLD_READ(flash_csr); in cpld_set_altbank() local 47 u8 reg = CPLD_READ(flash_csr); in cpld_set_defbank() local
|
/openbmc/u-boot/board/freescale/t104xrdb/ |
H A D | cpld.c | 19 u8 cpld_read(unsigned int reg) in cpld_read() 26 void cpld_write(unsigned int reg, u8 value) in cpld_write() 38 u8 reg = CPLD_READ(flash_ctl_status); in cpld_set_altbank() local 51 u8 reg = CPLD_READ(flash_ctl_status); in cpld_set_defbank() local
|
/openbmc/linux/drivers/net/fjes/ |
H A D | fjes_regs.h | 50 __le32 reg; member 58 __le32 reg; member 68 __le32 reg; member 79 __le32 reg; member 89 __le32 reg; member 98 __le32 reg; member 119 #define wr32(reg, val) \ argument 125 #define rd32(reg) (fjes_hw_rd32(hw, reg)) argument
|
/openbmc/linux/drivers/clk/sunxi/ |
H A D | clk-sun9i-core.c | 78 void __iomem *reg; in sun9i_a80_pll4_setup() local 132 void __iomem *reg; in sun9i_a80_gt_setup() local 187 void __iomem *reg; in sun9i_a80_ahb_setup() local 213 void __iomem *reg; in sun9i_a80_apb0_setup() local 270 void __iomem *reg; in sun9i_a80_apb1_setup() local
|
/openbmc/linux/drivers/media/pci/cx23885/ |
H A D | cx23885-ioctl.c | 32 struct v4l2_dbg_register *reg) in cx23417_g_register() 51 struct v4l2_dbg_register *reg) in cx23885_g_register() 69 const struct v4l2_dbg_register *reg) in cx23417_s_register() 83 const struct v4l2_dbg_register *reg) in cx23885_s_register()
|
/openbmc/linux/drivers/mfd/ |
H A D | wm8350-regmap.c | 281 static bool wm8350_readable(struct device *dev, unsigned int reg) in wm8350_readable() 286 static bool wm8350_writeable(struct device *dev, unsigned int reg) in wm8350_writeable() 301 static bool wm8350_volatile(struct device *dev, unsigned int reg) in wm8350_volatile() 306 static bool wm8350_precious(struct device *dev, unsigned int reg) in wm8350_precious()
|
H A D | max8925-i2c.c | 19 int reg, int bytes, void *dest) in max8925_read_device() 35 int reg, int bytes, void *src) in max8925_write_device() 49 int max8925_reg_read(struct i2c_client *i2c, int reg) in max8925_reg_read() 66 int max8925_reg_write(struct i2c_client *i2c, int reg, in max8925_reg_write() 80 int max8925_bulk_read(struct i2c_client *i2c, int reg, in max8925_bulk_read() 94 int max8925_bulk_write(struct i2c_client *i2c, int reg, in max8925_bulk_write() 108 int max8925_set_bits(struct i2c_client *i2c, int reg, in max8925_set_bits()
|
/openbmc/linux/sound/pci/ac97/ |
H A D | ac97_patch.h | 10 #define AC97_SINGLE_VALUE(reg,shift,mask,invert) \ argument 13 #define AC97_PAGE_SINGLE_VALUE(reg,shift,mask,invert,page) \ argument 15 #define AC97_SINGLE(xname, reg, shift, mask, invert) \ argument 20 #define AC97_PAGE_SINGLE(xname, reg, shift, mask, invert, page) \ argument 25 #define AC97_DOUBLE(xname, reg, shift_left, shift_right, mask, invert) \ argument 33 unsigned char reg; member
|
/openbmc/linux/drivers/media/pci/ddbridge/ |
H A D | ddbridge-i2c.h | 53 u8 adr, u8 reg, u8 *val, u8 len) in i2c_read_regs() 64 u8 adr, u16 reg, u8 *val, u8 len) in i2c_read_regs16() 76 u8 adr, u16 reg, u8 val) in i2c_write_reg16() 84 u8 adr, u8 reg, u8 val) in i2c_write_reg() 92 u8 adr, u16 reg, u8 *val) in i2c_read_reg16() 98 u8 adr, u8 reg, u8 *val) in i2c_read_reg()
|
/openbmc/u-boot/board/freescale/ls1046ardb/ |
H A D | cpld.c | 13 u8 cpld_read(unsigned int reg) in cpld_read() 20 void cpld_write(unsigned int reg, u8 value) in cpld_write() 30 u16 reg = CPLD_CFG_RCW_SRC_QSPI; in cpld_set_altbank() local 52 u16 reg = CPLD_CFG_RCW_SRC_QSPI; in cpld_set_defbank() local 71 u16 reg = CPLD_CFG_RCW_SRC_SD; in cpld_set_sd() local
|
/openbmc/u-boot/arch/riscv/lib/ |
H A D | crt0_riscv_efi.S | 15 #define SAVE_LONG(reg, idx) sd reg, (idx*SIZE_LONG)(sp) argument 16 #define LOAD_LONG(reg, idx) ld reg, (idx*SIZE_LONG)(sp) argument 20 #define SAVE_LONG(reg, idx) sw reg, (idx*SIZE_LONG)(sp) argument 21 #define LOAD_LONG(reg, idx) lw reg, (idx*SIZE_LONG)(sp) argument
|
/openbmc/u-boot/drivers/ddr/marvell/axp/ |
H A D | ddr3_hw_training.c | 83 u32 freq, reg; in ddr3_hw_training() local 487 u32 tmp1, tmp2, reg; in ddr3_set_performance_params() local 549 u32 reg = 0; in ddr3_write_pup_reg() local 599 u32 reg; in ddr3_read_pup_reg() local 621 u32 reg; in ddr3_load_patterns() local 792 u32 val, reg, idx, dqs_wr_idx = 0, crc = 0; in ddr3_read_training_results() local 915 u32 freq, reg; in ddr3_training_suspend_resume() local 1019 int ddr3_get_min_max_read_sample_delay(u32 cs_enable, u32 reg, u32 *min, in ddr3_get_min_max_read_sample_delay() 1048 u32 pup, reg, phase; in ddr3_get_min_max_rl_phase() local 1069 u32 reg, mask; in ddr3_odt_activate() local [all …]
|
H A D | ddr3_init.c | 69 static void debug_print_reg(u32 reg) in debug_print_reg() 140 u32 ui, reg, cs; in ddr3_restore_and_set_final_windows() local 199 u32 reg, tmp_count, cs, ui; in ddr3_save_and_set_training_windows() local 354 u32 reg = 0; in ddr3_init_main() local 694 u32 reg, cpu_freq; in ddr3_get_cpu_freq() local 727 __maybe_unused u32 reg, fab_opt; in ddr3_get_fab_opt() local 783 u32 reg; in ddr3_static_training_init() local 818 u32 reg, tmp; in ddr3_get_static_mc_value() local 883 u32 reg; in ddr3_static_mc_init() local
|
/openbmc/linux/drivers/net/wireless/silabs/wfx/ |
H A D | hwio.c | 20 static int wfx_read32(struct wfx_dev *wdev, int reg, u32 *val) in wfx_read32() 37 static int wfx_write32(struct wfx_dev *wdev, int reg, u32 val) in wfx_write32() 52 static int wfx_read32_locked(struct wfx_dev *wdev, int reg, u32 *val) in wfx_read32_locked() 63 static int wfx_write32_locked(struct wfx_dev *wdev, int reg, u32 val) in wfx_write32_locked() 74 static int wfx_write32_bits_locked(struct wfx_dev *wdev, int reg, u32 mask, u32 val) in wfx_write32_bits_locked() 96 static int wfx_indirect_read(struct wfx_dev *wdev, int reg, u32 addr, void *buf, size_t len) in wfx_indirect_read() 146 static int wfx_indirect_write(struct wfx_dev *wdev, int reg, u32 addr, in wfx_indirect_write() 160 static int wfx_indirect_read_locked(struct wfx_dev *wdev, int reg, u32 addr, in wfx_indirect_read_locked() 172 static int wfx_indirect_write_locked(struct wfx_dev *wdev, int reg, u32 addr, in wfx_indirect_write_locked() 184 static int wfx_indirect_read32_locked(struct wfx_dev *wdev, int reg, u32 addr, u32 *val) in wfx_indirect_read32_locked() [all …]
|
/openbmc/u-boot/drivers/spi/ |
H A D | mvebu_a3700_spi.c | 41 static void spi_cs_activate(struct spi_reg *reg, int cs) in spi_cs_activate() 46 static void spi_cs_deactivate(struct spi_reg *reg, int cs) in spi_cs_deactivate() 79 static int spi_legacy_shift_byte(struct spi_reg *reg, unsigned int bytelen, in spi_legacy_shift_byte() 138 struct spi_reg *reg = plat->spireg; in mvebu_spi_xfer() local 178 struct spi_reg *reg = plat->spireg; in mvebu_spi_set_speed() local 200 struct spi_reg *reg = plat->spireg; in mvebu_spi_set_mode() local 222 struct spi_reg *reg = plat->spireg; in mvebu_spi_probe() local
|
/openbmc/linux/sound/soc/codecs/ |
H A D | wm8961.c | 110 static bool wm8961_volatile(struct device *dev, unsigned int reg) in wm8961_volatile() 123 static bool wm8961_readable(struct device *dev, unsigned int reg) in wm8961_readable() 508 u16 reg; in wm8961_hw_params() local 598 u16 reg = snd_soc_component_read(component, WM8961_CLOCKING1); in wm8961_set_sysclk() local 691 u16 reg = snd_soc_component_read(component, WM8961_ADDITIONAL_CONTROL_2); in wm8961_set_tristate() local 704 u16 reg = snd_soc_component_read(component, WM8961_ADC_DAC_CONTROL_1); in wm8961_mute() local 719 u16 reg; in wm8961_set_clkdiv() local 746 u16 reg; in wm8961_set_bias_level() local 834 u16 reg; in wm8961_probe() local
|
/openbmc/linux/drivers/net/wireless/ath/carl9170/ |
H A D | debug.h | 49 u32 reg; member 53 #define STAT_MAC_REG(reg) \ argument 56 #define STAT_PTA_REG(reg) \ argument 59 #define STAT_USB_REG(reg) \ argument 116 u32 reg; member
|
/openbmc/linux/include/linux/mfd/da9055/ |
H A D | core.h | 38 static inline int da9055_reg_read(struct da9055 *da9055, unsigned char reg) in da9055_reg_read() 49 static inline int da9055_reg_write(struct da9055 *da9055, unsigned char reg, in da9055_reg_write() 55 static inline int da9055_group_read(struct da9055 *da9055, unsigned char reg, in da9055_group_read() 61 static inline int da9055_group_write(struct da9055 *da9055, unsigned char reg, in da9055_group_write() 67 static inline int da9055_reg_update(struct da9055 *da9055, unsigned char reg, in da9055_reg_update()
|