/openbmc/linux/drivers/rtc/ |
H A D | rtc-msc313.c | 69 u16 reg; in msc313_rtc_alarm_irq_enable() local 101 u16 reg; in msc313_rtc_set_enabled() local 112 u16 reg; in msc313_rtc_read_time() local 136 u16 reg; in msc313_rtc_set_time() local 164 u16 reg; in msc313_rtc_interrupt() local
|
/openbmc/linux/arch/mips/ralink/ |
H A D | early_printk.c | 35 static inline void uart_w32(u32 val, unsigned reg) in uart_w32() 40 static inline u32 uart_r32(unsigned reg) in uart_r32() 59 u32 reg = uart_r32(UART_REG_LCR + (0x100 * i)); in find_uart_base() local
|
/openbmc/u-boot/board/freescale/p2041rdb/ |
H A D | cpld.c | 20 static u8 __cpld_read(unsigned int reg) in __cpld_read() 28 static void __cpld_write(unsigned int reg, u8 value) in __cpld_write() 105 u8 reg = CPLD_READ(serdes_mux); in cpld_cmd() local
|
/openbmc/linux/drivers/staging/rts5208/ |
H A D | rtsx.h | 42 #define rtsx_writel(chip, reg, value) \ argument 44 #define rtsx_readl(chip, reg) \ argument 46 #define rtsx_writew(chip, reg, value) \ argument 48 #define rtsx_readw(chip, reg) \ argument 50 #define rtsx_writeb(chip, reg, value) \ argument 52 #define rtsx_readb(chip, reg) \ argument
|
/openbmc/u-boot/board/freescale/lx2160a/ |
H A D | lx2160a.c | 34 #define CFG_MUX_I2C_SDHC(reg, value) ((reg & 0x3f) | value) argument 35 #define SET_CFG_MUX1_SDHC1_SDHC(reg) (reg & 0x3f) argument 36 #define SET_CFG_MUX2_SDHC1_SPI(reg, value) ((reg & 0xcf) | value) argument 37 #define SET_CFG_MUX3_SDHC1_SPI(reg, value) ((reg & 0xf8) | value) argument 38 #define SET_CFG_MUX_SDHC2_DSPI(reg, value) ((reg & 0xf8) | value) argument 39 #define SET_CFG_MUX1_SDHC1_DSPI(reg, value) ((reg & 0x3f) | value) argument
|
/openbmc/linux/drivers/iio/proximity/ |
H A D | pulsedlight-lidar-lite-v2.c | 69 static int lidar_i2c_xfer(struct lidar_data *data, u8 reg, u8 *val, int len) in lidar_i2c_xfer() 90 static int lidar_smbus_xfer(struct lidar_data *data, u8 reg, u8 *val, int len) in lidar_smbus_xfer() 119 static int lidar_read_byte(struct lidar_data *data, u8 reg) in lidar_read_byte() 142 static int lidar_read_measurement(struct lidar_data *data, u16 *reg) in lidar_read_measurement() 155 static int lidar_get_measurement(struct lidar_data *data, u16 *reg) in lidar_get_measurement() 209 u16 reg; in lidar_read_raw() local
|
/openbmc/linux/include/linux/ |
H A D | clk-provider.h | 514 void __iomem *reg; member 556 #define clk_hw_register_gate(dev, name, parent_name, flags, reg, bit_idx, \ argument 573 #define clk_hw_register_gate_parent_hw(dev, name, parent_hw, flags, reg, \ argument 590 #define clk_hw_register_gate_parent_data(dev, name, parent_data, flags, reg, \ argument 681 void __iomem *reg; member 969 void __iomem *reg; member 1020 #define clk_hw_register_mux_table_parent_data(dev, name, parent_data, \ argument 1044 #define clk_hw_register_mux_parent_data_table(dev, name, parent_data, \ argument 1057 #define devm_clk_hw_register_mux_parent_hws(dev, name, parent_hws, \ argument 1155 void __iomem *reg; member [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | dbg.c | 1029 struct iwl_fw_ini_region_tlv *reg = (void *)reg_data->reg_tlv->data; in iwl_dump_ini_prph_mac_iter() local 1054 struct iwl_fw_ini_region_tlv *reg = (void *)reg_data->reg_tlv->data; in iwl_dump_ini_prph_phy_iter() local 1104 struct iwl_fw_ini_region_tlv *reg = (void *)reg_data->reg_tlv->data; in iwl_dump_ini_csr_iter() local 1124 struct iwl_fw_ini_region_tlv *reg = (void *)reg_data->reg_tlv->data; in iwl_dump_ini_config_iter() local 1155 struct iwl_fw_ini_region_tlv *reg = (void *)reg_data->reg_tlv->data; in iwl_dump_ini_dev_mem_iter() local 1222 struct iwl_fw_ini_region_tlv *reg = (void *)reg_data->reg_tlv->data; in iwl_dump_ini_mon_dram_iter() local 1241 struct iwl_fw_ini_region_tlv *reg = (void *)reg_data->reg_tlv->data; in iwl_dump_ini_mon_smem_iter() local 1256 struct iwl_fw_ini_region_tlv *reg = (void *)reg_data->reg_tlv->data; in iwl_ini_txf_iter() local 1309 struct iwl_fw_ini_region_tlv *reg = (void *)reg_data->reg_tlv->data; in iwl_dump_ini_txf_iter() local 1383 struct iwl_fw_ini_region_tlv *reg = (void *)reg_data->reg_tlv->data; in iwl_ini_get_rxf_data() local [all …]
|
/openbmc/u-boot/drivers/ddr/marvell/axp/ |
H A D | ddr3_write_leveling.c | 66 u32 reg, phase, delay, cs, pup; in ddr3_write_leveling_hw() local 187 u32 tmp_count, ecc, reg; in ddr3_wl_supplement() local 474 u32 reg, phase, delay, cs, pup, pup_num; in ddr3_write_leveling_hw_reg_dimm() local 659 u32 reg, cs, cnt, pup, max_pup_num; in ddr3_write_leveling_sw() local 884 u32 reg, cs, cnt, pup; in ddr3_write_leveling_sw_reg_dimm() local 1127 u32 reg, pup_num, delay, phase, phaseMax, max_pup_num, pup, in ddr3_write_leveling_single_cs() local 1340 u32 reg = 0; in ddr3_write_ctrl_pup_reg() local
|
/openbmc/qemu/target/ppc/ |
H A D | mem_helper.c | 83 void helper_lmw(CPUPPCState *env, target_ulong addr, uint32_t reg) in helper_lmw() 105 void helper_stmw(CPUPPCState *env, target_ulong addr, uint32_t reg) in helper_stmw() 128 uint32_t reg, uintptr_t raddr) in do_lsw() 188 uint32_t nb, uint32_t reg) in helper_lsw() 199 void helper_lswx(CPUPPCState *env, target_ulong addr, uint32_t reg, in helper_lswx() 216 uint32_t reg) in helper_stsw() 350 target_ulong helper_lscbx(CPUPPCState *env, target_ulong addr, uint32_t reg, in helper_lscbx()
|
/openbmc/linux/drivers/base/regmap/ |
H A D | regcache.c | 29 unsigned int reg, val; in regcache_hw_init() local 238 unsigned int reg, unsigned int *value) in regcache_read() 269 unsigned int reg, unsigned int value) in regcache_write() 282 bool regcache_reg_needs_sync(struct regmap *map, unsigned int reg, in regcache_reg_needs_sync() 304 unsigned int reg; in regcache_default_sync() local 598 bool regcache_reg_cached(struct regmap *map, unsigned int reg) in regcache_reg_cached() 689 int regcache_lookup_reg(struct regmap *map, unsigned int reg) in regcache_lookup_reg() 714 int regcache_sync_val(struct regmap *map, unsigned int reg, unsigned int val) in regcache_sync_val()
|
/openbmc/linux/drivers/staging/media/meson/vdec/ |
H A D | vdec_helpers.c | 17 u32 amvdec_read_dos(struct amvdec_core *core, u32 reg) in amvdec_read_dos() 23 void amvdec_write_dos(struct amvdec_core *core, u32 reg, u32 val) in amvdec_write_dos() 29 void amvdec_write_dos_bits(struct amvdec_core *core, u32 reg, u32 val) in amvdec_write_dos_bits() 35 void amvdec_clear_dos_bits(struct amvdec_core *core, u32 reg, u32 val) in amvdec_clear_dos_bits() 41 u32 amvdec_read_parser(struct amvdec_core *core, u32 reg) in amvdec_read_parser() 47 void amvdec_write_parser(struct amvdec_core *core, u32 reg, u32 val) in amvdec_write_parser() 99 u32 height, u32 reg) in set_canvas_yuv420m() 143 u32 height, u32 reg) in set_canvas_nv12m()
|
/openbmc/linux/drivers/edac/ |
H A D | skx_common.c | 203 u32 reg; in skx_get_src_id() local 217 u32 reg; in skx_get_node_id() local 251 u32 reg; in skx_get_all_bus_mappings() local 298 u32 reg; in skx_get_hi_lo() local 335 static int skx_get_dimm_attr(u32 reg, int lobit, int hibit, int add, in skx_get_dimm_attr() 347 #define numrank(reg) skx_get_dimm_attr(reg, 12, 13, 0, 0, 2, "ranks") argument 348 #define numrow(reg) skx_get_dimm_attr(reg, 2, 4, 12, 1, 6, "rows") argument 349 #define numcol(reg) skx_get_dimm_attr(reg, 0, 1, 10, 0, 2, "cols") argument
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | tegra_nand.c | 89 struct nand_ctlr *reg; member 97 struct nand_ctlr *reg; member 115 static int nand_waitfor_cmd_completion(struct nand_ctlr *reg) in nand_waitfor_cmd_completion() 180 unsigned int reg; in read_buf() local 237 static void nand_clear_interrupt_status(struct nand_ctlr *reg) in nand_clear_interrupt_status() 387 static int check_ecc_error(struct nand_ctlr *reg, u8 *databuf, in check_ecc_error() 433 static void start_command(struct nand_ctlr *reg) in start_command() 447 static void stop_command(struct nand_ctlr *reg) in stop_command() 854 struct nand_ctlr *reg) in setup_timing()
|
/openbmc/linux/drivers/clk/x86/ |
H A D | clk-cgu.c | 14 #define GATE_HW_REG_STAT(reg) ((reg) + 0x0) argument 15 #define GATE_HW_REG_EN(reg) ((reg) + 0x4) argument 16 #define GATE_HW_REG_DIS(reg) ((reg) + 0x8) argument 90 u32 reg = list->mux_off; in lgm_clk_register_mux() local 203 u32 reg = list->div_off; in lgm_clk_register_divider() local 260 unsigned int reg; in lgm_clk_gate_enable() local 271 unsigned int reg; in lgm_clk_gate_disable() local 280 unsigned int reg, ret; in lgm_clk_gate_is_enabled() local 304 u32 reg = list->gate_off; in lgm_clk_register_gate() local
|
/openbmc/linux/sound/soc/codecs/ |
H A D | rt5631.c | 71 unsigned int reg, unsigned int value) in rt5631_write_index() 81 unsigned int reg) in rt5631_read_index() 96 static bool rt5631_volatile_register(struct device *dev, unsigned int reg) in rt5631_volatile_register() 110 static bool rt5631_readable_register(struct device *dev, unsigned int reg) in rt5631_readable_register() 286 unsigned int reg; in check_sysclk1_source() local 304 unsigned int reg; in check_dacl_to_outmixl() local 314 unsigned int reg; in check_dacr_to_outmixr() local 324 unsigned int reg; in check_dacl_to_spkmixl() local 334 unsigned int reg; in check_dacr_to_spkmixr() local 344 unsigned int reg; in check_adcl_select() local [all …]
|
/openbmc/linux/drivers/net/wireless/admtek/ |
H A D | adm8211.c | 77 u32 reg = ADM8211_CSR_READ(SPR); in adm8211_eeprom_register_read() local 88 u32 reg = 0x4000 | ADM8211_SPR_SRS; in adm8211_eeprom_register_write() local 563 u32 reg; in adm8211_write_bbp() local 637 u32 reg; in adm8211_rf_set_channel() local 841 u32 reg; in adm8211_hw_init_bbp() local 1053 u32 reg; in adm8211_set_rate() local 1090 u32 reg; in adm8211_hw_init() local 1215 u32 reg, tmp; in adm8211_hw_reset() local 1276 u32 reg; in adm8211_set_interval() local 1287 u32 reg; in adm8211_set_bssid() local [all …]
|
/openbmc/linux/sound/soc/sprd/ |
H A D | sprd-mcdt.c | 131 u32 reg = MCDT_DAC0_WTMK + channel * 4; in sprd_mcdt_dac_set_watermark() local 143 u32 reg = MCDT_ADC0_WTMK + channel * 4; in sprd_mcdt_adc_set_watermark() local 185 u32 reg = MCDT_CH0_TXD + channel * 4; in sprd_mcdt_dac_write_fifo() local 193 u32 reg = MCDT_CH0_RXD + channel * 4; in sprd_mcdt_adc_read_fifo() local 298 u32 reg, shift = sprd_mcdt_dma_ack_shift(channel), ack = dma_chan; in sprd_mcdt_dac_dma_ack_select() local 342 u32 reg, shift; in sprd_mcdt_chan_fifo_sts() local 402 u32 reg = MCDT_DAC0_FIFO_ADDR_ST + channel * 8; in sprd_mcdt_dac_fifo_avail() local 415 u32 reg = MCDT_ADC0_FIFO_ADDR_ST + channel * 8; in sprd_mcdt_adc_fifo_avail() local 456 u32 reg, shift = sprd_mcdt_int_type_shift(channel, int_type); in sprd_mcdt_chan_int_en() local 481 u32 reg, shift = sprd_mcdt_int_type_shift(channel, int_type); in sprd_mcdt_chan_int_clear() local [all …]
|
/openbmc/linux/arch/parisc/net/ |
H A D | bpf_jit_comp32.c | 65 #define EXIT_PTR_LOAD(reg) hppa_ldw(-0x08, HPPA_REG_SP, reg) argument 66 #define EXIT_PTR_STORE(reg) hppa_stw(reg, -0x08, HPPA_REG_SP) argument 67 #define EXIT_PTR_JUMP(reg, nop) hppa_bv(HPPA_REG_ZERO, reg, nop) argument 219 static bool is_stacked(s8 reg) in is_stacked() 237 static const s8 *bpf_get_reg64(const s8 *reg, const s8 *tmp, in bpf_get_reg64() 243 static const s8 *bpf_get_reg64_ref(const s8 *reg, const s8 *tmp, in bpf_get_reg64_ref() 260 static void bpf_put_reg64(const s8 *reg, const s8 *src, in bpf_put_reg64() 280 static const s8 *bpf_get_reg32(const s8 *reg, const s8 *tmp, in bpf_get_reg32() 304 static void bpf_put_reg32(const s8 *reg, const s8 *src, in bpf_put_reg32() 890 const s8 *reg; in emit_call() local [all …]
|
/openbmc/linux/drivers/dma/dw-edma/ |
H A D | dw-edma-v0-regs.h | 32 u64 reg; /* 0x000c..0x0010 */ member 39 u64 reg; /* 0x0014..0x0018 */ member 46 u64 reg; /* 0x001c..0x0020 */ member 66 u64 reg; /* 0x0108..0x010c */ member 74 u64 reg; /* 0x0120..0x0124 */ member 116 u64 reg; /* 0x0018..0x001c */ member 127 u64 reg; /* 0x0038..0x003c */ member 141 u64 reg; /* 0x0060..0x0064 */ member 206 u64 reg; member 213 u64 reg; member [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | lp3943.c | 73 int lp3943_read_byte(struct lp3943 *lp3943, u8 reg, u8 *read) in lp3943_read_byte() 87 int lp3943_write_byte(struct lp3943 *lp3943, u8 reg, u8 data) in lp3943_write_byte() 93 int lp3943_update_bits(struct lp3943 *lp3943, u8 reg, u8 mask, u8 data) in lp3943_update_bits()
|
H A D | as3711.c | 34 static bool as3711_volatile_reg(struct device *dev, unsigned int reg) in as3711_volatile_reg() 49 static bool as3711_precious_reg(struct device *dev, unsigned int reg) in as3711_precious_reg() 60 static bool as3711_readable_reg(struct device *dev, unsigned int reg) in as3711_readable_reg()
|
/openbmc/linux/arch/powerpc/platforms/86xx/ |
H A D | gef_sbc610.c | 98 unsigned int reg; in gef_sbc610_get_pcb_rev() local 107 unsigned int reg; in gef_sbc610_get_board_rev() local 116 unsigned int reg; in gef_sbc610_get_fpga_rev() local
|
/openbmc/u-boot/board/gateworks/gw_ventana/ |
H A D | gsc.c | 62 static void read_hwmon(const char *name, uint reg, uint size) in read_hwmon() 166 u8 reg; in gsc_boot_wd_disable() local 182 unsigned char reg; in do_gsc_sleep() local 223 unsigned char reg; in do_gsc_wd() local
|
/openbmc/linux/drivers/clk/imx/ |
H A D | clk-lpcg-scu.c | 34 void __iomem *reg; member 48 u32 reg, val; in clk_lpcg_scu_enable() local 71 u32 reg; in clk_lpcg_scu_disable() local 89 void __iomem *reg, u8 bit_idx, bool hw_gate) in __imx_clk_lpcg_scu()
|