Home
last modified time | relevance | path

Searched refs:adjust_head (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dmain.c217 bpf->adjust_head.flags = readl(&cap->flags); in nfp_bpf_parse_cap_adjust_head()
218 bpf->adjust_head.off_min = readl(&cap->off_min); in nfp_bpf_parse_cap_adjust_head()
219 bpf->adjust_head.off_max = readl(&cap->off_max); in nfp_bpf_parse_cap_adjust_head()
220 bpf->adjust_head.guaranteed_sub = readl(&cap->guaranteed_sub); in nfp_bpf_parse_cap_adjust_head()
221 bpf->adjust_head.guaranteed_add = readl(&cap->guaranteed_add); in nfp_bpf_parse_cap_adjust_head()
223 if (bpf->adjust_head.off_min > bpf->adjust_head.off_max) { in nfp_bpf_parse_cap_adjust_head()
227 if (!FIELD_FIT(UR_REG_IMM_MAX, bpf->adjust_head.off_min) || in nfp_bpf_parse_cap_adjust_head()
228 !FIELD_FIT(UR_REG_IMM_MAX, bpf->adjust_head.off_max)) { in nfp_bpf_parse_cap_adjust_head()
230 memset(&bpf->adjust_head, 0, sizeof(bpf->adjust_head)); in nfp_bpf_parse_cap_adjust_head()
H A Dmain.h155 } adjust_head; member