Home
last modified time | relevance | path

Searched refs:fld (Results 1 – 25 of 45) sorted by relevance

12

/Linux-v5.10/arch/riscv/kernel/
Dfpu.S71 fld f0, TASK_THREAD_F0_F0(a0)
72 fld f1, TASK_THREAD_F1_F0(a0)
73 fld f2, TASK_THREAD_F2_F0(a0)
74 fld f3, TASK_THREAD_F3_F0(a0)
75 fld f4, TASK_THREAD_F4_F0(a0)
76 fld f5, TASK_THREAD_F5_F0(a0)
77 fld f6, TASK_THREAD_F6_F0(a0)
78 fld f7, TASK_THREAD_F7_F0(a0)
79 fld f8, TASK_THREAD_F8_F0(a0)
80 fld f9, TASK_THREAD_F9_F0(a0)
[all …]
/Linux-v5.10/include/linux/mlx5/
Ddevice.h50 #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) argument
51 #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) argument
52 #define __mlx5_16_off(typ, fld) (__mlx5_bit_off(typ, fld) / 16) argument
53 #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) argument
54 #define __mlx5_64_off(typ, fld) (__mlx5_bit_off(typ, fld) / 64) argument
55 #define __mlx5_16_bit_off(typ, fld) (16 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0xf… argument
56 #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1… argument
57 #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) argument
58 #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) argument
59 #define __mlx5_mask16(typ, fld) ((u16)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) argument
[all …]
/Linux-v5.10/net/decnet/
Ddn_route.c328 if (compare_keys(&rth->fld, &rt->fld)) { in dn_insert_route()
951 struct flowidn fld = { in dn_route_output_slow() local
1022 if (!fld.daddr) { in dn_route_output_slow()
1023 fld.daddr = fld.saddr; in dn_route_output_slow()
1033 if (!fld.daddr) { in dn_route_output_slow()
1034 fld.daddr = in dn_route_output_slow()
1035 fld.saddr = dnet_select_source(dev_out, 0, in dn_route_output_slow()
1037 if (!fld.daddr) in dn_route_output_slow()
1040 fld.flowidn_oif = LOOPBACK_IFINDEX; in dn_route_output_slow()
1049 le16_to_cpu(fld.daddr), le16_to_cpu(fld.saddr), in dn_route_output_slow()
[all …]
Ddn_rules.c71 struct flowidn *fld = &flp->u.dn; in dn_fib_rule_action() local
97 err = tbl->lookup(tbl, fld, (struct dn_fib_res *)arg->result); in dn_fib_rule_action()
111 struct flowidn *fld = &fl->u.dn; in dn_fib_rule_match() local
112 __le16 daddr = fld->daddr; in dn_fib_rule_match()
113 __le16 saddr = fld->saddr; in dn_fib_rule_match()
186 struct flowidn fld = { .daddr = addr }; in dnet_addr_type() local
194 if (!tb->lookup(tb, &fld, &res)) { in dnet_addr_type()
Ddn_fib.c200 struct flowidn fld; in dn_fib_check_nh() local
220 memset(&fld, 0, sizeof(fld)); in dn_fib_check_nh()
221 fld.daddr = nh->nh_gw; in dn_fib_check_nh()
222 fld.flowidn_oif = nh->nh_oif; in dn_fib_check_nh()
223 fld.flowidn_scope = r->rtm_scope + 1; in dn_fib_check_nh()
225 if (fld.flowidn_scope < RT_SCOPE_LINK) in dn_fib_check_nh()
226 fld.flowidn_scope = RT_SCOPE_LINK; in dn_fib_check_nh()
228 if ((err = dn_fib_lookup(&fld, &res)) != 0) in dn_fib_check_nh()
416 int dn_fib_semantic_match(int type, struct dn_fib_info *fi, const struct flowidn *fld, struct dn_fi… in dn_fib_semantic_match() argument
436 if (!fld->flowidn_oif || in dn_fib_semantic_match()
[all …]
Ddn_nsp_out.c71 struct flowidn fld; in dn_nsp_send() local
84 memset(&fld, 0, sizeof(fld)); in dn_nsp_send()
85 fld.flowidn_oif = sk->sk_bound_dev_if; in dn_nsp_send()
86 fld.saddr = dn_saddr2dn(&scp->addr); in dn_nsp_send()
87 fld.daddr = dn_saddr2dn(&scp->peer); in dn_nsp_send()
88 dn_sk_ports_copy(&fld, scp); in dn_nsp_send()
89 fld.flowidn_proto = DNPROTO_NSP; in dn_nsp_send()
90 if (dn_route_output_sock(&sk->sk_dst_cache, &fld, sk, 0) == 0) { in dn_nsp_send()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_stats.h45 #define MLX5E_DECLARE_STAT(type, fld) #fld, offsetof(type, fld) argument
46 #define MLX5E_DECLARE_RX_STAT(type, fld) "rx%d_"#fld, offsetof(type, fld) argument
47 #define MLX5E_DECLARE_TX_STAT(type, fld) "tx%d_"#fld, offsetof(type, fld) argument
48 #define MLX5E_DECLARE_XDPSQ_STAT(type, fld) "tx%d_xdp_"#fld, offsetof(type, fld) argument
49 #define MLX5E_DECLARE_RQ_XDPSQ_STAT(type, fld) "rx%d_xdp_tx_"#fld, offsetof(type, fld) argument
50 #define MLX5E_DECLARE_XSKRQ_STAT(type, fld) "rx%d_xsk_"#fld, offsetof(type, fld) argument
51 #define MLX5E_DECLARE_XSKSQ_STAT(type, fld) "tx%d_xsk_"#fld, offsetof(type, fld) argument
52 #define MLX5E_DECLARE_CH_STAT(type, fld) "ch%d_"#fld, offsetof(type, fld) argument
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfs_tracepoint.c39 #define MASK_VAL(type, spec, name, mask, val, fld) \ argument
41 {.m = MLX5_GET(spec, mask, fld),\
42 .v = MLX5_GET(spec, val, fld)}
43 #define MASK_VAL_BE(type, spec, name, mask, val, fld) \ argument
45 {.m = MLX5_GET_BE(type, spec, mask, fld),\
46 .v = MLX5_GET_BE(type, spec, val, fld)}
49 #define GET_MASK_VAL(name, type, mask, val, fld) \ argument
50 (name.m = MLX5_GET(type, mask, fld), \
51 name.v = MLX5_GET(type, val, fld), \
66 #define MASK_VAL_L2(type, name, fld) \ in print_lyr_2_4_hdrs() argument
[all …]
/Linux-v5.10/scripts/coccinelle/misc/
Ddoubleinit.cocci18 identifier I, s, fld;
23 struct I s =@p0 { ..., .fld@p = E, ...};
26 identifier I, s, r.fld;
31 struct I s =@p0 { ..., .fld@p = E, ...};
35 fld << r.fld;
41 cocci.print_main(fld,p0)
47 fld << r.fld;
53 msg = "%s: first occurrence line %s, second occurrence line %s" % (fld,ps[0].line,pr[0].line)
/Linux-v5.10/scripts/gcc-plugins/
Dlatent_entropy_plugin.c165 tree fld, lst = TYPE_FIELDS(type); in handle_latent_entropy_attribute() local
168 for (fld = lst; fld; nelt++, fld = TREE_CHAIN(fld)) { in handle_latent_entropy_attribute()
171 fieldtype = TREE_TYPE(fld); in handle_latent_entropy_attribute()
177 *node, name, fld); in handle_latent_entropy_attribute()
181 if (fld) in handle_latent_entropy_attribute()
190 for (fld = lst; fld; fld = TREE_CHAIN(fld)) { in handle_latent_entropy_attribute()
191 tree random_const, fld_t = TREE_TYPE(fld); in handle_latent_entropy_attribute()
194 CONSTRUCTOR_APPEND_ELT(vals, fld, random_const); in handle_latent_entropy_attribute()
/Linux-v5.10/drivers/clk/baikal-t1/
Dccu-pll.c385 struct ccu_pll_dbgfs_fld *fld = priv; in ccu_pll_dbgfs_fld_set() local
386 struct ccu_pll *pll = fld->pll; in ccu_pll_dbgfs_fld_set()
390 val = clamp_t(u64, val, fld->min, fld->max); in ccu_pll_dbgfs_fld_set()
391 data = ((val - 1) << fld->lsb) & fld->mask; in ccu_pll_dbgfs_fld_set()
394 regmap_update_bits(pll->sys_regs, pll->reg_ctl + fld->reg, fld->mask, in ccu_pll_dbgfs_fld_set()
427 struct ccu_pll_dbgfs_fld *fld = priv; in ccu_pll_dbgfs_fld_get() local
428 struct ccu_pll *pll = fld->pll; in ccu_pll_dbgfs_fld_get()
431 regmap_read(pll->sys_regs, pll->reg_ctl + fld->reg, &data); in ccu_pll_dbgfs_fld_get()
432 *val = ((data & fld->mask) >> fld->lsb) + 1; in ccu_pll_dbgfs_fld_get()
/Linux-v5.10/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3-sva.c160 unsigned long reg, fld; in arm_smmu_sva_supported() local
180 fld = cpuid_feature_extract_unsigned_field(reg, ID_AA64MMFR0_PARANGE_SHIFT); in arm_smmu_sva_supported()
181 oas = id_aa64mmfr0_parange_to_phys_shift(fld); in arm_smmu_sva_supported()
186 fld = cpuid_feature_extract_unsigned_field(reg, ID_AA64MMFR0_ASID_SHIFT); in arm_smmu_sva_supported()
187 asid_bits = fld ? 16 : 8; in arm_smmu_sva_supported()
/Linux-v5.10/drivers/power/supply/
Dmp2629_charger.c172 enum mp2629_field fld, in mp2629_get_prop() argument
178 ret = regmap_field_read(charger->regmap_fields[fld], &rval); in mp2629_get_prop()
182 val->intval = rval * props[fld].step + props[fld].min; in mp2629_get_prop()
188 enum mp2629_field fld, in mp2629_set_prop() argument
193 if (val->intval < props[fld].min || val->intval > props[fld].max) in mp2629_set_prop()
196 rval = (val->intval - props[fld].min) / props[fld].step; in mp2629_set_prop()
197 return regmap_field_write(charger->regmap_fields[fld], rval); in mp2629_set_prop()
/Linux-v5.10/drivers/net/ethernet/intel/ice/
Dice_flow.c362 u8 seg, enum ice_flow_field fld) in ice_flow_xtract_fld() argument
372 switch (fld) { in ice_flow_xtract_fld()
405 flds[fld].xtrct.prot_id = prot_id; in ice_flow_xtract_fld()
406 flds[fld].xtrct.off = (ice_flds_info[fld].off / ese_bits) * in ice_flow_xtract_fld()
408 flds[fld].xtrct.disp = (u8)(ice_flds_info[fld].off % ese_bits); in ice_flow_xtract_fld()
409 flds[fld].xtrct.idx = params->es_cnt; in ice_flow_xtract_fld()
414 cnt = DIV_ROUND_UP(flds[fld].xtrct.disp + ice_flds_info[fld].size, in ice_flow_xtract_fld()
418 off = flds[fld].xtrct.off; in ice_flow_xtract_fld()
1072 ice_flow_set_fld_ext(struct ice_flow_seg_info *seg, enum ice_flow_field fld, in ice_flow_set_fld_ext() argument
1076 u64 bit = BIT_ULL(fld); in ice_flow_set_fld_ext()
[all …]
/Linux-v5.10/include/net/
Ddn_route.h68 struct flowidn fld; member
83 return rt->fld.flowidn_iif != 0; in dn_is_input_route()
88 return rt->fld.flowidn_iif == 0; in dn_is_output_route()
Ddn_fib.h88 int (*lookup)(struct dn_fib_table *t, const struct flowidn *fld,
108 const struct flowidn *fld, struct dn_fib_res *res);
111 void dn_fib_select_multipath(const struct flowidn *fld, struct dn_fib_res *res);
127 int dn_fib_lookup(struct flowidn *fld, struct dn_fib_res *res);
Ddn.h190 static inline void dn_sk_ports_copy(struct flowidn *fld, struct dn_scp *scp) in dn_sk_ports_copy() argument
192 fld->fld_sport = scp->addrloc; in dn_sk_ports_copy()
193 fld->fld_dport = scp->addrrem; in dn_sk_ports_copy()
/Linux-v5.10/drivers/perf/
Darm_spe_pmu.c927 int fld; in __arm_spe_pmu_dev_probe() local
932 fld = cpuid_feature_extract_unsigned_field(read_cpuid(ID_AA64DFR0_EL1), in __arm_spe_pmu_dev_probe()
934 if (!fld) { in __arm_spe_pmu_dev_probe()
937 fld, smp_processor_id()); in __arm_spe_pmu_dev_probe()
950 fld = reg >> SYS_PMBIDR_EL1_ALIGN_SHIFT & SYS_PMBIDR_EL1_ALIGN_MASK; in __arm_spe_pmu_dev_probe()
951 spe_pmu->align = 1 << fld; in __arm_spe_pmu_dev_probe()
954 fld, smp_processor_id()); in __arm_spe_pmu_dev_probe()
979 fld = reg >> SYS_PMSIDR_EL1_INTERVAL_SHIFT & SYS_PMSIDR_EL1_INTERVAL_MASK; in __arm_spe_pmu_dev_probe()
980 switch (fld) { in __arm_spe_pmu_dev_probe()
1004 fld); in __arm_spe_pmu_dev_probe()
[all …]
/Linux-v5.10/tools/lib/bpf/
Dbpf_core_read.h44 #define __CORE_BITFIELD_PROBE_READ(dst, src, fld) \ argument
47 __CORE_RELO(src, fld, BYTE_SIZE), \
48 (const void *)src + __CORE_RELO(src, fld, BYTE_OFFSET))
54 #define __CORE_BITFIELD_PROBE_READ(dst, src, fld) \ argument
56 (void *)dst + (8 - __CORE_RELO(src, fld, BYTE_SIZE)), \
57 __CORE_RELO(src, fld, BYTE_SIZE), \
58 (const void *)src + __CORE_RELO(src, fld, BYTE_OFFSET))
/Linux-v5.10/drivers/media/platform/ti-vpe/
Dvpdma.h200 #define ADB_ADDR(dma_buf, str, fld) ((dma_buf)->addr + offsetof(str, fld)) argument
201 #define MMR_ADB_ADDR(buf, str, fld) ADB_ADDR(&(buf), struct str, fld) argument
/Linux-v5.10/arch/arm64/mm/
Dcontext.c45 int fld = cpuid_feature_extract_unsigned_field(read_cpuid(ID_AA64MMFR0_EL1), in get_cpu_asid_bits() local
48 switch (fld) { in get_cpu_asid_bits()
51 smp_processor_id(), fld); in get_cpu_asid_bits()
/Linux-v5.10/scripts/coccinelle/null/
Dkmerr.cocci23 identifier f,fld;
27 ... when != x->fld
/Linux-v5.10/drivers/net/ethernet/qlogic/qed/
Dqed_dev.c3971 u32 port_cfg_addr, link_temp, nvm_cfg_addr, device_capabilities, fld; in qed_hw_get_nvm_info() local
4068 fld = GET_MFW_FIELD(link_temp, NVM_CFG1_PORT_DRV_FLOW_CONTROL); in qed_hw_get_nvm_info()
4069 link->pause.autoneg = !!(fld & NVM_CFG1_PORT_DRV_FLOW_CONTROL_AUTONEG); in qed_hw_get_nvm_info()
4070 link->pause.forced_rx = !!(fld & NVM_CFG1_PORT_DRV_FLOW_CONTROL_RX); in qed_hw_get_nvm_info()
4071 link->pause.forced_tx = !!(fld & NVM_CFG1_PORT_DRV_FLOW_CONTROL_TX); in qed_hw_get_nvm_info()
4140 fld = GET_MFW_FIELD(link_temp, NVM_CFG1_PORT_EXTENDED_SPEED); in qed_hw_get_nvm_info()
4141 if (fld & NVM_CFG1_PORT_EXTENDED_SPEED_EXTND_SPD_AN) in qed_hw_get_nvm_info()
4145 if (fld & NVM_CFG1_PORT_EXTENDED_SPEED_EXTND_SPD_1G) in qed_hw_get_nvm_info()
4147 if (fld & NVM_CFG1_PORT_EXTENDED_SPEED_EXTND_SPD_10G) in qed_hw_get_nvm_info()
4149 if (fld & NVM_CFG1_PORT_EXTENDED_SPEED_EXTND_SPD_20G) in qed_hw_get_nvm_info()
[all …]
/Linux-v5.10/drivers/scsi/
Dvirtio_scsi.c760 #define virtscsi_config_get(vdev, fld) \ argument
762 __virtio_native_type(struct virtio_scsi_config, fld) __val; \
763 virtio_cread(vdev, struct virtio_scsi_config, fld, &__val); \
767 #define virtscsi_config_set(vdev, fld, val) \ argument
769 __virtio_native_type(struct virtio_scsi_config, fld) __val = (val); \
770 virtio_cwrite(vdev, struct virtio_scsi_config, fld, &__val); \
/Linux-v5.10/drivers/net/ethernet/ti/
Ddavinci_cpdma.c174 #define chan_read(chan, fld) readl((chan)->fld) argument
175 #define desc_read(desc, fld) readl(&(desc)->fld) argument
177 #define chan_write(chan, fld, v) writel(v, (chan)->fld) argument
178 #define desc_write(desc, fld, v) writel((u32)(v), &(desc)->fld) argument

12