Home
last modified time | relevance | path

Searched defs:reg (Results 251 – 275 of 7060) sorted by relevance

1...<<11121314151617181920>>...283

/openbmc/qemu/hw/dma/
H A Dxlnx-zynq-devcfg.c187 static void r_ixr_post_write(RegisterInfo *reg, uint64_t val) in r_ixr_post_write()
194 static uint64_t r_ctrl_pre_write(RegisterInfo *reg, uint64_t val) in r_ctrl_pre_write()
208 static void r_ctrl_post_write(RegisterInfo *reg, uint64_t val) in r_ctrl_post_write()
220 static void r_unlock_post_write(RegisterInfo *reg, uint64_t val) in r_unlock_post_write()
239 static uint64_t r_lock_pre_write(RegisterInfo *reg, uint64_t val) in r_lock_pre_write()
247 static void r_dma_dst_len_post_write(RegisterInfo *reg, uint64_t val) in r_dma_dst_len_post_write()
/openbmc/linux/drivers/net/dsa/mv88e6xxx/
H A Dserdes.c20 static int mv88e6352_serdes_read(struct mv88e6xxx_chip *chip, int reg, in mv88e6352_serdes_read()
28 static int mv88e6352_serdes_write(struct mv88e6xxx_chip *chip, int reg, in mv88e6352_serdes_write()
37 int lane, int device, int reg, u16 *val) in mv88e6390_serdes_read()
116 int reg; member
157 u16 reg; in mv88e6352_serdes_get_stat() local
226 u16 reg; in mv88e6352_serdes_get_regs() local
380 int reg; member
417 u16 reg[3]; in mv88e6390_serdes_get_stat() local
496 u16 reg; in mv88e6390_serdes_get_regs() local
521 u16 ctrl, reg; in mv88e6352_serdes_set_tx_amplitude() local
/openbmc/linux/drivers/mmc/host/
H A Dsdhci-xenon.c27 u32 reg; in xenon_enable_internal_clk() local
55 u32 reg; in xenon_set_sdclk_off_idle() local
72 u32 reg; in xenon_set_acg() local
86 u32 reg; in xenon_enable_sdhc() local
104 u32 reg; in xenon_disable_sdhc() local
115 u32 reg; in xenon_enable_sdhc_parallel_tran() local
125 u32 reg; in xenon_mask_cmd_conflict_err() local
136 u32 reg; in xenon_retune_setup() local
281 u32 reg; in xenon_set_ios() local
379 u32 reg; in xenon_enable_sdio_irq() local
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2800lib.c84 u32 reg; in rt2800_bbp_write() local
108 u32 reg; in rt2800_bbp_read() local
143 u32 reg; in rt2800_rfcsr_write() local
224 u32 reg; in rt2800_rfcsr_read() local
284 u32 reg; in rt2800_rf_write() local
457 u32 reg; in rt2800_enable_wlan_rt3290() local
517 u32 reg; in rt2800_mcu_request() local
550 u32 reg; in rt2800_wait_csr_ready() local
567 u32 reg; in rt2800_wait_wpdma_ready() local
589 u32 reg; in rt2800_disable_wpdma() local
[all …]
H A Drt2800pci.c52 u32 reg; in rt2800pci_mcu_status() local
82 u32 reg; in rt2800pci_eepromregister_read() local
97 u32 reg = 0; in rt2800pci_eepromregister_write() local
112 u32 reg; in rt2800pci_read_eeprom_pci() local
169 u32 reg; in rt2800pci_write_firmware() local
/openbmc/linux/drivers/video/fbdev/
H A Dsm712.h27 #define smtc_mmiowb(dat, reg) writeb(dat, smtc_regbaseaddress + reg) argument
29 #define smtc_mmiorb(reg) readb(smtc_regbaseaddress + reg) argument
42 static inline void smtc_crtcw(int reg, int val) in smtc_crtcw()
48 static inline void smtc_grphw(int reg, int val) in smtc_grphw()
54 static inline void smtc_attrw(int reg, int val) in smtc_attrw()
62 static inline void smtc_seqw(int reg, int val) in smtc_seqw()
68 static inline unsigned int smtc_seqr(int reg) in smtc_seqr()
/openbmc/linux/drivers/mfd/
H A Dadp5520.c43 int reg, uint8_t *val) in __adp5520_read()
58 int reg, uint8_t val) in __adp5520_write()
71 static int __adp5520_ack_bits(struct i2c_client *client, int reg, in __adp5520_ack_bits()
91 int adp5520_write(struct device *dev, int reg, uint8_t val) in adp5520_write()
97 int adp5520_read(struct device *dev, int reg, uint8_t *val) in adp5520_read()
103 int adp5520_set_bits(struct device *dev, int reg, uint8_t bit_mask) in adp5520_set_bits()
123 int adp5520_clr_bits(struct device *dev, int reg, uint8_t bit_mask) in adp5520_clr_bits()
H A Dpcf50633-core.c27 int pcf50633_read_block(struct pcf50633 *pcf, u8 reg, in pcf50633_read_block()
41 int pcf50633_write_block(struct pcf50633 *pcf , u8 reg, in pcf50633_write_block()
48 u8 pcf50633_reg_read(struct pcf50633 *pcf, u8 reg) in pcf50633_reg_read()
61 int pcf50633_reg_write(struct pcf50633 *pcf, u8 reg, u8 val) in pcf50633_reg_write()
67 int pcf50633_reg_set_bit_mask(struct pcf50633 *pcf, u8 reg, u8 mask, u8 val) in pcf50633_reg_set_bit_mask()
73 int pcf50633_reg_clear_bits(struct pcf50633 *pcf, u8 reg, u8 val) in pcf50633_reg_clear_bits()
/openbmc/qemu/hw/net/fsl_etsec/
H A Detsec.c81 eTSEC_Register *reg = NULL; in etsec_read() local
110 eTSEC_Register *reg, in write_tstat()
128 eTSEC_Register *reg, in write_rstat()
146 eTSEC_Register *reg, in write_tbasex()
157 eTSEC_Register *reg, in write_rbasex()
168 eTSEC_Register *reg, in write_dmactrl()
213 eTSEC_Register *reg = NULL; in etsec_write() local
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_common.h143 static inline void ixgbe_write_reg(struct ixgbe_hw *hw, u32 reg, u32 value) in ixgbe_write_reg()
151 #define IXGBE_WRITE_REG(a, reg, value) ixgbe_write_reg((a), (reg), (value)) argument
162 static inline void ixgbe_write_reg64(struct ixgbe_hw *hw, u32 reg, u64 value) in ixgbe_write_reg64()
170 #define IXGBE_WRITE_REG64(a, reg, value) ixgbe_write_reg64((a), (reg), (value)) argument
173 #define IXGBE_READ_REG(a, reg) ixgbe_read_reg((a), (reg)) argument
175 #define IXGBE_WRITE_REG_ARRAY(a, reg, offset, value) \ argument
178 #define IXGBE_READ_REG_ARRAY(a, reg, offset) \ argument
H A Dixgbe_dcb_82599.c27 u32 reg = 0; in ixgbe_dcb_config_rx_arbiter_82599() local
85 u32 reg, max_credits; in ixgbe_dcb_config_tx_desc_arbiter_82599() local
138 u32 reg; in ixgbe_dcb_config_tx_data_arbiter_82599() local
192 u32 i, j, fcrtl, reg; in ixgbe_dcb_config_pfc_82599() local
277 u32 reg = 0; in ixgbe_dcb_config_tc_stats_82599() local
/openbmc/linux/sound/pci/
H A Dad1889.c68 u16 reg; /* reg setup */ member
97 ad1889_readw(struct snd_ad1889 *chip, unsigned reg) in ad1889_readw()
103 ad1889_writew(struct snd_ad1889 *chip, unsigned reg, u16 val) in ad1889_writew()
109 ad1889_readl(struct snd_ad1889 *chip, unsigned reg) in ad1889_readl()
115 ad1889_writel(struct snd_ad1889 *chip, unsigned reg, u32 val) in ad1889_writel()
184 u16 reg; in ad1889_channel_reset() local
228 snd_ad1889_ac97_read(struct snd_ac97 *ac97, unsigned short reg) in snd_ad1889_ac97_read()
340 u16 reg; in snd_ad1889_playback_prepare() local
390 u16 reg; in snd_ad1889_capture_prepare() local
624 u16 reg; in snd_ad1889_proc_read() local
[all …]
/openbmc/linux/drivers/media/usb/em28xx/
H A Dem28xx-core.c66 int em28xx_read_reg_req_len(struct em28xx *dev, u8 req, u16 reg, in em28xx_read_reg_req_len()
112 int em28xx_read_reg_req(struct em28xx *dev, u8 req, u16 reg) in em28xx_read_reg_req()
124 int em28xx_read_reg(struct em28xx *dev, u16 reg) in em28xx_read_reg()
177 int em28xx_write_regs(struct em28xx *dev, u16 reg, char *buf, int len) in em28xx_write_regs()
184 int em28xx_write_reg(struct em28xx *dev, u16 reg, u8 val) in em28xx_write_reg()
195 int em28xx_write_reg_bits(struct em28xx *dev, u16 reg, u8 val, in em28xx_write_reg_bits()
215 int em28xx_toggle_reg_bits(struct em28xx *dev, u16 reg, u8 bitmask) in em28xx_toggle_reg_bits()
259 int em28xx_read_ac97(struct em28xx *dev, u8 reg) in em28xx_read_ac97()
286 int em28xx_write_ac97(struct em28xx *dev, u8 reg, u16 val) in em28xx_write_ac97()
312 u8 reg; member
[all …]
/openbmc/linux/drivers/net/ethernet/hisilicon/
H A Dhns_mdio.c95 static void mdio_write_reg(u8 __iomem *base, u32 reg, u32 value) in mdio_write_reg()
100 #define MDIO_WRITE_REG(a, reg, value) \ argument
103 static u32 mdio_read_reg(u8 __iomem *base, u32 reg) in mdio_read_reg()
125 #define MDIO_SET_REG_FIELD(dev, reg, mask, shift, val) \ argument
128 static u32 mdio_get_reg_field(u8 __iomem *base, u32 reg, u32 mask, u32 shift) in mdio_get_reg_field()
136 #define MDIO_GET_REG_FIELD(dev, reg, mask, shift) \ argument
139 #define MDIO_GET_REG_BIT(dev, reg, bit) \ argument
221 u16 reg = (u16)(regnum & 0xffff); in hns_mdio_write_c22() local
263 u16 reg = (u16)(regnum & 0xffff); in hns_mdio_write_c45() local
316 u16 reg = (u16)(regnum & 0xffff); in hns_mdio_read_c22() local
[all …]
/openbmc/u-boot/drivers/gpio/
H A Daxp_gpio.c38 u8 reg; in axp_gpio_direction_input() local
58 u8 reg; in axp_gpio_direction_output() local
83 u8 reg, val, mask; in axp_gpio_get_value() local
116 u8 reg; in axp_gpio_set_value() local
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dcommon_baco.c27 static bool baco_wait_register(struct pp_hwmgr *hwmgr, u32 reg, u32 mask, u32 value) in baco_wait_register()
44 static bool baco_cmd_handler(struct pp_hwmgr *hwmgr, u32 command, u32 reg, u32 mask, in baco_cmd_handler()
86 u32 i, reg = 0; in baco_program_registers() local
106 u32 i, reg = 0; in soc15_baco_program_registers() local
/openbmc/qemu/hw/nvram/
H A Dxlnx-zynqmp-efuse.c259 #define EFUSE_CACHE_FLD(s, reg, field) \ argument
264 #define EFUSE_CACHE_BIT(s, reg, field) \ argument
362 static void zynqmp_efuse_isr_postw(RegisterInfo *reg, uint64_t val64) in zynqmp_efuse_isr_postw()
368 static uint64_t zynqmp_efuse_ier_prew(RegisterInfo *reg, uint64_t val64) in zynqmp_efuse_ier_prew()
378 static uint64_t zynqmp_efuse_idr_prew(RegisterInfo *reg, uint64_t val64) in zynqmp_efuse_idr_prew()
388 static void zynqmp_efuse_pgm_addr_postw(RegisterInfo *reg, uint64_t val64) in zynqmp_efuse_pgm_addr_postw()
450 static void zynqmp_efuse_rd_addr_postw(RegisterInfo *reg, uint64_t val64) in zynqmp_efuse_rd_addr_postw()
556 static void zynqmp_efuse_aes_crc_postw(RegisterInfo *reg, uint64_t val64) in zynqmp_efuse_aes_crc_postw()
569 static uint64_t zynqmp_efuse_cache_load_prew(RegisterInfo *reg, in zynqmp_efuse_cache_load_prew()
583 static uint64_t zynqmp_efuse_wr_lock_prew(RegisterInfo *reg, uint64_t val) in zynqmp_efuse_wr_lock_prew()
[all …]
/openbmc/u-boot/drivers/net/
H A Dmtk_eth.c183 static void mtk_pdma_write(struct mtk_eth_priv *priv, u32 reg, u32 val) in mtk_pdma_write()
188 static void mtk_pdma_rmw(struct mtk_eth_priv *priv, u32 reg, u32 clr, in mtk_pdma_rmw()
194 static void mtk_gdma_write(struct mtk_eth_priv *priv, int no, u32 reg, in mtk_gdma_write()
207 static u32 mtk_gmac_read(struct mtk_eth_priv *priv, u32 reg) in mtk_gmac_read()
212 static void mtk_gmac_write(struct mtk_eth_priv *priv, u32 reg, u32 val) in mtk_gmac_write()
222 static void mtk_ethsys_rmw(struct mtk_eth_priv *priv, u32 reg, u32 clr, in mtk_ethsys_rmw()
261 static int mtk_mii_read(struct mtk_eth_priv *priv, u8 phy, u8 reg) in mtk_mii_read()
287 u16 reg, u16 val) in mtk_mmd_write()
301 u16 reg) in mtk_mmd_ind_read()
326 u16 reg, u16 val) in mtk_mmd_ind_write()
[all …]
/openbmc/linux/drivers/net/wireless/st/cw1200/
H A Dfwio.c62 #define APB_WRITE(reg, val) \ in cw1200_load_firmware_cw1200() argument
68 #define APB_WRITE2(reg, val) \ in cw1200_load_firmware_cw1200() argument
74 #define APB_READ(reg, val) \ in cw1200_load_firmware_cw1200() argument
80 #define REG_WRITE(reg, val) \ in cw1200_load_firmware_cw1200() argument
86 #define REG_READ(reg, val) \ in cw1200_load_firmware_cw1200() argument
/openbmc/linux/drivers/gpu/drm/amd/display/dmub/src/
H A Ddmub_dcn303.c23 #define DMUB_SR(reg) REG_OFFSET(reg), argument
30 #define DMUB_SF(reg, field) FD_MASK(reg, field), argument
34 #define DMUB_SF(reg, field) FD_SHIFT(reg, field), argument
H A Ddmub_dcn302.c41 #define DMUB_SR(reg) REG_OFFSET(reg), argument
48 #define DMUB_SF(reg, field) FD_MASK(reg, field), argument
52 #define DMUB_SF(reg, field) FD_SHIFT(reg, field), argument
H A Ddmub_dcn301.c41 #define DMUB_SR(reg) REG_OFFSET(reg), argument
48 #define DMUB_SF(reg, field) FD_MASK(reg, field), argument
52 #define DMUB_SF(reg, field) FD_SHIFT(reg, field), argument
H A Ddmub_dcn21.c41 #define DMUB_SR(reg) REG_OFFSET(reg), argument
48 #define DMUB_SF(reg, field) FD_MASK(reg, field), argument
52 #define DMUB_SF(reg, field) FD_SHIFT(reg, field), argument
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_io.h10 #define wr32(a, reg, value) writel((value), ((a)->hw_addr + (reg))) argument
11 #define rd32(a, reg) readl((a)->hw_addr + (reg)) argument
13 #define rd64(a, reg) readq((a)->hw_addr + (reg)) argument
/openbmc/linux/drivers/net/ipa/
H A Dipa_interrupt.c50 const struct reg *reg; in ipa_interrupt_process() local
88 const struct reg *reg; in ipa_isr_thread() local
134 const struct reg *reg = ipa_reg(ipa, IPA_IRQ_EN); in ipa_interrupt_enabled_update() local
172 const struct reg *reg; in ipa_interrupt_suspend_control() local
217 const struct reg *reg; in ipa_interrupt_suspend_clear_all() local
243 const struct reg *reg; in ipa_interrupt_config() local

1...<<11121314151617181920>>...283