Home
last modified time | relevance | path

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

12345678910>>...158

/linux-6.6.21/arch/mips/include/asm/
Dasm-eva.h19 #define kernel_ll(reg, addr) "ll " reg ", " addr "\n" argument
20 #define kernel_sc(reg, addr) "sc " reg ", " addr "\n" argument
21 #define kernel_lw(reg, addr) "lw " reg ", " addr "\n" argument
22 #define kernel_lwl(reg, addr) "lwl " reg ", " addr "\n" argument
23 #define kernel_lwr(reg, addr) "lwr " reg ", " addr "\n" argument
24 #define kernel_lh(reg, addr) "lh " reg ", " addr "\n" argument
25 #define kernel_lb(reg, addr) "lb " reg ", " addr "\n" argument
26 #define kernel_lbu(reg, addr) "lbu " reg ", " addr "\n" argument
27 #define kernel_sw(reg, addr) "sw " reg ", " addr "\n" argument
28 #define kernel_swl(reg, addr) "swl " reg ", " addr "\n" argument
[all …]
/linux-6.6.21/drivers/gpu/drm/bridge/analogix/
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 …]
/linux-6.6.21/arch/powerpc/lib/
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 …]
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Dsoc15_common.h36 #define SOC15_REG_OFFSET(ip, inst, reg) (adev->reg_offset[ip##_HWIP][inst][reg##_BASE_IDX] + reg) argument
37 #define SOC15_REG_OFFSET1(ip, inst, reg, offset) \ argument
40 #define __WREG32_SOC15_RLC__(reg, value, flag, hwip, inst) \ argument
45 #define __RREG32_SOC15_RLC__(reg, flag, hwip, inst) \ argument
50 #define WREG32_FIELD15(ip, idx, reg, field, val) \ argument
66 #define RREG32_SOC15(ip, inst, reg) \ argument
70 #define RREG32_SOC15_IP(ip, reg) __RREG32_SOC15_RLC__(reg, 0, ip##_HWIP, 0) argument
72 #define RREG32_SOC15_IP_NO_KIQ(ip, reg) __RREG32_SOC15_RLC__(reg, AMDGPU_REGS_NO_KIQ, ip##_HWIP, 0) argument
74 #define RREG32_SOC15_NO_KIQ(ip, inst, reg) \ argument
78 #define RREG32_SOC15_OFFSET(ip, inst, reg, offset) \ argument
[all …]
/linux-6.6.21/drivers/video/fbdev/riva/
Dnvreg.h44 #define DEVICE_ACCESS(device,reg) \ argument
47 #define DEVICE_WRITE(device,reg,value) DEVICE_ACCESS(device,reg)=(value) argument
48 #define DEVICE_READ(device,reg) DEVICE_ACCESS(device,reg) argument
49 #define DEVICE_PRINT(device,reg) \ argument
56 #define PDAC_Write(reg,value) DEVICE_WRITE(PDAC,reg,value) argument
57 #define PDAC_Read(reg) DEVICE_READ(PDAC,reg) argument
58 #define PDAC_Print(reg) DEVICE_PRINT(PDAC,reg) argument
63 #define PFB_Write(reg,value) DEVICE_WRITE(PFB,reg,value) argument
64 #define PFB_Read(reg) DEVICE_READ(PFB,reg) argument
65 #define PFB_Print(reg) DEVICE_PRINT(PFB,reg) argument
[all …]
/linux-6.6.21/drivers/scsi/arcmsr/
Darcmsr_hba.c403 struct MessageUnit_A __iomem *reg = acb->pmuA; in arcmsr_hbaA_wait_msgint_ready() local
421 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
494 struct MessageUnit_A __iomem *reg = acb->pmuA; in arcmsr_hbaA_flush_cache() local
510 struct MessageUnit_B *reg = acb->pmuB; in arcmsr_hbaB_flush_cache() local
526 struct MessageUnit_C __iomem *reg = pACB->pmuC; in arcmsr_hbaC_flush_cache() local
545 struct MessageUnit_D *reg = pACB->pmuD; in arcmsr_hbaD_flush_cache() local
562 struct MessageUnit_E __iomem *reg = pACB->pmuE; in arcmsr_hbaE_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
[all …]
/linux-6.6.21/arch/x86/lib/
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 …]
/linux-6.6.21/drivers/base/regmap/
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 …]
/linux-6.6.21/drivers/misc/cardreader/
Drtsx_pcr.h90 #define rtsx_vendor_setting_valid(reg) (!((reg) & 0x1000000)) argument
91 #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
98 #define rtsx_reg_to_sd30_drive_sel_1v8(reg) (((reg) >> 26) & 0x03) argument
99 #define rtsx_reg_to_sd30_drive_sel_3v3(reg) (((reg) >> 5) & 0x03) argument
100 #define rtsx_reg_to_card_drive_sel(reg) ((((reg) >> 25) & 0x01) << 6) argument
[all …]
/linux-6.6.21/sound/isa/gus/
Dgus_io.c31 static inline void __snd_gf1_ctrl_stop(struct snd_gus_card * gus, unsigned char reg) in __snd_gf1_ctrl_stop()
46 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()
91 static inline void __snd_gf1_write_addr(struct snd_gus_card * gus, unsigned char reg, in __snd_gf1_write_addr()
105 unsigned char reg, short w_16bit) in __snd_gf1_read_addr()
125 void snd_gf1_ctrl_stop(struct snd_gus_card * gus, unsigned char reg) in snd_gf1_ctrl_stop()
131 unsigned char reg, in snd_gf1_write8()
[all …]
/linux-6.6.21/arch/alpha/lib/
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()
123 #define STS(reg,val) asm volatile ("ftois $f"#reg",%0" : "=r"(val)); argument
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
[all …]
/linux-6.6.21/arch/mips/include/asm/octeon/
Dcvmx-fau.h129 static inline uint64_t __cvmx_fau_store_address(uint64_t noadd, uint64_t reg) in __cvmx_fau_store_address()
152 static inline uint64_t __cvmx_fau_atomic_address(uint64_t tagwait, uint64_t reg, in __cvmx_fau_atomic_address()
170 static inline int64_t cvmx_fau_fetch_and_add64(cvmx_fau_reg_64_t reg, in cvmx_fau_fetch_and_add64()
185 static inline int32_t cvmx_fau_fetch_and_add32(cvmx_fau_reg_32_t reg, in cvmx_fau_fetch_and_add32()
200 static inline int16_t cvmx_fau_fetch_and_add16(cvmx_fau_reg_16_t reg, in cvmx_fau_fetch_and_add16()
214 static inline int8_t cvmx_fau_fetch_and_add8(cvmx_fau_reg_8_t reg, int8_t value) in cvmx_fau_fetch_and_add8()
233 cvmx_fau_tagwait_fetch_and_add64(cvmx_fau_reg_64_t reg, int64_t value) in cvmx_fau_tagwait_fetch_and_add64()
257 cvmx_fau_tagwait_fetch_and_add32(cvmx_fau_reg_32_t reg, int32_t value) in cvmx_fau_tagwait_fetch_and_add32()
281 cvmx_fau_tagwait_fetch_and_add16(cvmx_fau_reg_16_t reg, int16_t value) in cvmx_fau_tagwait_fetch_and_add16()
304 cvmx_fau_tagwait_fetch_and_add8(cvmx_fau_reg_8_t reg, int8_t value) in cvmx_fau_tagwait_fetch_and_add8()
[all …]
/linux-6.6.21/drivers/net/ethernet/sfc/
Dio.h54 static inline u32 efx_reg(struct efx_nic *efx, unsigned int reg) in efx_reg()
61 unsigned int reg) in _efx_writeq()
65 static inline __le64 _efx_readq(struct efx_nic *efx, unsigned int reg) in _efx_readq()
72 unsigned int reg) in _efx_writed()
76 static inline __le32 _efx_readd(struct efx_nic *efx, unsigned int reg) in _efx_readd()
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()
[all …]
/linux-6.6.21/drivers/net/ipa/
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 …]
/linux-6.6.21/arch/ia64/include/asm/native/
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
35 #define MOV_FROM_PSR(pred, reg, clob) \ argument
38 #define MOV_FROM_ITC(pred, pred_clob, reg, clob) \ argument
[all …]
/linux-6.6.21/drivers/media/platform/samsung/s5p-jpeg/
Djpeg-hw-s5p.c19 unsigned long reg; in s5p_jpeg_reset() local
37 unsigned long reg, m; in s5p_jpeg_input_raw_mode() local
53 unsigned long reg, m; in s5p_jpeg_proc_mode() local
67 unsigned long reg, m; in s5p_jpeg_subsampling_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
[all …]
/linux-6.6.21/drivers/net/ethernet/sfc/siena/
Dio.h78 static inline u32 efx_reg(struct efx_nic *efx, unsigned int reg) in efx_reg()
85 unsigned int reg) in _efx_writeq()
89 static inline __le64 _efx_readq(struct efx_nic *efx, unsigned int reg) in _efx_readq()
96 unsigned int reg) in _efx_writed()
100 static inline __le32 _efx_readd(struct efx_nic *efx, unsigned int reg) in _efx_readd()
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()
[all …]
/linux-6.6.21/drivers/net/ethernet/sfc/falcon/
Dio.h68 unsigned int reg) in _ef4_writeq()
72 static inline __le64 _ef4_readq(struct ef4_nic *efx, unsigned int reg) in _ef4_readq()
79 unsigned int reg) in _ef4_writed()
83 static inline __le32 _ef4_readd(struct ef4_nic *efx, unsigned int reg) in _ef4_readd()
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()
203 unsigned int reg, unsigned int index) in ef4_reado_table()
[all …]
/linux-6.6.21/arch/powerpc/kvm/
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
/linux-6.6.21/drivers/accel/ivpu/
Divpu_hw_reg_io.h18 #define REGB_RD32(reg) ivpu_hw_reg_rd32(vdev, vdev->regb, (reg), #reg, __func__) argument
19 #define REGB_RD32_SILENT(reg) readl(vdev->regb + (reg)) argument
20 #define REGB_RD64(reg) ivpu_hw_reg_rd64(vdev, vdev->regb, (reg), #reg, __func__) argument
21 #define REGB_WR32(reg, val) ivpu_hw_reg_wr32(vdev, vdev->regb, (reg), (val), #reg, __func__) argument
22 #define REGB_WR64(reg, val) ivpu_hw_reg_wr64(vdev, vdev->regb, (reg), (val), #reg, __func__) argument
24 #define REGV_RD32(reg) ivpu_hw_reg_rd32(vdev, vdev->regv, (reg), #reg, __func__) argument
25 #define REGV_RD32_SILENT(reg) readl(vdev->regv + (reg)) argument
26 #define REGV_RD64(reg) ivpu_hw_reg_rd64(vdev, vdev->regv, (reg), #reg, __func__) argument
27 #define REGV_WR32(reg, val) ivpu_hw_reg_wr32(vdev, vdev->regv, (reg), (val), #reg, __func__) argument
28 #define REGV_WR64(reg, val) ivpu_hw_reg_wr64(vdev, vdev->regv, (reg), (val), #reg, __func__) argument
[all …]
/linux-6.6.21/drivers/media/platform/nxp/imx-jpeg/
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()
100 void mxc_jpeg_enc_mode_conf(struct device *dev, void __iomem *reg, u8 extseq) in mxc_jpeg_enc_mode_conf()
115 void mxc_jpeg_enc_mode_go(struct device *dev, void __iomem *reg, u8 extseq) in mxc_jpeg_enc_mode_go()
127 void mxc_jpeg_enc_set_quality(struct device *dev, void __iomem *reg, u8 quality) in mxc_jpeg_enc_set_quality()
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()
[all …]
/linux-6.6.21/drivers/gpu/drm/i915/display/
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()
45 intel_de_rmw(struct drm_i915_private *i915, i915_reg_t reg, u32 clear, u32 set) in intel_de_rmw()
51 intel_de_wait_for_register(struct drm_i915_private *i915, i915_reg_t reg, in intel_de_wait_for_register()
58 intel_de_wait_for_register_fw(struct drm_i915_private *i915, i915_reg_t reg, in intel_de_wait_for_register_fw()
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()
[all …]
/linux-6.6.21/sound/hda/
Dhdac_regmap.c36 #define get_verb(reg) (((reg) >> 8) & 0xfff) argument
38 static bool hda_volatile_reg(struct device *dev, unsigned int reg) in hda_volatile_reg()
65 static bool hda_writeable_reg(struct device *dev, unsigned int reg) in hda_writeable_reg()
114 static bool hda_readable_reg(struct device *dev, unsigned int reg) in hda_readable_reg()
147 static bool is_stereo_amp_verb(unsigned int reg) in is_stereo_amp_verb()
157 unsigned int reg, unsigned int *val) in hda_reg_read_stereo_amp()
175 unsigned int reg, unsigned int val) in hda_reg_write_stereo_amp()
204 static int hda_reg_read_coef(struct hdac_device *codec, unsigned int reg, in hda_reg_read_coef()
222 static int hda_reg_write_coef(struct hdac_device *codec, unsigned int reg, in hda_reg_write_coef()
240 static int hda_reg_read(void *context, unsigned int reg, unsigned int *val) in hda_reg_read()
[all …]
/linux-6.6.21/drivers/net/wireless/ath/
Dregd.c117 static bool dynamic_country_user_possible(struct ath_regulatory *reg) in dynamic_country_user_possible()
189 static bool ath_reg_dyn_country_user_allow(struct ath_regulatory *reg) in ath_reg_dyn_country_user_allow()
205 static u16 ath_regd_get_eepromRD(struct ath_regulatory *reg) in ath_regd_get_eepromRD()
210 bool ath_is_world_regd(struct ath_regulatory *reg) in ath_is_world_regd()
223 ieee80211_regdomain *ath_world_regdomain(struct ath_regulatory *reg) in ath_world_regdomain()
258 struct ath_regulatory *reg) in ath_is_radar_freq()
309 struct ath_regulatory *reg, in __ath_reg_apply_beaconing_flags()
340 struct ath_regulatory *reg, in ath_reg_apply_beaconing_flags()
377 struct ath_regulatory *reg, in ath_reg_apply_ir_flags()
405 struct ath_regulatory *reg) in ath_reg_apply_radar_flags()
[all …]
/linux-6.6.21/sound/soc/tegra/
Dtegra30_ahub.c25 static inline void tegra30_apbif_write(u32 reg, u32 val) in tegra30_apbif_write()
30 static inline u32 tegra30_apbif_read(u32 reg) in tegra30_apbif_read()
38 static inline void tegra30_audio_write(u32 reg, u32 val) in tegra30_audio_write()
108 u32 reg, val; in tegra30_ahub_allocate_rx_fifo() local
160 int reg, val; in tegra30_ahub_enable_rx_fifo() local
179 int reg, val; in tegra30_ahub_disable_rx_fifo() local
210 u32 reg, val; in tegra30_ahub_allocate_tx_fifo() local
262 int reg, val; in tegra30_ahub_enable_tx_fifo() local
281 int reg, val; in tegra30_ahub_disable_tx_fifo() local
311 int reg; in tegra30_ahub_set_rx_cif_source() local
[all …]

12345678910>>...158