Searched refs:np (Results 76 - 100 of 275) sorted by relevance

1234567891011

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libiconv-1.11/srclib/
H A Dsetenv.c218 char *np; local
222 np = (char *) combined;
244 np = KNOWN_VALUE (new_value);
245 if (np == NULL)
248 np = malloc (namelen + 1 + vallen);
249 if (np == NULL)
260 memcpy (np, new_value, namelen + 1 + vallen);
262 memcpy (np, name, namelen);
263 np[namelen] = '=';
264 memcpy (&np[namele
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/chrp/
H A Dsetup.c217 struct device_node *np; local
224 np = of_find_node_by_type(NULL, "cpu");
225 if (np != NULL) {
226 const unsigned int *l2cr = of_get_property(np, "l2cr", NULL);
239 of_node_put(np);
350 struct device_node *np, *root; local
358 np = of_find_node_by_type(NULL, "open-pic");
359 if (np == NULL)
371 if (of_address_to_resource(np, 0, &r)) {
380 iranges = of_get_property(np, "interrup
439 struct device_node *np, *pic = NULL; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/
H A Ddatagram.c41 struct ipv6_pinfo *np = inet6_sk(sk); local
63 if (np->sndflow) {
103 ipv6_addr_set(&np->daddr, 0, 0, htonl(0x0000ffff), inet->daddr);
105 if (ipv6_addr_any(&np->saddr)) {
106 ipv6_addr_set(&np->saddr, 0, 0, htonl(0x0000ffff),
110 if (ipv6_addr_any(&np->rcv_saddr)) {
111 ipv6_addr_set(&np->rcv_saddr, 0, 0, htonl(0x0000ffff),
128 fl.oif = np->mcast_oif;
138 ipv6_addr_copy(&np->daddr, daddr);
139 np
215 struct ipv6_pinfo *np = inet6_sk(sk); local
247 struct ipv6_pinfo *np = inet6_sk(sk); local
287 struct ipv6_pinfo *np = inet6_sk(sk); local
390 struct ipv6_pinfo *np = inet6_sk(sk); local
[all...]
H A Dip6_output.c111 struct ipv6_pinfo* np = skb->sk ? inet6_sk(skb->sk) : NULL; local
114 if (!(dev->flags & IFF_LOOPBACK) && (!np || np->mc_loop) &&
142 struct ipv6_pinfo *np = skb->sk ? inet6_sk(skb->sk) : NULL; local
144 return (np && np->pmtudisc == IPV6_PMTUDISC_PROBE) ?
164 struct ipv6_pinfo *np = inet6_sk(sk); local
211 if (np)
212 hlimit = np->hop_limit;
219 if (np)
265 struct ipv6_pinfo *np = inet6_sk(sk); local
579 struct ipv6_pinfo *np = skb->sk ? inet6_sk(skb->sk) : NULL; local
846 struct ipv6_pinfo *np = inet6_sk(sk); local
1052 struct ipv6_pinfo *np = inet6_sk(sk); local
1334 struct ipv6_pinfo *np = inet6_sk(sk); local
1414 struct ipv6_pinfo *np = inet6_sk(sk); local
[all...]
H A Dudp.c74 struct ipv6_pinfo *np = inet6_sk(sk); local
81 if (!ipv6_addr_any(&np->rcv_saddr)) {
82 if (!ipv6_addr_equal(&np->rcv_saddr, daddr))
86 if (!ipv6_addr_any(&np->daddr)) {
87 if (!ipv6_addr_equal(&np->daddr, saddr))
120 struct ipv6_pinfo *np = inet6_sk(sk); local
194 if (np->rxopt.all)
221 struct ipv6_pinfo *np; local
234 np = inet6_sk(sk);
236 if (!icmpv6_err_convert(type, code, &err) && !np
317 struct ipv6_pinfo *np = inet6_sk(s); local
567 struct ipv6_pinfo *np = inet6_sk(sk); local
914 struct ipv6_pinfo *np = inet6_sk(sp); local
[all...]
H A Daf_inet6.c93 struct ipv6_pinfo *np; local
194 inet_sk(sk)->pinet6 = np = inet6_sk_generic(sk);
195 np->hop_limit = -1;
196 np->mcast_hops = -1;
197 np->mc_loop = 1;
198 np->pmtudisc = IPV6_PMTUDISC_WANT;
199 np->ipv6only = sysctl_ipv6_bindv6only;
255 struct ipv6_pinfo *np = inet6_sk(sk); local
335 ipv6_addr_copy(&np->rcv_saddr, &addr->sin6_addr);
338 ipv6_addr_copy(&np
381 struct ipv6_pinfo *np = inet6_sk(sk); local
413 struct ipv6_pinfo *np = inet6_sk(sk); local
648 struct ipv6_pinfo *np = inet6_sk(sk); local
697 struct ipv6_pinfo *np = inet6_sk(sk); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc64/kernel/
H A Dprom.c63 struct device_node *np; local
68 np = node->parent;
70 return np;
90 struct device_node *np = allnodes; local
92 for (; np != 0; np = np->allnext) {
93 if (np->full_name != 0 && strcmp(np->full_name, path) == 0)
97 return np;
103 struct device_node *np; local
116 struct device_node *np; local
130 struct device_node *np; local
144 struct device_node *np; local
159 of_find_property(const struct device_node *np, const char *name, int *lenp) argument
180 of_get_property(const struct device_node *np, const char *name, int *lenp) argument
188 of_getintprop_default(struct device_node *np, const char *name, int def) argument
201 of_n_addr_cells(struct device_node *np) argument
216 of_n_size_cells(struct device_node *np) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/ppc/
H A Dfft_altivec.c46 int j, np, np2; local
54 np = 1 << ln;
69 j = (np >> 2);
94 nblocks = np >> 3;
96 np2 = np >> 1;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/embedded6xx/
H A Dlinkstation.c87 struct device_node *np; local
94 for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;)
95 add_bridge(np);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/serial/
H A Dof_serial.c27 struct device_node *np = ofdev->node; local
32 spd = of_get_property(np, "current-speed", NULL);
33 clk = of_get_property(np, "clock-frequency", NULL);
39 ret = of_address_to_resource(np, 0, &resource);
47 port->irq = irq_of_parse_and_map(np, 0);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/sysdev/
H A Dcommproc.c136 struct device_node *np = NULL; local
143 np = of_find_compatible_node(NULL, "cpm-pic", "CPM");
144 if (np == NULL) {
148 ret = of_address_to_resource(np, 0, &res);
156 sirq = irq_of_parse_and_map(np, 0);
168 cpm_pic_node = of_node_get(np);
176 of_node_put(np);
179 np = of_find_node_by_type(NULL, "cpm");
180 if (np == NULL) {
184 eirq= irq_of_parse_and_map(np,
[all...]
H A Dmpc8xx_pic.c169 struct device_node *np = NULL; local
172 np = of_find_node_by_type(np, "mpc8xx-pic");
174 if (np == NULL) {
179 mpc8xx_pic_node = of_node_get(np);
181 ret = of_address_to_resource(np, 0, &res);
182 of_node_put(np);
H A Dmpic_msi.c78 struct device_node *np; local
94 np = NULL;
95 while ((np = of_find_all_nodes(np))) {
96 pr_debug("mpic: mapping hwirqs for %s\n", np->full_name);
99 while (of_irq_map_one(np, index++, &oirq) == 0) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/aoa/soundbus/i2sbus/
H A Di2sbus-control.c42 struct device_node *np; local
44 np = i2sdev->sound.ofdev.node;
45 i2sdev->enable = pmf_find_function(np, "enable");
46 i2sdev->cell_enable = pmf_find_function(np, "cell-enable");
47 i2sdev->clock_enable = pmf_find_function(np, "clock-enable");
48 i2sdev->cell_disable = pmf_find_function(np, "cell-disable");
49 i2sdev->clock_disable = pmf_find_function(np, "clock-disable");
H A Di2sbus-core.c112 static int i2sbus_get_and_fixup_rsrc(struct device_node *np, int index, argument
129 return of_address_to_resource(np, index, res);
131 parent = of_get_parent(np);
136 reg = of_get_property(np, "reg", NULL);
150 struct device_node *np)
165 if (strlen(np->name) != 5)
167 if (strncmp(np->name, "i2s-", 4))
175 while ((child = of_get_next_child(np, child))) {
204 dev->sound.ofdev.node = np;
214 dev->bus_number = np
148 i2sbus_add_dev(struct macio_dev *macio, struct i2sbus_control *control, struct device_node *np) argument
311 struct device_node *np = NULL; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/cell/
H A Dspu_manage.c72 struct device_node *np)
79 tmp = of_get_property(np, "isrc", NULL);
84 tmp = of_get_property(np->parent->parent, "node-id", NULL);
170 static int __init spu_map_interrupts(struct spu *spu, struct device_node *np) argument
177 ret = of_irq_map_one(np, i, &oirq);
207 struct device_node *np = spu->devnode; local
212 ret = of_address_to_resource(np, nr, &resource);
226 struct device_node *np = spu->devnode; local
229 spu->name = of_get_property(np, "name", NULL);
237 np
71 spu_map_interrupts_old(struct spu *spu, struct device_node *np) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/pseries/
H A Dxics.c554 static void __init xics_init_one_node(struct device_node *np, argument
565 ireg = of_get_property(np, "ibm,interrupt-server-ranges", NULL);
577 ireg = of_get_property(np, "reg", &ilen);
600 struct device_node *np, *old, *found = NULL; local
605 for_each_node_by_type(np, "interrupt-controller")
606 if (of_device_is_compatible(np, "chrp,iic")) {
607 found = np;
621 for (old = of_node_get(found); old != NULL ; old = np) {
622 np = of_get_parent(old);
624 if (np
645 struct device_node *np; local
671 struct device_node *np; local
[all...]
H A Dhotplug-cpu.c138 static int pseries_add_processor(struct device_node *np) argument
145 intserv = of_get_property(np, "ibm,ppc-interrupt-server#s", &len);
164 " supports %d logical cpus.\n", np->full_name,
178 " processor %s with %d thread(s)\n", np->name,
199 static void pseries_remove_processor(struct device_node *np) argument
205 intserv = of_get_property(np, "ibm,ppc-interrupt-server#s", &len);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/aoa/core/
H A Dsnd-aoa-gpio-feature.c57 struct device_node *np, *gpio; local
64 np = of_find_node_by_name(NULL, name);
65 if (!np) {
73 while ((np = of_get_next_child(gpio, np))) {
74 audio_gpio = of_get_property(np, "audio-gpio", NULL);
83 if (!np)
87 reg = of_get_property(np, "reg", NULL);
99 reg = of_get_property(np, "audio-gpio-active-state", NULL);
110 return np;
113 get_irq(struct device_node * np, int *irqptr) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/modules/
H A Dppp_comp.c329 mblk_t *np; local
506 np = allocb(sizeof(struct ppp_stats), BPRI_HI);
507 if (np == 0) {
513 mp->b_cont = np;
514 psp = (struct ppp_stats *) np->b_wptr;
515 np->b_wptr += sizeof(struct ppp_stats);
523 np = allocb(sizeof(struct ppp_comp_stats), BPRI_HI);
524 if (np == 0) {
530 mp->b_cont = np;
531 csp = (struct ppp_comp_stats *) np
797 mblk_t *mp, *dmp = NULL, *np; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/solaris/
H A Dppp_comp.c329 mblk_t *np; local
506 np = allocb(sizeof(struct ppp_stats), BPRI_HI);
507 if (np == 0) {
513 mp->b_cont = np;
514 psp = (struct ppp_stats *) np->b_wptr;
515 np->b_wptr += sizeof(struct ppp_stats);
523 np = allocb(sizeof(struct ppp_comp_stats), BPRI_HI);
524 if (np == 0) {
530 mp->b_cont = np;
531 csp = (struct ppp_comp_stats *) np
797 mblk_t *mp, *dmp = NULL, *np; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/pasemi/
H A Dsetup.c107 struct device_node *np; local
116 for_each_node_by_type(np, "interrupt-controller")
117 if (of_device_is_compatible(np, "open-pic")) {
118 mpic_node = np;
122 for_each_node_by_type(np, "open-pic") {
123 mpic_node = np;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/boot/
H A Daddnote.c95 int ph, ps, np; local
129 np = GET_16BE(E_PHNUM);
130 if (ph < E_HSIZE || ps < PH_HSIZE || np < 1)
132 if (ph + (np + 2) * ps + nnote + nnote2 > n)
135 for (i = 0; i < np; ++i) {
179 PUT_16BE(E_PHNUM, np + 2);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/sym53c8xx_2/
H A Dsym_fw.h165 #define SCRIPTA_BA(np, label) (np->fwa_bas.label)
166 #define SCRIPTB_BA(np, label) (np->fwb_bas.label)
167 #define SCRIPTZ_BA(np, label) (np->fwz_bas.label)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/jpeg-7/
H A Dansi2knr.c396 char *np = p; local
398 for (;; p = --np) {
399 if (*np == '\n' && np[-1] == '\r')
400 --np;
401 for (; np > limit && np[-1] != '\r' && np[-1] != '\n'; --np)
402 if (np[
[all...]

Completed in 186 milliseconds

1234567891011