/openbmc/linux/sound/isa/ad1816a/ |
H A D | ad1816a_lib.c | 38 static inline void snd_ad1816a_out(struct snd_ad1816a *chip, unsigned char reg, in snd_ad1816a_out() 59 static void snd_ad1816a_write(struct snd_ad1816a *chip, unsigned char reg, in snd_ad1816a_write() 67 static void snd_ad1816a_write_mask(struct snd_ad1816a *chip, unsigned char reg, in snd_ad1816a_write_mask() 498 int reg; in snd_ad1816a_suspend() local 509 int reg; in snd_ad1816a_resume() local 712 #define AD1816A_SINGLE_TLV(xname, reg, shift, mask, invert, xtlv) \ argument 719 #define AD1816A_SINGLE(xname, reg, shift, mask, invert) \ argument 739 int reg = kcontrol->private_value & 0xff; in snd_ad1816a_get_single() local 756 int reg = kcontrol->private_value & 0xff; in snd_ad1816a_put_single() local 804 int reg = kcontrol->private_value & 0xff; in snd_ad1816a_get_double() local [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | selftest_workarounds.c | 24 u32 reg; member 180 i915_reg_t reg = i < engine->whitelist.count ? in get_whitelist_reg() local 418 static bool wo_register(struct intel_engine_cs *engine, u32 reg) in wo_register() 450 static bool ro_register(u32 reg) in ro_register() 465 u32 reg = i915_mmio_reg_offset(engine->whitelist.list[i].reg); in whitelist_writable_count() local 520 u32 reg = i915_mmio_reg_offset(engine->whitelist.list[i].reg); in check_dirty_whitelist() local 952 i915_reg_t reg; member 957 i915_reg_t reg, in find_reg() 985 u32 a, u32 b, i915_reg_t reg) in result_eq() 1007 u32 a, u32 b, i915_reg_t reg) in result_neq() [all …]
|
/openbmc/linux/drivers/scsi/mvsas/ |
H A D | mv_chips.h | 14 #define mr32(reg) readl(regs + reg) argument 15 #define mw32(reg, val) writel((val), regs + reg) argument 16 #define mw32_f(reg, val) do { \ argument 21 #define iow32(reg, val) outl(val, (unsigned long)(regs + reg)) argument 22 #define ior32(reg) inl((unsigned long)(regs + reg)) argument 23 #define iow16(reg, val) outw((unsigned long)(val, regs + reg)) argument 24 #define ior16(reg) inw((unsigned long)(regs + reg)) argument 25 #define iow8(reg, val) outb((unsigned long)(val, regs + reg)) argument 26 #define ior8(reg) inb((unsigned long)(regs + reg)) argument
|
/openbmc/linux/drivers/net/ipa/ |
H A D | ipa_main.c | 206 const struct reg *reg; in ipa_hardware_config_bcr() local 221 const struct reg *reg; in ipa_hardware_config_tx() local 242 const struct reg *reg; in ipa_hardware_config_clkon() local 268 const struct reg *reg; in ipa_hardware_config_comp() local 303 const struct reg *reg; in ipa_hardware_config_qsb() local 370 const struct reg *reg; in ipa_qtime_config() local 419 const struct reg *reg; in ipa_hardware_config_counter() local 438 const struct reg *reg; in ipa_hardware_config_hashing() local 461 const struct reg *reg; in ipa_idle_indication_cfg() local
|
/openbmc/linux/drivers/misc/ |
H A D | ad525x_dpot-i2c.c | 19 static int write_r8d8(void *client, u8 reg, u8 val) in write_r8d8() 24 static int write_r8d16(void *client, u8 reg, u16 val) in write_r8d16() 34 static int read_r8d8(void *client, u8 reg) in read_r8d8() 39 static int read_r8d16(void *client, u8 reg) in read_r8d16()
|
/openbmc/linux/drivers/clk/sunxi/ |
H A D | clk-factors.c | 35 #define FACTOR_GET(bit, len, reg) (((reg) & SETMASK(len, bit)) >> (bit)) argument 37 #define FACTOR_SET(bit, len, reg, val) \ argument 44 u32 reg; in clk_factors_recalc_rate() local 139 u32 reg; in clk_factors_set_rate() local 178 spinlock_t *lock, void __iomem *reg, in __sunxi_factors_register() 275 void __iomem *reg) in sunxi_factors_register() 283 void __iomem *reg) in sunxi_factors_register_critical()
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | mv88e6352.c | 57 u8 reg, u16 *data) in sw_reg_read() 83 u8 reg, u16 data) in sw_reg_write() 114 u16 reg; in ppu_enable() local 144 u16 reg; in ppu_disable() local 206 u16 reg; in mv88e_sw_reset() local 235 u16 value = 0, phyaddr, reg, port; in do_mvsw_reg_read() local 250 u16 value = 0, phyaddr, reg, port; in do_mvsw_reg_write() local
|
/openbmc/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | global2_scratch.c | 15 static int mv88e6xxx_g2_scratch_read(struct mv88e6xxx_chip *chip, int reg, in mv88e6xxx_g2_scratch_read() 35 static int mv88e6xxx_g2_scratch_write(struct mv88e6xxx_chip *chip, int reg, in mv88e6xxx_g2_scratch_write() 55 int reg = base_reg + (offset / 8); in mv88e6xxx_g2_scratch_get_bit() local 82 int reg = base_reg + (offset / 8); in mv88e6xxx_g2_scratch_set_bit() local 132 int reg; in mv88e6352_g2_scratch_gpio_set_data() local 194 int reg = MV88E6352_G2_SCRATCH_GPIO_PCTL0 + (pin / 2); in mv88e6352_g2_scratch_gpio_get_pctl() local 218 int reg = MV88E6352_G2_SCRATCH_GPIO_PCTL0 + (pin / 2); in mv88e6352_g2_scratch_gpio_set_pctl() local
|
/openbmc/linux/drivers/media/pci/cx23885/ |
H A D | netup-init.c | 15 static void i2c_av_write(struct i2c_adapter *i2c, u16 reg, u8 val) in i2c_av_write() 36 static void i2c_av_write4(struct i2c_adapter *i2c, u16 reg, u32 val) in i2c_av_write4() 60 static u8 i2c_av_read(struct i2c_adapter *i2c, u16 reg) in i2c_av_read() 90 static void i2c_av_and_or(struct i2c_adapter *i2c, u16 reg, unsigned and_mask, in i2c_av_and_or()
|
/openbmc/linux/arch/powerpc/platforms/86xx/ |
H A D | gef_sbc310.c | 97 unsigned int reg; in gef_sbc310_get_board_id() local 106 unsigned int reg; in gef_sbc310_get_pcb_rev() local 115 unsigned int reg; in gef_sbc310_get_board_rev() local 124 unsigned int reg; in gef_sbc310_get_fpga_rev() local
|
/openbmc/linux/drivers/clk/sunxi-ng/ |
H A D | ccu_frac.c | 27 u32 reg; in ccu_frac_helper_enable() local 43 u32 reg; in ccu_frac_helper_disable() local 69 u32 reg; in ccu_frac_helper_read_rate() local 93 u32 reg, sel; in ccu_frac_helper_set_rate() local
|
/openbmc/linux/drivers/video/fbdev/via/ |
H A D | hw.h | 374 struct io_register reg[IGA2_SHADOW_VER_ADDR_REG_NUM]; member 404 struct io_register reg[IGA1_FETCH_COUNT_REG_NUM]; member 410 struct io_register reg[IGA2_FETCH_COUNT_REG_NUM]; member 421 struct io_register reg[IGA1_STARTING_ADDR_REG_NUM]; member 426 struct io_register reg[IGA2_STARTING_ADDR_REG_NUM]; member 437 struct io_register reg[LCD_POWER_SEQ_TD0_REG_NUM]; member 442 struct io_register reg[LCD_POWER_SEQ_TD1_REG_NUM]; member 447 struct io_register reg[LCD_POWER_SEQ_TD2_REG_NUM]; member 452 struct io_register reg[LCD_POWER_SEQ_TD3_REG_NUM]; member 506 struct io_register reg[IGA1_FIFO_THRESHOLD_REG_NUM]; member [all …]
|
/openbmc/linux/arch/parisc/net/ |
H A D | bpf_jit.h | 95 #define hppa_ldil(addr, reg) \ argument 97 #define hppa_addil(addr, reg) \ argument 99 #define hppa_ldo(im14, reg, target) \ argument 101 #define hppa_ldi(im14, reg) \ argument 127 #define hppa_copy(reg, target) \ argument 135 #define hppa_stw(reg, val14, base) \ argument 137 #define hppa_stb(reg, val14, base) \ argument 143 #define hppa_bv(reg, base, nop) \ argument 149 #define hppa_mtctl(reg, cr) \ argument 151 #define hppa_mtsar(reg) \ argument [all …]
|
/openbmc/linux/drivers/media/usb/dvb-usb/ |
H A D | af9005.c | 45 static int af9005_generic_read_write(struct dvb_usb_device *d, u16 reg, in af9005_generic_read_write() 148 int af9005_read_ofdm_registers(struct dvb_usb_device *d, u16 reg, in af9005_read_ofdm_registers() 178 int af9005_write_ofdm_registers(struct dvb_usb_device *d, u16 reg, in af9005_write_ofdm_registers() 195 int af9005_read_register_bits(struct dvb_usb_device *d, u16 reg, u8 pos, in af9005_read_register_bits() 212 int af9005_write_register_bits(struct dvb_usb_device *d, u16 reg, u8 pos, in af9005_write_register_bits() 230 u16 reg, u8 * values, int len) in af9005_usb_read_tuner_registers() 238 u16 reg, u8 * values, int len) in af9005_usb_write_tuner_registers() 245 int af9005_write_tuner_registers(struct dvb_usb_device *d, u16 reg, in af9005_write_tuner_registers() 351 static int af9005_i2c_write(struct dvb_usb_device *d, u8 i2caddr, u8 reg, in af9005_i2c_write() 377 static int af9005_i2c_read(struct dvb_usb_device *d, u8 i2caddr, u8 reg, in af9005_i2c_read() [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | palmas-regulator.c | 418 static int palmas_ldo_read(struct palmas *palmas, unsigned int reg, in palmas_ldo_read() 445 unsigned int reg; in palmas_set_mode_smps() local 485 unsigned int reg; in palmas_get_mode_smps() local 508 unsigned int reg = 0; in palmas_smps_set_ramp_delay() local 602 unsigned int reg; in palmas_is_enabled_ldo() local 698 unsigned int reg; in palmas_smps_init() local 767 unsigned int reg; in palmas_ldo_init() local 849 unsigned int reg; in palmas_enable_ldo8_track() local 1122 unsigned int addr, reg; in palmas_smps_registration() local 1292 unsigned int addr, reg; in tps65917_smps_registration() local [all …]
|
/openbmc/linux/arch/arm64/kvm/ |
H A D | guest.c | 186 static int get_core_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in get_core_reg() 215 static int set_core_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in set_core_reg() 313 static int get_sve_vls(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in get_sve_vls() 337 static int set_sve_vls(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in set_sve_vls() 420 const struct kvm_one_reg *reg) in sve_reg_to_region() 485 static int get_sve_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in get_sve_reg() 511 static int set_sve_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in set_sve_reg() 553 u64 reg = KVM_REG_ARM64 | KVM_REG_ARM_CORE | i; in copy_core_reg_indices() local 670 u64 reg; in copy_sve_reg_indices() local 763 int kvm_arm_get_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in kvm_arm_get_reg() [all …]
|
/openbmc/linux/sound/soc/qcom/ |
H A D | lpass-cpu.c | 488 static bool lpass_cpu_regmap_writeable(struct device *dev, unsigned int reg) in lpass_cpu_regmap_writeable() 530 static bool lpass_cpu_regmap_readable(struct device *dev, unsigned int reg) in lpass_cpu_regmap_readable() 578 static bool lpass_cpu_regmap_volatile(struct device *dev, unsigned int reg) in lpass_cpu_regmap_volatile() 691 static bool lpass_hdmi_regmap_writeable(struct device *dev, unsigned int reg) in lpass_hdmi_regmap_writeable() 736 static bool lpass_hdmi_regmap_readable(struct device *dev, unsigned int reg) in lpass_hdmi_regmap_readable() 785 static bool lpass_hdmi_regmap_volatile(struct device *dev, unsigned int reg) in lpass_hdmi_regmap_volatile() 885 static bool lpass_rxtx_regmap_readable(struct device *dev, unsigned int reg) in lpass_rxtx_regmap_readable() 890 static bool lpass_rxtx_regmap_volatile(struct device *dev, unsigned int reg) in lpass_rxtx_regmap_volatile() 955 static bool lpass_va_regmap_writeable(struct device *dev, unsigned int reg) in lpass_va_regmap_writeable() 960 static bool lpass_va_regmap_readable(struct device *dev, unsigned int reg) in lpass_va_regmap_readable() [all …]
|
/openbmc/linux/sound/pci/oxygen/ |
H A D | xonar_cs43xx.c | 66 static void cs4398_write(struct oxygen *chip, u8 reg, u8 value) in cs4398_write() 75 static void cs4398_write_cached(struct oxygen *chip, u8 reg, u8 value) in cs4398_write_cached() 83 static void cs4362a_write(struct oxygen *chip, u8 reg, u8 value) in cs4362a_write() 92 static void cs4362a_write_cached(struct oxygen *chip, u8 reg, u8 value) in cs4362a_write_cached() 252 u8 reg; in update_cs43xx_mute() local 264 u8 reg; in update_cs43xx_center_lfe_mix() local 310 u8 reg; in rolloff_put() local 340 unsigned int reg, unsigned int mute) in xonar_d1_line_mic_ac97_switch()
|
/openbmc/linux/drivers/power/supply/ |
H A D | max1721x_battery.c | 73 static inline int max172xx_time_to_ps(unsigned int reg) in max172xx_time_to_ps() 78 static inline int max172xx_percent_to_ps(unsigned int reg) in max172xx_percent_to_ps() 83 static inline int max172xx_voltage_to_ps(unsigned int reg) in max172xx_voltage_to_ps() 88 static inline int max172xx_capacity_to_ps(unsigned int reg) in max172xx_capacity_to_ps() 98 static inline int max172xx_temperature_to_ps(unsigned int reg) in max172xx_temperature_to_ps() 113 static inline int max172xx_current_to_voltage(unsigned int reg) in max172xx_current_to_voltage() 132 unsigned int reg = 0; in max1721x_battery_get_property() local 227 uint16_t reg, uint8_t nr, char *str) in get_string()
|
/openbmc/linux/drivers/hwmon/ |
H A D | dme1737.c | 355 static inline int FAN_TPC_FROM_REG(int reg) in FAN_TPC_FROM_REG() 365 static inline int FAN_TYPE_FROM_REG(int reg) in FAN_TYPE_FROM_REG() 383 static int FAN_MAX_FROM_REG(int reg) in FAN_MAX_FROM_REG() 419 static inline int PWM_EN_FROM_REG(int reg) in PWM_EN_FROM_REG() 446 static inline int PWM_ACZ_FROM_REG(int reg) in PWM_ACZ_FROM_REG() 464 static inline int PWM_FREQ_FROM_REG(int reg) in PWM_FREQ_FROM_REG() 469 static int PWM_FREQ_TO_REG(long val, int reg) in PWM_FREQ_TO_REG() 1017 u8 reg; in set_zone() local 2237 u8 reg; in dme1737_init_device() local 2384 int err = 0, reg; in dme1737_i2c_get_features() local [all …]
|
/openbmc/linux/drivers/gpu/drm/mgag200/ |
H A D | mgag200_drv.h | 37 #define RREG8(reg) ioread8(((void __iomem *)mdev->rmmio) + (reg)) argument 39 #define RREG32(reg) ioread32(((void __iomem *)mdev->rmmio) + (reg)) argument 63 #define WREG_ATTR(reg, v) \ argument 70 #define RREG_SEQ(reg, v) \ argument 76 #define WREG_SEQ(reg, v) \ argument 82 #define RREG_CRT(reg, v) \ argument 88 #define WREG_CRT(reg, v) \ argument 94 #define RREG_ECRT(reg, v) \ argument 100 #define WREG_ECRT(reg, v) \ argument 109 #define WREG_GFX(reg, v) \ argument [all …]
|
/openbmc/linux/drivers/usb/typec/tcpm/ |
H A D | tcpci.c | 75 unsigned int reg; in tcpci_set_cc() local 147 unsigned int reg; in tcpci_apply_rc() local 176 unsigned int reg = TCPC_ROLE_CTRL_DRP; in tcpci_start_toggling() local 221 unsigned int reg, role_control; in tcpci_get_cc() local 248 unsigned int reg; in tcpci_set_polarity() local 427 unsigned int reg; in tcpci_set_roles() local 445 unsigned int reg = 0; in tcpci_set_pd_rx() local 460 unsigned int reg; in tcpci_get_vbus() local 473 unsigned int reg; in tcpci_is_vbus_vsafe0v() local 533 unsigned int reg, cnt; in tcpci_pd_transmit() local [all …]
|
/openbmc/linux/drivers/staging/media/sunxi/cedrus/ |
H A D | cedrus_mpeg2.c | 19 u32 reg; in cedrus_mpeg2_irq_status() local 44 u32 reg = cedrus_read(dev, VE_DEC_MPEG_CTRL); in cedrus_mpeg2_irq_disable() local 61 u32 reg; in cedrus_mpeg2_setup() local 183 u32 reg; in cedrus_mpeg2_trigger() local
|
/openbmc/linux/drivers/acpi/pmic/ |
H A D | intel_pmic_bxtwc.c | 273 static int intel_bxtwc_pmic_get_power(struct regmap *regmap, int reg, in intel_bxtwc_pmic_get_power() 285 static int intel_bxtwc_pmic_update_power(struct regmap *regmap, int reg, in intel_bxtwc_pmic_update_power() 298 static int intel_bxtwc_pmic_get_raw_temp(struct regmap *regmap, int reg) in intel_bxtwc_pmic_get_raw_temp() 324 intel_bxtwc_pmic_update_aux(struct regmap *regmap, int reg, int raw) in intel_bxtwc_pmic_update_aux() 351 intel_bxtwc_pmic_get_policy(struct regmap *regmap, int reg, int bit, u64 *value) in intel_bxtwc_pmic_get_policy() 365 int reg, int bit, int enable) in intel_bxtwc_pmic_update_policy()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-pca-platform.c | 39 static int i2c_pca_pf_readbyte8(void *pd, int reg) in i2c_pca_pf_readbyte8() 45 static int i2c_pca_pf_readbyte16(void *pd, int reg) in i2c_pca_pf_readbyte16() 51 static int i2c_pca_pf_readbyte32(void *pd, int reg) in i2c_pca_pf_readbyte32() 57 static void i2c_pca_pf_writebyte8(void *pd, int reg, int val) in i2c_pca_pf_writebyte8() 63 static void i2c_pca_pf_writebyte16(void *pd, int reg, int val) in i2c_pca_pf_writebyte16() 69 static void i2c_pca_pf_writebyte32(void *pd, int reg, int val) in i2c_pca_pf_writebyte32()
|