Searched refs:np (Results 151 - 175 of 275) sorted by relevance

1234567891011

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sunrpc/
H A Dsvcauth.c138 struct hlist_node *np; local
144 hlist_for_each_entry(hp, np, head, hash) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/modules/
H A Dppp_ahdlc.c355 mblk_t *np; local
422 np = allocb(sizeof(int), BPRI_HI);
423 if (np == 0) {
429 mp->b_cont = np;
433 *(int *)np->b_wptr = state->flags & RCV_FLAGS;
437 np->b_wptr += sizeof(int);
443 np = allocb(sizeof(struct ppp_stats), BPRI_HI);
444 if (np == 0) {
450 mp->b_cont = np;
451 psp = (struct ppp_stats *) np
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/solaris/
H A Dppp_ahdlc.c354 mblk_t *np; local
413 np = allocb(sizeof(int), BPRI_HI);
414 if (np == 0) {
420 mp->b_cont = np;
422 *(int *)np->b_wptr = state->flags & RCV_FLAGS;
424 np->b_wptr += sizeof(int);
430 np = allocb(sizeof(struct ppp_stats), BPRI_HI);
431 if (np == 0) {
437 mp->b_cont = np;
438 psp = (struct ppp_stats *) np
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc/kernel/
H A Dof_device.c282 static int of_bus_pci_match(struct device_node *np) argument
284 if (!strcmp(np->type, "pci") || !strcmp(np->type, "pciex")) {
291 if (!of_find_property(np, "ranges", NULL))
300 static void of_bus_pci_count_cells(struct device_node *np, argument
358 static int of_bus_sbus_match(struct device_node *np) argument
360 return !strcmp(np->name, "sbus") ||
361 !strcmp(np->name, "sbi");
418 static struct of_bus *of_match_bus(struct device_node *np) argument
423 if (!of_busses[i].match || of_busses[i].match(np))
788 of_platform_device_create(struct device_node *np, const char *bus_id, struct device *parent, struct bus_type *bus) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A D8139too.c2270 struct rtl8139_private *np = netdev_priv(dev); local
2271 void __iomem *ioaddr = np->mmio_addr;
2273 spin_lock_irq(&np->lock);
2274 if (rtl_chip_info[np->chipset].flags & HasLWake) {
2293 spin_unlock_irq(&np->lock);
2302 struct rtl8139_private *np = netdev_priv(dev); local
2303 void __iomem *ioaddr = np->mmio_addr;
2307 support = ((rtl_chip_info[np->chipset].flags & HasLWake)
2314 spin_lock_irq(&np->lock);
2332 spin_unlock_irq(&np
2339 struct rtl8139_private *np = netdev_priv(dev); local
2348 struct rtl8139_private *np = netdev_priv(dev); local
2357 struct rtl8139_private *np = netdev_priv(dev); local
2367 struct rtl8139_private *np = netdev_priv(dev); local
2373 struct rtl8139_private *np = netdev_priv(dev); local
2379 struct rtl8139_private *np = netdev_priv(dev); local
2385 struct rtl8139_private *np = netdev_priv(dev); local
2396 struct rtl8139_private *np = netdev_priv(dev); local
2402 struct rtl8139_private *np = netdev_priv(dev); local
2419 struct rtl8139_private *np = netdev_priv(dev); local
2452 struct rtl8139_private *np = netdev_priv(dev); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/ppc/
H A Dtumbler.c1031 struct device_node *np; local
1037 for (np = of_get_next_child(gpiop, NULL); np;
1038 np = of_get_next_child(gpiop, np)) {
1039 const char *property = of_get_property(np, "audio-gpio", NULL);
1044 return np;
1051 struct device_node *np; local
1057 for (np = of_get_next_child(gpiop, NULL); np;
1322 struct device_node *tas_node, *np; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/macintosh/
H A Dtherm_pm72.c553 struct device_node *np; local
559 np = of_find_node_by_path(nodename);
560 if (np == NULL) {
564 data = of_get_property(np, "cpuid", &len);
567 of_node_put(np);
571 of_node_put(np);
1770 struct device_node *np; local
1776 for (np = NULL; NULL != (np = of_find_node_by_type(np, "cp
1977 struct device_node *np = NULL; local
2089 struct device_node *np; local
[all...]
H A Dmacio-adb.c85 struct device_node *np; local
87 np = of_find_compatible_node(NULL, "adb", "chrp,adb0");
88 if (np) {
89 of_node_put(np);
H A Dtherm_windtunnel.c490 struct device_node *np; local
494 if( !(np=of_find_node_by_name(NULL, "power-mgt")) )
496 info = of_get_property(np, "thermal-info", NULL);
497 of_node_put(np);
506 if( !(np=of_find_node_by_name(NULL, "fan")) )
508 x.of_dev = of_platform_device_create(np, "temperature", NULL);
509 of_node_put( np );
H A Drack-meter.c369 struct device_node *i2s = NULL, *np = NULL; local
385 while ((np = of_get_next_child(i2s, np)) != NULL) {
386 if (strcmp(np->name, "lightshow") == 0)
388 if ((strcmp(np->name, "sound") == 0) &&
389 of_get_property(np, "virtual", NULL) != NULL)
392 if (np == NULL) {
470 of_node_put(np);
490 of_node_put(np);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/cell/
H A Dcbe_regs.h122 extern struct cbe_pmd_regs __iomem *cbe_get_pmd_regs(struct device_node *np);
154 extern struct cbe_pmd_shadow_regs *cbe_get_pmd_shadow_regs(struct device_node *np);
212 extern struct cbe_iic_regs __iomem *cbe_get_iic_regs(struct device_node *np);
255 extern struct cbe_mic_tm_regs __iomem *cbe_get_mic_tm_regs(struct device_node *np);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/embedded6xx/
H A Dholly.c117 struct device_node *np; local
138 np = of_find_node_by_type(NULL, "pci");
139 if (np)
140 tsi108_setup_pci(np, HOLLY_PCI_CFG_PHYS, 1);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/pasemi/
H A Dgpio_mdio.c221 struct device_node *np = ofdev->node; local
261 prop = of_get_property(np, "reg", NULL);
272 prop = of_get_property(np, "mdc-pin", NULL);
275 prop = of_get_property(np, "mdio-pin", NULL);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/sysdev/qe_lib/
H A Dqe.c277 struct device_node *np; local
288 if ((np = of_find_node_by_name(NULL, "data-only")) != NULL) {
289 address = *of_get_address(np, 0, &size, &flags);
290 of_node_put(np);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-powerpc/
H A Dpmac_pfunc.h172 extern int pmf_register_driver(struct device_node *np,
176 extern void pmf_unregister_driver(struct device_node *np);
182 extern int pmf_register_irq_client(struct device_node *np,
211 extern int pmf_do_functions(struct device_node *np, const char *name,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sparc/
H A Dof_device.h72 extern struct of_device *of_platform_device_create(struct device_node *np,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/dccp/
H A Dminisocks.c57 const struct ipv6_pinfo *np = inet6_sk(sk); local
62 ipv6_addr_copy(&tw6->tw_v6_daddr, &np->daddr);
63 ipv6_addr_copy(&tw6->tw_v6_rcv_saddr, &np->rcv_saddr);
64 tw->tw_ipv6only = np->ipv6only;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Dfft.c131 int np, nblocks, np2, l; local
142 np = 1 << nbits;
143 nblocks = np >> 3;
144 np2 = np >> 1;
145 s->exptab1 = av_malloc(np * 2 * sizeof(FFTComplex));
186 int j, k, np; local
189 np = 1 << s->nbits;
193 for(j=0;j<np;j++) s->tmp_buf[revtab[j]] = z[j];
194 memcpy(z, s->tmp_buf, np * sizeof(FFTComplex));
199 for(j=0;j<np;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/chrp/
H A Dpci.c136 struct device_node *np; local
139 np = of_find_node_by_name(NULL, "mac-io");
140 if (np == NULL || of_address_to_resource(np, 0, &r)) {
141 of_node_put(np);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pci/hotplug/
H A Drpadlpar_core.c61 struct device_node *np = NULL; local
66 while ((np = of_find_node_by_name(np, "pci"))) {
67 rc = rpaphp_get_drc_props(np, NULL, &name, &type, NULL);
73 return np;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/ppc/
H A Dpmac.c1154 struct device_node *np = pmif->node; local
1159 if (of_device_is_compatible(np, "shasta-ata"))
1161 else if (of_device_is_compatible(np, "kauai-ata"))
1163 else if (of_device_is_compatible(np, "K2-UATA"))
1165 else if (of_device_is_compatible(np, "keylargo-ata")) {
1166 if (strcmp(np->name, "ata-4") == 0)
1170 } else if (of_device_is_compatible(np, "heathrow-ata"))
1177 bidp = of_get_property(np, "AAPL,bus-id", NULL);
1184 const char* cable = of_get_property(np, "cable-type", NULL);
1192 if (of_device_is_compatible(np, "K
1403 struct device_node *np; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/pppd/
H A Dmain.c1968 struct notifier *np; local
1970 np = malloc(sizeof(struct notifier));
1971 if (np == 0)
1973 np->next = *notif;
1974 np->func = func;
1975 np->arg = arg;
1976 *notif = np;
1989 struct notifier *np; local
1991 for (; (np = *notif) != 0; notif = &np
2008 struct notifier *np; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/
H A Dpci_32.c708 struct device_node *np = NULL; local
712 while ((np = of_get_next_child(parent, np)) != NULL) {
713 reg = of_get_property(np, "reg", &psize);
717 return np;
725 struct device_node *parent, *np; local
741 np = scan_OF_for_pci_dev(parent, bus->self->devfn);
744 return np;
753 struct device_node *parent, *np; local
763 np
860 int np, na = of_n_addr_cells(dev); local
990 struct device_node *np; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/
H A Danycast.c80 struct ipv6_pinfo *np = inet6_sk(sk); local
150 pac->acl_next = np->ipv6_ac_list;
151 np->ipv6_ac_list = pac;
170 struct ipv6_pinfo *np = inet6_sk(sk); local
176 for (pac = np->ipv6_ac_list; pac; pac = pac->acl_next) {
189 np->ipv6_ac_list = pac->acl_next;
204 struct ipv6_pinfo *np = inet6_sk(sk); local
210 pac = np->ipv6_ac_list;
211 np->ipv6_ac_list = NULL;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/capi/
H A Dkcapi.c213 struct capi_notifier *np = local
216 switch (np->cmd) {
218 notify_up(np->controller);
221 notify_down(np->controller);
225 kfree(np);
234 struct capi_notifier *np = kmalloc(sizeof(*np), GFP_ATOMIC); local
236 if (!np)
239 INIT_WORK(&np->work, notify_handler);
240 np
[all...]

Completed in 318 milliseconds

1234567891011