/linux/arch/mips/include/asm/ |
H A D | asm-eva.h | 19 #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/drivers/gpu/drm/bridge/analogix/ |
H A D | analogix_dp_reg.c | 28 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 231 u32 reg; in analogix_dp_set_pll_power_down() local 252 u32 reg; in analogix_dp_set_analog_power_down() local [all …]
|
/linux/arch/powerpc/lib/ |
H A D | ldstfp.S | 28 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/drivers/video/fbdev/riva/ |
H A D | nvreg.h | 44 #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/drivers/gpu/drm/amd/amdgpu/ |
H A D | soc15_common.h | 36 #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, inst) __RREG32_SOC15_RLC__(reg, AMDGPU_REGS_NO_KIQ, ip##_HW… argument 74 #define RREG32_SOC15_NO_KIQ(ip, inst, reg) \ argument 78 #define RREG32_SOC15_OFFSET(ip, inst, reg, offset) \ argument [all …]
|
/linux/drivers/base/regmap/ |
H A D | regmap-mmio.c | 66 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/drivers/misc/cardreader/ |
H A D | rtsx_pcr.h | 91 #define rtsx_vendor_setting_valid(reg) (!((reg) & 0x1000000)) argument 92 #define rts5209_vendor_setting1_valid(reg) (!((reg) & 0x80)) argument 93 #define rts5209_vendor_setting2_valid(reg) ((reg) & 0x80) argument 95 #define rtsx_check_mmc_support(reg) ((reg) & 0x10) argument 96 #define rtsx_reg_to_rtd3(reg) ((reg) & 0x02) argument 97 #define rtsx_reg_to_rtd3_uhsii(reg) ((reg) & 0x04) argument 98 #define rtsx_reg_to_aspm(reg) (((reg) >> 28) & 0x03) argument 99 #define rtsx_reg_to_sd30_drive_sel_1v8(reg) (((reg) >> 26) & 0x03) argument 100 #define rtsx_reg_to_sd30_drive_sel_3v3(reg) (((reg) >> 5) & 0x03) argument 101 #define rtsx_reg_to_card_drive_sel(reg) ((((reg) >> 25) & 0x01) << 6) argument [all …]
|
/linux/sound/isa/gus/ |
H A D | gus_io.c | 31 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/arch/mips/include/asm/octeon/ |
H A D | cvmx-fau.h | 129 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/drivers/net/ethernet/sfc/ |
H A D | io.h | 54 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/arch/x86/lib/ |
H A D | retpoline.S | 19 .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/drivers/net/ipa/ |
H A D | reg.h | 22 struct reg { struct 36 static const struct reg reg_ ## __reg_id = { \ argument 61 const struct reg **reg; member 64 static inline const struct reg *reg(const struct regs *regs, u32 reg_id) in reg() function 74 static inline u32 reg_fmask(const struct reg *reg, u32 field_id) in reg_fmask() 83 static inline u32 reg_bit(const struct reg *reg, u32 field_id) in reg_bit() 94 static inline u32 reg_field_max(const struct reg *reg, u32 field_id) in reg_field_max() 102 static inline u32 reg_encode(const struct reg *reg, u32 field_id, u32 val) in reg_encode() 117 static inline u32 reg_decode(const struct reg *reg, u32 field_id, u32 val) in reg_decode() 125 static inline u32 reg_offset(const struct reg *reg) in reg_offset() [all …]
|
/linux/drivers/net/ethernet/sfc/siena/ |
H A D | io.h | 78 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/drivers/media/platform/samsung/s5p-jpeg/ |
H A D | jpeg-hw-s5p.c | 19 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/drivers/net/ethernet/sfc/falcon/ |
H A D | io.h | 68 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/arch/powerpc/kvm/ |
H A D | book3s_64_entry.S | 200 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/drivers/media/platform/nxp/imx-jpeg/ |
H A D | mxc-jpeg-hw.c | 35 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/sound/hda/ |
H A D | hdac_regmap.c | 36 #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/drivers/net/wireless/ath/ |
H A D | regd.c | 117 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/drivers/iio/pressure/ |
H A D | bmp280-regmap.c | 8 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()
|
/linux/drivers/clk/imx/ |
H A D | clk.h | 107 #define clk_register_gate2(dev, name, parent_name, flags, reg, bit_idx, \ argument 115 #define imx_clk_pfd(name, parent_name, reg, idx) \ argument 118 #define imx_clk_gate_exclusive(name, parent, reg, shift, exclusive_mask) \ argument 127 #define imx_clk_divider(name, parent, reg, shift, width) \ argument 130 #define imx_clk_divider_flags(name, parent, reg, shift, width, flags) \ argument 133 #define imx_clk_gate(name, parent, reg, shift) \ argument 136 #define imx_clk_gate_dis(name, parent, reg, shift) \ argument 139 #define imx_clk_gate2(name, parent, reg, shift) \ argument 142 #define imx_clk_gate2_cgr(name, parent, reg, shift, cgr_val) \ argument 145 #define imx_clk_gate2_flags(name, parent, reg, shift, flags) \ argument [all …]
|
/linux/drivers/accel/ivpu/ |
H A D | ivpu_hw_reg_io.h | 18 #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/sound/soc/tegra/ |
H A D | tegra30_ahub.c | 25 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 …]
|
/linux/drivers/net/ethernet/microchip/ |
H A D | encx24j600-regmap.c | 60 static int regmap_encx24j600_sfr_read(void *context, u8 reg, u8 *val, in regmap_encx24j600_sfr_read() 112 u8 reg, u8 *val, size_t len, in regmap_encx24j600_sfr_update() 168 static int regmap_encx24j600_sfr_write(void *context, u8 reg, u8 *val, in regmap_encx24j600_sfr_write() 177 u8 reg, u8 val) in regmap_encx24j600_sfr_set_bits() 183 u8 reg, u8 val) in regmap_encx24j600_sfr_clr_bits() 188 static int regmap_encx24j600_reg_update_bits(void *context, unsigned int reg, in regmap_encx24j600_reg_update_bits() 220 int regmap_encx24j600_spi_write(void *context, u8 reg, const u8 *data, in regmap_encx24j600_spi_write() 233 int regmap_encx24j600_spi_read(void *context, u8 reg, u8 *data, size_t count) in regmap_encx24j600_spi_read() 248 u8 reg = dout[0]; in regmap_encx24j600_write() local 265 u8 reg = *(const u8 *)reg_buf; in regmap_encx24j600_read() local [all …]
|
/linux/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_osdep.h | 28 #define er32(reg) \ argument 32 #define ew32(reg, value) \ argument 36 #define E1000_WRITE_REG_ARRAY(a, reg, offset, value) ( \ argument 41 #define E1000_READ_REG_ARRAY(a, reg, offset) ( \ argument 49 #define E1000_WRITE_REG_ARRAY_WORD(a, reg, offset, value) ( \ argument 54 #define E1000_READ_REG_ARRAY_WORD(a, reg, offset) ( \ argument 59 #define E1000_WRITE_REG_ARRAY_BYTE(a, reg, offset, value) ( \ argument 64 #define E1000_READ_REG_ARRAY_BYTE(a, reg, offset) ( \ argument 71 #define E1000_WRITE_ICH_FLASH_REG(a, reg, value) ( \ argument 74 #define E1000_READ_ICH_FLASH_REG(a, reg) ( \ argument [all …]
|