/openbmc/u-boot/drivers/power/ |
H A D | power_spi.c | 19 static u32 pmic_reg(struct pmic *p, u32 reg, u32 *val, u32 write) in pmic_reg() 64 int pmic_reg_write(struct pmic *p, u32 reg, u32 val) in pmic_reg_write() 69 int pmic_reg_read(struct pmic *p, u32 reg, u32 *val) in pmic_reg_read()
|
/openbmc/linux/drivers/mfd/ |
H A D | cs47l24-tables.c | 781 static bool cs47l24_is_adsp_memory(unsigned int reg) in cs47l24_is_adsp_memory() 798 static bool cs47l24_readable_register(struct device *dev, unsigned int reg) in cs47l24_readable_register() 1500 static bool cs47l24_volatile_register(struct device *dev, unsigned int reg) in cs47l24_volatile_register()
|
H A D | altera-a10sr.c | 32 static bool altr_a10sr_reg_readable(struct device *dev, unsigned int reg) in altr_a10sr_reg_readable() 57 static bool altr_a10sr_reg_writeable(struct device *dev, unsigned int reg) in altr_a10sr_reg_writeable() 76 static bool altr_a10sr_reg_volatile(struct device *dev, unsigned int reg) in altr_a10sr_reg_volatile()
|
/openbmc/phosphor-power/phosphor-regulators/src/actions/ |
H A D | i2c_compare_bytes_action.hpp | 59 explicit I2CCompareBytesAction(uint8_t reg, in I2CCompareBytesAction() 81 explicit I2CCompareBytesAction(uint8_t reg, in I2CCompareBytesAction() 166 const uint8_t reg{0x00}; member in phosphor::power::regulators::I2CCompareBytesAction
|
H A D | i2c_write_bytes_action.hpp | 59 explicit I2CWriteBytesAction(uint8_t reg, in I2CWriteBytesAction() 85 explicit I2CWriteBytesAction(uint8_t reg, in I2CWriteBytesAction() 167 const uint8_t reg{0x00}; member in phosphor::power::regulators::I2CWriteBytesAction
|
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/ |
H A D | wifi_regd.c | 102 struct rtw_regulatory *reg) in _rtw_reg_notifier_apply() 110 rtw_regulatory in _rtw_regdomain_select() 116 static void _rtw_regd_init_wiphy(struct rtw_regulatory *reg, in _rtw_regd_init_wiphy() 147 struct rtw_regulatory *reg = NULL; in rtw_reg_notifier() local
|
/openbmc/linux/drivers/watchdog/ |
H A D | wm8350_wdt.c | 41 u16 reg; in wm8350_wdt_set_timeout() local 68 u16 reg; in wm8350_wdt_start() local 88 u16 reg; in wm8350_wdt_stop() local 107 u16 reg; in wm8350_wdt_ping() local
|
/openbmc/u-boot/drivers/power/regulator/ |
H A D | pbias_regulator.c | 42 static int pbias_write(struct udevice *dev, uint reg, const uint8_t *buff, in pbias_write() 54 static int pbias_read(struct udevice *dev, uint reg, uint8_t *buff, int len) in pbias_read() 217 u32 reg; in pbias_regulator_get_value() local 232 u32 reg; in pbias_regulator_set_value() local 274 u32 reg; in pbias_regulator_get_enable() local 290 u32 reg; in pbias_regulator_set_enable() local
|
H A D | act8846.c | 87 int reg = dev->driver_data; in reg_get_value() local 99 int reg = dev->driver_data; in reg_set_value() local 111 int reg = dev->driver_data; in reg_set_enable() local 119 int reg = dev->driver_data; in reg_get_enable() local 132 int reg = dev->driver_data; in act8846_reg_probe() local
|
/openbmc/linux/arch/x86/kvm/ |
H A D | kvm_cache_regs.h | 60 enum kvm_reg reg) in kvm_register_is_dirty() 66 enum kvm_reg reg) in kvm_register_mark_available() 72 enum kvm_reg reg) in kvm_register_mark_dirty() 85 enum kvm_reg reg) in kvm_register_test_and_mark_available() 95 static inline unsigned long kvm_register_read_raw(struct kvm_vcpu *vcpu, int reg) in kvm_register_read_raw() 106 static inline void kvm_register_write_raw(struct kvm_vcpu *vcpu, int reg, in kvm_register_write_raw()
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-stmfx.c | 107 u32 reg = STMFX_REG_GPIO_STATE + get_reg(offset); in stmfx_gpio_get() local 130 u32 reg = STMFX_REG_GPIO_DIR + get_reg(offset); in stmfx_gpio_get_direction() local 151 u32 reg = STMFX_REG_GPIO_DIR + get_reg(offset); in stmfx_gpio_direction_input() local 161 u32 reg = STMFX_REG_GPIO_DIR + get_reg(offset); in stmfx_gpio_direction_output() local 172 u32 reg = STMFX_REG_GPIO_PUPD + get_reg(offset); in stmfx_pinconf_get_pupd() local 186 u32 reg = STMFX_REG_GPIO_PUPD + get_reg(offset); in stmfx_pinconf_set_pupd() local 425 u32 reg = get_reg(data->hwirq); in stmfx_pinctrl_irq_mask() local 436 u32 reg = get_reg(data->hwirq); in stmfx_pinctrl_irq_unmask() local 447 u32 reg = get_reg(data->hwirq); in stmfx_pinctrl_irq_set_type() local 493 u32 reg = get_reg(data->hwirq); in stmfx_pinctrl_irq_bus_sync_unlock() local [all …]
|
/openbmc/u-boot/drivers/usb/dwc3/ |
H A D | gadget.c | 42 u32 reg; in dwc3_gadget_set_test_mode() local 73 u32 reg; in dwc3_gadget_get_link_state() local 91 u32 reg; in dwc3_gadget_set_link_state() local 268 u32 reg; in dwc3_send_gadget_generic_command() local 296 u32 reg; in dwc3_send_gadget_ep_cmd() local 470 u32 reg; in __dwc3_gadget_ep_enable() local 555 u32 reg; in __dwc3_gadget_ep_disable() local 1250 u32 reg; in dwc3_gadget_get_frame() local 2110 u32 reg; in dwc3_update_ram_clk_sel() local 2446 u32 reg; in dwc3_process_event_buf() local [all …]
|
/openbmc/linux/sound/soc/tegra/ |
H A D | tegra20_ac97.c | 89 unsigned short reg) in tegra20_ac97_codec_read() 113 unsigned short reg, unsigned short val) in tegra20_ac97_codec_write() 245 static bool tegra20_ac97_wr_rd_reg(struct device *dev, unsigned int reg) in tegra20_ac97_wr_rd_reg() 262 static bool tegra20_ac97_volatile_reg(struct device *dev, unsigned int reg) in tegra20_ac97_volatile_reg() 277 static bool tegra20_ac97_precious_reg(struct device *dev, unsigned int reg) in tegra20_ac97_precious_reg()
|
/openbmc/u-boot/board/freescale/common/ |
H A D | zm7300.c | 140 u8 zm_read(uchar reg) in zm_read() 151 u8 zm_write(u8 reg, u8 data) in zm_write() 173 u8 reg = 0x7, vid; in zm_write_voltage() local 193 u8 reg = 0x7; in zm_read_voltage() local
|
/openbmc/linux/arch/loongarch/lib/ |
H A D | xor_simd.c | 19 #define LD(reg, base, offset) \ argument 21 #define ST(reg, base, offset) \ argument 62 #define LD(reg, base, offset) \ argument 64 #define ST(reg, base, offset) \ argument
|
/openbmc/u-boot/drivers/sound/ |
H A D | maxim_codec.c | 26 int maxim_i2c_write(struct maxim_priv *priv, unsigned int reg, in maxim_i2c_write() 43 unsigned int maxim_i2c_read(struct maxim_priv *priv, unsigned int reg, in maxim_i2c_read() 68 int maxim_bic_or(struct maxim_priv *priv, unsigned int reg, unsigned char mask, in maxim_bic_or()
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | intel_sbi.c | 13 static int intel_sbi_rw(struct drm_i915_private *i915, u16 reg, in intel_sbi_rw() 60 u32 intel_sbi_read(struct drm_i915_private *i915, u16 reg, in intel_sbi_read() 70 void intel_sbi_write(struct drm_i915_private *i915, u16 reg, u32 value, in intel_sbi_write()
|
/openbmc/qemu/target/sparc/ |
H A D | ldst_helper.c | 669 int reg = (addr >> 8) & 0x1f; in helper_ld_asi() local 730 int reg = (addr >> 8) & 3; in helper_ld_asi() local 987 int reg = (addr >> 8) & 0x1f; in helper_st_asi() local 1093 int reg = (addr >> 8) & 3; in helper_st_asi() local 1412 int reg = (addr >> 3) & 0xf; in helper_ld_asi() local 1450 int reg = (addr >> 3) & 0x3f; in helper_ld_asi() local 1457 int reg = (addr >> 3) & 0x3f; in helper_ld_asi() local 1464 int reg = (addr >> 3) & 0xf; in helper_ld_asi() local 1535 int reg = (addr >> 4) & 0x3; in helper_ld_asi() local 1729 int reg = (addr >> 3) & 0xf; in helper_st_asi() local [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | m88rs2000.c | 52 u8 reg, u8 data) in m88rs2000_writereg() 72 static u8 m88rs2000_readreg(struct m88rs2000_state *state, u8 reg) in m88rs2000_readreg() 105 u8 reg; in m88rs2000_get_mclk() local 124 u8 reg; in m88rs2000_set_carrieroffset() local 199 u8 reg; in m88rs2000_send_diseqc_msg() local 285 u8 reg; member 460 u8 reg = m88rs2000_readreg(state, 0x8c); in m88rs2000_read_status() local 536 u8 fec_set, reg; in m88rs2000_set_fec() local 571 u8 reg; in m88rs2000_get_fec() local 605 u8 reg; in m88rs2000_set_frontend() local
|
/openbmc/qemu/hw/misc/ |
H A D | xlnx-versal-cframe-reg.c | 55 static void cfrm_isr_postw(RegisterInfo *reg, uint64_t val64) in cfrm_isr_postw() 61 static uint64_t cfrm_ier_prew(RegisterInfo *reg, uint64_t val64) in cfrm_ier_prew() 71 static uint64_t cfrm_idr_prew(RegisterInfo *reg, uint64_t val64) in cfrm_idr_prew() 81 static uint64_t cfrm_itr_prew(RegisterInfo *reg, uint64_t val64) in cfrm_itr_prew() 112 static void cfrm_fdri_post_write(RegisterInfo *reg, uint64_t val) in cfrm_fdri_post_write() 172 static void cfrm_frcnt_post_write(RegisterInfo *reg, uint64_t val) in cfrm_frcnt_post_write() 184 static void cfrm_cmd_post_write(RegisterInfo *reg, uint64_t val) in cfrm_cmd_post_write() 214 static uint64_t cfrm_last_frame_bot_post_read(RegisterInfo *reg, in cfrm_last_frame_bot_post_read() 247 static uint64_t cfrm_last_frame_top_post_read(RegisterInfo *reg, in cfrm_last_frame_top_post_read() 275 static void cfrm_far_sfr_post_write(RegisterInfo *reg, uint64_t val) in cfrm_far_sfr_post_write()
|
/openbmc/linux/kernel/bpf/ |
H A D | verifier.c | 3350 struct bpf_reg_state *reg; in __check_reg_arg() local 3985 struct bpf_reg_state *reg; in mark_all_scalars_precise() local 4031 struct bpf_reg_state *reg; in mark_all_scalars_imprecise() local 4085 struct bpf_reg_state *reg; in mark_precise_scalar_ids() local 4238 struct bpf_reg_state *reg; in __mark_chain_precision() local 4858 struct bpf_reg_state *reg; in check_stack_read_fixed_off() local 5118 struct bpf_reg_state *reg; in __check_mem_access() local 9112 struct bpf_reg_state *reg; in clear_all_pkt_pointers() local 9153 struct bpf_reg_state *reg; in release_reference() local 9171 struct bpf_reg_state *reg; in invalidate_non_owning_refs() local [all …]
|
/openbmc/u-boot/drivers/spi/ |
H A D | kirkwood_spi.c | 21 static void _spi_cs_activate(struct kwspi_registers *reg) in _spi_cs_activate() 26 static void _spi_cs_deactivate(struct kwspi_registers *reg) in _spi_cs_deactivate() 31 static int _spi_xfer(struct kwspi_registers *reg, unsigned int bitlen, in _spi_xfer() 261 struct kwspi_registers *reg = plat->spireg; in mvebu_spi_set_speed() local 279 struct kwspi_registers *reg = plat->spireg; in mvebu_spi_50mhz_ac_timing_erratum() local 312 struct kwspi_registers *reg = plat->spireg; in mvebu_spi_set_mode() local 357 struct kwspi_registers *reg = plat->spireg; in mvebu_spi_probe() local
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-it87.c | 105 static inline int superio_inb(int reg) in superio_inb() 111 static inline void superio_outb(int val, int reg) in superio_outb() 117 static inline int superio_inw(int reg) in superio_inw() 128 static inline void superio_set_mask(int mask, int reg) in superio_set_mask() 137 static inline void superio_clear_mask(int mask, int reg) in superio_clear_mask() 181 u16 reg; in it87_gpio_get() local 220 u16 reg; in it87_gpio_set() local
|
/openbmc/linux/drivers/acpi/pmic/ |
H A D | intel_pmic.c | 35 int count, int *reg, int *bit) in pmic_get_reg_bit() 57 int reg, bit, result; in intel_pmic_power_handler() local 82 int reg, u64 *value) in pmic_read_temp() 106 static int pmic_thermal_temp(struct intel_pmic_opregion *opregion, int reg, in pmic_thermal_temp() 113 static int pmic_thermal_aux(struct intel_pmic_opregion *opregion, int reg, in pmic_thermal_aux() 135 static int pmic_thermal_pen(struct intel_pmic_opregion *opregion, int reg, in pmic_thermal_pen() 175 int reg, bit, result; in intel_pmic_thermal_handler() local
|
/openbmc/linux/drivers/clk/hisilicon/ |
H A D | clkgate-separated.c | 36 u32 reg; in clkgate_separated_enable() local 53 u32 reg; in clkgate_separated_disable() local 68 u32 reg; in clkgate_separated_is_enabled() local 86 void __iomem *reg, u8 bit_idx, in hisi_register_clkgate_sep()
|