Searched refs:np (Results 51 - 75 of 275) sorted by relevance

1234567891011

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/85xx/
H A Dmpc85xx_ads.c74 struct device_node *np = NULL; local
79 np = of_find_node_by_type(np, "open-pic");
81 if (np == NULL) {
86 if(of_address_to_resource(np, 0, &r)) {
88 of_node_put(np);
92 mpic = mpic_alloc(np, r.start,
96 of_node_put(np);
122 np = of_find_node_by_type(NULL, "cpm-pic");
123 if (np
220 struct device_node *np; local
[all...]
H A Dmpc85xx_cds.c147 struct device_node *np = NULL; local
153 np = of_find_node_by_type(np, "open-pic");
155 if (np == NULL) {
160 if (of_address_to_resource(np, 0, &r)) {
162 of_node_put(np);
166 mpic = mpic_alloc(np, r.start,
172 of_node_put(np);
199 for_each_node_by_type(np, "interrupt-controller")
200 if (of_device_is_compatible(np, "chr
230 struct device_node *np; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/
H A Dipv6_sockglue.c201 struct ipv6_pinfo *np = inet6_sk(sk); local
237 !(ipv6_addr_type(&np->daddr) & IPV6_ADDR_MAPPED)) {
277 opt = xchg(&np->opt, NULL);
280 pktopt = xchg(&np->pktoptions, NULL);
299 np->ipv6only = valbool;
306 np->rxopt.bits.rxinfo = valbool;
311 np->rxopt.bits.rxoinfo = valbool;
316 np->rxopt.bits.rxhlim = valbool;
321 np->rxopt.bits.rxohlim = valbool;
328 np
823 struct ipv6_pinfo *np = inet6_sk(sk); local
[all...]
H A Dinet6_connection_sock.c126 struct ipv6_pinfo *np = inet6_sk(sk); local
130 ipv6_addr_copy(&sin6->sin6_addr, &np->daddr);
146 struct ipv6_pinfo *np = inet6_sk(sk); local
153 ipv6_addr_copy(&fl.fl6_dst, &np->daddr);
154 ipv6_addr_copy(&fl.fl6_src, &np->saddr);
155 fl.fl6_flowlabel = np->flow_label;
162 if (np->opt && np->opt->srcrt) {
163 struct rt0_hdr *rt0 = (struct rt0_hdr *)np->opt->srcrt;
169 dst = __sk_dst_check(sk, np
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/smbd/
H A Dmangle_map.c134 char *np; /* Points into new_string. */ local
159 np = new_string;
163 *np++ = *end++;
173 safe_strcpy( np, match_string, size_left );
174 np += strlen( match_string );
180 *np++ = *end++;
189 *np++ = '\0'; /* NULL terminate it. */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/powermac/
H A Dudbg_adb.c165 struct device_node *np; local
195 for (np = NULL; (np = of_find_node_by_name(np, "keyboard")) != NULL;) {
196 struct device_node *parent = of_get_parent(np);
202 if (np == NULL)
204 of_node_put(np);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/cell/
H A Dras.c145 struct device_node *np; local
148 np = of_find_node_by_path("/rtas");
149 if (!np)
152 size = of_get_property(np, "ibm,cbe-ptcal-size", NULL);
158 of_node_put(np);
161 for_each_node_by_type(np, "mic-tm") {
162 cbe_ptcal_enable_on_node(of_node_to_nid(np), order);
170 for_each_node_by_type(np, "cpu") {
171 const u32 *nid = of_get_property(np, "node-id", NULL);
174 __FUNCTION__, np
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/sysdev/
H A Dtsi108_dev.c68 struct device_node *np; local
74 for (np = NULL, i = 0;
75 (np = of_find_compatible_node(np, "network", "tsi-ethernet")) != NULL;
88 ret = of_address_to_resource(np, 0, &r[0]);
95 r[1].start = irq_of_parse_and_map(np, 0);
96 r[1].end = irq_of_parse_and_map(np, 0);
110 mac_addr = of_get_mac_address(np);
114 ph = of_get_property(np, "phy-handle", NULL);
132 tsi_eth_data.irq_num = irq_of_parse_and_map(np,
[all...]
H A Dmv64x60_pci.c83 struct device_node *np; local
87 np = of_find_compatible_node(NULL, NULL, "marvell,mv64x60");
88 if (!np)
91 prop = of_get_property(np, "hs_reg_valid", NULL);
92 of_node_put(np);
168 struct device_node *np = NULL; local
170 while ((np = of_find_compatible_node(np, "pci", "marvell,mv64x60-pci")))
171 mv64x60_add_bridge(np);
H A Duic.c271 struct device_node *np; local
277 np = of_find_compatible_node(NULL, NULL, "ibm,uic");
278 while (np) {
279 interrupts = of_get_property(np, "interrupts", NULL);
283 np = of_find_compatible_node(np, NULL, "ibm,uic");
286 BUG_ON(!np); /* uic_init_tree() assumes there's a UIC as the
288 primary_uic = uic_init_one(np);
290 panic("Unable to initialize primary UIC %s\n", np->full_name);
293 of_node_put(np);
[all...]
H A Dmv64x60_pic.c205 static int mv64x60_host_match(struct irq_host *h, struct device_node *np) argument
207 return mv64x60_irq_host->host_data == np;
241 struct device_node *np; local
247 np = of_find_compatible_node(NULL, NULL, "marvell,mv64x60-gpp");
248 reg = of_get_property(np, "reg", &size);
249 paddr = of_translate_address(np, reg);
251 of_node_put(np);
253 np = of_find_compatible_node(NULL, NULL, "marvell,mv64x60-pic");
254 reg = of_get_property(np, "reg", &size);
255 paddr = of_translate_address(np, re
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/pseries/
H A Dsetup.c132 struct device_node *np, *old, *cascade = NULL; local
141 np = of_find_node_by_path("/");
142 naddr = of_n_addr_cells(np);
143 opprop = of_get_property(np, "platform-open-pic", &opplen);
148 of_node_put(np);
170 for_each_node_by_type(np, "interrupt-controller")
171 if (of_device_is_compatible(np, "chrp,iic")) {
172 cascade = np;
185 for (old = of_node_get(cascade); old != NULL ; old = np) {
186 np
224 struct device_node *np; local
[all...]
H A Dras.c73 static void request_ras_irqs(struct device_node *np, argument
87 opicprop = of_get_property(np, "open-pic-interrupt", &opicplen);
96 "number for %s\n", np->full_name);
105 for (index = 0; of_irq_map_one(np, index, &oirq) == 0;
114 "number for %s\n", np->full_name);
124 "%s\n", virqs[i], np->full_name);
136 struct device_node *np; local
142 np = of_find_node_by_path("/event-sources/internal-errors");
143 if (np != NULL) {
144 request_ras_irqs(np, ras_error_interrup
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dnetpoll.h38 void netpoll_poll(struct netpoll *np);
39 void netpoll_send_udp(struct netpoll *np, const char *msg, int len);
40 int netpoll_parse_options(struct netpoll *np, char *opt);
41 int netpoll_setup(struct netpoll *np);
44 void netpoll_cleanup(struct netpoll *np);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/maple/
H A Dpci.c541 struct device_node *np, *root; local
554 for (np = NULL; (np = of_get_next_child(root, np)) != NULL;) {
555 if (!np->type)
557 if (strcmp(np->type, "pci") && strcmp(np->type, "ht"))
559 if ((of_device_is_compatible(np, "u4-pcie") ||
560 of_device_is_compatible(np, "u3-agp")) &&
561 add_bridge(np)
602 struct device_node *np = u3_agp->arch_data; local
614 struct device_node *np; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Disa-skeleton.c193 struct net_local *np; local
303 np = netdev_priv(dev);
304 spin_lock_init(&np->lock);
334 struct net_local *np = netdev_priv(dev); local
342 np->stats.tx_errors++;
369 struct net_local *np = netdev_priv(dev); local
390 np->open_time = jiffies;
407 struct net_local *np = netdev_priv(dev); local
427 spin_lock_irq(&np->lock);
429 add_to_tx_ring(np, sk
473 struct net_local *np = netdev_priv(dev); local
510 struct net_local *np; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/proc/
H A Dproc_devtree.c15 static inline void set_node_proc_entry(struct device_node *np, argument
134 static const char *fixup_name(struct device_node *np, struct proc_dir_entry *de, argument
167 "renamed to \"%s\"\n", np->full_name, fixed_name);
175 void proc_device_tree_add_node(struct device_node *np, argument
183 set_node_proc_entry(np, de);
184 for (child = NULL; (child = of_get_next_child(np, child));) {
193 p = fixup_name(np, de, p);
202 for (pp = np->properties; pp != 0; pp = pp->next) {
206 p = fixup_name(np, de, p);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/86xx/
H A Dmpc86xx_hpcn.c68 struct device_node *np; local
76 np = of_find_node_by_type(NULL, "open-pic");
77 if (np == NULL)
79 of_address_to_resource(np, 0, &res);
82 mpic1 = mpic_alloc(np, res.start,
104 for_each_node_by_type(np, "interrupt-controller")
105 if (of_device_is_compatible(np, "chrp,iic")) {
106 cascade_node = np;
348 struct device_node *np; local
353 np
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/pasemi/
H A Dpci.c178 struct device_node *np, *root; local
187 for (np = NULL; (np = of_get_next_child(root, np)) != NULL;)
188 if (np->name && !strcmp(np->name, "pxp") && !add_bridge(np))
189 of_node_get(np);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/freevxfs/
H A Dvxfs_immed.c66 * @np: pathname lookup data for the current path walk
76 vxfs_immed_follow_link(struct dentry *dp, struct nameidata *np) argument
79 nd_set_link(np, vip->vii_immed.vi_immed);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/sym53c8xx_2/
H A Dsym_glue.h198 #define sym_name(np) (np)->s.inst_name
261 void sym_set_cam_result_error(struct sym_hcb *np, struct sym_ccb *cp, int resid);
263 void sym_xpt_done(struct sym_hcb *np, struct scsi_cmnd *ccb);
265 void sym_xpt_async_bus_reset(struct sym_hcb *np);
266 void sym_xpt_async_sent_bdr(struct sym_hcb *np, int target);
267 int sym_setup_data_and_start (struct sym_hcb *np, struct scsi_cmnd *csio, struct sym_ccb *cp);
268 void sym_log_bus_error(struct sym_hcb *np);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/libbb/
H A Dinet_common.c18 struct netent *np; local
53 np = getnetbyname(name);
54 if (np != NULL) {
55 s_in->sin_addr.s_addr = htonl(np->n_net);
148 struct netent *np; local
152 np = getnetbyaddr(host_ad, AF_INET);
153 if (np)
154 name = xstrdup(np->n_name);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-powerpc/
H A Dof_platform.h49 extern struct of_device *of_platform_device_create(struct device_node *np,
59 extern struct of_device *of_find_device_by_node(struct device_node *np);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-runtime/gnulib-lib/
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/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/
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...]

Completed in 174 milliseconds

1234567891011