/linux-master/tools/testing/selftests/bpf/bpf_testmod/ |
H A D | bpf_testmod.c | 610 .reg = bpf_dummy_reg, 633 .reg = bpf_dummy_reg2,
|
/linux-master/sound/soc/ti/ |
H A D | davinci-mcasp.c | 134 void __iomem *reg = mcasp->base + offset; local 135 __raw_writel(__raw_readl(reg) | val, reg); 141 void __iomem *reg = mcasp->base + offset; local 142 __raw_writel((__raw_readl(reg) & ~(val)), reg); 148 void __iomem *reg = mcasp->base + offset; local 149 __raw_writel((__raw_readl(reg) & ~mask) | val, reg); 215 u32 reg local 255 u32 reg = mcasp->fifo_base + MCASP_WFIFOCTL_OFFSET; local 317 u32 reg = mcasp->fifo_base + MCASP_RFIFOCTL_OFFSET; local 345 u32 reg = mcasp->fifo_base + MCASP_WFIFOCTL_OFFSET; local 864 u32 reg; local 1124 u32 reg = mcasp_get_reg(mcasp, DAVINCI_MCASP_AHCLKXCTL_REG); local 2475 u32 reg; local 2501 u32 reg; local [all...] |
/linux-master/sound/soc/tegra/ |
H A D | tegra186_dspk.c | 416 static bool tegra186_dspk_wr_reg(struct device *dev, unsigned int reg) argument 418 switch (reg) { 428 static bool tegra186_dspk_rd_reg(struct device *dev, unsigned int reg) argument 430 if (tegra186_dspk_wr_reg(dev, reg)) 433 switch (reg) { 444 static bool tegra186_dspk_volatile_reg(struct device *dev, unsigned int reg) argument 446 switch (reg) {
|
/linux-master/sound/soc/codecs/ |
H A D | wsa881x.c | 201 #define WSA881X_PA_GAIN_TLV(xname, reg, shift, max, invert, tlv_array) \ 208 .private_value = SOC_SINGLE_VALUE(reg, shift, max, invert, 0) } 440 static bool wsa881x_readable_register(struct device *dev, unsigned int reg) argument 442 switch (reg) { 600 static bool wsa881x_volatile_register(struct device *dev, unsigned int reg) argument 602 switch (reg) { 796 int portidx = mixer->reg; 828 int portidx = mixer->reg;
|
H A D | rt722-sdca.h | 235 unsigned int nid, unsigned int reg, unsigned int value); 237 unsigned int nid, unsigned int reg, unsigned int *value);
|
H A D | rt722-sdca.c | 29 unsigned int nid, unsigned int reg, unsigned int value) 32 unsigned int addr = (nid << 20) | reg; 45 unsigned int nid, unsigned int reg, unsigned int *value) 49 unsigned int addr = (nid << 20) | reg; 61 unsigned int nid, unsigned int reg, unsigned int mask, unsigned int val) 66 ret = rt722_sdca_index_read(rt722, nid, reg, &tmp); 71 return rt722_sdca_index_write(rt722, nid, reg, tmp); 363 regmap_read(rt722->mbq_regmap, mc->reg, &lvalue); 404 regmap_write(rt722->mbq_regmap, mc->reg, gain_l_val); 409 regmap_read(rt722->mbq_regmap, mc->reg, 28 rt722_sdca_index_write(struct rt722_sdca_priv *rt722, unsigned int nid, unsigned int reg, unsigned int value) argument 44 rt722_sdca_index_read(struct rt722_sdca_priv *rt722, unsigned int nid, unsigned int reg, unsigned int *value) argument 60 rt722_sdca_index_update_bits(struct rt722_sdca_priv *rt722, unsigned int nid, unsigned int reg, unsigned int mask, unsigned int val) argument [all...] |
H A D | rt715-sdca.c | 33 unsigned int nid, unsigned int reg, unsigned int value) 39 addr = (nid << 20) | reg; 51 unsigned int nid, unsigned int reg, unsigned int *value) 57 addr = (nid << 20) | reg; 69 unsigned int nid, unsigned int reg, unsigned int mask, unsigned int val) 74 ret = rt715_sdca_index_read(rt715, nid, reg, &tmp); 80 return rt715_sdca_index_write(rt715, nid, reg, tmp); 153 ret = regmap_write(rt715->mbq_regmap, mc->reg + i, gain_val); 156 __func__, mc->reg + i, gain_val); 209 unsigned int gain_val, reg; local 32 rt715_sdca_index_write(struct rt715_sdca_priv *rt715, unsigned int nid, unsigned int reg, unsigned int value) argument 50 rt715_sdca_index_read(struct rt715_sdca_priv *rt715, unsigned int nid, unsigned int reg, unsigned int *value) argument 68 rt715_sdca_index_update_bits(struct rt715_sdca_priv *rt715, unsigned int nid, unsigned int reg, unsigned int mask, unsigned int val) argument 294 unsigned int i, reg; local 356 unsigned int reg = p->reg_base; local [all...] |
H A D | rt715-sdw.c | 24 static bool rt715_readable_register(struct device *dev, unsigned int reg) argument 26 switch (reg) { 122 static bool rt715_volatile_register(struct device *dev, unsigned int reg) argument 124 switch (reg) { 148 static int rt715_sdw_read(void *context, unsigned int reg, unsigned int *val) argument 157 if (reg > 0xffff) 160 mask = reg & 0xf000; 163 val2 = reg & 0xff; 164 reg = reg >> 271 rt715_sdw_write(void *context, unsigned int reg, unsigned int val) argument [all...] |
H A D | rt5645.c | 400 unsigned short reg; member in struct:rt5645_eq_param_s 405 __be16 reg; member in struct:rt5645_eq_param_s_be16 478 static bool rt5645_volatile_register(struct device *dev, unsigned int reg) argument 483 if (reg >= rt5645_ranges[i].range_min && 484 reg <= rt5645_ranges[i].range_max) { 489 switch (reg) { 514 static bool rt5645_readable_register(struct device *dev, unsigned int reg) argument 519 if (reg >= rt5645_ranges[i].range_min && 520 reg <= rt5645_ranges[i].range_max) { 525 switch (reg) { 720 rt5645_validate_hweq(unsigned short reg) argument 912 unsigned int reg, shift, val; local [all...] |
H A D | cs35l56-shared.c | 64 static bool cs35l56_is_dsp_memory(unsigned int reg) argument 66 switch (reg) { 80 static bool cs35l56_readable_reg(struct device *dev, unsigned int reg) argument 82 switch (reg) { 145 return cs35l56_is_dsp_memory(reg); 149 static bool cs35l56_precious_reg(struct device *dev, unsigned int reg) argument 151 switch (reg) { 161 static bool cs35l56_volatile_reg(struct device *dev, unsigned int reg) argument 163 switch (reg) { 204 return cs35l56_is_dsp_memory(reg); 296 unsigned int reg; local 321 unsigned int reg; local [all...] |
H A D | cs35l56-sdw.c | 26 static int cs35l56_sdw_read_one(struct sdw_slave *peripheral, unsigned int reg, void *buf) argument 30 ret = sdw_nread_no_pm(peripheral, reg, 4, (u8 *)buf); 32 dev_err(&peripheral->dev, "Read failed @%#x:%d\n", reg, ret); 47 unsigned int reg, bytes; local 50 reg = le32_to_cpu(*(const __le32 *)reg_buf); 51 reg += CS35L56_SDW_ADDR_OFFSET; 54 return cs35l56_sdw_read_one(peripheral, reg, val_buf); 57 bytes = SDW_REG_NO_PAGE - (reg & SDW_REGADDR); /* to end of page */ 61 ret = sdw_nread_no_pm(peripheral, reg, bytes, buf8); 64 reg, re 86 cs35l56_sdw_write_one(struct sdw_slave *peripheral, unsigned int reg, const void *buf) argument 107 unsigned int reg, bytes; local [all...] |
/linux-master/sound/pci/hda/ |
H A D | cs35l56_hda.c | 27 * The cs35l56_hda_dai_config[] reg sequence configures the device as 263 unsigned int reg; member in struct:__anon113 364 ctl_template.private_value = cs35l56_hda_mixer_controls[i].reg;
|
/linux-master/sound/pci/emu10k1/ |
H A D | io.c | 19 static inline bool check_ptr_reg(struct snd_emu10k1 *emu, unsigned int reg) argument 23 if (snd_BUG_ON(reg & (emu->audigy ? (0xffff0000 & ~A_PTR_ADDRESS_MASK) 26 if (snd_BUG_ON(reg & 0x0000ffff & ~PTR_CHANNELNUM_MASK)) 31 unsigned int snd_emu10k1_ptr_read(struct snd_emu10k1 * emu, unsigned int reg, unsigned int chn) argument 37 regptr = (reg << 16) | chn; 46 if (reg & 0xff000000) { 49 size = (reg >> 24) & 0x3f; 50 offset = (reg >> 16) & 0x1f; 61 void snd_emu10k1_ptr_write(struct snd_emu10k1 *emu, unsigned int reg, unsigned int chn, unsigned int data) argument 67 regptr = (reg << 1 111 u32 reg = va_arg(va, u32); local 126 snd_emu10k1_ptr20_read(struct snd_emu10k1 * emu, unsigned int reg, unsigned int chn) argument 142 snd_emu10k1_ptr20_write(struct snd_emu10k1 *emu, unsigned int reg, unsigned int chn, unsigned int data) argument 162 unsigned int reg, tmp; local 212 snd_emu10k1_i2c_write(struct snd_emu10k1 *emu, u32 reg, u32 value) argument 274 snd_emu1010_fpga_write_locked(struct snd_emu10k1 *emu, u32 reg, u32 value) argument 291 snd_emu1010_fpga_write(struct snd_emu10k1 *emu, u32 reg, u32 value) argument 298 snd_emu1010_fpga_write_lock(struct snd_emu10k1 *emu, u32 reg, u32 value) argument 305 snd_emu1010_fpga_read(struct snd_emu10k1 *emu, u32 reg, u32 *value) argument 696 snd_emu10k1_ac97_read(struct snd_ac97 *ac97, unsigned short reg) argument 709 snd_emu10k1_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short data) argument [all...] |
H A D | emuproc.c | 306 unsigned reg, const char *pfx) 312 return sprintf(buffer, "%s0x%03x", pfx, reg); 313 if (reg >= base && reg < base + size) { 315 reg -= base; 317 return sprintf(buffer, "%s%s(%u)", pfx, name, reg); 318 return sprintf(buffer, "%s%s", pfx, emu10k1_const_entries[reg]); 323 static int disasm_sblive_reg(char *buffer, unsigned reg, const char *pfx) argument 325 return disasm_emu10k1_reg(buffer, sblive_reg_entries, reg, pfx); 328 static int disasm_audigy_reg(char *buffer, unsigned reg, cons argument 304 disasm_emu10k1_reg(char *buffer, const struct emu10k1_reg_entry *entries, unsigned reg, const char *pfx) argument 528 u32 reg, val; local 538 snd_ptr_read(struct snd_emu10k1 * emu, unsigned int iobase, unsigned int reg, unsigned int chn) argument 554 snd_ptr_write(struct snd_emu10k1 *emu, unsigned int iobase, unsigned int reg, unsigned int chn, unsigned int data) argument 598 unsigned int reg, channel_id , val; local [all...] |
H A D | emumixer.c | 1362 unsigned int reg, val, tmp; 1381 reg = snd_emu10k1_ptr_read(emu, A_SPDIF_SAMPLERATE, 0); 1382 tmp = reg & ~A_SPDIF_RATE_MASK; 1384 change = (tmp != reg); 1884 unsigned int reg, val, sw; local 1894 reg = inw(emu->port + A_IOCFG); 1896 change = (reg & A_IOCFG_GPOUT0) != val; 1898 reg &= ~A_IOCFG_GPOUT0; 1899 reg |= val; 1900 outw(reg | va [all...] |
H A D | emu10k1_main.c | 306 u16 reg = inw(emu->port + A_IOCFG); local 307 outw(reg | A_IOCFG_GPOUT2, emu->port + A_IOCFG); 309 outw(reg | A_IOCFG_GPOUT1 | A_IOCFG_GPOUT2, emu->port + A_IOCFG); 311 outw(reg, emu->port + A_IOCFG); 313 unsigned int reg = inl(emu->port + HCFG); local 314 outl(reg | HCFG_GPOUT2, emu->port + HCFG); 316 outl(reg | HCFG_GPOUT1 | HCFG_GPOUT2, emu->port + HCFG); 318 outl(reg, emu->port + HCFG); 327 u16 reg = inw(emu->port + A_IOCFG); local 328 outw(reg | A_IOCFG_GPOUT 659 u16 reg; local 776 u32 reg; local 856 u32 tmp, tmp2, reg; local 1813 const unsigned char *reg; local 1846 const unsigned char *reg; local [all...] |
/linux-master/net/core/ |
H A D | filter.c | 8951 const struct bpf_reg_state *reg, 8956 const struct bpf_reg_state *reg, 8963 ret = nfct_btf_struct_access(log, reg, off, size); 9029 const struct bpf_reg_state *reg, 9036 ret = nfct_btf_struct_access(log, reg, off, size); 10283 int fullsock_reg = si->dst_reg, reg = BPF_REG_9, jmp = 2; \ 10286 if (si->dst_reg == reg || si->src_reg == reg) \ 10287 reg--; \ 10288 if (si->dst_reg == reg || s 8955 tc_cls_act_btf_struct_access(struct bpf_verifier_log *log, const struct bpf_reg_state *reg, int off, int size) argument 9028 xdp_btf_struct_access(struct bpf_verifier_log *log, const struct bpf_reg_state *reg, int off, int size) argument 10720 int reg; local [all...] |
/linux-master/kernel/bpf/ |
H A D | verifier.c | 86 * Meaning that this reg is a pointer to stack plus known immediate constant. 146 * When type PTR_TO_MAP_VALUE_OR_NULL passes through 'if (reg != 0) goto +off' 205 struct bpf_reg_state *reg); 208 static bool is_trusted_reg(const struct bpf_reg_state *reg); 366 struct bpf_reg_state *reg, 373 if (reg->smin_value > S64_MIN) { 374 verbose(env, " smin=%lld", reg->smin_value); 377 if (reg->smax_value < S64_MAX) { 378 verbose(env, " smax=%lld", reg->smax_value); 391 static bool reg_not_null(const struct bpf_reg_state *reg) argument 365 verbose_invalid_scalar(struct bpf_verifier_env *env, struct bpf_reg_state *reg, struct bpf_retval_range range, const char *ctx, const char *reg_name) argument 409 reg_btf_record(const struct bpf_reg_state *reg) argument 456 reg_may_point_to_spin_lock(const struct bpf_reg_state *reg) argument 581 func(struct bpf_verifier_env *env, const struct bpf_reg_state *reg) argument 603 stack_slot_obj_get_spi(struct bpf_verifier_env *env, struct bpf_reg_state *reg, const char *obj_kind, int nr_slots) argument 630 dynptr_get_spi(struct bpf_verifier_env *env, struct bpf_reg_state *reg) argument 635 iter_get_spi(struct bpf_verifier_env *env, struct bpf_reg_state *reg, int nr_slots) argument 695 mark_dynptr_cb_reg(struct bpf_verifier_env *env, struct bpf_reg_state *reg, enum bpf_dynptr_type type) argument 705 mark_stack_slots_dynptr(struct bpf_verifier_env *env, struct bpf_reg_state *reg, enum bpf_arg_type arg_type, int insn_idx, int clone_ref_obj_id) argument 803 unmark_stack_slots_dynptr(struct bpf_verifier_env *env, struct bpf_reg_state *reg) argument 852 mark_reg_invalid(const struct bpf_verifier_env *env, struct bpf_reg_state *reg) argument 916 is_dynptr_reg_valid_uninit(struct bpf_verifier_env *env, struct bpf_reg_state *reg) argument 944 is_dynptr_reg_valid_init(struct bpf_verifier_env *env, struct bpf_reg_state *reg) argument 973 is_dynptr_type_expected(struct bpf_verifier_env *env, struct bpf_reg_state *reg, enum bpf_arg_type arg_type) argument 1001 mark_stack_slots_iter(struct bpf_verifier_env *env, struct bpf_kfunc_call_arg_meta *meta, struct bpf_reg_state *reg, int insn_idx, struct btf *btf, u32 btf_id, int nr_slots) argument 1045 unmark_stack_slots_iter(struct bpf_verifier_env *env, struct bpf_reg_state *reg, int nr_slots) argument 1076 is_iter_reg_valid_uninit(struct bpf_verifier_env *env, struct bpf_reg_state *reg, int nr_slots) argument 1103 is_iter_reg_valid_init(struct bpf_verifier_env *env, struct bpf_reg_state *reg, struct btf *btf, u32 btf_id, int nr_slots) argument 1750 ___mark_reg_known(struct bpf_reg_state *reg, u64 imm) argument 1767 __mark_reg_known(struct bpf_reg_state *reg, u64 imm) argument 1777 __mark_reg32_known(struct bpf_reg_state *reg, u64 imm) argument 1789 __mark_reg_known_zero(struct bpf_reg_state *reg) argument 1794 __mark_reg_const_zero(const struct bpf_verifier_env *env, struct bpf_reg_state *reg) argument 1817 __mark_dynptr_reg(struct bpf_reg_state *reg, enum bpf_dynptr_type type, bool first_slot, int dynptr_id) argument 1832 mark_ptr_not_null_reg(struct bpf_reg_state *reg) argument 1869 reg_is_pkt_pointer(const struct bpf_reg_state *reg) argument 1874 reg_is_pkt_pointer_any(const struct bpf_reg_state *reg) argument 1880 reg_is_dynptr_slice_pkt(const struct bpf_reg_state *reg) argument 1887 reg_is_init_pkt_pointer(const struct bpf_reg_state *reg, enum bpf_reg_type which) argument 1901 __mark_reg_unbounded(struct bpf_reg_state *reg) argument 1914 __mark_reg64_unbounded(struct bpf_reg_state *reg) argument 1922 __mark_reg32_unbounded(struct bpf_reg_state *reg) argument 1930 __update_reg32_bounds(struct bpf_reg_state *reg) argument 1945 __update_reg64_bounds(struct bpf_reg_state *reg) argument 1958 __update_reg_bounds(struct bpf_reg_state *reg) argument 1965 __reg32_deduce_bounds(struct bpf_reg_state *reg) argument 2052 __reg64_deduce_bounds(struct bpf_reg_state *reg) argument 2135 __reg_deduce_mixed_bounds(struct bpf_reg_state *reg) argument 2178 __reg_deduce_bounds(struct bpf_reg_state *reg) argument 2186 __reg_bound_offset(struct bpf_reg_state *reg) argument 2198 reg_bounds_sync(struct bpf_reg_state *reg) argument 2214 reg_bounds_sanity_check(struct bpf_verifier_env *env, struct bpf_reg_state *reg, const char *ctx) argument 2269 __reg_assign_32_into_64(struct bpf_reg_state *reg) argument 2289 __mark_reg_unknown_imprecise(struct bpf_reg_state *reg) argument 2308 __mark_reg_unknown(const struct bpf_verifier_env *env, struct bpf_reg_state *reg) argument 2328 __mark_reg_not_init(const struct bpf_verifier_env *env, struct bpf_reg_state *reg) argument 3062 mark_dynptr_read(struct bpf_verifier_env *env, struct bpf_reg_state *reg) argument 3088 mark_iter_read(struct bpf_verifier_env *env, struct bpf_reg_state *reg, int spi, int nr_slots) argument 3111 is_reg64(struct bpf_verifier_env *env, struct bpf_insn *insn, u32 regno, struct bpf_reg_state *reg, enum reg_arg_type t) argument 3231 mark_insn_zext(struct bpf_verifier_env *env, struct bpf_reg_state *reg) argument 3248 struct bpf_reg_state *reg; local 3465 bt_set_frame_reg(struct backtrack_state *bt, u32 frame, u32 reg) argument 3470 bt_clear_frame_reg(struct backtrack_state *bt, u32 frame, u32 reg) argument 3475 bt_set_reg(struct backtrack_state *bt, u32 reg) argument 3480 bt_clear_reg(struct backtrack_state *bt, u32 reg) argument 3515 bt_is_reg_set(struct backtrack_state *bt, u32 reg) argument 3907 struct bpf_reg_state *reg; local 3953 struct bpf_reg_state *reg; local 4007 struct bpf_reg_state *reg; local 4160 struct bpf_reg_state *reg; local 4397 register_is_null(struct bpf_reg_state *reg) argument 4403 is_reg_const(struct bpf_reg_state *reg, bool subreg32) argument 4410 reg_const_value(struct bpf_reg_state *reg, bool subreg32) argument 4415 __is_pointer_value(bool allow_ptr_leaks, const struct bpf_reg_state *reg) argument 4447 save_register_state(struct bpf_verifier_env *env, struct bpf_func_state *state, int spi, struct bpf_reg_state *reg, int size) argument 4471 get_reg_width(struct bpf_reg_state *reg) argument 4488 struct bpf_reg_state *reg = NULL; local 4787 struct bpf_reg_state *reg; local 4940 struct bpf_reg_state *reg = reg_state(env, ptr_regno); local 4971 struct bpf_reg_state *reg = reg_state(env, ptr_regno); local 5028 struct bpf_reg_state *reg = reg_state(env, ptr_regno); local 5075 struct bpf_reg_state *reg; local 5112 struct bpf_reg_state *reg = &state->regs[regno]; local 5161 __check_ptr_off_reg(struct bpf_verifier_env *env, const struct bpf_reg_state *reg, int regno, bool fixed_off_ok) argument 5193 check_ptr_off_reg(struct bpf_verifier_env *env, const struct bpf_reg_state *reg, int regno) argument 5199 map_kptr_match_type(struct bpf_verifier_env *env, struct btf_field *kptr_field, struct bpf_reg_state *reg, u32 regno) argument 5416 struct bpf_reg_state *reg = &state->regs[regno]; local 5519 struct bpf_reg_state *reg = ®s[regno]; local 5611 struct bpf_reg_state *reg = ®s[regno]; local 5658 const struct bpf_reg_state *reg = reg_state(env, regno); local 5665 const struct bpf_reg_state *reg = reg_state(env, regno); local 5672 const struct bpf_reg_state *reg = reg_state(env, regno); local 5679 const struct bpf_reg_state *reg = reg_state(env, regno); local 5687 const struct bpf_reg_state *reg = reg_state(env, regno); local 5701 is_trusted_reg(const struct bpf_reg_state *reg) argument 5724 is_rcu_reg(const struct bpf_reg_state *reg) argument 5734 check_pkt_ptr_alignment(struct bpf_verifier_env *env, const struct bpf_reg_state *reg, int off, int size, bool strict) argument 5769 check_generic_ptr_alignment(struct bpf_verifier_env *env, const struct bpf_reg_state *reg, const char *pointer_desc, int off, int size, bool strict) argument 5793 check_ptr_alignment(struct bpf_verifier_env *env, const struct bpf_reg_state *reg, int off, int size, bool strict_alignment_once) argument 6035 __check_buffer_access(struct bpf_verifier_env *env, const char *buf_info, const struct bpf_reg_state *reg, int regno, int off, int size) argument 6059 check_tp_buffer_access(struct bpf_verifier_env *env, const struct bpf_reg_state *reg, int regno, int off, int size) argument 6075 check_buffer_access(struct bpf_verifier_env *env, const struct bpf_reg_state *reg, int regno, int off, int size, bool zero_size_allowed, u32 *max_access) argument 6095 zext_32_to_64(struct bpf_reg_state *reg) argument 6104 coerce_reg_to_size(struct bpf_reg_state *reg, int size) argument 6133 set_sext64_default_val(struct bpf_reg_state *reg, int size) argument 6152 coerce_reg_to_size_sx(struct bpf_reg_state *reg, int size) argument 6211 set_sext32_default_val(struct bpf_reg_state *reg, int size) argument 6225 coerce_subreg_to_size_sx(struct bpf_reg_state *reg, int size) argument 6395 type_is_rcu(struct bpf_verifier_env *env, struct bpf_reg_state *reg, const char *field_name, u32 btf_id) argument 6406 type_is_rcu_or_null(struct bpf_verifier_env *env, struct bpf_reg_state *reg, const char *field_name, u32 btf_id) argument 6417 type_is_trusted(struct bpf_verifier_env *env, struct bpf_reg_state *reg, const char *field_name, u32 btf_id) argument 6437 struct bpf_reg_state *reg = regs + regno; local 6585 struct bpf_reg_state *reg = regs + regno; local 6673 struct bpf_reg_state *reg = regs + regno; local 6741 struct bpf_reg_state *reg = regs + regno; local 7094 struct bpf_reg_state *reg = reg_state(env, regno); local 7249 struct bpf_reg_state *regs = cur_regs(env), *reg = ®s[regno]; local 7344 check_mem_size_reg(struct bpf_verifier_env *env, struct bpf_reg_state *reg, u32 regno, bool zero_size_allowed, struct bpf_call_arg_meta *meta) argument 7397 check_mem_reg(struct bpf_verifier_env *env, struct bpf_reg_state *reg, u32 regno, u32 mem_size) argument 7429 check_kfunc_mem_size_reg(struct bpf_verifier_env *env, struct bpf_reg_state *reg, u32 regno) argument 7482 struct bpf_reg_state *regs = cur_regs(env), *reg = ®s[regno]; local 7559 struct bpf_reg_state *regs = cur_regs(env), *reg = ®s[regno]; local 7596 struct bpf_reg_state *regs = cur_regs(env), *reg = ®s[regno]; local 7660 struct bpf_reg_state *regs = cur_regs(env), *reg = ®s[regno]; local 7730 iter_ref_obj_id(struct bpf_verifier_env *env, struct bpf_reg_state *reg, int spi) argument 7768 struct bpf_reg_state *regs = cur_regs(env), *reg = ®s[regno]; local 8227 struct bpf_reg_state *regs = cur_regs(env), *reg = ®s[regno]; local 8368 reg_find_field_offset(const struct bpf_reg_state *reg, s32 off, u32 fields) argument 8384 check_func_arg_reg_off(struct bpf_verifier_env *env, const struct bpf_reg_state *reg, int regno, enum bpf_arg_type arg_type) argument 8477 dynptr_id(struct bpf_verifier_env *env, struct bpf_reg_state *reg) argument 8490 dynptr_ref_obj_id(struct bpf_verifier_env *env, struct bpf_reg_state *reg) argument 8503 dynptr_get_type(struct bpf_verifier_env *env, struct bpf_reg_state *reg) argument 8521 check_reg_const_str(struct bpf_verifier_env *env, struct bpf_reg_state *reg, u32 regno) argument 8575 struct bpf_reg_state *regs = cur_regs(env), *reg = ®s[regno]; local 9209 struct bpf_reg_state *reg; local 9225 struct bpf_reg_state *reg = &state->regs[regn]; local 9250 struct bpf_reg_state *reg; local 9268 struct bpf_reg_state *reg; local 9366 struct bpf_reg_state *reg = ®s[regno]; local 9837 retval_range_within(struct bpf_retval_range range, const struct bpf_reg_state *reg) argument 10034 struct bpf_reg_state *regs = cur_regs(env), *reg; local 10152 struct bpf_reg_state *reg = ®s[BPF_REG_4]; local 10298 struct bpf_reg_state *reg; local 10400 struct bpf_reg_state *reg; local 10437 struct bpf_reg_state *reg; local 10458 struct bpf_reg_state *reg = ®s[BPF_REG_1]; local 10693 struct bpf_reg_state *reg = &cur_regs(env)[regno]; local 10746 is_kfunc_arg_mem_size(const struct btf *btf, const struct btf_param *arg, const struct bpf_reg_state *reg) argument 10759 is_kfunc_arg_const_mem_size(const struct btf *btf, const struct btf_param *arg, const struct bpf_reg_state *reg) argument 11074 struct bpf_reg_state *reg = ®s[regno]; local 11152 process_kf_arg_ptr_to_btf_id(struct bpf_verifier_env *env, struct bpf_reg_state *reg, const struct btf_type *ref_t, const char *ref_tname, u32 ref_id, struct bpf_kfunc_call_arg_meta *meta, int argno) argument 11215 ref_set_non_owning(struct bpf_verifier_env *env, struct bpf_reg_state *reg) argument 11240 struct bpf_reg_state *reg; local 11315 check_reg_allocation_locked(struct bpf_verifier_env *env, struct bpf_reg_state *reg) argument 11433 __process_kf_arg_ptr_to_graph_root(struct bpf_verifier_env *env, struct bpf_reg_state *reg, u32 regno, struct bpf_kfunc_call_arg_meta *meta, enum btf_field_type head_field_type, struct btf_field **head_field) argument 11483 process_kf_arg_ptr_to_list_head(struct bpf_verifier_env *env, struct bpf_reg_state *reg, u32 regno, struct bpf_kfunc_call_arg_meta *meta) argument 11491 process_kf_arg_ptr_to_rbtree_root(struct bpf_verifier_env *env, struct bpf_reg_state *reg, u32 regno, struct bpf_kfunc_call_arg_meta *meta) argument 11500 __process_kf_arg_ptr_to_graph_node(struct bpf_verifier_env *env, struct bpf_reg_state *reg, u32 regno, struct bpf_kfunc_call_arg_meta *meta, enum btf_field_type head_field_type, enum btf_field_type node_field_type, struct btf_field **node_field) argument 11564 process_kf_arg_ptr_to_list_node(struct bpf_verifier_env *env, struct bpf_reg_state *reg, u32 regno, struct bpf_kfunc_call_arg_meta *meta) argument 11573 process_kf_arg_ptr_to_rbtree_node(struct bpf_verifier_env *env, struct bpf_reg_state *reg, u32 regno, struct bpf_kfunc_call_arg_meta *meta) argument 11626 struct bpf_reg_state *regs = cur_regs(env), *reg = ®s[i + 1]; local 12153 struct bpf_reg_state *reg; local 12548 check_reg_sane_offset(struct bpf_verifier_env *env, const struct bpf_reg_state *reg, enum bpf_reg_type type) argument 12845 check_stack_access_for_ptr_arithmetic( struct bpf_verifier_env *env, int regno, const struct bpf_reg_state *reg, int off) argument 14221 struct bpf_reg_state *reg; local 14762 mark_ptr_or_null_reg(struct bpf_func_state *state, struct bpf_reg_state *reg, u32 id, bool is_null) argument 14816 struct bpf_reg_state *regs = state->regs, *reg; local 14941 struct bpf_reg_state *reg; local 15378 struct bpf_reg_state *reg; local 16922 propagate_liveness_reg(struct bpf_verifier_env *env, struct bpf_reg_state *reg, struct bpf_reg_state *parent_reg) argument 20468 struct bpf_reg_state *reg; local [all...] |
/linux-master/include/sound/ |
H A D | emu10k1.h | 46 #define SUB_REG_NC(reg, field, mask) \ 49 field = reg | \ 53 #define SUB_REG(reg, field, mask) SUB_REG_NC(reg, reg ## _ ## field, mask) 1830 unsigned int snd_emu10k1_ptr_read(struct snd_emu10k1 * emu, unsigned int reg, unsigned int chn); 1831 void snd_emu10k1_ptr_write(struct snd_emu10k1 *emu, unsigned int reg, unsigned int chn, unsigned int data); 1833 unsigned int snd_emu10k1_ptr20_read(struct snd_emu10k1 * emu, unsigned int reg, unsigned int chn); 1834 void snd_emu10k1_ptr20_write(struct snd_emu10k1 *emu, unsigned int reg, unsigned int chn, unsigned int data); 1836 int snd_emu10k1_i2c_write(struct snd_emu10k1 *emu, u32 reg, u3 [all...] |
/linux-master/include/linux/ |
H A D | regmap.h | 68 * @reg: Register address. 75 unsigned int reg; member in struct:reg_default 82 * @reg: Register address. 90 unsigned int reg; member in struct:reg_sequence 96 .reg = _reg, \ 317 * if the function require special handling with lock and reg 402 bool (*writeable_reg)(struct device *dev, unsigned int reg); 403 bool (*readable_reg)(struct device *dev, unsigned int reg); 404 bool (*volatile_reg)(struct device *dev, unsigned int reg); 405 bool (*precious_reg)(struct device *dev, unsigned int reg); 1244 regmap_update_bits(struct regmap *map, unsigned int reg, unsigned int mask, unsigned int val) argument 1250 regmap_update_bits_async(struct regmap *map, unsigned int reg, unsigned int mask, unsigned int val) argument 1256 regmap_update_bits_check(struct regmap *map, unsigned int reg, unsigned int mask, unsigned int val, bool *change) argument 1265 regmap_update_bits_check_async(struct regmap *map, unsigned int reg, unsigned int mask, unsigned int val, bool *change) argument 1273 regmap_write_bits(struct regmap *map, unsigned int reg, unsigned int mask, unsigned int val) argument 1306 regmap_reg_in_range(unsigned int reg, const struct regmap_range *range) argument 1316 regmap_set_bits(struct regmap *map, unsigned int reg, unsigned int bits) argument 1323 regmap_clear_bits(struct regmap *map, unsigned int reg, unsigned int bits) argument 1341 unsigned int reg; member in struct:reg_field 1694 regmap_write(struct regmap *map, unsigned int reg, unsigned int val) argument 1701 regmap_write_async(struct regmap *map, unsigned int reg, unsigned int val) argument 1708 regmap_raw_write(struct regmap *map, unsigned int reg, const void *val, size_t val_len) argument 1715 regmap_raw_write_async(struct regmap *map, unsigned int reg, const void *val, size_t val_len) argument 1722 regmap_noinc_write(struct regmap *map, unsigned int reg, const void *val, size_t val_len) argument 1729 regmap_bulk_write(struct regmap *map, unsigned int reg, const void *val, size_t val_count) argument 1736 regmap_read(struct regmap *map, unsigned int reg, unsigned int *val) argument 1743 regmap_read_bypassed(struct regmap *map, unsigned int reg, unsigned int *val) argument 1750 regmap_raw_read(struct regmap *map, unsigned int reg, void *val, size_t val_len) argument 1757 regmap_noinc_read(struct regmap *map, unsigned int reg, void *val, size_t val_len) argument 1764 regmap_bulk_read(struct regmap *map, unsigned int reg, void *val, size_t val_count) argument 1771 regmap_update_bits_base(struct regmap *map, unsigned int reg, unsigned int mask, unsigned int val, bool *change, bool async, bool force) argument 1779 regmap_set_bits(struct regmap *map, unsigned int reg, unsigned int bits) argument 1786 regmap_clear_bits(struct regmap *map, unsigned int reg, unsigned int bits) argument 1793 regmap_test_bits(struct regmap *map, unsigned int reg, unsigned int bits) argument 1817 regmap_update_bits(struct regmap *map, unsigned int reg, unsigned int mask, unsigned int val) argument 1824 regmap_update_bits_async(struct regmap *map, unsigned int reg, unsigned int mask, unsigned int val) argument 1831 regmap_update_bits_check(struct regmap *map, unsigned int reg, unsigned int mask, unsigned int val, bool *change) argument 1840 regmap_update_bits_check_async(struct regmap *map, unsigned int reg, unsigned int mask, unsigned int val, bool *change) argument 1848 regmap_write_bits(struct regmap *map, unsigned int reg, unsigned int mask, unsigned int val) argument [all...] |
H A D | filter.h | 57 #define BPF_REG_TMP BPF_REG_2 /* scratch reg */ 630 const struct bpf_reg_state *reg,
|
/linux-master/drivers/spi/ |
H A D | spi-axi-spi-engine.c | 70 #define SPI_ENGINE_CMD_WRITE(reg, val) \ 71 SPI_ENGINE_CMD(SPI_ENGINE_INST_WRITE, (reg), (val))
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_debugfs.c | 3258 u64 reg; local 3260 reg = rvu_read64(rvu, blkaddr, CPT_AF_CONSTANTS1); 3261 max_ses = reg & 0xffff; 3262 max_ies = (reg >> 16) & 0xffff; 3263 max_aes = (reg >> 32) & 0xffff; 3283 reg = rvu_read64(rvu, blkaddr, CPT_AF_EXEX_STS(e)); 3284 if (reg & 0x1) 3287 if (reg & 0x2) 3324 u64 reg; local 3326 reg 3358 u64 reg; local 3416 u64 reg; local [all...] |
/linux-master/drivers/net/ethernet/intel/e1000e/ |
H A D | phy.c | 2362 * @reg: register to check 2366 static u32 e1000_get_phy_addr_for_bm_page(u32 page, u32 reg) argument 2370 if ((page >= 768) || (page == 0 && reg == 25) || (reg == 31)) 2688 u16 reg = BM_PHY_REG_NUM(offset); local 2692 /* Gig must be disabled for MDIO accesses to Host Wakeup reg page */ 2702 e_dbg("Could not enable PHY wakeup reg access\n"); 2707 e_dbg("Accessing PHY page %d reg 0x%x\n", page, reg); 2710 ret_val = e1000e_write_phy_reg_mdic(hw, BM_WUC_ADDRESS_OPCODE, reg); 2801 u16 reg = BM_PHY_REG_NUM(offset); local 2909 u16 reg = BM_PHY_REG_NUM(offset); local [all...] |
/linux-master/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmmii.c | 32 u32 reg, cmd_bits = 0; local 75 reg = bcmgenet_ext_readl(priv, EXT_RGMII_OOB_CTRL); 76 reg |= RGMII_LINK; 77 bcmgenet_ext_writel(priv, reg, EXT_RGMII_OOB_CTRL); 80 reg = bcmgenet_umac_readl(priv, UMAC_CMD); 81 reg &= ~((CMD_SPEED_MASK << CMD_SPEED_SHIFT) | 84 reg |= cmd_bits; 85 if (reg & CMD_SW_RESET) { 86 reg &= ~CMD_SW_RESET; 87 bcmgenet_umac_writel(priv, reg, UMAC_CM 107 u32 reg; local 125 u32 reg; local 154 u32 reg = 0; local 200 u32 reg; local [all...] |