Home
last modified time | relevance | path

Searched defs:reg (Results 26 – 50 of 5652) sorted by relevance

12345678910>>...227

/openbmc/linux/drivers/accel/ivpu/
H A Divpu_hw_reg_io.h19 #define REGB_RD32_SILENT(reg) readl(vdev->regb + (reg)) argument
25 #define REGV_RD32_SILENT(reg) readl(vdev->regv + (reg)) argument
30 #define REGV_WR32I(reg, stride, index, val) \ argument
50 #define REGB_POLL(reg, var, cond, timeout_us) \ argument
53 #define REGV_POLL(reg, var, cond, timeout_us) \ argument
56 #define REGB_POLL_FLD(reg, fld, val, timeout_us) \ argument
62 #define REGV_POLL_FLD(reg, fld, val, timeout_us) \ argument
69 ivpu_hw_reg_rd32(struct ivpu_device *vdev, void __iomem *base, u32 reg, in ivpu_hw_reg_rd32()
79 ivpu_hw_reg_rd64(struct ivpu_device *vdev, void __iomem *base, u32 reg, in ivpu_hw_reg_rd64()
89 ivpu_hw_reg_wr32(struct ivpu_device *vdev, void __iomem *base, u32 reg, u32 val, in ivpu_hw_reg_wr32()
[all …]
/openbmc/linux/sound/hda/
H A 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()
425 static int reg_raw_write(struct hdac_device *codec, unsigned int reg, in reg_raw_write()
466 static int reg_raw_read(struct hdac_device *codec, unsigned int reg, in reg_raw_read()
481 unsigned int reg, unsigned int *val, in __snd_hdac_regmap_read_raw()
[all …]
/openbmc/linux/drivers/net/wireless/ath/
H A Dregd.c258 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()
438 struct ath_regulatory *reg) in ath_reg_apply_world_flags()
472 struct ath_regulatory *reg, in __ath_reg_dyn_country()
496 struct ath_regulatory *reg, in ath_reg_dyn_country()
510 struct ath_regulatory *reg) in ath_reg_notifier_apply()
635 ath_regd_init_wiphy(struct ath_regulatory *reg, in ath_regd_init_wiphy()
[all …]
/openbmc/linux/sound/soc/tegra/
H A Dtegra30_ahub.c108 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
328 int reg; in tegra30_ahub_unset_rx_cif_source() local
370 #define REG_IN_ARRAY(reg, name) \ argument
418 unsigned int reg) in tegra30_ahub_apbif_volatile_reg()
[all …]
/openbmc/linux/include/linux/
H A Dlitex.h41 static inline void litex_write8(void __iomem *reg, u8 val) in litex_write8()
46 static inline void litex_write16(void __iomem *reg, u16 val) in litex_write16()
51 static inline void litex_write32(void __iomem *reg, u32 val) in litex_write32()
56 static inline void litex_write64(void __iomem *reg, u64 val) in litex_write64()
62 static inline u8 litex_read8(void __iomem *reg) in litex_read8()
67 static inline u16 litex_read16(void __iomem *reg) in litex_read16()
72 static inline u32 litex_read32(void __iomem *reg) in litex_read32()
77 static inline u64 litex_read64(void __iomem *reg) in litex_read64()
/openbmc/linux/drivers/net/ethernet/intel/e1000/
H A De1000_osdep.h28 #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
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
77 #define E1000_WRITE_ICH_FLASH_REG16(a, reg, value) ( \ argument
[all …]
/openbmc/linux/drivers/net/ethernet/microchip/
H A Dencx24j600-regmap.c60 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()
248 u8 reg = dout[0]; in regmap_encx24j600_write() local
265 u8 reg = *(const u8 *)reg_buf; in regmap_encx24j600_read() local
345 static int regmap_encx24j600_phy_reg_read(void *context, unsigned int reg, in regmap_encx24j600_phy_reg_read()
[all …]
/openbmc/linux/drivers/clk/imx/
H A Dclk.h115 #define imx_clk_pfd(name, parent_name, reg, idx) \ 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
163 #define imx_clk_hw_gate(name, parent, reg, shift) \ argument
166 #define imx_clk_hw_gate2(name, parent, reg, shift) \ argument
187 #define imx_clk_hw_gate3(name, parent, reg, shift) \ argument
358 void __iomem *reg, u8 shift, in imx_clk_hw_divider_closest()
367 void __iomem *reg, u8 shift, in __imx_clk_hw_divider()
375 void __iomem *reg, u8 shift, in __imx_clk_hw_gate()
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/
H A Disp2400_input_system_private.h27 const hrt_address reg, in input_system_reg_store()
39 const hrt_address reg) in input_system_reg_load()
49 const hrt_address reg, in receiver_reg_store()
60 const hrt_address reg) in receiver_reg_load()
70 const hrt_address reg, in receiver_port_reg_store()
85 const hrt_address reg) in receiver_port_reg_load()
98 const hrt_address reg, in input_system_sub_system_reg_store()
113 const hrt_address reg) in input_system_sub_system_reg_load()
/openbmc/linux/drivers/media/platform/samsung/s5p-jpeg/
H A Djpeg-hw-exynos3250.c20 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
176 u32 reg; in exynos3250_jpeg_dri() local
219 u32 reg; in exynos3250_jpeg_set_y() local
227 u32 reg; in exynos3250_jpeg_set_x() local
247 u32 reg; in exynos3250_jpeg_interrupts_enable() local
262 u32 reg; in exynos3250_jpeg_enc_stream_bound() local
270 u32 reg; in exynos3250_jpeg_output_raw_fmt() local
[all …]
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu_helper.h137 #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
183 #define PHM_WAIT_INDIRECT_FIELD(hwmgr, port, reg, field, fieldval) \ argument
232 #define PHM_WAIT_REGISTER_UNEQUAL(hwmgr, reg, value, mask) \ argument
[all …]
/openbmc/linux/arch/x86/pci/
H A Dce4100.c31 int reg; member
55 static void reg_init(struct sim_dev_reg *reg) in reg_init()
61 static void reg_read(struct sim_dev_reg *reg, u32 *value) in reg_read()
66 static void reg_write(struct sim_dev_reg *reg, u32 value) in reg_write()
72 static void sata_reg_init(struct sim_dev_reg *reg) in sata_reg_init()
79 static void ehci_reg_read(struct sim_dev_reg *reg, u32 *value) in ehci_reg_read()
86 static void sata_revid_init(struct sim_dev_reg *reg) in sata_revid_init()
92 static void sata_revid_read(struct sim_dev_reg *reg, u32 *value) in sata_revid_read()
97 static void reg_noirq_read(struct sim_dev_reg *reg, u32 *value) in reg_noirq_read()
264 unsigned int devfn, int reg, int len, u32 *value) in ce4100_conf_read()
[all …]
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2400pci.c48 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
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
317 u32 reg; in rt2400pci_config_erp() local
[all …]
H A Drt2500pci.c48 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
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
322 u32 reg; in rt2500pci_config_erp() local
[all …]
H A Drt61pci.c57 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
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
459 u32 reg; in rt61pci_config_intf() local
[all …]
/openbmc/u-boot/arch/x86/include/asm/arch-quark/
H A Dmsg_port.h108 #define msg_port_generic_clrsetbits(type, port, reg, clr, set) \ argument
113 #define msg_port_clrbits(port, reg, clr) \ argument
115 #define msg_port_setbits(port, reg, set) \ argument
117 #define msg_port_clrsetbits(port, reg, clr, set) \ argument
120 #define msg_port_alt_clrbits(port, reg, clr) \ argument
122 #define msg_port_alt_setbits(port, reg, set) \ argument
124 #define msg_port_alt_clrsetbits(port, reg, clr, set) \ argument
127 #define msg_port_io_clrbits(port, reg, clr) \ argument
129 #define msg_port_io_setbits(port, reg, set) \ argument
131 #define msg_port_io_clrsetbits(port, reg, clr, set) \ argument
/openbmc/linux/include/video/
H A Dvga.h214 static inline void vga_io_w_fast (unsigned short port, unsigned char reg, in vga_io_w_fast()
231 unsigned char reg, unsigned char val) in vga_mm_w_fast()
254 unsigned char reg, unsigned char val) in vga_w_fast()
283 static inline unsigned char vga_io_rcrt (unsigned char reg) in vga_io_rcrt()
289 static inline void vga_io_wcrt (unsigned char reg, unsigned char val) in vga_io_wcrt()
336 static inline unsigned char vga_io_rseq (unsigned char reg) in vga_io_rseq()
342 static inline void vga_io_wseq (unsigned char reg, unsigned char val) in vga_io_wseq()
388 static inline unsigned char vga_io_rgfx (unsigned char reg) in vga_io_rgfx()
394 static inline void vga_io_wgfx (unsigned char reg, unsigned char val) in vga_io_wgfx()
437 static inline unsigned char vga_io_rattr (unsigned char reg) in vga_io_rattr()
[all …]
/openbmc/linux/drivers/clk/axs10x/
H A Dpll_clock.c36 #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
57 #define PLL_REG_SET_NOUPD(reg, value) \ argument
[all …]
/openbmc/u-boot/arch/x86/cpu/quark/
H A Dmsg_port.c11 void msg_port_setup(int op, int port, int reg) in msg_port_setup()
18 u32 msg_port_read(u8 port, u32 reg) in msg_port_read()
30 void msg_port_write(u8 port, u32 reg, u32 value) in msg_port_write()
38 u32 msg_port_alt_read(u8 port, u32 reg) in msg_port_alt_read()
50 void msg_port_alt_write(u8 port, u32 reg, u32 value) in msg_port_alt_write()
58 u32 msg_port_io_read(u8 port, u32 reg) in msg_port_io_read()
70 void msg_port_io_write(u8 port, u32 reg, u32 value) in msg_port_io_write()
/openbmc/linux/arch/powerpc/kvm/
H A Dtm.S17 #define VCPU_GPRS_TM(reg) (((reg) * ULONG_SIZE) + VCPU_GPR_TM) argument
116 reg = 3 define
121 reg = reg + 1 define
326 reg = 0 define
329 reg = reg + 1 define
/openbmc/linux/drivers/mfd/
H A Dmax77686.c37 unsigned int reg) in max77802_pmic_is_accessible_reg()
43 unsigned int reg) in max77802_rtc_is_accessible_reg()
48 static bool max77802_is_accessible_reg(struct device *dev, unsigned int reg) in max77802_is_accessible_reg()
54 static bool max77802_pmic_is_precious_reg(struct device *dev, unsigned int reg) in max77802_pmic_is_precious_reg()
60 static bool max77802_rtc_is_precious_reg(struct device *dev, unsigned int reg) in max77802_rtc_is_precious_reg()
67 static bool max77802_is_precious_reg(struct device *dev, unsigned int reg) in max77802_is_precious_reg()
73 static bool max77802_pmic_is_volatile_reg(struct device *dev, unsigned int reg) in max77802_pmic_is_volatile_reg()
80 static bool max77802_rtc_is_volatile_reg(struct device *dev, unsigned int reg) in max77802_rtc_is_volatile_reg()
92 static bool max77802_is_volatile_reg(struct device *dev, unsigned int reg) in max77802_is_volatile_reg()
/openbmc/linux/drivers/gpu/drm/i915/
H A Dvlv_sideband.c143 u32 vlv_bunit_read(struct drm_i915_private *i915, u32 reg) in vlv_bunit_read()
153 void vlv_bunit_write(struct drm_i915_private *i915, u32 reg, u32 val) in vlv_bunit_write()
169 u32 vlv_iosf_sb_read(struct drm_i915_private *i915, u8 port, u32 reg) in vlv_iosf_sb_read()
180 u8 port, u32 reg, u32 val) in vlv_iosf_sb_write()
186 u32 vlv_cck_read(struct drm_i915_private *i915, u32 reg) in vlv_cck_read()
196 void vlv_cck_write(struct drm_i915_private *i915, u32 reg, u32 val) in vlv_cck_write()
202 u32 vlv_ccu_read(struct drm_i915_private *i915, u32 reg) in vlv_ccu_read()
212 void vlv_ccu_write(struct drm_i915_private *i915, u32 reg, u32 val) in vlv_ccu_write()
249 enum pipe pipe, int reg, u32 val) in vlv_dpio_write()
256 u32 vlv_flisdsi_read(struct drm_i915_private *i915, u32 reg) in vlv_flisdsi_read()
[all …]
/openbmc/linux/arch/arm/mach-omap2/
H A Dsdrc.h25 #define OMAP_SMS_REGADDR(reg) (omap2_sms_base + (reg)) argument
29 static inline void sdrc_write_reg(u32 val, u16 reg) in sdrc_write_reg()
34 static inline u32 sdrc_read_reg(u16 reg) in sdrc_read_reg()
41 static inline void sms_write_reg(u32 val, u16 reg) in sms_write_reg()
46 static inline u32 sms_read_reg(u16 reg) in sms_read_reg()
100 #define OMAP242X_SDRC_REGADDR(reg) \ argument
102 #define OMAP243X_SDRC_REGADDR(reg) \ argument
104 #define OMAP34XX_SDRC_REGADDR(reg) \ argument
191 #define OMAP242X_SMS_REGADDR(reg) \ argument
193 #define OMAP243X_SMS_REGADDR(reg) \ argument
[all …]
/openbmc/u-boot/arch/arm/mach-imx/mx6/
H A Dclock.c29 u32 reg; in enable_ocotp_clk() local
83 u32 reg; in enable_usboh3_clk() local
156 u32 reg; in enable_i2c_clk() local
196 u32 reg; in enable_spi_clk() local
554 u32 reg = 0; in enable_pll_video() local
1158 u32 reg; in hab_caam_clock_enable() local
1225 u32 reg; in enable_eim_clk() local
1318 int reg; in enable_ipu_clock() local
1335 int reg; in disable_ldb_di_clock_sources() local
1360 int reg; in enable_ldb_di_clock_sources() local
[all …]
/openbmc/linux/drivers/media/cec/platform/s5p/
H A Dexynos_hdmi_cecctrl.c26 unsigned int reg; in s5p_cec_set_divider() local
52 u8 reg; in s5p_cec_enable_rx() local
61 u8 reg; in s5p_cec_mask_rx_interrupts() local
71 u8 reg; in s5p_cec_unmask_rx_interrupts() local
81 u8 reg; in s5p_cec_mask_tx_interrupts() local
91 u8 reg; in s5p_cec_unmask_tx_interrupts() local
101 u8 reg; in s5p_cec_reset() local
118 u8 reg; in s5p_cec_rx_reset() local
137 u8 reg; in s5p_cec_copy_packet() local

12345678910>>...227