Home
last modified time | relevance | path

Searched defs:reg (Results 1 – 25 of 4884) sorted by relevance

12345678910>>...196

/openbmc/linux/arch/mips/include/asm/
H A Dasm-eva.h47 #define __BUILD_EVA_INSN(insn, reg, addr) \ argument
106 #define kernel_ll(reg, addr) ll reg, addr argument
107 #define kernel_sc(reg, addr) sc reg, addr argument
108 #define kernel_lw(reg, addr) lw reg, addr argument
111 #define kernel_lh(reg, addr) lh reg, addr argument
112 #define kernel_lb(reg, addr) lb reg, addr argument
114 #define kernel_sw(reg, addr) sw reg, addr argument
117 #define kernel_sh(reg, addr) sh reg, addr argument
118 #define kernel_sb(reg, addr) sb reg, addr argument
128 #define kernel_sd(reg, addr) sd reg, addr argument
[all …]
/openbmc/linux/arch/powerpc/lib/
H A Dldstfp.S28 reg = 0 define
32 reg = reg + 1 define
52 reg = 0 define
56 reg = reg + 1 define
77 reg = 0 define
81 reg = reg + 1 define
101 reg = 0 define
105 reg = reg + 1 define
125 reg = 1 define
129 reg = reg + 1 define
[all …]
/openbmc/linux/drivers/gpu/drm/bridge/analogix/
H A Danalogix_dp_reg.c28 u32 reg; in analogix_dp_enable_video_mute() local
43 u32 reg; in analogix_dp_stop_video() local
52 u32 reg; in analogix_dp_lane_swap() local
66 u32 reg; in analogix_dp_init_analog_param() local
120 u32 reg; in analogix_dp_reset() local
175 u32 reg; in analogix_dp_config_interrupt() local
196 u32 reg; in analogix_dp_mute_hpd_interrupt() local
210 u32 reg; in analogix_dp_unmute_hpd_interrupt() local
222 u32 reg; in analogix_dp_get_pll_lock_status() local
233 u32 reg; in analogix_dp_set_pll_power_down() local
[all …]
/openbmc/u-boot/drivers/video/exynos/
H A Dexynos_dp_lowlevel.c22 unsigned int reg; in exynos_dp_enable_video_input() local
39 unsigned int reg; in exynos_dp_enable_video_bist() local
55 unsigned int reg; in exynos_dp_enable_video_mute() local
70 unsigned int reg; in exynos_dp_init_analog_param() local
173 unsigned int reg; in exynos_dp_enable_sw_func() local
189 unsigned int reg; in exynos_dp_set_analog_power_down() local
242 unsigned int reg; in exynos_dp_get_pll_lock_status() local
255 unsigned int reg; in exynos_dp_set_pll_power() local
270 unsigned int reg; in exynos_dp_init_analog_func() local
319 unsigned int reg; in exynos_dp_init_hpd() local
[all …]
H A Dexynos_mipi_dsi_lowlevel.c20 unsigned int reg; in exynos_mipi_dsi_func_reset() local
34 unsigned int reg = 0; in exynos_mipi_dsi_sw_reset() local
76 unsigned int reg; in exynos_mipi_dsi_init_fifo_pointer() local
104 unsigned int reg; in exynos_mipi_dsi_set_main_disp_resol() local
123 unsigned int reg; in exynos_mipi_dsi_set_main_disp_vporch() local
141 unsigned int reg; in exynos_mipi_dsi_set_main_disp_hporch() local
156 unsigned int reg; in exynos_mipi_dsi_set_main_disp_sync_area() local
172 unsigned int reg; in exynos_mipi_dsi_set_sub_disp_resol() local
219 u32 reg = (readl(&mipi_dsim->config)) & in exynos_mipi_dsi_display_config() local
244 unsigned int reg; in exynos_mipi_dsi_enable_lane() local
[all …]
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Dsoc15_common.h37 #define SOC15_REG_OFFSET1(ip, inst, reg, offset) \ argument
66 #define RREG32_SOC15(ip, inst, reg) \ argument
74 #define RREG32_SOC15_NO_KIQ(ip, inst, reg) \ argument
82 #define WREG32_SOC15(ip, inst, reg, value) \ argument
86 #define WREG32_SOC15_IP(ip, reg, value) \ argument
110 #define WREG32_RLC(reg, value) \ argument
142 #define RREG32_RLC(reg) \ argument
145 #define WREG32_RLC_NO_KIQ(reg, value, hwip) \ argument
148 #define RREG32_RLC_NO_KIQ(reg, hwip) \ argument
169 #define RREG32_SOC15_RLC(ip, inst, reg) \ argument
[all …]
/openbmc/linux/arch/x86/lib/
H A Dretpoline.S19 .macro POLINE reg argument
28 .macro RETPOLINE reg argument
33 .macro THUNK reg argument
63 #define GEN(reg) THUNK reg argument
70 #define GEN(reg) __EXPORT_THUNK(__x86_indirect_thunk_ ## reg) argument
75 .macro CALL_THUNK reg argument
92 #define GEN(reg) CALL_THUNK reg argument
99 #define GEN(reg) __EXPORT_THUNK(__x86_indirect_call_thunk_ ## reg) argument
103 .macro JUMP_THUNK reg argument
118 #define GEN(reg) JUMP_THUNK reg argument
[all …]
/openbmc/linux/drivers/video/fbdev/riva/
H A Dnvreg.h44 #define DEVICE_ACCESS(device,reg) \ argument
49 #define DEVICE_PRINT(device,reg) \ argument
57 #define PDAC_Read(reg) DEVICE_READ(PDAC,reg) argument
58 #define PDAC_Print(reg) DEVICE_PRINT(PDAC,reg) argument
64 #define PFB_Read(reg) DEVICE_READ(PFB,reg) argument
65 #define PFB_Print(reg) DEVICE_PRINT(PFB,reg) argument
71 #define PRM_Read(reg) DEVICE_READ(PRM,reg) argument
72 #define PRM_Print(reg) DEVICE_PRINT(PRM,reg) argument
142 #define PBUS_Read(reg) DEVICE_READ(PBUS,reg) argument
157 #define PDAC_ReadExt(reg) \ argument
[all …]
/openbmc/linux/arch/alpha/lib/
H A Dfpreg.c14 #define STT(reg,val) asm volatile ("ftoit $f"#reg",%0" : "=r"(val)); argument
16 #define STT(reg,val) asm volatile ("stt $f"#reg",%0" : "=m"(val)); argument
20 alpha_read_fp_reg (unsigned long reg) in alpha_read_fp_reg()
69 #define LDT(reg,val) asm volatile ("itoft %0,$f"#reg : : "r"(val)); argument
71 #define LDT(reg,val) asm volatile ("ldt $f"#reg",%0" : : "m"(val)); argument
75 alpha_write_fp_reg (unsigned long reg, unsigned long val) in alpha_write_fp_reg()
125 #define STS(reg,val) asm volatile ("sts $f"#reg",%0" : "=m"(val)); argument
129 alpha_read_fp_reg_s (unsigned long reg) in alpha_read_fp_reg_s()
180 #define LDS(reg,val) asm volatile ("itofs %0,$f"#reg : : "r"(val)); argument
182 #define LDS(reg,val) asm volatile ("lds $f"#reg",%0" : : "m"(val)); argument
[all …]
/openbmc/linux/drivers/misc/cardreader/
H A Drtsx_pcr.h91 #define rts5209_vendor_setting1_valid(reg) (!((reg) & 0x80)) argument
92 #define rts5209_vendor_setting2_valid(reg) ((reg) & 0x80) argument
94 #define rtsx_check_mmc_support(reg) ((reg) & 0x10) argument
95 #define rtsx_reg_to_rtd3(reg) ((reg) & 0x02) argument
96 #define rtsx_reg_to_rtd3_uhsii(reg) ((reg) & 0x04) argument
97 #define rtsx_reg_to_aspm(reg) (((reg) >> 28) & 0x03) argument
101 #define rtsx_reg_check_reverse_socket(reg) ((reg) & 0x4000) argument
102 #define rts5209_reg_to_aspm(reg) (((reg) >> 5) & 0x03) argument
103 #define rts5209_reg_check_ms_pmos(reg) (!((reg) & 0x08)) argument
105 #define rts5209_reg_to_sd30_drive_sel_3v3(reg) ((reg) & 0x07) argument
[all …]
/openbmc/linux/drivers/scsi/arcmsr/
H A Darcmsr_hba.c421 struct MessageUnit_B *reg = acb->pmuB; in arcmsr_hbaB_wait_msgint_ready() local
459 struct MessageUnit_D *reg = pACB->pmuD; in arcmsr_hbaD_wait_msgint_ready() local
510 struct MessageUnit_B *reg = acb->pmuB; in arcmsr_hbaB_flush_cache() local
545 struct MessageUnit_D *reg = pACB->pmuD; in arcmsr_hbaD_flush_cache() local
602 struct MessageUnit_B *reg = acb->pmuB; in arcmsr_hbaB_assign_regAddr() local
622 struct MessageUnit_D *reg = acb->pmuD; in arcmsr_hbaD_assign_regAddr() local
1173 struct MessageUnit_B *reg = acb->pmuB; in arcmsr_resume() local
1232 struct MessageUnit_B *reg = acb->pmuB; in arcmsr_hbaB_abort_allcmd() local
1955 struct MessageUnit_B *reg = acb->pmuB; in arcmsr_hbaB_stop_bgrb() local
2481 struct MessageUnit_B *reg = acb->pmuB; in arcmsr_hbaB_postqueue_isr() local
[all …]
/openbmc/linux/drivers/base/regmap/
H A Dregmap-mmio.c66 unsigned int reg, in regmap_mmio_write8()
73 unsigned int reg, in regmap_mmio_write8_relaxed()
80 unsigned int reg, unsigned int val) in regmap_mmio_iowrite8()
86 unsigned int reg, in regmap_mmio_write16le()
93 unsigned int reg, in regmap_mmio_write16le_relaxed()
100 unsigned int reg, unsigned int val) in regmap_mmio_iowrite16le()
106 unsigned int reg, in regmap_mmio_write16be()
113 unsigned int reg, unsigned int val) in regmap_mmio_iowrite16be()
119 unsigned int reg, in regmap_mmio_write32le()
126 unsigned int reg, in regmap_mmio_write32le_relaxed()
[all …]
/openbmc/linux/sound/isa/gus/
H A Dgus_io.c46 unsigned char reg, in __snd_gf1_write8()
56 unsigned char reg) in __snd_gf1_look8()
64 unsigned char reg, unsigned int data) in __snd_gf1_write16()
73 unsigned char reg) in __snd_gf1_look16()
81 unsigned char reg, unsigned char data) in __snd_gf1_adlib_write()
131 unsigned char reg, in snd_gf1_write8()
143 unsigned char reg, in snd_gf1_write16()
155 unsigned char reg, in snd_gf1_adlib_write()
188 unsigned char reg, in snd_gf1_i_write8()
210 unsigned char reg, in snd_gf1_i_write16()
[all …]
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dio.h61 unsigned int reg) in _efx_writeq()
72 unsigned int reg) in _efx_writed()
83 unsigned int reg) in efx_writeo()
106 unsigned int reg) in efx_writed()
118 unsigned int reg) in efx_reado()
136 unsigned int reg) in efx_readd()
147 unsigned int reg, unsigned int index) in efx_writeo_table()
167 unsigned int reg) in efx_paged_reg()
174 unsigned int reg, unsigned int page) in _efx_writeo_page()
203 unsigned int reg, unsigned int page) in _efx_writed_page()
[all …]
/openbmc/linux/drivers/net/ipa/
H A Dreg.h20 struct reg { struct
34 static const struct reg reg_ ## __reg_id = { \ argument
59 const struct reg **reg; member
62 static inline const struct reg *reg(const struct regs *regs, u32 reg_id) in reg() function
72 static inline u32 reg_fmask(const struct reg *reg, u32 field_id) in reg_fmask()
81 static inline u32 reg_bit(const struct reg *reg, u32 field_id) in reg_bit()
92 static inline u32 reg_field_max(const struct reg *reg, u32 field_id) in reg_field_max()
100 static inline u32 reg_encode(const struct reg *reg, u32 field_id, u32 val) in reg_encode()
115 static inline u32 reg_decode(const struct reg *reg, u32 field_id, u32 val) in reg_decode()
123 static inline u32 reg_offset(const struct reg *reg) in reg_offset()
[all …]
/openbmc/linux/arch/mips/include/asm/octeon/
H A Dcvmx-fau.h170 static inline int64_t cvmx_fau_fetch_and_add64(cvmx_fau_reg_64_t reg, in cvmx_fau_fetch_and_add64()
304 cvmx_fau_tagwait_fetch_and_add8(cvmx_fau_reg_8_t reg, int8_t value) in cvmx_fau_tagwait_fetch_and_add8()
340 uint64_t reg) in __cvmx_fau_iobdma_data()
364 cvmx_fau_reg_64_t reg, in cvmx_fau_async_fetch_and_add64()
384 cvmx_fau_reg_32_t reg, in cvmx_fau_async_fetch_and_add32()
403 cvmx_fau_reg_16_t reg, in cvmx_fau_async_fetch_and_add16()
421 cvmx_fau_reg_8_t reg, in cvmx_fau_async_fetch_and_add8()
444 cvmx_fau_reg_64_t reg, in cvmx_fau_async_tagwait_fetch_and_add64()
467 cvmx_fau_reg_32_t reg, in cvmx_fau_async_tagwait_fetch_and_add32()
490 cvmx_fau_reg_16_t reg, in cvmx_fau_async_tagwait_fetch_and_add16()
[all …]
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_64_entry.S200 reg = 14 define
203 reg = reg + 1 define
224 reg = 4 define
227 reg = reg + 1 define
303 reg = 14 define
306 reg = reg + 1 define
312 reg = 4 define
315 reg = reg + 1 define
325 reg = 14 define
328 reg = reg + 1 define
/openbmc/linux/arch/ia64/include/asm/native/
H A Dinst.h11 #define MOV_FROM_IFA(reg) \ argument
14 #define MOV_FROM_ITIR(reg) \ argument
17 #define MOV_FROM_ISR(reg) \ argument
20 #define MOV_FROM_IHA(reg) \ argument
23 #define MOV_FROM_IPSR(pred, reg) \ argument
26 #define MOV_FROM_IIM(reg) \ argument
29 #define MOV_FROM_IIP(reg) \ argument
32 #define MOV_FROM_IVR(reg, clob) \ argument
41 #define MOV_TO_IFA(reg, clob) \ argument
56 #define MOV_TO_IIP(reg, clob) \ argument
[all …]
/openbmc/linux/drivers/net/ethernet/sfc/falcon/
H A Dio.h68 unsigned int reg) in _ef4_writeq()
79 unsigned int reg) in _ef4_writed()
90 unsigned int reg) in ef4_writeo()
134 unsigned int reg) in ef4_writed()
146 unsigned int reg) in ef4_reado()
185 unsigned int reg) in ef4_readd()
196 unsigned int reg, unsigned int index) in ef4_writeo_table()
212 #define EF4_PAGED_REG(page, reg) \ argument
217 unsigned int reg, unsigned int page) in _ef4_writeo_page()
246 unsigned int reg, unsigned int page) in _ef4_writed_page()
[all …]
/openbmc/linux/drivers/media/platform/samsung/s5p-jpeg/
H A Djpeg-hw-s5p.c19 unsigned long reg; in s5p_jpeg_reset() local
37 unsigned long reg, m; in s5p_jpeg_input_raw_mode() local
87 unsigned long reg; in s5p_jpeg_dri() local
102 unsigned long reg; in s5p_jpeg_qtbl() local
112 unsigned long reg; in s5p_jpeg_htbl_ac() local
123 unsigned long reg; in s5p_jpeg_htbl_dc() local
134 unsigned long reg; in s5p_jpeg_y() local
149 unsigned long reg; in s5p_jpeg_x() local
164 unsigned long reg; in s5p_jpeg_rst_int_enable() local
175 unsigned long reg; in s5p_jpeg_data_num_int_enable() local
[all …]
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Dio.h85 unsigned int reg) in _efx_writeq()
96 unsigned int reg) in _efx_writed()
107 unsigned int reg) in efx_writeo()
151 unsigned int reg) in efx_writed()
163 unsigned int reg) in efx_reado()
202 unsigned int reg) in efx_readd()
213 unsigned int reg, unsigned int index) in efx_writeo_table()
233 unsigned int reg) in efx_paged_reg()
240 unsigned int reg, unsigned int page) in _efx_writeo_page()
269 unsigned int reg, unsigned int page) in _efx_writed_page()
[all …]
/openbmc/qemu/include/hw/
H A Dregisterfields.h21 #define REG32(reg, addr) \ argument
25 #define REG8(reg, addr) \ argument
29 #define REG16(reg, addr) \ argument
33 #define REG64(reg, addr) \ argument
42 #define FIELD(reg, field, shift, length) \ argument
49 #define FIELD_EX8(storage, reg, field) \ argument
52 #define FIELD_EX16(storage, reg, field) \ argument
55 #define FIELD_EX32(storage, reg, field) \ argument
58 #define FIELD_EX64(storage, reg, field) \ argument
62 #define FIELD_SEX8(storage, reg, field) \ argument
[all …]
/openbmc/linux/drivers/iio/pressure/
H A Dbmp280-regmap.c8 static bool bmp180_is_writeable_reg(struct device *dev, unsigned int reg) in bmp180_is_writeable_reg()
19 static bool bmp180_is_volatile_reg(struct device *dev, unsigned int reg) in bmp180_is_volatile_reg()
44 static bool bme280_is_writeable_reg(struct device *dev, unsigned int reg) in bme280_is_writeable_reg()
57 static bool bmp280_is_writeable_reg(struct device *dev, unsigned int reg) in bmp280_is_writeable_reg()
69 static bool bmp280_is_volatile_reg(struct device *dev, unsigned int reg) in bmp280_is_volatile_reg()
85 static bool bme280_is_volatile_reg(struct device *dev, unsigned int reg) in bme280_is_volatile_reg()
102 static bool bmp380_is_writeable_reg(struct device *dev, unsigned int reg) in bmp380_is_writeable_reg()
122 static bool bmp380_is_volatile_reg(struct device *dev, unsigned int reg) in bmp380_is_volatile_reg()
145 static bool bmp580_is_writeable_reg(struct device *dev, unsigned int reg) in bmp580_is_writeable_reg()
171 static bool bmp580_is_volatile_reg(struct device *dev, unsigned int reg) in bmp580_is_volatile_reg()
/openbmc/linux/drivers/media/platform/nxp/imx-jpeg/
H A Dmxc-jpeg-hw.c35 void print_cast_status(struct device *dev, void __iomem *reg, in print_cast_status()
63 void print_wrapper_info(struct device *dev, void __iomem *reg) in print_wrapper_info()
77 void mxc_jpeg_enable_irq(void __iomem *reg, int slot) in mxc_jpeg_enable_irq()
83 void mxc_jpeg_disable_irq(void __iomem *reg, int slot) in mxc_jpeg_disable_irq()
89 void mxc_jpeg_sw_reset(void __iomem *reg) in mxc_jpeg_sw_reset()
135 void mxc_jpeg_dec_mode_go(struct device *dev, void __iomem *reg) in mxc_jpeg_dec_mode_go()
141 int mxc_jpeg_enable(void __iomem *reg) in mxc_jpeg_enable()
150 void mxc_jpeg_enable_slot(void __iomem *reg, int slot) in mxc_jpeg_enable_slot()
158 void mxc_jpeg_set_l_endian(void __iomem *reg, int le) in mxc_jpeg_set_l_endian()
182 void mxc_jpeg_set_desc(u32 desc, void __iomem *reg, int slot) in mxc_jpeg_set_desc()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_de.h14 intel_de_read(struct drm_i915_private *i915, i915_reg_t reg) in intel_de_read()
20 intel_de_read8(struct drm_i915_private *i915, i915_reg_t reg) in intel_de_read8()
33 intel_de_posting_read(struct drm_i915_private *i915, i915_reg_t reg) in intel_de_posting_read()
39 intel_de_write(struct drm_i915_private *i915, i915_reg_t reg, u32 val) in intel_de_write()
51 intel_de_wait_for_register(struct drm_i915_private *i915, i915_reg_t reg, in intel_de_wait_for_register()
65 __intel_de_wait_for_register(struct drm_i915_private *i915, i915_reg_t reg, in __intel_de_wait_for_register()
75 intel_de_wait_for_set(struct drm_i915_private *i915, i915_reg_t reg, in intel_de_wait_for_set()
82 intel_de_wait_for_clear(struct drm_i915_private *i915, i915_reg_t reg, in intel_de_wait_for_clear()
97 intel_de_read_fw(struct drm_i915_private *i915, i915_reg_t reg) in intel_de_read_fw()
108 intel_de_write_fw(struct drm_i915_private *i915, i915_reg_t reg, u32 val) in intel_de_write_fw()
[all …]

12345678910>>...196