/openbmc/linux/drivers/mfd/ |
H A D | cs47l92-tables.c | 1070 static bool cs47l92_is_adsp_memory(unsigned int reg) in cs47l92_is_adsp_memory() 1084 unsigned int reg) in cs47l92_16bit_readable_register() 1811 unsigned int reg) in cs47l92_16bit_volatile_register() 1856 unsigned int reg) in cs47l92_32bit_readable_register() 1869 unsigned int reg) in cs47l92_32bit_volatile_register()
|
H A D | wm831x-core.c | 91 static int wm831x_reg_locked(struct wm831x *wm831x, unsigned short reg) in wm831x_reg_locked() 166 static bool wm831x_reg_readable(struct device *dev, unsigned int reg) in wm831x_reg_readable() 345 static bool wm831x_reg_writeable(struct device *dev, unsigned int reg) in wm831x_reg_writeable() 482 static bool wm831x_reg_volatile(struct device *dev, unsigned int reg) in wm831x_reg_volatile() 518 int wm831x_reg_read(struct wm831x *wm831x, unsigned short reg) in wm831x_reg_read() 540 int wm831x_bulk_read(struct wm831x *wm831x, unsigned short reg, in wm831x_bulk_read() 547 static int wm831x_write(struct wm831x *wm831x, unsigned short reg, in wm831x_write() 577 int wm831x_reg_write(struct wm831x *wm831x, unsigned short reg, in wm831x_reg_write() 600 int wm831x_set_bits(struct wm831x *wm831x, unsigned short reg, in wm831x_set_bits() 1720 int reg, mask; in wm831x_device_suspend() local
|
/openbmc/linux/arch/mips/pci/ |
H A D | ops-sni.c | 24 static int set_config_address(unsigned int busno, unsigned int devfn, int reg) in set_config_address() 40 static int pcimt_read(struct pci_bus *bus, unsigned int devfn, int reg, in pcimt_read() 63 static int pcimt_write(struct pci_bus *bus, unsigned int devfn, int reg, in pcimt_write() 91 static int pcit_set_config_address(unsigned int busno, unsigned int devfn, int reg) in pcit_set_config_address() 100 static int pcit_read(struct pci_bus *bus, unsigned int devfn, int reg, in pcit_read() 137 static int pcit_write(struct pci_bus *bus, unsigned int devfn, int reg, in pcit_write()
|
/openbmc/u-boot/drivers/misc/ |
H A D | smsc_sio1007.c | 11 static inline u8 sio1007_read(int port, int reg) in sio1007_read() 18 static inline void sio1007_write(int port, int reg, int val) in sio1007_write() 24 static inline void sio1007_clrsetbits(int port, int reg, u8 clr, u8 set) in sio1007_clrsetbits() 69 int reg = GPIO0_DIR; in sio1007_gpio_config() local 92 int reg = GPIO0_DATA; in sio1007_gpio_get_value() local 111 int reg = GPIO0_DATA; in sio1007_gpio_set_value() local
|
/openbmc/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | smi.c | 30 int dev, int reg, u16 *data) in mv88e6xxx_smi_direct_read() 44 int dev, int reg, u16 data) in mv88e6xxx_smi_direct_write() 56 int dev, int reg, int bit, int val) in mv88e6xxx_smi_direct_wait() 89 int dev, int reg, u16 *data) in mv88e6xxx_smi_dual_direct_read() 95 int dev, int reg, u16 data) in mv88e6xxx_smi_dual_direct_write() 110 int dev, int reg, u16 *data) in mv88e6xxx_smi_indirect_read() 133 int dev, int reg, u16 data) in mv88e6xxx_smi_indirect_write()
|
H A D | phy.c | 17 int addr, int reg, u16 *val) in mv88e6165_phy_read() 23 int addr, int reg, u16 val) in mv88e6165_phy_write() 28 int mv88e6xxx_phy_read(struct mv88e6xxx_chip *chip, int phy, int reg, u16 *val) in mv88e6xxx_phy_read() 43 int mv88e6xxx_phy_write(struct mv88e6xxx_chip *chip, int phy, int reg, u16 val) in mv88e6xxx_phy_write() 59 int reg, u16 *val) in mv88e6xxx_phy_read_c45() 75 int reg, u16 val) in mv88e6xxx_phy_write_c45() 112 u8 page, int reg, u16 *val) in mv88e6xxx_phy_page_read() 130 u8 page, int reg, u16 val) in mv88e6xxx_phy_page_write() 236 int addr, int reg, u16 *val) in mv88e6185_phy_ppu_read() 250 int addr, int reg, u16 val) in mv88e6185_phy_ppu_write()
|
/openbmc/linux/drivers/pinctrl/samsung/ |
H A D | pinctrl-exynos.h | 54 #define EXYNOS_PIN_BANK_EINTN(pins, reg, id) \ argument 63 #define EXYNOS_PIN_BANK_EINTG(pins, reg, id, offs) \ argument 73 #define EXYNOS_PIN_BANK_EINTW(pins, reg, id, offs) \ argument 83 #define EXYNOS5433_PIN_BANK_EINTG(pins, reg, id, offs) \ argument 93 #define EXYNOS5433_PIN_BANK_EINTW(pins, reg, id, offs) \ argument 103 #define EXYNOS5433_PIN_BANK_EINTW_EXT(pins, reg, id, offs, pctl_idx) \ argument 114 #define EXYNOS850_PIN_BANK_EINTN(pins, reg, id) \ argument 123 #define EXYNOS850_PIN_BANK_EINTG(pins, reg, id, offs) \ argument 133 #define EXYNOS850_PIN_BANK_EINTW(pins, reg, id, offs) \ argument
|
/openbmc/qemu/hw/nvram/ |
H A D | xlnx-bbram.c | 205 static void bbram_ctrl_postw(RegisterInfo *reg, uint64_t val64) in bbram_ctrl_postw() 230 static void bbram_aes_crc_postw(RegisterInfo *reg, uint64_t val64) in bbram_aes_crc_postw() 256 static uint64_t bbram_key_prew(RegisterInfo *reg, uint64_t val64) in bbram_key_prew() 271 static void bbram_key_postw(RegisterInfo *reg, uint64_t val64) in bbram_key_postw() 278 static uint64_t bbram_wo_postr(RegisterInfo *reg, uint64_t val) in bbram_wo_postr() 283 static uint64_t bbram_r8_postr(RegisterInfo *reg, uint64_t val) in bbram_r8_postr() 295 static uint64_t bbram_r8_prew(RegisterInfo *reg, uint64_t val64) in bbram_r8_prew() 306 static void bbram_r8_postw(RegisterInfo *reg, uint64_t val64) in bbram_r8_postw() 329 static void bbram_isr_postw(RegisterInfo *reg, uint64_t val64) in bbram_isr_postw() 336 static uint64_t bbram_ier_prew(RegisterInfo *reg, uint64_t val64) in bbram_ier_prew() [all …]
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | b53.c | 320 u8 reg, u8 *value) in b53_read8() 326 u8 reg, u16 *value) in b53_read16() 332 u8 reg, u32 *value) in b53_read32() 338 u8 reg, u64 *value) in b53_read48() 344 u8 reg, u64 *value) in b53_read64() 350 u8 reg, u8 value) in b53_write8() 356 u8 reg, u16 value) in b53_write16() 362 u8 reg, u32 value) in b53_write32() 368 u8 reg, u64 value) in b53_write48() 374 u8 reg, u64 value) in b53_write64() [all …]
|
/openbmc/linux/drivers/platform/mips/ |
H A D | rs780e-acpi.c | 23 static void pmio_write_index(u16 index, u8 reg, u8 value) in pmio_write_index() 29 static u8 pmio_read_index(u16 index, u8 reg) in pmio_read_index() 35 void pm_iowrite(u8 reg, u8 value) in pm_iowrite() 41 u8 pm_ioread(u8 reg) in pm_ioread() 47 void pm2_iowrite(u8 reg, u8 value) in pm2_iowrite() 53 u8 pm2_ioread(u8 reg) in pm2_ioread()
|
/openbmc/u-boot/arch/arm/mach-imx/mx7ulp/ |
H A D | scg.c | 18 u32 reg; in scg_src_get_rate() local 54 u32 reg, val, rate; in scg_sircdiv_get_rate() local 92 u32 reg, val, rate; in scg_fircdiv_get_rate() local 130 u32 reg, val, rate; in scg_soscdiv_get_rate() local 168 u32 reg, val, rate; in scg_apll_pfd_get_rate() local 218 u32 reg, val, rate; in scg_spll_pfd_get_rate() local 268 u32 reg, val, rate; in scg_apll_get_rate() local 296 u32 reg, val, rate; in scg_spll_get_rate() local 355 u32 reg, val, rate; in scg_nic_get_rate() local 617 u32 reg; in scg_enable_pll_pfd() local [all …]
|
H A D | pcc.c | 83 u32 reg, val; in pcc_clock_enable() local 113 u32 reg, val, i, clksrc_type; in pcc_clock_sel() local 162 u32 reg, val; in pcc_clock_div_config() local 198 u32 reg, val; in pcc_clock_is_enable() local 214 u32 reg, val, clksrc_type; in pcc_clock_get_clksrc() local 255 u32 reg, val, rate, frac, div; in pcc_clock_get_rate() local
|
/openbmc/linux/sound/soc/img/ |
H A D | img-i2s-out.c | 99 u32 reg) in img_i2s_out_writel() 116 u32 reg) in img_i2s_out_ch_readl() 123 u32 reg; in img_i2s_out_ch_disable() local 132 u32 reg; in img_i2s_out_ch_enable() local 141 u32 reg; in img_i2s_out_disable() local 150 u32 reg; in img_i2s_out_enable() local 189 u32 reg; in img_i2s_out_trigger() local 297 u32 reg, control_set = 0; in img_i2s_out_set_fmt() local 432 u32 reg; in img_i2s_out_probe() local 547 u32 reg; in img_i2s_out_suspend() local [all …]
|
/openbmc/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_hdmi_regs.h | 145 enum vc4_hdmi_regs reg; member 156 #define VC4_HD_REG(reg, offset) _VC4_REG(VC4_HD, reg, offset) argument 158 #define VC5_CEC_REG(reg, offset) _VC4_REG(VC5_CEC, reg, offset) argument 159 #define VC5_CSC_REG(reg, offset) _VC4_REG(VC5_CSC, reg, offset) argument 160 #define VC5_DVP_REG(reg, offset) _VC4_REG(VC5_DVP, reg, offset) argument 161 #define VC5_PHY_REG(reg, offset) _VC4_REG(VC5_PHY, reg, offset) argument 163 #define VC5_RM_REG(reg, offset) _VC4_REG(VC5_RM, reg, offset) argument 416 enum vc4_hdmi_regs reg) in __vc4_hdmi_get_field_base() 451 enum vc4_hdmi_field reg) in vc4_hdmi_read() 477 #define HDMI_READ(reg) vc4_hdmi_read(vc4_hdmi, reg) argument [all …]
|
/openbmc/linux/net/netfilter/ |
H A D | core.c | 105 const struct nf_hook_ops *reg) in nf_hook_entries_grow() 198 const struct nf_hook_ops *reg) in nf_hook_entries_insert_raw() 336 static int nf_ingress_check(struct net *net, const struct nf_hook_ops *reg, in nf_ingress_check() 366 static void nf_static_key_inc(const struct nf_hook_ops *reg, int pf) in nf_static_key_inc() 381 static void nf_static_key_dec(const struct nf_hook_ops *reg, int pf) in nf_static_key_dec() 397 const struct nf_hook_ops *reg) in __nf_register_net_hook() 489 const struct nf_hook_ops *reg) in __nf_unregister_net_hook() 529 void nf_unregister_net_hook(struct net *net, const struct nf_hook_ops *reg) in nf_unregister_net_hook() 545 const struct nf_hook_ops *reg) in nf_hook_entries_delete_raw() 557 int nf_register_net_hook(struct net *net, const struct nf_hook_ops *reg) in nf_register_net_hook() [all …]
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_wed.h | 44 wed_w32(struct mtk_wed_device *dev, u32 reg, u32 val) in wed_w32() 50 wed_r32(struct mtk_wed_device *dev, u32 reg) in wed_r32() 60 wdma_w32(struct mtk_wed_device *dev, u32 reg, u32 val) in wdma_w32() 66 wdma_r32(struct mtk_wed_device *dev, u32 reg) in wdma_r32() 72 wpdma_tx_r32(struct mtk_wed_device *dev, int ring, u32 reg) in wpdma_tx_r32() 81 wpdma_tx_w32(struct mtk_wed_device *dev, int ring, u32 reg, u32 val) in wpdma_tx_w32() 90 wpdma_rx_r32(struct mtk_wed_device *dev, int ring, u32 reg) in wpdma_rx_r32() 99 wpdma_rx_w32(struct mtk_wed_device *dev, int ring, u32 reg, u32 val) in wpdma_rx_w32() 108 wpdma_txfree_r32(struct mtk_wed_device *dev, u32 reg) in wpdma_txfree_r32() 117 wpdma_txfree_w32(struct mtk_wed_device *dev, u32 reg, u32 val) in wpdma_txfree_w32()
|
/openbmc/linux/arch/arm/mach-omap1/ |
H A D | mux.h | 27 #define MUX_REG(reg, mode_offset, mode) .mux_reg_name = "FUNC_MUX_CTRL_"#reg, \ argument 32 #define PULL_REG(reg, bit, status) .pull_name = "PULL_DWN_CTRL_"#reg, \ argument 37 #define PU_PD_REG(reg, status) .pu_pd_name = "PU_PD_SEL_"#reg, \ argument 41 #define MUX_REG_7XX(reg, mode_offset, mode) .mux_reg_name = "OMAP7XX_IO_CONF_"#reg, \ argument 46 #define PULL_REG_7XX(reg, bit, status) .pull_name = "OMAP7XX_IO_CONF_"#reg, \ argument 53 #define MUX_REG(reg, mode_offset, mode) .mux_reg = FUNC_MUX_CTRL_##reg, \ argument 57 #define PULL_REG(reg, bit, status) .pull_reg = PULL_DWN_CTRL_##reg, \ argument 61 #define PU_PD_REG(reg, status) .pu_pd_reg = PU_PD_SEL_##reg, \ argument 64 #define MUX_REG_7XX(reg, mode_offset, mode) \ argument 69 #define PULL_REG_7XX(reg, bit, status) .pull_reg = OMAP7XX_IO_CONF_##reg, \ argument
|
/openbmc/linux/drivers/clk/sunxi/ |
H A D | clk-sun4i-tcon-ch1.c | 29 void __iomem *reg; member 38 u32 reg; in tcon_ch1_disable() local 51 u32 reg; in tcon_ch1_enable() local 65 u32 reg; in tcon_ch1_is_enabled() local 74 u32 reg; in tcon_ch1_get_parent() local 86 u32 reg; in tcon_ch1_set_parent() local 174 u32 reg; in tcon_ch1_recalc_rate() local 193 u32 reg; in tcon_ch1_set_rate() local 232 void __iomem *reg; in tcon_ch1_setup() local
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-ocores.c | 89 static void oc_setreg_8(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_8() 94 static void oc_setreg_16(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_16() 114 static inline u8 oc_getreg_8(struct ocores_i2c *i2c, int reg) in oc_getreg_8() 119 static inline u8 oc_getreg_16(struct ocores_i2c *i2c, int reg) in oc_getreg_16() 124 static inline u8 oc_getreg_32(struct ocores_i2c *i2c, int reg) in oc_getreg_32() 129 static inline u8 oc_getreg_16be(struct ocores_i2c *i2c, int reg) in oc_getreg_16be() 134 static inline u8 oc_getreg_32be(struct ocores_i2c *i2c, int reg) in oc_getreg_32be() 144 static inline u8 oc_getreg_io_8(struct ocores_i2c *i2c, int reg) in oc_getreg_io_8() 154 static inline u8 oc_getreg(struct ocores_i2c *i2c, int reg) in oc_getreg() 280 int reg, u8 mask, u8 val, in ocores_wait() [all …]
|
/openbmc/linux/drivers/usb/dwc3/ |
H A D | core.c | 109 u32 reg; in dwc3_enable_susphy() local 130 u32 reg; in dwc3_set_prtcap() local 145 u32 reg; in __dwc3_set_mode() local 295 u32 reg; in dwc3_core_soft_reset() local 352 u32 reg; in dwc3_frame_length_adjustment() local 384 u32 reg; in dwc3_ref_clk_period() local 636 u32 reg; in dwc3_phy_setup() local 875 u32 reg; in dwc3_core_is_valid() local 897 u32 reg; in dwc3_core_setup_global_control() local 1078 u32 reg; in dwc3_set_power_down_clk_scale() local [all …]
|
/openbmc/linux/drivers/edac/ |
H A D | sb_edac.c | 802 u32 reg; in sbridge_get_tolm() local 811 u32 reg; in sbridge_get_tohm() local 819 u32 reg; in ibridge_get_tolm() local 828 u32 reg; in ibridge_get_tohm() local 885 u32 reg; in get_memory_type() local 904 u32 reg; in haswell_get_memory_type() local 988 u32 reg; in get_node_id() local 995 u32 reg; in haswell_get_node_id() local 1003 u32 reg; in knl_get_node_id() local 1045 u32 reg; in haswell_get_tolm() local [all …]
|
/openbmc/u-boot/board/freescale/ls1043ardb/ |
H A D | cpld.c | 13 u8 cpld_read(unsigned int reg) in cpld_read() 20 void cpld_write(unsigned int reg, u8 value) in cpld_write() 30 u16 reg = CPLD_CFG_RCW_SRC_NOR; in cpld_set_altbank() local 52 u16 reg = CPLD_CFG_RCW_SRC_NOR; in cpld_set_defbank() local 71 u16 reg = CPLD_CFG_RCW_SRC_NAND; in cpld_set_nand() local 87 u16 reg = CPLD_CFG_RCW_SRC_SD; in cpld_set_sd() local
|
/openbmc/linux/drivers/acpi/pmic/ |
H A D | intel_pmic_bytcrc.c | 188 static int intel_crc_pmic_get_power(struct regmap *regmap, int reg, in intel_crc_pmic_get_power() 200 static int intel_crc_pmic_update_power(struct regmap *regmap, int reg, in intel_crc_pmic_update_power() 220 static int intel_crc_pmic_get_raw_temp(struct regmap *regmap, int reg) in intel_crc_pmic_get_raw_temp() 235 static int intel_crc_pmic_update_aux(struct regmap *regmap, int reg, int raw) in intel_crc_pmic_update_aux() 242 int reg, int bit, u64 *value) in intel_crc_pmic_get_policy() 253 int reg, int bit, int enable) in intel_crc_pmic_update_policy()
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | stb0899_drv.c | 633 u32 reg; in stb0899_init_calc() local 670 u8 reg = 0; in stb0899_wait_diseqc_fifo_empty() local 689 u8 reg, i; in stb0899_send_diseqc_msg() local 714 u8 reg = 0; in stb0899_wait_diseqc_rxidle() local 763 u8 reg = 0; in stb0899_wait_diseqc_txidle() local 954 u32 reg; in stb0899_read_signal_strength() local 999 u32 reg; in stb0899_read_snr() local 1053 u8 reg; in stb0899_read_status() local 1197 u8 div, reg; in stb0899_set_tone() local 1292 u8 reg; in stb0899_set_delivery() local [all …]
|
/openbmc/u-boot/arch/riscv/lib/ |
H A D | setjmp.S | 10 #define STORE_IDX(reg, idx) sd reg, (idx*8)(a0) argument 11 #define LOAD_IDX(reg, idx) ld reg, (idx*8)(a0) argument 13 #define STORE_IDX(reg, idx) sw reg, (idx*4)(a0) argument 14 #define LOAD_IDX(reg, idx) lw reg, (idx*4)(a0) argument
|