/drivers/gpu/drm/bridge/analogix/ |
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 222 u32 reg; in analogix_dp_get_pll_lock_status() local 233 u32 reg; in analogix_dp_set_pll_power_down() local [all …]
|
/drivers/gpu/drm/amd/amdgpu/ |
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) __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 …]
|
/drivers/scsi/arcmsr/ |
D | arcmsr_hba.c | 403 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 …]
|
/drivers/video/fbdev/riva/ |
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 …]
|
/drivers/base/regmap/ |
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 …]
|
/drivers/misc/cardreader/ |
D | rtsx_pcr.h | 90 #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 …]
|
/drivers/net/ethernet/sfc/ |
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 …]
|
/drivers/net/ipa/ |
D | reg.h | 20 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 …]
|
/drivers/media/platform/samsung/s5p-jpeg/ |
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 …]
|
D | jpeg-hw-exynos3250.c | 20 u32 reg = 1; in exynos3250_jpeg_reset() local 62 u32 reg; in exynos3250_jpeg_clk_set() local 71 u32 reg; in exynos3250_jpeg_input_raw_fmt() local 122 u32 reg; in exynos3250_jpeg_set_y16() local 134 u32 reg, m; in exynos3250_jpeg_proc_mode() local 148 u32 reg, m = 0; in exynos3250_jpeg_subsampling_mode() local 176 u32 reg; in exynos3250_jpeg_dri() local 184 unsigned long reg; in exynos3250_jpeg_qtbl() local 195 unsigned long reg; in exynos3250_jpeg_htbl_ac() local 207 unsigned long reg; in exynos3250_jpeg_htbl_dc() local [all …]
|
/drivers/net/ethernet/sfc/siena/ |
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 …]
|
/drivers/net/ethernet/sfc/falcon/ |
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 …]
|
/drivers/accel/ivpu/ |
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 …]
|
/drivers/clk/imx/ |
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 …]
|
/drivers/net/wireless/ath/ |
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 …]
|
/drivers/gpu/drm/i915/display/ |
D | intel_de.h | 14 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 …]
|
/drivers/media/platform/nxp/imx-jpeg/ |
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 …]
|
/drivers/net/ethernet/microchip/ |
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 …]
|
/drivers/net/wireless/ralink/rt2x00/ |
D | rt2500pci.c | 48 u32 reg; in rt2500pci_bbp_write() local 72 u32 reg; in rt2500pci_bbp_read() local 106 u32 reg; in rt2500pci_rf_write() local 131 u32 reg; in rt2500pci_eepromregister_read() local 146 u32 reg = 0; in rt2500pci_eepromregister_write() local 195 u32 reg; in rt2500pci_rfkill_poll() local 208 u32 reg; in rt2500pci_brightness_set() local 226 u32 reg; in rt2500pci_blink_set() local 254 u32 reg; in rt2500pci_config_filter() local 288 u32 reg; in rt2500pci_config_intf() local [all …]
|
D | rt2400pci.c | 48 u32 reg; in rt2400pci_bbp_write() local 72 u32 reg; in rt2400pci_bbp_read() local 106 u32 reg; in rt2400pci_rf_write() local 131 u32 reg; in rt2400pci_eepromregister_read() local 146 u32 reg = 0; in rt2400pci_eepromregister_write() local 195 u32 reg; in rt2400pci_rfkill_poll() local 208 u32 reg; in rt2400pci_brightness_set() local 226 u32 reg; in rt2400pci_blink_set() local 254 u32 reg; in rt2400pci_config_filter() local 283 u32 reg; in rt2400pci_config_intf() local [all …]
|
D | rt61pci.c | 57 u32 reg; in rt61pci_bbp_write() local 81 u32 reg; in rt61pci_bbp_read() local 115 u32 reg; in rt61pci_rf_write() local 141 u32 reg; in rt61pci_mcu_request() local 169 u32 reg; in rt61pci_eepromregister_read() local 184 u32 reg = 0; in rt61pci_eepromregister_write() local 233 u32 reg; in rt61pci_rfkill_poll() local 284 u32 reg; in rt61pci_blink_set() local 328 u32 reg; in rt61pci_config_pairwise_key() local 425 u32 reg; in rt61pci_config_filter() local [all …]
|
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | smu_helper.h | 137 #define PHM_FIELD_SHIFT(reg, field) reg##__##field##__SHIFT argument 138 #define PHM_FIELD_MASK(reg, field) reg##__##field##_MASK argument 140 #define PHM_SET_FIELD(origval, reg, field, fieldval) \ argument 144 #define PHM_GET_FIELD(value, reg, field) \ argument 151 #define PHM_READ_FIELD(device, reg, field) \ argument 154 #define PHM_READ_INDIRECT_FIELD(device, port, reg, field) \ argument 158 #define PHM_READ_VFPF_INDIRECT_FIELD(device, port, reg, field) \ argument 162 #define PHM_WRITE_FIELD(device, reg, field, fieldval) \ argument 166 #define PHM_WRITE_INDIRECT_FIELD(device, port, reg, field, fieldval) \ argument 171 #define PHM_WRITE_VFPF_INDIRECT_FIELD(device, port, reg, field, fieldval) \ argument [all …]
|
/drivers/net/ethernet/intel/e1000/ |
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 …]
|
/drivers/clk/axs10x/ |
D | pll_clock.c | 36 #define PLL_REG_GET_LOW(reg) \ argument 38 #define PLL_REG_GET_HIGH(reg) \ argument 40 #define PLL_REG_GET_EDGE(reg) \ argument 42 #define PLL_REG_GET_BYPASS(reg) \ argument 44 #define PLL_REG_GET_NOUPD(reg) \ argument 46 #define PLL_REG_GET_PAD(reg) \ argument 49 #define PLL_REG_SET_LOW(reg, value) \ argument 51 #define PLL_REG_SET_HIGH(reg, value) \ argument 53 #define PLL_REG_SET_EDGE(reg, value) \ argument 55 #define PLL_REG_SET_BYPASS(reg, value) \ argument [all …]
|
/drivers/net/dsa/mv88e6xxx/ |
D | port.c | 21 int mv88e6xxx_port_read(struct mv88e6xxx_chip *chip, int port, int reg, in mv88e6xxx_port_read() 29 int mv88e6xxx_port_wait_bit(struct mv88e6xxx_chip *chip, int port, int reg, in mv88e6xxx_port_wait_bit() 37 int mv88e6xxx_port_write(struct mv88e6xxx_chip *chip, int port, int reg, in mv88e6xxx_port_write() 53 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 223 u16 reg, ctrl; in mv88e6xxx_port_set_speed_duplex() local 424 u16 reg, ctrl; in mv88e6393x_port_set_speed_duplex() local 527 u16 reg; in mv88e6xxx_port_set_cmode() local 632 u16 reg; in mv88e6393x_port_set_cmode() local [all …]
|