Home
last modified time | relevance | path

Searched refs:swreg (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_asm.h322 typedef __u32 __bitwise swreg; typedef
324 static inline swreg __enc_swreg(u16 id, u8 type) in __enc_swreg()
326 return (__force swreg)(id | FIELD_PREP(NN_REG_TYPE, type)); in __enc_swreg()
329 static inline swreg __enc_swreg_lm(u8 id, enum nfp_bpf_lm_mode mode, u8 off) in __enc_swreg_lm()
333 return (__force swreg)(FIELD_PREP(NN_REG_TYPE, NN_REG_LMEM) | in __enc_swreg_lm()
339 static inline u32 swreg_raw(swreg reg) in swreg_raw()
344 static inline enum nfp_bpf_reg_type swreg_type(swreg reg) in swreg_type()
349 static inline u16 swreg_value(swreg reg) in swreg_value()
354 static inline bool swreg_lm_idx(swreg reg) in swreg_lm_idx()
359 static inline bool swreg_lmextn(swreg reg) in swreg_lmextn()
[all …]
Dnfp_asm.c113 static u16 nfp_swreg_to_unreg(swreg reg, bool is_dst) in nfp_swreg_to_unreg()
168 int swreg_to_unrestricted(swreg dst, swreg lreg, swreg rreg, in swreg_to_unrestricted()
204 static u16 nfp_swreg_to_rereg(swreg reg, bool is_dst, bool has_imm8, bool *i8) in nfp_swreg_to_rereg()
249 int swreg_to_restricted(swreg dst, swreg lreg, swreg rreg, in swreg_to_restricted()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/bpf/
Djit.c101 swreg lreg, swreg rreg, u8 size, enum cmd_ctx_swap ctx, bool indir) in emit_cmd_any()
128 swreg lreg, swreg rreg, u8 size, enum cmd_ctx_swap ctx) in emit_cmd()
135 swreg lreg, swreg rreg, u8 size, enum cmd_ctx_swap ctx) in emit_cmd_indir()
208 emit_br_bit_relo(struct nfp_prog *nfp_prog, swreg src, u8 bit, u16 addr, in emit_br_bit_relo()
234 emit_br_bset(struct nfp_prog *nfp_prog, swreg src, u8 bit, u16 addr, u8 defer) in emit_br_bset()
256 static void emit_rtn(struct nfp_prog *nfp_prog, swreg base, u8 defer) in emit_rtn()
294 emit_immed(struct nfp_prog *nfp_prog, swreg dst, u16 imm, in emit_immed()
363 emit_shf(struct nfp_prog *nfp_prog, swreg dst, in emit_shf()
364 swreg lreg, enum shf_op op, swreg rreg, enum shf_sc sc, u8 shift) in emit_shf()
381 emit_shf_indir(struct nfp_prog *nfp_prog, swreg dst, in emit_shf_indir()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dar9003_eeprom.h215 __le32 swreg; member
Dar9003_eeprom.c80 .swreg = 0,
658 .swreg = 0,
1237 .swreg = 0,
1816 .swreg = 0,
2394 .swreg = 0,
3563 PR_EEP("SW Reg", le32_to_cpu(pBase->swreg)); in ath9k_hw_ar9003_dump_eeprom()
4004 reg_val = le32_to_cpu(pBase->swreg); in ar9003_hw_internal_regulator_apply()
4011 reg_val = le32_to_cpu(pBase->swreg); in ar9003_hw_internal_regulator_apply()