Home
last modified time | relevance | path

Searched defs:reg (Results 151 – 175 of 6676) sorted by relevance

12345678910>>...268

/openbmc/linux/arch/powerpc/platforms/86xx/
H A Dgef_ppc9a.c98 unsigned int reg; in gef_ppc9a_get_pcb_rev() local
107 unsigned int reg; in gef_ppc9a_get_board_rev() local
116 unsigned int reg; in gef_ppc9a_get_fpga_rev() local
125 unsigned int reg; in gef_ppc9a_get_vme_geo_addr() local
134 unsigned int reg; in gef_ppc9a_get_vme_is_syscon() local
/openbmc/linux/arch/powerpc/platforms/85xx/
H A Dge_imp3a.c136 unsigned int reg; in ge_imp3a_get_pcb_rev() local
145 unsigned int reg; in ge_imp3a_get_board_rev() local
154 unsigned int reg; in ge_imp3a_get_fpga_rev() local
163 unsigned int reg; in ge_imp3a_get_cpci_geo_addr() local
172 unsigned int reg; in ge_imp3a_get_cpci_is_syscon() local
/openbmc/linux/drivers/net/dsa/
H A Dbcm_sf2.c162 u32 reg; in bcm_sf2_imp_setup() local
205 u32 reg; in bcm_sf2_gphy_enable_set() local
285 u32 reg; in bcm_sf2_port_setup() local
352 u32 reg; in bcm_sf2_port_disable() local
385 u32 reg; in bcm_sf2_sw_indir_rw() local
476 u32 reg; in bcm_sf2_sw_rst() local
513 u32 reg; in bcm_sf2_crossbar_setup() local
614 int err, reg; in bcm_sf2_mdio_register() local
754 u32 reg; in bcm_sf2_sw_mac_config() local
798 u32 reg; in bcm_sf2_sw_mac_link_set() local
[all …]
H A Dlan9303_mdio.c25 static void lan9303_mdio_real_write(struct mdio_device *mdio, int reg, u16 val) in lan9303_mdio_real_write()
30 static int lan9303_mdio_write(void *ctx, uint32_t reg, uint32_t val) in lan9303_mdio_write()
43 static u16 lan9303_mdio_real_read(struct mdio_device *mdio, int reg) in lan9303_mdio_real_read()
48 static int lan9303_mdio_read(void *ctx, uint32_t reg, uint32_t *val) in lan9303_mdio_read()
61 static int lan9303_mdio_phy_write(struct lan9303 *chip, int phy, int reg, in lan9303_mdio_phy_write()
69 static int lan9303_mdio_phy_read(struct lan9303 *chip, int phy, int reg) in lan9303_mdio_phy_read()
/openbmc/qemu/hw/rtc/
H A Dxlnx-zynqmp-rtc.c63 static uint64_t current_time_postr(RegisterInfo *reg, uint64_t val64) in current_time_postr()
70 static void rtc_int_status_postw(RegisterInfo *reg, uint64_t val64) in rtc_int_status_postw()
76 static uint64_t rtc_int_en_prew(RegisterInfo *reg, uint64_t val64) in rtc_int_en_prew()
85 static uint64_t rtc_int_dis_prew(RegisterInfo *reg, uint64_t val64) in rtc_int_dis_prew()
94 static void addr_error_postw(RegisterInfo *reg, uint64_t val64) in addr_error_postw()
100 static uint64_t addr_error_int_en_prew(RegisterInfo *reg, uint64_t val64) in addr_error_int_en_prew()
109 static uint64_t addr_error_int_dis_prew(RegisterInfo *reg, uint64_t val64) in addr_error_int_dis_prew()
/openbmc/linux/drivers/net/can/sja1000/
H A Dsja1000_platform.c41 static u8 sp_read_reg8(const struct sja1000_priv *priv, int reg) in sp_read_reg8()
46 static void sp_write_reg8(const struct sja1000_priv *priv, int reg, u8 val) in sp_write_reg8()
51 static u8 sp_read_reg16(const struct sja1000_priv *priv, int reg) in sp_read_reg16()
56 static void sp_write_reg16(const struct sja1000_priv *priv, int reg, u8 val) in sp_write_reg16()
61 static u8 sp_read_reg32(const struct sja1000_priv *priv, int reg) in sp_read_reg32()
66 static void sp_write_reg32(const struct sja1000_priv *priv, int reg, u8 val) in sp_write_reg32()
71 static u8 sp_technologic_read_reg16(const struct sja1000_priv *priv, int reg) in sp_technologic_read_reg16()
86 int reg, u8 val) in sp_technologic_write_reg16()
/openbmc/linux/drivers/net/wireless/silabs/wfx/
H A Dtraces.h269 #define _trace_io_ind_write(reg, addr, io_buf, len)\ argument
271 #define _trace_io_write(reg, io_buf, len) trace_io_write(reg, -1, io_buf, len) argument
275 #define _trace_io_ind_read(reg, addr, io_buf, len)\ argument
277 #define _trace_io_read(reg, io_buf, len) trace_io_read(reg, -1, io_buf, len) argument
306 #define _trace_io_ind_write32(reg, addr, val) trace_io_write32(reg, addr, val) argument
307 #define _trace_io_write32(reg, val) trace_io_write32(reg, -1, val) argument
311 #define _trace_io_ind_read32(reg, addr, val) trace_io_read32(reg, addr, val) argument
312 #define _trace_io_read32(reg, val) trace_io_read32(reg, -1, val) argument
/openbmc/linux/sound/pci/
H A Dazt3328.c338 unsigned reg, in snd_azf3328_codec_outb()
353 unsigned reg, in snd_azf3328_codec_outw()
788 unsigned reg, in snd_azf3328_mixer_write_volume_gradually()
844 unsigned reg; member
913 struct azf3328_mixer_reg reg; in snd_azf3328_info_mixer() local
929 struct azf3328_mixer_reg reg; in snd_azf3328_get_mixer() local
958 struct azf3328_mixer_reg reg; in snd_azf3328_put_mixer() local
1009 struct azf3328_mixer_reg reg; in snd_azf3328_info_mixer_enum() local
1038 struct azf3328_mixer_reg reg; in snd_azf3328_get_mixer_enum() local
2525 unsigned reg; in snd_azf3328_suspend_regs() local
[all …]
/openbmc/u-boot/board/micronas/vct/
H A Dtop.c13 u32 reg; member
28 TOP_PINMUX_t reg; in top_read_pin() local
67 static void top_write_pin(int pin, TOP_PINMUX_t reg) in top_write_pin()
101 TOP_PINMUX_t reg; in top_set_pin() local
124 TOP_PINMUX_t reg; in top_set_pin() local
/openbmc/linux/drivers/gpu/drm/amd/display/dmub/src/
H A Ddmub_reg.h43 #define REG(reg) (REGS)->offset.reg argument
51 #define REG_READ(reg) ((CTX)->funcs.reg_read((CTX)->user_ctx, REG(reg))) argument
53 #define REG_WRITE(reg, val) \ argument
65 #define REG_SET_2(reg, init_value, f1, v1, f2, v2) \ argument
70 #define REG_SET_3(reg, init_value, f1, v1, f2, v2, f3, v3) \ argument
76 #define REG_SET_4(reg, init_value, f1, v1, f2, v2, f3, v3, f4, v4) \ argument
92 #define REG_UPDATE_2(reg, f1, v1, f2, v2) \ argument
97 #define REG_UPDATE_3(reg, f1, v1, f2, v2, f3, v3) \ argument
103 #define REG_UPDATE_4(reg, f1, v1, f2, v2, f3, v3, f4, v4) \ argument
/openbmc/linux/drivers/mfd/
H A Dtwl6040.c27 #define VIBRACTRL_MEMBER(reg) ((reg == TWL6040_REG_VIBCTLL) ? 0 : 1) argument
96 int twl6040_reg_read(struct twl6040 *twl6040, unsigned int reg) in twl6040_reg_read()
109 int twl6040_reg_write(struct twl6040 *twl6040, unsigned int reg, u8 val) in twl6040_reg_write()
119 int twl6040_set_bits(struct twl6040 *twl6040, unsigned int reg, u8 mask) in twl6040_set_bits()
125 int twl6040_clear_bits(struct twl6040 *twl6040, unsigned int reg, u8 mask) in twl6040_clear_bits()
529 unsigned int reg; in twl6040_get_vibralr_status() local
561 static bool twl6040_readable_reg(struct device *dev, unsigned int reg) in twl6040_readable_reg()
569 static bool twl6040_volatile_reg(struct device *dev, unsigned int reg) in twl6040_volatile_reg()
584 static bool twl6040_writeable_reg(struct device *dev, unsigned int reg) in twl6040_writeable_reg()
/openbmc/linux/drivers/media/i2c/
H A Dadv7183.c72 static inline int adv7183_read(struct v4l2_subdev *sd, unsigned char reg) in adv7183_read()
79 static inline int adv7183_write(struct v4l2_subdev *sd, unsigned char reg, in adv7183_write()
90 unsigned char reg, data; in adv7183_writeregs() local
200 int reg; in adv7183_s_std() local
230 int reg; in adv7183_reset() local
243 int reg; in adv7183_s_routing() local
352 int reg; in adv7183_querystd() local
400 int reg; in adv7183_g_input_status() local
476 static int adv7183_g_register(struct v4l2_subdev *sd, struct v4l2_dbg_register *reg) in adv7183_g_register()
483 static int adv7183_s_register(struct v4l2_subdev *sd, const struct v4l2_dbg_register *reg) in adv7183_s_register()
/openbmc/linux/drivers/phy/broadcom/
H A Dphy-brcm-usb-init.h26 #define USB_CTRL_REG(base, reg) ((void __iomem *)base + USB_CTRL_##reg) argument
27 #define USB_XHCI_EC_REG(base, reg) ((void __iomem *)base + USB_XHCI_EC_##reg) argument
28 #define USB_CTRL_MASK(reg, field) \ argument
30 #define USB_CTRL_SET(base, reg, field) \ argument
33 #define USB_CTRL_UNSET(base, reg, field) \ argument
37 #define USB_XHCI_GBL_REG(base, reg) ((void __iomem *)base + USB_XHCI_GBL_##reg) argument
38 #define USB_XHCI_GBL_SET(base, reg, field) \ argument
41 #define USB_XHCI_GBL_UNSET(base, reg, field) \ argument
105 static inline void brcm_usb_ctrl_unset(void __iomem *reg, u32 mask) in brcm_usb_ctrl_unset()
110 static inline void brcm_usb_ctrl_set(void __iomem *reg, u32 mask) in brcm_usb_ctrl_set()
/openbmc/linux/drivers/pinctrl/mediatek/
H A Dmtk-eint.c72 void __iomem *reg; in mtk_eint_get_offset() local
87 void __iomem *reg = mtk_eint_get_offset(eint, eint_num, in mtk_eint_can_en_debounce() local
107 void __iomem *reg = eint->base + (port << 2); in mtk_eint_flip_edge() local
130 void __iomem *reg = mtk_eint_get_offset(eint, d->hwirq, in mtk_eint_mask() local
142 void __iomem *reg = mtk_eint_get_offset(eint, d->hwirq, in mtk_eint_unmask() local
157 void __iomem *reg = mtk_eint_get_offset(eint, eint_num, in mtk_eint_get_mask() local
167 void __iomem *reg = mtk_eint_get_offset(eint, d->hwirq, in mtk_eint_ack() local
178 void __iomem *reg; in mtk_eint_set_type() local
227 int reg = d->hwirq >> 5; in mtk_eint_irq_set_wake() local
241 void __iomem *reg; in mtk_eint_chip_write_mask() local
[all …]
/openbmc/linux/drivers/phy/mediatek/
H A Dphy-mtk-io.h14 static inline void mtk_phy_clear_bits(void __iomem *reg, u32 bits) in mtk_phy_clear_bits()
22 static inline void mtk_phy_set_bits(void __iomem *reg, u32 bits) in mtk_phy_set_bits()
30 static inline void mtk_phy_update_bits(void __iomem *reg, u32 mask, u32 val) in mtk_phy_update_bits()
40 #define mtk_phy_update_field(reg, mask, val) \ argument
/openbmc/linux/drivers/mmc/host/
H A Dsdhci-pltfm.h36 static inline u32 sdhci_be32bs_readl(struct sdhci_host *host, int reg) in sdhci_be32bs_readl()
41 static inline u16 sdhci_be32bs_readw(struct sdhci_host *host, int reg) in sdhci_be32bs_readw()
46 static inline u8 sdhci_be32bs_readb(struct sdhci_host *host, int reg) in sdhci_be32bs_readb()
52 u32 val, int reg) in sdhci_be32bs_writel()
58 u16 val, int reg) in sdhci_be32bs_writew()
81 static inline void sdhci_be32bs_writeb(struct sdhci_host *host, u8 val, int reg) in sdhci_be32bs_writeb()
/openbmc/u-boot/board/freescale/t208xrdb/
H A Dcpld.c12 u8 cpld_read(unsigned int reg) in cpld_read()
19 void cpld_write(unsigned int reg, u8 value) in cpld_write()
29 u8 reg = CPLD_READ(flash_csr); in cpld_set_altbank() local
39 u8 reg = CPLD_READ(flash_csr); in cpld_set_defbank() local
/openbmc/u-boot/drivers/rtc/
H A Dmc146818.c49 static int mc146818_read8(int reg) in mc146818_read8()
66 static void mc146818_write8(int reg, uchar val) in mc146818_write8()
217 static int rtc_mc146818_read8(struct udevice *dev, unsigned int reg) in rtc_mc146818_read8()
222 static int rtc_mc146818_write8(struct udevice *dev, unsigned int reg, int val) in rtc_mc146818_write8()
274 int rtc_read8(int reg) in rtc_read8()
279 void rtc_write8(int reg, uchar val) in rtc_write8()
284 u32 rtc_read32(int reg) in rtc_read32()
295 void rtc_write32(int reg, u32 value) in rtc_write32()
/openbmc/linux/sound/soc/codecs/
H A Dpcm3060.c21 unsigned int reg; in pcm3060_set_sysclk() local
63 unsigned int reg; in pcm3060_set_fmt() local
116 unsigned int reg; in pcm3060_hw_params() local
263 static bool pcm3060_reg_writeable(struct device *dev, unsigned int reg) in pcm3060_reg_writeable()
268 static bool pcm3060_reg_readable(struct device *dev, unsigned int reg) in pcm3060_reg_readable()
273 static bool pcm3060_reg_volatile(struct device *dev, unsigned int reg) in pcm3060_reg_volatile()
/openbmc/linux/drivers/media/dvb-frontends/
H A Dstb0899_algo.c166 u8 reg; in stb0899_check_tmg() local
241 u8 reg; in stb0899_check_carrier() local
273 u8 reg; in stb0899_search_carrier() local
328 u8 reg; in stb0899_check_data() local
381 u8 reg; in stb0899_search_data() local
762 u32 reg; in stb0899_dvbs2_config_csm_auto() local
900 u32 reg; in stb0899_dvbs2_set_btr_loopbw() local
954 u32 reg; in stb0899_dvbs2_set_carr_freq() local
1015 u32 reg; in stb0899_dvbs2_btr_init() local
1087 u32 reg; in stb0899_dvbs2_get_dmd_status() local
[all …]
/openbmc/u-boot/arch/arm/mach-tegra/tegra114/
H A Dcpu.c22 u32 reg; in enable_cpu_power_rail() local
55 u32 reg; in enable_cpu_clocks() local
79 u32 reg; in remove_cpu_resets() local
189 u32 reg; in is_partition_powered() local
199 u32 reg; in is_clamp_enabled() local
/openbmc/linux/include/linux/iio/imu/
H A Dadis.h17 #define ADIS_WRITE_REG(reg) ((0x80 | (reg))) argument
18 #define ADIS_READ_REG(reg) ((reg) & 0x7f) argument
171 static inline int __adis_write_reg_8(struct adis *adis, unsigned int reg, in __adis_write_reg_8()
246 static inline int adis_write_reg(struct adis *adis, unsigned int reg, in adis_write_reg()
265 static int adis_read_reg(struct adis *adis, unsigned int reg, in adis_read_reg()
283 static inline int adis_write_reg_8(struct adis *adis, unsigned int reg, in adis_write_reg_8()
295 static inline int adis_write_reg_16(struct adis *adis, unsigned int reg, in adis_write_reg_16()
319 static inline int adis_read_reg_16(struct adis *adis, unsigned int reg, in adis_read_reg_16()
338 static inline int adis_read_reg_32(struct adis *adis, unsigned int reg, in adis_read_reg_32()
385 #define adis_update_bits(adis, reg, mask, val) ({ \ argument
[all …]
/openbmc/u-boot/drivers/spi/
H A Dcadence_qspi_apb.c189 unsigned int reg; in cadence_qspi_apb_controller_enable() local
197 unsigned int reg; in cadence_qspi_apb_controller_disable() local
233 unsigned int reg; in cadence_qspi_apb_readdata_capture() local
257 unsigned int reg; in cadence_qspi_apb_config_baudrate_div() local
286 unsigned int reg; in cadence_qspi_apb_set_clk_mode() local
305 unsigned int reg; in cadence_qspi_apb_chipselect() local
344 unsigned int reg; in cadence_qspi_apb_delay() local
379 unsigned reg; in cadence_qspi_apb_controller_init() local
405 unsigned int reg) in cadence_qspi_apb_exec_flash_cmd()
439 unsigned int reg; in cadence_qspi_apb_command_read() local
[all …]
/openbmc/linux/drivers/pinctrl/intel/
H A Dpinctrl-lynxpoint.c210 int reg) in lp_gpio_reg()
264 void __iomem *reg = lp_gpio_reg(&lg->chip, pin, LP_CONFIG1); in lp_pin_dbg_show() local
320 static void lp_gpio_enable_input(void __iomem *reg) in lp_gpio_enable_input()
325 static void lp_gpio_disable_input(void __iomem *reg) in lp_gpio_disable_input()
335 void __iomem *reg = lp_gpio_reg(&lg->chip, pin, LP_CONFIG1); in lp_gpio_request_enable() local
526 void __iomem *reg = lp_gpio_reg(chip, offset, LP_CONFIG1); in lp_gpio_get() local
533 void __iomem *reg = lp_gpio_reg(chip, offset, LP_CONFIG1); in lp_gpio_set() local
561 void __iomem *reg = lp_gpio_reg(chip, offset, LP_CONFIG1); in lp_gpio_get_direction() local
575 void __iomem *reg, *ena; in lp_gpio_irq_handler() local
650 void __iomem *reg; in lp_irq_set_type() local
[all …]
/openbmc/linux/arch/sparc/include/asm/
H A Dbackoff.h49 #define BACKOFF_SETUP(reg) \ argument
55 #define BACKOFF_SPIN(reg, tmp, label) \ argument
77 #define BACKOFF_SETUP(reg) argument
82 #define BACKOFF_SPIN(reg, tmp, label) argument

12345678910>>...268