Home
last modified time | relevance | path

Searched refs:noff (Results 1 – 16 of 16) sorted by relevance

/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
H A Dicid.c113 int noff, len, icid; in fdt_fixup_fman_port_icid_by_compat() local
116 noff = fdt_node_offset_by_compatible(blob, -1, compat); in fdt_fixup_fman_port_icid_by_compat()
117 while (noff > 0) { in fdt_fixup_fman_port_icid_by_compat()
118 prop = fdt_getprop(blob, noff, "cell-index", &len); in fdt_fixup_fman_port_icid_by_compat()
136 fdt_set_iommu_prop(blob, noff, smmu_ph, (u32 *)&icid, 1); in fdt_fixup_fman_port_icid_by_compat()
138 noff = fdt_node_offset_by_compatible(blob, noff, compat); in fdt_fixup_fman_port_icid_by_compat()
158 int noff, smmu_ph; in fdt_get_smmu_phandle() local
160 noff = fdt_node_offset_by_compatible(blob, -1, "arm,mmu-500"); in fdt_get_smmu_phandle()
161 if (noff < 0) { in fdt_get_smmu_phandle()
163 fdt_strerror(noff)); in fdt_get_smmu_phandle()
[all …]
/openbmc/linux/net/sched/
H A Dact_nat.c128 int noff; in tcf_nat_act() local
144 noff = skb_network_offset(skb); in tcf_nat_act()
145 if (!pskb_may_pull(skb, sizeof(*iph) + noff)) in tcf_nat_act()
156 if (skb_try_make_writable(skb, sizeof(*iph) + noff)) in tcf_nat_act()
183 if (!pskb_may_pull(skb, ihl + sizeof(*tcph) + noff) || in tcf_nat_act()
184 skb_try_make_writable(skb, ihl + sizeof(*tcph) + noff)) in tcf_nat_act()
196 if (!pskb_may_pull(skb, ihl + sizeof(*udph) + noff) || in tcf_nat_act()
197 skb_try_make_writable(skb, ihl + sizeof(*udph) + noff)) in tcf_nat_act()
213 if (!pskb_may_pull(skb, ihl + sizeof(*icmph) + noff)) in tcf_nat_act()
222 noff)) in tcf_nat_act()
[all …]
H A Dact_pedit.c334 const int noff = skb_network_offset(skb); in pedit_l4_skb_offset() local
340 const struct iphdr *iph = skb_header_pointer(skb, noff, sizeof(_iph), &_iph); in pedit_l4_skb_offset()
344 *hoffset = noff + iph->ihl * 4; in pedit_l4_skb_offset()
/openbmc/linux/kernel/bpf/
H A Ddispatcher.c109 u32 noff = 0; in bpf_dispatcher_update() local
112 noff = d->image_off ^ (PAGE_SIZE / 2); in bpf_dispatcher_update()
114 new = d->num_progs ? d->image + noff : NULL; in bpf_dispatcher_update()
115 tmp = d->num_progs ? d->rw_image + noff : NULL; in bpf_dispatcher_update()
134 d->image_off = noff; in bpf_dispatcher_update()
/openbmc/linux/net/ipv4/netfilter/
H A Dnft_fib_ipv4.c31 int noff = skb_network_offset(pkt->skb); in nft_fib4_eval_type() local
42 iph = skb_header_pointer(pkt->skb, noff, sizeof(_iph), &_iph); in nft_fib4_eval_type()
61 int noff = skb_network_offset(pkt->skb); in nft_fib4_eval() local
94 iph = skb_header_pointer(pkt->skb, noff, sizeof(_iph), &_iph); in nft_fib4_eval()
/openbmc/linux/net/ipv6/netfilter/
H A Dnft_fib_ipv6.c131 int noff = skb_network_offset(pkt->skb); in nft_fib6_eval_type() local
135 iph = skb_header_pointer(pkt->skb, noff, sizeof(_iph), &_iph); in nft_fib6_eval_type()
160 int noff = skb_network_offset(pkt->skb); in nft_fib6_eval() local
178 iph = skb_header_pointer(pkt->skb, noff, sizeof(_iph), &_iph); in nft_fib6_eval()
/openbmc/u-boot/common/
H A Dfdt_support.c901 int noff; in fdt_fixup_mtdparts() local
908 noff = fdt_node_offset_by_compatible(blob, -1, in fdt_fixup_mtdparts()
910 while (noff != -FDT_ERR_NOTFOUND) { in fdt_fixup_mtdparts()
912 fdt_get_name(blob, noff, 0), in fdt_fixup_mtdparts()
916 if (fdt_node_set_part_info(blob, noff, dev)) in fdt_fixup_mtdparts()
921 noff = fdt_node_offset_by_compatible(blob, noff, in fdt_fixup_mtdparts()
1455 int noff; in fdt_add_edid() local
1458 noff = fdt_node_offset_by_compatible(blob, -1, compat); in fdt_add_edid()
1459 if (noff != -FDT_ERR_NOTFOUND) { in fdt_add_edid()
1460 debug("%s: %s\n", fdt_get_name(blob, noff, 0), compat); in fdt_add_edid()
[all …]
/openbmc/u-boot/drivers/net/fsl-mc/
H A Dmc.c321 int nodeoffset = fdt_path_offset(blob, "/board_info/ports"), noff; in mc_fixup_dpc_mac_addr() local
329 noff = fdt_subnode_offset(blob, nodeoffset, (const char *)mac_name); in mc_fixup_dpc_mac_addr()
330 if (noff < 0) { in mc_fixup_dpc_mac_addr()
338 noff = fdt_add_subnode(blob, nodeoffset, mac_name); in mc_fixup_dpc_mac_addr()
339 if (noff < 0) { in mc_fixup_dpc_mac_addr()
346 err = fdt_appendprop_string(blob, noff, in mc_fixup_dpc_mac_addr()
355 return mc_fixup_mac_addr(blob, noff, "port_mac_address", eth_dev, in mc_fixup_dpc_mac_addr()
/openbmc/linux/tools/perf/util/
H A Dprobe-finder.c1171 Dwarf_Off off, noff; in debuginfo__find_probe_location() local
1204 while (!dwarf_nextcu(dbg->dbg, off, &noff, &cuhl, NULL, NULL, NULL)) { in debuginfo__find_probe_location()
1208 off = noff; in debuginfo__find_probe_location()
1230 off = noff; in debuginfo__find_probe_location()
1961 Dwarf_Off off = 0, noff; in debuginfo__find_line_range() local
1985 if (dwarf_nextcu(dbg->dbg, off, &noff, &cuhl, in debuginfo__find_line_range()
1992 off = noff; in debuginfo__find_line_range()
2011 off = noff; in debuginfo__find_line_range()
/openbmc/linux/sound/soc/codecs/
H A Dwcd938x.c218 u16 noff; member
2128 s16 *d1_a, u16 noff, in wcd938x_mbhc_get_result_params() argument
2163 denom = (x1 * d1) - (1 << (14 - noff)); in wcd938x_mbhc_get_result_params()
2166 else if (x1 < minCode_param[noff]) in wcd938x_mbhc_get_result_params()
2203 WCD938X_ZDET_RANGE_CTL_MASK, zdet_param->noff); in wcd938x_mbhc_zdet_ramp()
2213 __func__, zdet_param->noff); in wcd938x_mbhc_zdet_ramp()
2214 wcd938x_mbhc_get_result_params(component, d1_a, zdet_param->noff, &zdet); in wcd938x_mbhc_zdet_ramp()
2227 __func__, zdet_param->noff); in wcd938x_mbhc_zdet_ramp()
2228 wcd938x_mbhc_get_result_params(component, d1_a, zdet_param->noff, &zdet); in wcd938x_mbhc_zdet_ramp()
2346 (zdet_param_ptr->noff == 0x6)) || in wcd938x_wcd_mbhc_calc_impedance()
H A Dwcd934x.c505 u16 noff; member
2646 s16 *d1_a, u16 noff, in wcd934x_mbhc_get_result_params() argument
2680 denom = (x1 * d1) - (1 << (14 - noff)); in wcd934x_mbhc_get_result_params()
2683 else if (x1 < minCode_param[noff]) in wcd934x_mbhc_get_result_params()
2719 WCD934X_ZDET_RANGE_CTL_MASK, zdet_param->noff); in wcd934x_mbhc_zdet_ramp()
2727 wcd934x_mbhc_get_result_params(wcd934x, d1_a, zdet_param->noff, &zdet); in wcd934x_mbhc_zdet_ramp()
2737 wcd934x_mbhc_get_result_params(wcd934x, d1_a, zdet_param->noff, &zdet); in wcd934x_mbhc_zdet_ramp()
2843 (zdet_param_ptr->noff == 0x6)) || in wcd934x_wcd_mbhc_calc_impedance()
/openbmc/linux/net/netfilter/
H A Dnft_meta.c98 int noff = skb_network_offset(skb); in nft_meta_get_eval_pkttype_lo() local
101 iph = skb_header_pointer(skb, noff, in nft_meta_get_eval_pkttype_lo()
/openbmc/linux/fs/smb/client/
H A Dsmb2ops.c5001 unsigned int *noff) in smb2_next_header() argument
5007 *noff = le32_to_cpu(t_hdr->OriginalMessageSize); in smb2_next_header()
5008 if (unlikely(check_add_overflow(*noff, sizeof(*t_hdr), noff))) in smb2_next_header()
5011 *noff = le32_to_cpu(hdr->NextCommand); in smb2_next_header()
5013 if (unlikely(*noff && *noff < MID_HEADER_SIZE(server))) in smb2_next_header()
H A Dsmb2pdu.c2334 size_t noff, nlen; in smb2_parse_contexts() local
2360 noff = le16_to_cpu(cc->NameOffset); in smb2_parse_contexts()
2362 if (noff + nlen > doff) in smb2_parse_contexts()
2365 name = (char *)cc + noff; in smb2_parse_contexts()
H A Dcifsglob.h571 unsigned int *noff);
/openbmc/linux/drivers/net/bonding/
H A Dbond_main.c4941 int noff = skb_network_offset(skb); in bond_xmit_roundrobin_slave_get() local
4944 if (unlikely(!pskb_may_pull(skb, noff + sizeof(*iph)))) in bond_xmit_roundrobin_slave_get()