Home
last modified time | relevance | path

Searched defs:reg (Results 51 – 75 of 6164) sorted by relevance

12345678910>>...247

/openbmc/qemu/tests/qtest/
H A Dqtest_aspeed.c19 uint8_t slave_addr, uint8_t reg) in aspeed_i2c_startup()
44 uint8_t reg, size_t nbytes) in aspeed_i2c_read_n()
64 uint32_t baseaddr, uint8_t slave_addr, uint8_t reg) in aspeed_i2c_readl()
70 uint32_t baseaddr, uint8_t slave_addr, uint8_t reg) in aspeed_i2c_readw()
76 uint32_t baseaddr, uint8_t slave_addr, uint8_t reg) in aspeed_i2c_readb()
83 uint8_t reg, uint32_t v, size_t nbytes) in aspeed_i2c_write_n()
100 uint8_t reg, uint32_t v) in aspeed_i2c_writel()
107 uint8_t reg, uint16_t v) in aspeed_i2c_writew()
114 uint8_t reg, uint8_t v) in aspeed_i2c_writeb()
/openbmc/linux/drivers/media/platform/samsung/s5p-jpeg/
H A Djpeg-hw-exynos4.c18 unsigned int reg; in exynos4_jpeg_sw_reset() local
34 unsigned int reg; in exynos4_jpeg_set_enc_dec_mode() local
55 unsigned int reg; in __exynos4_jpeg_set_img_fmt() local
139 unsigned int reg; in __exynos4_jpeg_set_enc_out_fmt() local
171 unsigned int reg; in exynos4_jpeg_set_interrupt() local
195 unsigned int reg; in exynos4_jpeg_set_huf_table_enable() local
209 unsigned int reg; in exynos4_jpeg_set_sys_int_enable() local
244 unsigned int reg; in exynos4_jpeg_set_encode_tbl_select() local
257 unsigned int reg; in exynos4_jpeg_set_dec_components() local
267 unsigned int reg; in exynos4_jpeg_select_dec_q_tbl() local
[all …]
/openbmc/linux/arch/x86/kvm/
H A Dfpu.h18 static inline void _kvm_read_sse_reg(int reg, sse128_t *data) in _kvm_read_sse_reg()
43 static inline void _kvm_write_sse_reg(int reg, const sse128_t *data) in _kvm_write_sse_reg()
68 static inline void _kvm_read_mmx_reg(int reg, u64 *data) in _kvm_read_mmx_reg()
83 static inline void _kvm_write_mmx_reg(int reg, const u64 *data) in _kvm_write_mmx_reg()
112 static inline void kvm_read_sse_reg(int reg, sse128_t *data) in kvm_read_sse_reg()
119 static inline void kvm_write_sse_reg(int reg, const sse128_t *data) in kvm_write_sse_reg()
126 static inline void kvm_read_mmx_reg(int reg, u64 *data) in kvm_read_mmx_reg()
133 static inline void kvm_write_mmx_reg(int reg, const u64 *data) in kvm_write_mmx_reg()
/openbmc/linux/arch/riscv/kvm/
H A Dvcpu_onereg.c120 const struct kvm_one_reg *reg) in kvm_riscv_vcpu_get_reg_config()
169 const struct kvm_one_reg *reg) in kvm_riscv_vcpu_set_reg_config()
273 const struct kvm_one_reg *reg) in kvm_riscv_vcpu_get_reg_core()
382 const struct kvm_one_reg *reg) in kvm_riscv_vcpu_get_reg_csr()
418 const struct kvm_one_reg *reg) in kvm_riscv_vcpu_set_reg_csr()
556 const struct kvm_one_reg *reg) in kvm_riscv_vcpu_get_reg_isa_ext()
596 const struct kvm_one_reg *reg) in kvm_riscv_vcpu_set_reg_isa_ext()
636 u64 reg; in copy_config_reg_indices() local
811 u64 reg; in copy_fp_d_reg_indices() local
995 const struct kvm_one_reg *reg) in kvm_riscv_vcpu_set_reg()
[all …]
/openbmc/linux/drivers/media/i2c/ccs/
H A Dccs-reg-access.c69 static int ____ccs_read_addr(struct ccs_sensor *sensor, u16 reg, u16 len, in ____ccs_read_addr()
116 static int ____ccs_read_addr_8only(struct ccs_sensor *sensor, u16 reg, in ____ccs_read_addr_8only()
136 unsigned int ccs_reg_width(u32 reg) in ccs_reg_width()
157 u32 ccs_reg_conv(struct ccs_sensor *sensor, u32 reg, u32 val) in ccs_reg_conv()
178 static int __ccs_read_addr(struct ccs_sensor *sensor, u32 reg, u32 *val, in __ccs_read_addr()
201 u32 reg, u32 *val) in __ccs_read_data()
238 static int ccs_read_data(struct ccs_sensor *sensor, u32 reg, u32 *val) in ccs_read_data()
279 int ccs_read_addr(struct ccs_sensor *sensor, u32 reg, u32 *val) in ccs_read_addr()
284 int ccs_read_addr_8only(struct ccs_sensor *sensor, u32 reg, u32 *val) in ccs_read_addr_8only()
289 int ccs_read_addr_noconv(struct ccs_sensor *sensor, u32 reg, u32 *val) in ccs_read_addr_noconv()
[all …]
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2500usb.c50 __le16 reg; in rt2500usb_register_read() local
60 __le16 reg; in rt2500usb_register_read_lock() local
125 u16 reg; in rt2500usb_bbp_write() local
148 u16 reg; in rt2500usb_bbp_read() local
182 u16 reg; in rt2500usb_rf_write() local
258 u16 reg; in rt2500usb_rfkill_poll() local
271 u16 reg; in rt2500usb_brightness_set() local
289 u16 reg; in rt2500usb_blink_set() local
324 u16 reg; in rt2500usb_config_key() local
402 u16 reg; in rt2500usb_config_filter() local
[all …]
/openbmc/linux/drivers/misc/
H A Dad525x_dpot.c101 static inline int dpot_read_r8d8(struct dpot_data *dpot, u8 reg) in dpot_read_r8d8()
106 static inline int dpot_read_r8d16(struct dpot_data *dpot, u8 reg) in dpot_read_r8d16()
126 static s32 dpot_read_spi(struct dpot_data *dpot, u8 reg) in dpot_read_spi()
177 static s32 dpot_read_i2c(struct dpot_data *dpot, u8 reg) in dpot_read_i2c()
231 static s32 dpot_read(struct dpot_data *dpot, u8 reg) in dpot_read()
403 static s32 dpot_write(struct dpot_data *dpot, u8 reg, u16 value) in dpot_write()
415 char *buf, u32 reg) in sysfs_show_reg()
448 const char *buf, size_t count, u32 reg) in sysfs_set_reg()
487 const char *buf, size_t count, u32 reg) in sysfs_do_cmd()
515 #define DPOT_DEVICE_SHOW_SET(name, reg) \ argument
[all …]
/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot_io.c13 int __ocelot_bulk_read_ix(struct ocelot *ocelot, enum ocelot_reg reg, in __ocelot_bulk_read_ix()
27 u32 __ocelot_read_ix(struct ocelot *ocelot, enum ocelot_reg reg, u32 offset) in __ocelot_read_ix()
40 void __ocelot_write_ix(struct ocelot *ocelot, u32 val, enum ocelot_reg reg, in __ocelot_write_ix()
54 enum ocelot_reg reg, u32 offset) in __ocelot_rmw_ix()
66 u32 ocelot_port_readl(struct ocelot_port *port, enum ocelot_reg reg) in ocelot_port_readl()
79 void ocelot_port_writel(struct ocelot_port *port, u32 val, enum ocelot_reg reg) in ocelot_port_writel()
91 enum ocelot_reg reg) in ocelot_port_rmwl()
100 u32 reg, u32 offset) in __ocelot_target_read_ix()
110 u32 val, u32 reg, u32 offset) in __ocelot_target_write_ix()
124 u32 reg = regfields[i].reg; in ocelot_regfields_init() local
/openbmc/linux/drivers/usb/dwc3/
H A Ddrd.c21 u32 reg = dwc3_readl(dwc->regs, DWC3_OEVTEN); in dwc3_otg_disable_events() local
29 u32 reg = dwc3_readl(dwc->regs, DWC3_OEVTEN); in dwc3_otg_enable_events() local
37 u32 reg = dwc3_readl(dwc->regs, DWC3_OEVT); in dwc3_otg_clear_events() local
71 u32 reg; in dwc3_otg_irq() local
95 u32 reg; in dwc3_otgregs_init() local
169 u32 reg; in dwc3_otg_init() local
197 u32 reg; in dwc3_otg_host_init() local
246 u32 reg; in dwc3_otg_host_exit() local
269 u32 reg; in dwc3_otg_device_init() local
305 u32 reg; in dwc3_otg_device_exit() local
[all …]
/openbmc/linux/arch/arm64/kernel/
H A Dentry-ftrace.S230 .macro mcount_get_parent_fp reg argument
236 .macro mcount_get_pc0 reg argument
240 .macro mcount_get_pc reg argument
245 .macro mcount_get_lr reg argument
250 .macro mcount_get_lr_addr reg argument
/openbmc/linux/drivers/net/dsa/mv88e6xxx/
H A Dport.c53 u16 reg; in mv88e6185_port_set_pause() local
80 u16 reg; in mv88e6xxx_port_set_rgmii_delay() local
147 u16 reg; in mv88e6xxx_port_set_link() local
527 u16 reg; in mv88e6xxx_port_set_cmode() local
632 u16 reg; in mv88e6393x_port_set_cmode() local
718 u16 reg; in mv88e6185_port_get_cmode() local
732 u16 reg; in mv88e6352_port_get_cmode() local
783 u16 reg; in mv88e6xxx_port_set_state() local
826 u16 reg; in mv88e6xxx_port_set_egress_mode() local
858 u16 reg; in mv88e6085_port_set_frame_mode() local
[all …]
/openbmc/linux/drivers/mfd/
H A Dwm8994-regmap.c764 static bool wm1811_readable_register(struct device *dev, unsigned int reg) in wm1811_readable_register()
1011 static bool wm8994_readable_register(struct device *dev, unsigned int reg) in wm8994_readable_register()
1065 static bool wm8958_readable_register(struct device *dev, unsigned int reg) in wm8958_readable_register()
1175 static bool wm8994_volatile_register(struct device *dev, unsigned int reg) in wm8994_volatile_register()
1192 static bool wm1811_volatile_register(struct device *dev, unsigned int reg) in wm1811_volatile_register()
1207 static bool wm8958_volatile_register(struct device *dev, unsigned int reg) in wm8958_volatile_register()
/openbmc/linux/drivers/hwmon/
H A Dadt7310.c40 #define AD7310_COMMAND(reg) (adt7310_reg_table[(reg)] << ADT7310_CMD_REG_OFFSET) argument
42 static int adt7310_spi_read_word(struct spi_device *spi, u8 reg) in adt7310_spi_read_word()
47 static int adt7310_spi_write_word(struct spi_device *spi, u8 reg, u16 data) in adt7310_spi_write_word()
57 static int adt7310_spi_read_byte(struct spi_device *spi, u8 reg) in adt7310_spi_read_byte()
62 static int adt7310_spi_write_byte(struct spi_device *spi, u8 reg, u8 data) in adt7310_spi_write_byte()
72 static bool adt7310_regmap_is_volatile(struct device *dev, unsigned int reg) in adt7310_regmap_is_volatile()
83 static int adt7310_reg_read(void *context, unsigned int reg, unsigned int *val) in adt7310_reg_read()
105 static int adt7310_reg_write(void *context, unsigned int reg, unsigned int val) in adt7310_reg_write()
/openbmc/linux/drivers/media/dvb-frontends/
H A Dstv090x.c753 u32 reg; in stv090x_i2c_gate_ctrl() local
1199 u32 reg; in stv090x_vitclk_ctl() local
1267 u32 reg; in stv090x_delivery_search() local
1945 u32 reg; in stv090x_get_dmdlock() local
2061 u32 reg; in stv090x_chk_tmg() local
2131 u32 reg; in stv090x_get_coldlock() local
2336 u32 reg; in stv090x_search_car_loop() local
2399 u32 reg; in stv090x_sw_algo() local
2500 u32 reg; in stv090x_get_std() local
2588 u32 reg; in stv090x_get_sig_params() local
[all …]
/openbmc/linux/drivers/net/dsa/b53/
H A Db53_mmap.c33 static int b53_mmap_read8(struct b53_device *dev, u8 page, u8 reg, u8 *val) in b53_mmap_read8()
43 static int b53_mmap_read16(struct b53_device *dev, u8 page, u8 reg, u16 *val) in b53_mmap_read16()
59 static int b53_mmap_read32(struct b53_device *dev, u8 page, u8 reg, u32 *val) in b53_mmap_read32()
75 static int b53_mmap_read48(struct b53_device *dev, u8 page, u8 reg, u64 *val) in b53_mmap_read48()
146 static int b53_mmap_write16(struct b53_device *dev, u8 page, u8 reg, in b53_mmap_write16()
163 static int b53_mmap_write32(struct b53_device *dev, u8 page, u8 reg, in b53_mmap_write32()
180 static int b53_mmap_write48(struct b53_device *dev, u8 page, u8 reg, in b53_mmap_write48()
203 static int b53_mmap_write64(struct b53_device *dev, u8 page, u8 reg, in b53_mmap_write64()
220 static int b53_mmap_phy_read16(struct b53_device *dev, int addr, int reg, in b53_mmap_phy_read16()
226 static int b53_mmap_phy_write16(struct b53_device *dev, int addr, int reg, in b53_mmap_phy_write16()
[all …]
/openbmc/qemu/hw/misc/
H A Dxlnx-versal-crl.c35 static void crl_status_postw(RegisterInfo *reg, uint64_t val64) in crl_status_postw()
41 static uint64_t crl_enable_prew(RegisterInfo *reg, uint64_t val64) in crl_enable_prew()
51 static uint64_t crl_disable_prew(RegisterInfo *reg, uint64_t val64) in crl_disable_prew()
77 #define REGFIELD_RESET(type, s, reg, f, new_val, dev) { \ argument
87 static uint64_t crl_rst_r5_prew(RegisterInfo *reg, uint64_t val64) in crl_rst_r5_prew()
96 static uint64_t crl_rst_adma_prew(RegisterInfo *reg, uint64_t val64) in crl_rst_adma_prew()
108 static uint64_t crl_rst_uart0_prew(RegisterInfo *reg, uint64_t val64) in crl_rst_uart0_prew()
116 static uint64_t crl_rst_uart1_prew(RegisterInfo *reg, uint64_t val64) in crl_rst_uart1_prew()
124 static uint64_t crl_rst_gem0_prew(RegisterInfo *reg, uint64_t val64) in crl_rst_gem0_prew()
132 static uint64_t crl_rst_gem1_prew(RegisterInfo *reg, uint64_t val64) in crl_rst_gem1_prew()
[all …]
H A Dxlnx-versal-pmc-iou-slcr.c767 static void parity_isr_postw(RegisterInfo *reg, uint64_t val64) in parity_isr_postw()
773 static uint64_t parity_ier_prew(RegisterInfo *reg, uint64_t val64) in parity_ier_prew()
783 static uint64_t parity_idr_prew(RegisterInfo *reg, uint64_t val64) in parity_idr_prew()
793 static uint64_t parity_itr_prew(RegisterInfo *reg, uint64_t val64) in parity_itr_prew()
809 static void isr_postw(RegisterInfo *reg, uint64_t val64) in isr_postw()
815 static uint64_t ier_prew(RegisterInfo *reg, uint64_t val64) in ier_prew()
825 static uint64_t idr_prew(RegisterInfo *reg, uint64_t val64) in idr_prew()
835 static uint64_t itr_prew(RegisterInfo *reg, uint64_t val64) in itr_prew()
845 static uint64_t sd0_ctrl_reg_prew(RegisterInfo *reg, uint64_t val64) in sd0_ctrl_reg_prew()
857 static uint64_t sd1_ctrl_reg_prew(RegisterInfo *reg, uint64_t val64) in sd1_ctrl_reg_prew()
[all …]
/openbmc/linux/drivers/base/regmap/
H A Dregmap-fsi.c15 static int regmap_fsi32_reg_read(void *context, unsigned int reg, unsigned int *val) in regmap_fsi32_reg_read()
28 static int regmap_fsi32_reg_write(void *context, unsigned int reg, unsigned int val) in regmap_fsi32_reg_write()
40 static int regmap_fsi32le_reg_read(void *context, unsigned int reg, unsigned int *val) in regmap_fsi32le_reg_read()
53 static int regmap_fsi32le_reg_write(void *context, unsigned int reg, unsigned int val) in regmap_fsi32le_reg_write()
65 static int regmap_fsi16_reg_read(void *context, unsigned int reg, unsigned int *val) in regmap_fsi16_reg_read()
78 static int regmap_fsi16_reg_write(void *context, unsigned int reg, unsigned int val) in regmap_fsi16_reg_write()
94 static int regmap_fsi16le_reg_read(void *context, unsigned int reg, unsigned int *val) in regmap_fsi16le_reg_read()
107 static int regmap_fsi16le_reg_write(void *context, unsigned int reg, unsigned int val) in regmap_fsi16le_reg_write()
123 static int regmap_fsi8_reg_read(void *context, unsigned int reg, unsigned int *val) in regmap_fsi8_reg_read()
136 static int regmap_fsi8_reg_write(void *context, unsigned int reg, unsigned int val) in regmap_fsi8_reg_write()
/openbmc/u-boot/arch/arm/mach-socfpga/
H A Dclock_manager_gen5.c320 u32 reg, clock; in cm_get_main_vco_clk_hz() local
335 u32 reg, clock = 0; in cm_get_per_vco_clk_hz() local
360 u32 reg, clock; in cm_get_mpu_clk_hz() local
374 u32 reg, clock = 0; in cm_get_sdram_clk_hz() local
405 u32 reg, clock = 0; in cm_get_l4_sp_clk_hz() local
439 u32 reg, clock = 0; in cm_get_mmc_controller_clk_hz() local
469 u32 reg, clock = 0; in cm_get_qspi_controller_clk_hz() local
497 u32 reg, clock = 0; in cm_get_spi_controller_clk_hz() local
/openbmc/linux/include/sound/
H A Dhdaudio_ext.h116 #define snd_hdac_adsp_writeb(chip, reg, value) \ argument
118 #define snd_hdac_adsp_readb(chip, reg) \ argument
120 #define snd_hdac_adsp_writew(chip, reg, value) \ argument
122 #define snd_hdac_adsp_readw(chip, reg) \ argument
124 #define snd_hdac_adsp_writel(chip, reg, value) \ argument
126 #define snd_hdac_adsp_readl(chip, reg) \ argument
128 #define snd_hdac_adsp_writeq(chip, reg, value) \ argument
130 #define snd_hdac_adsp_readq(chip, reg) \ argument
133 #define snd_hdac_adsp_updateb(chip, reg, mask, val) \ argument
136 #define snd_hdac_adsp_updatew(chip, reg, mask, val) \ argument
[all …]
/openbmc/qemu/target/arm/
H A Dgdbstub.c110 static int vfp_gdb_get_reg(CPUState *cs, GByteArray *buf, int reg) in vfp_gdb_get_reg()
135 static int vfp_gdb_set_reg(CPUState *cs, uint8_t *buf, int reg) in vfp_gdb_set_reg()
162 static int vfp_gdb_get_sysreg(CPUState *cs, GByteArray *buf, int reg) in vfp_gdb_get_sysreg()
176 static int vfp_gdb_set_sysreg(CPUState *cs, uint8_t *buf, int reg) in vfp_gdb_set_sysreg()
192 static int mve_gdb_get_reg(CPUState *cs, GByteArray *buf, int reg) in mve_gdb_get_reg()
205 static int mve_gdb_set_reg(CPUState *cs, uint8_t *buf, int reg) in mve_gdb_set_reg()
228 static int arm_gdb_get_sysreg(CPUState *cs, GByteArray *buf, int reg) in arm_gdb_get_sysreg()
247 static int arm_gdb_set_sysreg(CPUState *cs, uint8_t *buf, int reg) in arm_gdb_set_sysreg()
376 MProfileSysreg reg, bool secure) in m_sysreg_get()
412 int reg = 0; in arm_gen_dynamic_m_systemreg_feature() local
[all …]
/openbmc/u-boot/arch/arm/mach-tegra/
H A Dpinmux-common.c159 u32 *reg = MUX_REG(pin); in pinmux_set_func() local
191 u32 *reg = PULL_REG(pin); in pinmux_set_pullupdown() local
206 u32 *reg = TRI_REG(pin); in pinmux_set_tristate() local
234 u32 *reg = REG(pin); in pinmux_set_io() local
256 u32 *reg = REG(pin); in pinmux_set_lock() local
283 u32 *reg = REG(pin); in pinmux_set_od() local
308 u32 *reg = REG(pin); in pinmux_set_ioreset() local
333 u32 *reg = REG(pin); in pinmux_set_rcv_sel() local
358 u32 *reg = REG(pin); in pinmux_set_e_io_hv() local
382 u32 *reg = REG(grp); in pinmux_set_schmt() local
[all …]
/openbmc/linux/arch/powerpc/kernel/
H A Dudbg_16550.c166 static u8 udbg_uart_in_pio(unsigned int reg) in udbg_uart_in_pio()
171 static void udbg_uart_out_pio(unsigned int reg, u8 data) in udbg_uart_out_pio()
187 static u8 udbg_uart_in_mmio(unsigned int reg) in udbg_uart_in_mmio()
192 static void udbg_uart_out_mmio(unsigned int reg, u8 data) in udbg_uart_out_mmio()
213 static u8 udbg_uart_in_maple(unsigned int reg) in udbg_uart_in_maple()
218 static void udbg_uart_out_maple(unsigned int reg, u8 val) in udbg_uart_out_maple()
236 static u8 udbg_uart_in_pas(unsigned int reg) in udbg_uart_in_pas()
241 static void udbg_uart_out_pas(unsigned int reg, u8 val) in udbg_uart_out_pas()
259 static u8 udbg_uart_in_44x_as1(unsigned int reg) in udbg_uart_in_44x_as1()
280 static u8 udbg_uart_in_40x(unsigned int reg) in udbg_uart_in_40x()
[all …]
/openbmc/linux/drivers/usb/gadget/udc/
H A Dfusb300_udc.c132 u32 reg; in fusb300_set_epdir() local
321 u32 reg; in fusb300_set_cxlen() local
606 u32 data, reg; in fusb300_rdfifo() local
891 u32 reg; in fusb300_fill_idma_prdtbl() local
914 u32 reg; in fusb300_wait_idma_finished() local
1009 u32 reg; in fusb300_ep0out() local
1068 u32 reg; in fusb300_irq() local
1259 u32 reg; in fusb300_set_u2_timeout() local
1271 u32 reg; in fusb300_set_u1_timeout() local
1282 u32 reg; in init_controller() local
[all …]
/openbmc/qemu/hw/xen/
H A Dxen_pt_config_init.c84 XenPTRegInfo *reg = NULL; in xen_pt_find_reg() local
132 XenPTRegInfo *reg = cfg_entry->reg; in xen_pt_byte_reg_read() local
145 XenPTRegInfo *reg = cfg_entry->reg; in xen_pt_word_reg_read() local
158 XenPTRegInfo *reg = cfg_entry->reg; in xen_pt_long_reg_read() local
175 XenPTRegInfo *reg = cfg_entry->reg; in xen_pt_byte_reg_write() local
194 XenPTRegInfo *reg = cfg_entry->reg; in xen_pt_word_reg_write() local
213 XenPTRegInfo *reg = cfg_entry->reg; in xen_pt_long_reg_write() local
318 XenPTRegInfo *reg = cfg_entry->reg; in xen_pt_cmd_reg_write() local
436 XenPTRegInfo *reg = cfg_entry->reg; in xen_pt_bar_reg_read() local
476 XenPTRegInfo *reg = cfg_entry->reg; in xen_pt_bar_reg_write() local
[all …]

12345678910>>...247