Home
last modified time | relevance | path

Searched defs:reg (Results 76 – 100 of 6420) sorted by relevance

12345678910>>...257

/openbmc/linux/drivers/mfd/
H A D88pm860x-i2c.c15 int pm860x_reg_read(struct i2c_client *i2c, int reg) in pm860x_reg_read()
31 int pm860x_reg_write(struct i2c_client *i2c, int reg, in pm860x_reg_write()
44 int pm860x_bulk_read(struct i2c_client *i2c, int reg, in pm860x_bulk_read()
57 int pm860x_bulk_write(struct i2c_client *i2c, int reg, in pm860x_bulk_write()
70 int pm860x_set_bits(struct i2c_client *i2c, int reg, in pm860x_set_bits()
83 static int read_device(struct i2c_client *i2c, int reg, in read_device()
119 static int write_device(struct i2c_client *i2c, int reg, in write_device()
140 int pm860x_page_reg_write(struct i2c_client *i2c, int reg, in pm860x_page_reg_write()
158 int pm860x_page_bulk_read(struct i2c_client *i2c, int reg, in pm860x_page_bulk_read()
H A Dcs47l35-tables.c784 static bool cs47l35_is_adsp_memory(unsigned int reg) in cs47l35_is_adsp_memory()
808 unsigned int reg) in cs47l35_16bit_readable_register()
1421 unsigned int reg) in cs47l35_16bit_volatile_register()
1460 unsigned int reg) in cs47l35_32bit_readable_register()
1475 unsigned int reg) in cs47l35_32bit_volatile_register()
H A Dcs47l90-tables.c1394 static bool cs47l90_is_adsp_memory(unsigned int reg) in cs47l90_is_adsp_memory()
1434 unsigned int reg) in cs47l90_16bit_readable_register()
2444 unsigned int reg) in cs47l90_16bit_volatile_register()
2493 unsigned int reg) in cs47l90_32bit_readable_register()
2512 unsigned int reg) in cs47l90_32bit_volatile_register()
H A Dcs47l15-tables.c699 static bool cs47l15_is_adsp_memory(struct device *dev, unsigned int reg) in cs47l15_is_adsp_memory()
713 unsigned int reg) in cs47l15_16bit_readable_register()
1184 unsigned int reg) in cs47l15_16bit_volatile_register()
1217 unsigned int reg) in cs47l15_32bit_readable_register()
1230 unsigned int reg) in cs47l15_32bit_volatile_register()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dmcs.c29 u64 reg; in mcs_get_tx_secy_stats() local
73 u64 reg; in mcs_get_rx_secy_stats() local
135 u64 reg; in mcs_get_flowid_stats() local
148 u64 reg; in mcs_get_port_stats() local
174 u64 reg; in mcs_get_sa_stats() local
203 u64 reg; in mcs_get_sc_stats() local
259 u64 reg; in mcs_clear_stats() local
334 u64 reg; in mcs_pn_table_write() local
375 u64 reg; in mcs_sa_plcy_write() local
416 u64 reg; in mcs_secy_plcy_write() local
[all …]
/openbmc/linux/sound/pci/oxygen/
H A Doxygen_io.c16 u8 oxygen_read8(struct oxygen *chip, unsigned int reg) in oxygen_read8()
22 u16 oxygen_read16(struct oxygen *chip, unsigned int reg) in oxygen_read16()
28 u32 oxygen_read32(struct oxygen *chip, unsigned int reg) in oxygen_read32()
34 void oxygen_write8(struct oxygen *chip, unsigned int reg, u8 value) in oxygen_write8()
41 void oxygen_write16(struct oxygen *chip, unsigned int reg, u16 value) in oxygen_write16()
48 void oxygen_write32(struct oxygen *chip, unsigned int reg, u32 value) in oxygen_write32()
55 void oxygen_write8_masked(struct oxygen *chip, unsigned int reg, in oxygen_write8_masked()
66 void oxygen_write16_masked(struct oxygen *chip, unsigned int reg, in oxygen_write16_masked()
77 void oxygen_write32_masked(struct oxygen *chip, unsigned int reg, in oxygen_write32_masked()
121 u32 reg; in oxygen_write_ac97() local
[all …]
/openbmc/linux/arch/mips/lib/
H A Dcsum_partial.S59 #define ADDC(sum,reg) \ argument
67 #define ADDC32(sum,reg) \ argument
346 #define EXC(insn, type, reg, addr) \ argument
372 #define LOAD(reg, addr) EXC(ld, LD_INSN, reg, addr) argument
374 #define LOADL(reg, addr) EXC(ldl, LD_INSN, reg, addr) argument
375 #define LOADR(reg, addr) EXC(ldr, LD_INSN, reg, addr) argument
376 #define STOREB(reg, addr) EXC(sb, ST_INSN, reg, addr) argument
379 #define STORE(reg, addr) EXC(sd, ST_INSN, reg, addr) argument
392 #define LOAD(reg, addr) EXC(lw, LD_INSN, reg, addr) argument
394 #define LOADL(reg, addr) EXC(lwl, LD_INSN, reg, addr) argument
[all …]
H A Dmemcpy.S115 #define EXC(insn, type, reg, addr, handler) \ argument
149 #define LOAD(reg, addr, handler) EXC(ld, LD_INSN, reg, addr, handler) argument
150 #define LOADL(reg, addr, handler) EXC(ldl, LD_INSN, reg, addr, handler) argument
151 #define LOADR(reg, addr, handler) EXC(ldr, LD_INSN, reg, addr, handler) argument
154 #define STORE(reg, addr, handler) EXC(sd, ST_INSN, reg, addr, handler) argument
186 #define LOAD(reg, addr, handler) EXC(lw, LD_INSN, reg, addr, handler) argument
187 #define LOADL(reg, addr, handler) EXC(lwl, LD_INSN, reg, addr, handler) argument
188 #define LOADR(reg, addr, handler) EXC(lwr, LD_INSN, reg, addr, handler) argument
191 #define STORE(reg, addr, handler) EXC(sw, ST_INSN, reg, addr, handler) argument
204 #define LOADB(reg, addr, handler) EXC(lb, LD_INSN, reg, addr, handler) argument
[all …]
/openbmc/linux/arch/x86/include/asm/
H A Dmc146818rtc.h41 static inline void lock_cmos(unsigned char reg) in lock_cmos()
70 #define lock_cmos_prefix(reg) \ argument
76 #define lock_cmos_suffix(reg) \ argument
81 #define lock_cmos_prefix(reg) do {} while (0) argument
82 #define lock_cmos_suffix(reg) do {} while (0) argument
83 #define lock_cmos(reg) do { } while (0) argument
/openbmc/linux/drivers/net/ethernet/sunplus/
H A Dspl2sw_mac.c18 u32 reg; in spl2sw_mac_hw_stop() local
39 u32 reg; in spl2sw_mac_hw_start() local
56 u32 reg; in spl2sw_mac_addr_add() local
91 u32 reg; in spl2sw_mac_addr_del() local
126 u32 reg; in spl2sw_mac_hw_init() local
222 u32 mask, reg, rx_mode; in spl2sw_mac_rx_mode_set() local
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt73usb.c55 u32 reg; in rt73usb_bbp_write() local
79 u32 reg; in rt73usb_bbp_read() local
113 u32 reg; in rt73usb_rf_write() local
178 u32 reg; in rt73usb_rfkill_poll() local
231 u32 reg; in rt73usb_blink_set() local
263 u32 reg; in rt73usb_config_shared_key() local
360 u32 reg; in rt73usb_config_pairwise_key() local
460 u32 reg; in rt73usb_config_filter() local
494 u32 reg; in rt73usb_config_intf() local
528 u32 reg; in rt73usb_config_erp() local
[all …]
/openbmc/linux/drivers/gpu/drm/i915/selftests/
H A Dintel_uncore.c144 static const struct reg { in live_forcewake_ops() struct
145 const char *name; in live_forcewake_ops()
146 u8 min_graphics_ver; in live_forcewake_ops()
147 u8 max_graphics_ver; in live_forcewake_ops()
148 unsigned long platforms; in live_forcewake_ops()
149 unsigned int offset; in live_forcewake_ops()
213 u32 __iomem *reg = intel_uncore_regs(uncore) + engine->mmio_base + r->offset; in live_forcewake_ops() local
304 i915_reg_t reg = { offset }; in live_forcewake_domains() local
315 i915_reg_t reg = { offset }; in live_forcewake_domains() local
/openbmc/linux/drivers/scsi/
H A Dnsp32_io.h119 unsigned int reg) in nsp32_index_read1()
126 unsigned int reg, in nsp32_index_write1()
134 unsigned int reg) in nsp32_index_read2()
141 unsigned int reg, in nsp32_index_write2()
149 unsigned int reg) in nsp32_index_read4()
161 unsigned int reg, in nsp32_index_write4()
177 unsigned int reg) in nsp32_mmio_index_read1()
189 unsigned int reg, in nsp32_mmio_index_write1()
202 unsigned int reg) in nsp32_mmio_index_read2()
214 unsigned int reg, in nsp32_mmio_index_write2()
[all …]
/openbmc/linux/drivers/net/dsa/b53/
H A Db53_mdio.c42 static int b53_mdio_op(struct b53_device *dev, u8 page, u8 reg, u16 op) in b53_mdio_op()
80 static int b53_mdio_read8(struct b53_device *dev, u8 page, u8 reg, u8 *val) in b53_mdio_read8()
95 static int b53_mdio_read16(struct b53_device *dev, u8 page, u8 reg, u16 *val) in b53_mdio_read16()
109 static int b53_mdio_read32(struct b53_device *dev, u8 page, u8 reg, u32 *val) in b53_mdio_read32()
125 static int b53_mdio_read48(struct b53_device *dev, u8 page, u8 reg, u64 *val) in b53_mdio_read48()
182 static int b53_mdio_write16(struct b53_device *dev, u8 page, u8 reg, in b53_mdio_write16()
196 static int b53_mdio_write32(struct b53_device *dev, u8 page, u8 reg, in b53_mdio_write32()
215 static int b53_mdio_write48(struct b53_device *dev, u8 page, u8 reg, in b53_mdio_write48()
234 static int b53_mdio_write64(struct b53_device *dev, u8 page, u8 reg, in b53_mdio_write64()
253 static int b53_mdio_phy_read16(struct b53_device *dev, int addr, int reg, in b53_mdio_phy_read16()
[all …]
H A Db53_spi.c42 static inline int b53_spi_read_reg(struct spi_device *spi, u8 reg, u8 *val, in b53_spi_read_reg()
97 static int b53_spi_prepare_reg_read(struct spi_device *spi, u8 reg) in b53_spi_prepare_reg_read()
124 static int b53_spi_read(struct b53_device *dev, u8 page, u8 reg, u8 *data, in b53_spi_read()
141 static int b53_spi_read8(struct b53_device *dev, u8 page, u8 reg, u8 *val) in b53_spi_read8()
146 static int b53_spi_read16(struct b53_device *dev, u8 page, u8 reg, u16 *val) in b53_spi_read16()
159 static int b53_spi_read32(struct b53_device *dev, u8 page, u8 reg, u32 *val) in b53_spi_read32()
172 static int b53_spi_read48(struct b53_device *dev, u8 page, u8 reg, u64 *val) in b53_spi_read48()
185 static int b53_spi_read64(struct b53_device *dev, u8 page, u8 reg, u64 *val) in b53_spi_read64()
198 static int b53_spi_write8(struct b53_device *dev, u8 page, u8 reg, u8 value) in b53_spi_write8()
215 static int b53_spi_write16(struct b53_device *dev, u8 page, u8 reg, u16 value) in b53_spi_write16()
[all …]
/openbmc/linux/sound/soc/tegra/
H A Dtegra210_mixer.c25 #define MIXER_REG_BASE(reg) ((reg) % TEGRA210_MIXER_REG_STRIDE) argument
101 unsigned int reg, val; in tegra210_mixer_write_ram() local
131 unsigned int reg = MIXER_GAIN_CFG_RAM_ADDR(id); in tegra210_mixer_configure_gain() local
184 unsigned int reg = mc->reg; in tegra210_mixer_get_gain() local
203 unsigned int reg = mc->reg, id; in tegra210_mixer_apply_gain() local
238 unsigned int reg, in tegra210_mixer_set_audio_cif()
375 #define ADDER_CTRL_DECL(name, reg) \ argument
513 unsigned int reg) in tegra210_mixer_wr_reg()
537 unsigned int reg) in tegra210_mixer_rd_reg()
555 unsigned int reg) in tegra210_mixer_volatile_reg()
[all …]
/openbmc/linux/drivers/net/wwan/t7xx/
H A Dt7xx_cldma.c66 void __iomem *reg; in t7xx_cldma_hw_start_queue() local
116 void __iomem *reg; in t7xx_cldma_hw_set_start_addr() local
137 void __iomem *reg; in t7xx_cldma_hw_queue_status() local
173 void __iomem *reg; in t7xx_cldma_hw_int_status() local
185 void __iomem *reg; in t7xx_cldma_hw_irq_dis_txrx() local
196 void __iomem *reg; in t7xx_cldma_hw_irq_dis_eq() local
208 void __iomem *reg; in t7xx_cldma_hw_irq_en_txrx() local
219 void __iomem *reg; in t7xx_cldma_hw_irq_en_eq() local
266 void __iomem *reg; in t7xx_cldma_hw_stop_all_qs() local
275 void __iomem *reg; in t7xx_cldma_hw_stop() local
/openbmc/linux/drivers/md/
H A Ddm-region-hash.c243 struct dm_region *reg, *nreg; in dm_region_hash_destroy() local
276 struct dm_region *reg; in __rh_lookup() local
293 struct dm_region *reg, *nreg; in __rh_alloc() local
329 struct dm_region *reg; in __rh_find() local
344 struct dm_region *reg; in dm_rh_get_state() local
402 struct dm_region *reg; in dm_rh_mark_nosync() local
445 struct dm_region *reg, *next; in dm_rh_update_states() local
508 struct dm_region *reg; in rh_inc() local
544 struct dm_region *reg; in dm_rh_dec() local
594 struct dm_region *reg; in __rh_recovery_prepare() local
[all …]
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_dkl_phy.c24 dkl_phy_set_hip_idx(struct drm_i915_private *i915, struct intel_dkl_phy_reg reg) in dkl_phy_set_hip_idx()
45 intel_dkl_phy_read(struct drm_i915_private *i915, struct intel_dkl_phy_reg reg) in intel_dkl_phy_read()
68 intel_dkl_phy_write(struct drm_i915_private *i915, struct intel_dkl_phy_reg reg, u32 val) in intel_dkl_phy_write()
89 intel_dkl_phy_rmw(struct drm_i915_private *i915, struct intel_dkl_phy_reg reg, u32 clear, u32 set) in intel_dkl_phy_rmw()
107 intel_dkl_phy_posting_read(struct drm_i915_private *i915, struct intel_dkl_phy_reg reg) in intel_dkl_phy_posting_read()
/openbmc/linux/drivers/pcmcia/
H A Dtcic.c124 static u_char tcic_getb(u_char reg) in tcic_getb()
131 static u_short tcic_getw(u_char reg) in tcic_getw()
138 static void tcic_setb(u_char reg, u_char data) in tcic_setb()
144 static void tcic_setw(u_char reg, u_short data) in tcic_setw()
150 #define tcic_getb(reg) inb(tcic_base+reg) argument
151 #define tcic_getw(reg) inw(tcic_base+reg) argument
156 static void tcic_setl(u_char reg, u_int data) in tcic_setl()
165 static void tcic_aux_setb(u_short reg, u_char data) in tcic_aux_setb()
172 static u_short tcic_aux_getw(u_short reg) in tcic_aux_getw()
596 u_char reg; in tcic_get_status() local
[all …]
/openbmc/linux/drivers/gpu/drm/arm/display/komeda/d71/
H A Dd71_component.c191 u32 __iomem *reg = c->reg; in d71_layer_update_fb() local
221 u32 __iomem *reg = c->reg; in d71_layer_update() local
408 struct block_header *blk, u32 __iomem *reg) in d71_layer_init()
472 u32 __iomem *reg = c->reg; in d71_wb_layer_update() local
557 u32 __iomem *reg = c->reg; in d71_component_disable() local
604 u32 __iomem *reg = c->reg; in d71_compiz_update() local
728 u32 __iomem *reg = c->reg; in d71_scaler_update() local
914 u32 __iomem *reg = c->reg; in d71_splitter_update() local
976 u32 __iomem *reg = c->reg; in d71_merger_update() local
1050 u32 __iomem *reg = c->reg; in d71_improc_update() local
[all …]
/openbmc/linux/drivers/input/misc/
H A Dadxl34x-spi.c21 #define ADXL34X_WRITECMD(reg) (reg & 0x3F) argument
22 #define ADXL34X_READCMD(reg) (ADXL34X_CMD_READ | (reg & 0x3F)) argument
23 #define ADXL34X_READMB_CMD(reg) (ADXL34X_CMD_READ | ADXL34X_CMD_MULTB \ argument
26 static int adxl34x_spi_read(struct device *dev, unsigned char reg) in adxl34x_spi_read()
37 unsigned char reg, unsigned char val) in adxl34x_spi_write()
49 unsigned char reg, int count, in adxl34x_spi_read_block()
/openbmc/linux/arch/powerpc/include/asm/
H A Ddcr-native.h39 static inline unsigned int mfdcrx(unsigned int reg) in mfdcrx()
47 static inline void mtdcrx(unsigned int reg, unsigned int val) in mtdcrx()
78 static inline unsigned __mfdcri(int base_addr, int base_data, int reg) in __mfdcri()
95 static inline void __mtdcri(int base_addr, int base_data, int reg, in __mtdcri()
111 static inline void __dcri_clrset(int base_addr, int base_data, int reg, in __dcri_clrset()
130 #define mfdcri(base, reg) __mfdcri(DCRN_ ## base ## _CONFIG_ADDR, \ argument
134 #define mtdcri(base, reg, data) __mtdcri(DCRN_ ## base ## _CONFIG_ADDR, \ argument
138 #define dcri_clrset(base, reg, clr, set) __dcri_clrset(DCRN_ ## base ## _CONFIG_ADDR, \ argument
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A Dpcie.c249 int reg, u8 *data) in mwifiex_read_reg_byte()
265 const struct mwifiex_pcie_card_reg *reg = card->pcie.reg; in mwifiex_pcie_ok_to_access_hw() local
425 const struct mwifiex_pcie_card_reg *reg; in mwifiex_pcie_remove() local
648 const struct mwifiex_pcie_card_reg *reg = card->pcie.reg; in mwifiex_pm_wakeup_card() local
753 const struct mwifiex_pcie_card_reg *reg = card->pcie.reg; in mwifiex_init_txq_ring() local
783 const struct mwifiex_pcie_card_reg *reg = card->pcie.reg; in mwifiex_init_rxq_ring() local
890 const struct mwifiex_pcie_card_reg *reg = card->pcie.reg; in mwifiex_cleanup_txq_ring() local
929 const struct mwifiex_pcie_card_reg *reg = card->pcie.reg; in mwifiex_cleanup_rxq_ring() local
991 const struct mwifiex_pcie_card_reg *reg = card->pcie.reg; in mwifiex_pcie_create_txbd_ring() local
1040 const struct mwifiex_pcie_card_reg *reg = card->pcie.reg; in mwifiex_pcie_delete_txbd_ring() local
[all …]
/openbmc/linux/drivers/base/regmap/
H A Dregmap.c60 bool regmap_reg_in_ranges(unsigned int reg, in regmap_reg_in_ranges()
240 unsigned int reg, unsigned int val) in regmap_format_7_9_write()
247 unsigned int reg, unsigned int val) in regmap_format_7_17_write()
523 unsigned int reg) in _regmap_range_lookup()
2413 unsigned int reg = regs[i].reg; in _regmap_raw_multi_reg_write() local
2430 int reg = regs[i].reg; in _regmap_raw_multi_reg_write() local
2437 unsigned int reg, in _regmap_register_page()
2462 unsigned int reg = regs[i].reg; in _regmap_range_multi_paged_reg_write() local
2554 int reg = regs[i].reg; in _regmap_multi_reg_write() local
2564 unsigned int reg = regs[i].reg; in _regmap_multi_reg_write() local
[all …]

12345678910>>...257