Home
last modified time | relevance | path

Searched refs:lreg (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/netronome/nfp/
Dnfp_asm.c168 int swreg_to_unrestricted(swreg dst, swreg lreg, swreg rreg, in swreg_to_unrestricted() argument
184 if (swreg_type(lreg) == swreg_type(rreg) && in swreg_to_unrestricted()
185 swreg_type(lreg) != NN_REG_NONE) in swreg_to_unrestricted()
188 if (swreg_type(lreg) == NN_REG_GPR_B || in swreg_to_unrestricted()
191 reg->breg = nfp_swreg_to_unreg(lreg, false); in swreg_to_unrestricted()
194 reg->areg = nfp_swreg_to_unreg(lreg, false); in swreg_to_unrestricted()
199 reg->src_lmextn = swreg_lmextn(lreg) | swreg_lmextn(rreg); in swreg_to_unrestricted()
249 int swreg_to_restricted(swreg dst, swreg lreg, swreg rreg, in swreg_to_restricted() argument
265 if (swreg_type(lreg) == swreg_type(rreg) && in swreg_to_restricted()
266 swreg_type(lreg) != NN_REG_NONE) in swreg_to_restricted()
[all …]
Dnfp_asm.h390 int swreg_to_unrestricted(swreg dst, swreg lreg, swreg rreg,
392 int swreg_to_restricted(swreg dst, swreg lreg, swreg rreg,
/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() argument
106 err = swreg_to_restricted(reg_none(), lreg, rreg, &reg, false); in emit_cmd_any()
128 swreg lreg, swreg rreg, u8 size, enum cmd_ctx_swap ctx) in emit_cmd() argument
130 emit_cmd_any(nfp_prog, op, mode, xfer, lreg, rreg, size, ctx, false); in emit_cmd()
135 swreg lreg, swreg rreg, u8 size, enum cmd_ctx_swap ctx) in emit_cmd_indir() argument
137 emit_cmd_any(nfp_prog, op, mode, xfer, lreg, rreg, size, ctx, true); in emit_cmd_indir()
364 swreg lreg, enum shf_op op, swreg rreg, enum shf_sc sc, u8 shift) in emit_shf() argument
369 err = swreg_to_restricted(dst, lreg, rreg, &reg, true); in emit_shf()
382 swreg lreg, enum shf_op op, swreg rreg, enum shf_sc sc) in emit_shf_indir() argument
390 emit_shf(nfp_prog, dst, lreg, op, rreg, sc, 0); in emit_shf_indir()
[all …]
/drivers/hwmon/
Dstts751.c201 u8 hreg, u8 lreg) in stts751_set_temp_reg16() argument
212 return i2c_smbus_write_byte_data(priv->client, lreg, hwval & 0xff); in stts751_set_temp_reg16()
224 u8 hreg, u8 lreg) in stts751_read_reg16() argument
232 frac = i2c_smbus_read_byte_data(priv->client, lreg); in stts751_read_reg16()