Home
last modified time | relevance | path

Searched refs:lenp (Results 1 – 20 of 20) sorted by relevance

/components/drivers/ofw/libfdt/
A Dfdt_ro.c45 if (lenp) in fdt_get_string()
90 if (lenp) in fdt_get_string()
95 if (lenp) in fdt_get_string()
96 *lenp = err; in fdt_get_string()
365 if (lenp) in fdt_get_property_by_offset_()
372 if (lenp) in fdt_get_property_by_offset_()
386 if (lenp) in fdt_get_property_by_offset()
419 if (lenp) in fdt_get_property_namelen_()
433 if (lenp) in fdt_get_property_namelen()
787 if (lenp) in fdt_stringlist_get()
[all …]
A Dlibfdt.h662 int *lenp);
665 int *lenp) in fdt_get_property_by_offset_w() argument
689 int namelen, int *lenp);
721 const char *name, int *lenp);
724 int *lenp) in fdt_get_property_w() argument
763 const char **namep, int *lenp);
784 int *lenp) in fdt_getprop_namelen_w() argument
787 namelen, lenp); in fdt_getprop_namelen_w()
820 const char *name, int *lenp);
822 const char *name, int *lenp) in fdt_getprop_w() argument
[all …]
A Dfdt.c164 const fdt32_t *tagp, *lenp; in fdt_next_tag() local
188 lenp = fdt_offset_ptr(fdt, offset, sizeof(*lenp)); in fdt_next_tag()
189 if (!can_assume(VALID_DTB) && !lenp) in fdt_next_tag()
192 len = fdt32_to_cpu(*lenp); in fdt_next_tag()
/components/legacy/fdt/libfdt/
A Dfdt_ro.c277 if (lenp) in fdt_get_property_by_offset()
278 *lenp = err; in fdt_get_property_by_offset()
284 if (lenp) in fdt_get_property_by_offset()
309 if (lenp) in fdt_get_property_namelen()
310 *lenp = offset; in fdt_get_property_namelen()
622 int *lenp) in fdt_stringlist_get() argument
629 if (lenp) in fdt_stringlist_get()
630 *lenp = length; in fdt_stringlist_get()
642 if (lenp) in fdt_stringlist_get()
649 if (lenp) in fdt_stringlist_get()
[all …]
A Dlibfdt.h576 int *lenp);
593 int namelen, int *lenp);
625 const char *name, int *lenp);
628 int *lenp) in fdt_get_property_w() argument
631 fdt_get_property(fdt, nodeoffset, name, lenp); in fdt_get_property_w()
667 const char **namep, int *lenp);
686 int *lenp) in fdt_getprop_namelen_w() argument
689 namelen, lenp); in fdt_getprop_namelen_w()
722 const char *name, int *lenp);
724 const char *name, int *lenp) in fdt_getprop_w() argument
[all …]
A Dfdt.c94 const fdt32_t *tagp, *lenp; in fdt_next_tag() local
118 lenp = fdt_offset_ptr(fdt, offset, sizeof(*lenp)); in fdt_next_tag()
119 if (!lenp) in fdt_next_tag()
123 + fdt32_to_cpu(*lenp); in fdt_next_tag()
/components/drivers/include/drivers/
A Dofw_raw.h54 int fdt_getprop_u8(void *fdt, int nodeoffset, const char *name, uint8_t *out_value, int *lenp);
55 int fdt_getprop_s8(void *fdt, int nodeoffset, const char *name, int8_t *out_value, int *lenp);
56 int fdt_getprop_u16(void *fdt, int nodeoffset, const char *name, uint16_t *out_value, int *lenp);
57 int fdt_getprop_s16(void *fdt, int nodeoffset, const char *name, int16_t *out_value, int *lenp);
58 int fdt_getprop_u32(void *fdt, int nodeoffset, const char *name, uint32_t *out_value, int *lenp);
59 int fdt_getprop_s32(void *fdt, int nodeoffset, const char *name, int32_t *out_value, int *lenp);
/components/drivers/ofw/
A Draw.c57 const char *name, s##int##sz##_t *out_value, int *lenp) \
63 if ((ptr = fdt_getprop(fdt, nodeoffset, name, lenp))) \
/components/net/lwip/lwip-1.4.1/src/netif/ppp/
A Dlcp.c562 lcp_addci(fsm *f, u_char *ucp, int *lenp) in lcp_addci() argument
621 if (ucp - start_ucp != *lenp) { in lcp_addci()
1225 int *lenp, /* Length of requested CIs */ in lcp_reqci() argument
1241 int l = *lenp; /* Length left */ in lcp_reqci()
1612 *lenp = (int)(next - inp); in lcp_reqci()
1618 *lenp = (int)(nakp - nak_buffer); in lcp_reqci()
1619 BCOPY(nak_buffer, inp, *lenp); in lcp_reqci()
1622 *lenp = (int)(rejp - inp); in lcp_reqci()
A Dipcp.c348 ipcp_addci(fsm *f, u_char *ucp, int *lenp) in ipcp_addci() argument
351 int len = *lenp; in ipcp_addci()
413 *lenp -= len; in ipcp_addci()
/components/net/lwip/lwip-2.1.2/src/netif/ppp/
A Dlcp.c220 static void lcp_addci(fsm *f, u_char *ucp, int *lenp); /* Add our CI to pkt */
224 static int lcp_reqci(fsm *f, u_char *inp, int *lenp, int reject_if_disagree); /* Rcv peer CI */
834 static void lcp_addci(fsm *f, u_char *ucp, int *lenp) { in lcp_addci() argument
932 if (ucp - start_ucp != *lenp) { in lcp_addci()
1820 static int lcp_reqci(fsm *f, u_char *inp, int *lenp, int reject_if_disagree) { in lcp_reqci() argument
1835 int l = *lenp; /* Length left */ in lcp_reqci()
2265 *lenp = next - inp; in lcp_reqci()
2271 *lenp = nakoutp - (u_char*)nakp->payload; in lcp_reqci()
2272 MEMCPY(inp, nakp->payload, *lenp); in lcp_reqci()
2275 *lenp = rejp - inp; in lcp_reqci()
A Dccp.c768 static void ccp_addci(fsm *f, u_char *p, int *lenp) { in ccp_addci() argument
828 *lenp = p - p0; in ccp_addci()
1105 static int ccp_reqci(fsm *f, u_char *p, int *lenp, int dont_nak) { in ccp_reqci() argument
1123 len = *lenp; in ccp_reqci()
1371 if (ret == CONFREJ && *lenp == retp - p0) in ccp_reqci()
1374 *lenp = retp - p0; in ccp_reqci()
A Dipv6cp.c181 static void ipv6cp_addci(fsm *f, u_char *ucp, int *lenp); /* Add our CI */
549 static void ipv6cp_addci(fsm *f, u_char *ucp, int *lenp) {
552 int len = *lenp;
586 *lenp -= len;
A Dipcp.c115 static void ipcp_addci(fsm *f, u_char *ucp, int *lenp); /* Add our CI */
806 static void ipcp_addci(fsm *f, u_char *ucp, int *lenp) { in ipcp_addci() argument
809 int len = *lenp; in ipcp_addci()
909 *lenp -= len; in ipcp_addci()
/components/net/lwip/lwip-2.0.3/src/netif/ppp/
A Dlcp.c220 static void lcp_addci(fsm *f, u_char *ucp, int *lenp); /* Add our CI to pkt */
224 static int lcp_reqci(fsm *f, u_char *inp, int *lenp, int reject_if_disagree); /* Rcv peer CI */
834 static void lcp_addci(fsm *f, u_char *ucp, int *lenp) { in lcp_addci() argument
932 if (ucp - start_ucp != *lenp) { in lcp_addci()
1820 static int lcp_reqci(fsm *f, u_char *inp, int *lenp, int reject_if_disagree) { in lcp_reqci() argument
1835 int l = *lenp; /* Length left */ in lcp_reqci()
2265 *lenp = next - inp; in lcp_reqci()
2271 *lenp = nakoutp - (u_char*)nakp->payload; in lcp_reqci()
2272 MEMCPY(inp, nakp->payload, *lenp); in lcp_reqci()
2275 *lenp = rejp - inp; in lcp_reqci()
A Dccp.c768 static void ccp_addci(fsm *f, u_char *p, int *lenp) { in ccp_addci() argument
828 *lenp = p - p0; in ccp_addci()
1105 static int ccp_reqci(fsm *f, u_char *p, int *lenp, int dont_nak) { in ccp_reqci() argument
1123 len = *lenp; in ccp_reqci()
1371 if (ret == CONFREJ && *lenp == retp - p0) in ccp_reqci()
1374 *lenp = retp - p0; in ccp_reqci()
A Dipv6cp.c181 static void ipv6cp_addci(fsm *f, u_char *ucp, int *lenp); /* Add our CI */
549 static void ipv6cp_addci(fsm *f, u_char *ucp, int *lenp) {
552 int len = *lenp;
586 *lenp -= len;
A Dipcp.c115 static void ipcp_addci(fsm *f, u_char *ucp, int *lenp); /* Add our CI */
806 static void ipcp_addci(fsm *f, u_char *ucp, int *lenp) { in ipcp_addci() argument
809 int len = *lenp; in ipcp_addci()
909 *lenp -= len; in ipcp_addci()
/components/legacy/fdt/src/
A Ddtb_base.c313 const void *dtb_node_get_property(const struct dtb_node *node, const char *propname, int *lenp) in dtb_node_get_property() argument
315 return dtb_node_get_dtb_node_property_value(node, propname, lenp); in dtb_node_get_property()
/components/legacy/fdt/inc/
A Ddtb_node.h354 const void *dtb_node_get_property(const struct dtb_node *node, const char *propname, int *lenp);

Completed in 55 milliseconds