Searched refs:np (Results 26 - 50 of 275) sorted by relevance

1234567891011

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-powerpc/
H A Ddcr.h37 extern unsigned int dcr_resource_start(struct device_node *np,
39 extern unsigned int dcr_resource_len(struct device_node *np,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/cell/
H A Dcbe_regs.c52 static struct cbe_regs_map *cbe_find_map(struct device_node *np) argument
57 if (strcasecmp(np->type, "spe")) {
59 if (cbe_regs_maps[i].cpu_node == np ||
60 cbe_regs_maps[i].be_node == np)
65 if (np->data)
66 return np->data;
69 tmp_np = np;
77 np->data = cbe_find_map(tmp_np);
79 return np->data;
82 struct cbe_pmd_regs __iomem *cbe_get_pmd_regs(struct device_node *np) argument
100 cbe_get_pmd_shadow_regs(struct device_node *np) argument
116 cbe_get_iic_regs(struct device_node *np) argument
132 cbe_get_mic_tm_regs(struct device_node *np) argument
169 struct device_node *np; local
188 struct device_node *be, *np; local
[all...]
H A Diommu.c270 struct device_node *np; local
276 for_each_node_by_name(np, "ioc") {
277 if (of_node_to_nid(np) != nid)
279 if (of_address_to_resource(np, 0, &r)) {
281 np->full_name);
285 of_node_put(np);
290 for_each_node_by_type(np, "cpu") {
294 nidp = of_get_property(np, "node-id", NULL);
296 tmp = of_get_property(np, "ioc-translation", NULL);
299 of_node_put(np);
410 cell_iommu_setup_window(struct cbe_iommu *iommu, struct device_node *np, unsigned long offset, unsigned long size, unsigned long pte_offset) argument
521 cell_iommu_get_window(struct device_node *np, unsigned long *base, unsigned long *size) argument
540 cell_iommu_init_one(struct device_node *np, unsigned long offset) argument
615 struct device_node *np = NULL; local
670 struct device_node *np; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/core/
H A Dnetpoll.c118 static void poll_napi(struct netpoll *np) argument
120 struct netpoll_info *npinfo = np->dev->npinfo;
123 if (test_bit(__LINK_STATE_RX_SCHED, &np->dev->state) &&
129 np->dev->poll(np->dev, &budget);
152 void netpoll_poll(struct netpoll *np) argument
154 if (!np->dev || !netif_running(np->dev) || !np->dev->poll_controller)
158 np
209 find_skb(struct netpoll *np, int len, int reserve) argument
235 netpoll_send_skb(struct netpoll *np, struct sk_buff *skb) argument
280 netpoll_send_udp(struct netpoll *np, const char *msg, int len) argument
350 struct netpoll *np = NULL; local
443 struct netpoll *np = npi->rx_np; local
520 netpoll_parse_options(struct netpoll *np, char *opt) argument
627 netpoll_setup(struct netpoll *np) argument
769 netpoll_cleanup(struct netpoll *np) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dnatsemi.c205 Most operations are synchronized on the np->lock irq spinlock, except the
211 The rx process usually runs under the netif_tx_lock. If np->intr_tx_reap
212 is set, then access is permitted under spin_lock_irq(&np->lock).
217 spin_lock_irq(&np->lock);
682 struct netdev_private *np = netdev_priv(to_net_dev(dev)); local
684 return sprintf(buf, "%s\n", np->dspcfg_workaround ? "on" : "off");
691 struct netdev_private *np = netdev_priv(to_net_dev(dev)); local
704 spin_lock_irqsave(&np->lock, flags);
706 np->dspcfg_workaround = new_setting;
708 spin_unlock_irqrestore(&np
732 struct netdev_private *np = netdev_priv(dev); local
757 struct netdev_private *np = netdev_priv(dev); local
798 struct netdev_private *np; local
1126 struct netdev_private *np = netdev_priv(dev); local
1141 struct netdev_private *np = netdev_priv(dev); local
1153 struct netdev_private *np = netdev_priv(dev); local
1266 struct netdev_private *np = netdev_priv(dev); local
1299 struct netdev_private *np = netdev_priv(dev); local
1351 struct netdev_private *np = netdev_priv(dev); local
1400 struct netdev_private *np = netdev_priv(dev); local
1472 struct netdev_private *np = netdev_priv(dev); local
1496 struct netdev_private *np = netdev_priv(dev); local
1518 struct netdev_private *np = netdev_priv(dev); local
1538 struct netdev_private *np = netdev_priv(dev); local
1587 struct netdev_private *np = netdev_priv(dev); local
1616 struct netdev_private *np = netdev_priv(dev); local
1632 struct netdev_private *np = netdev_priv(dev); local
1651 struct netdev_private *np = netdev_priv(dev); local
1717 struct netdev_private *np = netdev_priv(dev); local
1797 struct netdev_private *np = netdev_priv(dev); local
1862 struct netdev_private *np = netdev_priv(dev); local
1885 struct netdev_private *np = netdev_priv(dev); local
1916 struct netdev_private *np = netdev_priv(dev); local
1928 struct netdev_private *np = netdev_priv(dev); local
1956 struct netdev_private *np = netdev_priv(dev); local
1966 struct netdev_private *np = netdev_priv(dev); local
2004 struct netdev_private *np = netdev_priv(dev); local
2021 struct netdev_private *np = netdev_priv(dev); local
2047 struct netdev_private *np = netdev_priv(dev); local
2055 struct netdev_private *np = netdev_priv(dev); local
2071 struct netdev_private *np = netdev_priv(dev); local
2085 struct netdev_private *np = netdev_priv(dev); local
2134 struct netdev_private *np = netdev_priv(dev); local
2180 struct netdev_private *np = netdev_priv(dev); local
2220 struct netdev_private *np = netdev_priv(dev); local
2277 struct netdev_private *np = netdev_priv(dev); local
2393 struct netdev_private *np = netdev_priv(dev); local
2454 struct netdev_private *np = netdev_priv(dev); local
2463 struct netdev_private *np = netdev_priv(dev); local
2487 struct netdev_private *np = netdev_priv(dev); local
2528 struct netdev_private *np = netdev_priv(dev); local
2551 struct netdev_private *np = netdev_priv(dev); local
2560 struct netdev_private *np = netdev_priv(dev); local
2573 struct netdev_private *np = netdev_priv(dev); local
2579 struct netdev_private *np = netdev_priv(dev); local
2588 struct netdev_private *np = netdev_priv(dev); local
2598 struct netdev_private *np = netdev_priv(dev); local
2607 struct netdev_private *np = netdev_priv(dev); local
2618 struct netdev_private *np = netdev_priv(dev); local
2627 struct netdev_private *np = netdev_priv(dev); local
2633 struct netdev_private *np = netdev_priv(dev); local
2660 struct netdev_private *np = netdev_priv(dev); local
2696 struct netdev_private *np = netdev_priv(dev); local
2726 struct netdev_private *np = netdev_priv(dev); local
2762 struct netdev_private *np = netdev_priv(dev); local
2794 struct netdev_private *np = netdev_priv(dev); local
2823 struct netdev_private *np = netdev_priv(dev); local
2884 struct netdev_private *np = netdev_priv(dev); local
3022 struct netdev_private *np = netdev_priv(dev); local
3038 struct netdev_private *np = netdev_priv(dev); local
3095 struct netdev_private *np = netdev_priv(dev); local
3128 struct netdev_private *np = netdev_priv(dev); local
3237 struct netdev_private *np = netdev_priv(dev); local
3282 struct netdev_private *np = netdev_priv(dev); local
[all...]
H A Dnetconsole.c57 static struct netpoll np = { variable in typeref:struct:netpoll
73 if (!np.dev)
80 netpoll_send_udp(&np, msg, frag);
96 configured = !netpoll_parse_options(&np, opt);
114 err = netpoll_setup(&np);
126 netpoll_cleanup(&np);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/sym53c8xx_2/
H A Dsym_glue.c192 #define unmap_scsi_data(np, cmd) \
193 __unmap_scsi_data(np->s.device, cmd)
194 #define map_scsi_single_data(np, cmd) \
195 __map_scsi_single_data(np->s.device, cmd)
196 #define map_scsi_sg_data(np, cmd) \
197 __map_scsi_sg_data(np->s.device, cmd)
201 void sym_xpt_done(struct sym_hcb *np, struct scsi_cmnd *cmd) argument
203 unmap_scsi_data(np, cmd);
207 static void sym_xpt_done2(struct sym_hcb *np, struct scsi_cmnd *cmd, int cam_status) argument
210 sym_xpt_done(np, cm
217 sym_xpt_async_bus_reset(struct sym_hcb *np) argument
230 sym_xpt_async_sent_bdr(struct sym_hcb *np, int target) argument
257 sym_set_cam_result_error(struct sym_hcb *np, struct sym_ccb *cp, int resid) argument
320 sym_scatter_no_sglist(struct sym_hcb *np, struct sym_ccb *cp, struct scsi_cmnd *cmd) argument
349 sym_scatter(struct sym_hcb *np, struct sym_ccb *cp, struct scsi_cmnd *cmd) argument
392 sym_queue_command(struct sym_hcb *np, struct scsi_cmnd *cmd) argument
433 sym_setup_cdb(struct sym_hcb *np, struct scsi_cmnd *cmd, struct sym_ccb *cp) argument
446 sym_setup_data_and_start(struct sym_hcb *np, struct scsi_cmnd *cmd, struct sym_ccb *cp) argument
535 sym_timer(struct sym_hcb *np) argument
583 sym_log_bus_error(struct sym_hcb *np) argument
601 struct sym_hcb *np = SYM_SOFTC_PTR(cmd); local
635 struct sym_hcb *np = (struct sym_hcb *)dev_id; local
653 struct sym_hcb *np = (struct sym_hcb *)npref; local
696 struct sym_hcb *np = SYM_SOFTC_PTR(cmd); local
825 device_queue_depth(struct sym_hcb *np, int target, int lun) argument
871 struct sym_hcb *np = sym_get_hcb(sdev->host); local
917 struct sym_hcb *np = sym_get_hcb(sdev->host); local
956 struct sym_hcb *np = sym_get_hcb(sdev->host); local
1002 sym_exec_user_command(struct sym_hcb *np, struct sym_usrcmd *uc) argument
1126 sym_user_command(struct sym_hcb *np, char *buffer, int length) argument
1312 sym_host_info(struct sym_hcb *np, char *ptr, off_t offset, int len) argument
1347 struct sym_hcb *np = sym_get_hcb(host); local
1373 sym_free_resources(struct sym_hcb *np, struct pci_dev *pdev) argument
1395 sym_setup_bus_dma_mask(struct sym_hcb *np) argument
1430 struct sym_hcb *np = NULL; local
1795 sym_detach(struct sym_hcb *np, struct pci_dev *pdev) argument
1899 struct sym_hcb *np = pci_get_drvdata(pdev); local
1915 struct sym_hcb *np = sym_get_hcb(shost); local
1938 struct sym_hcb *np = sym_get_hcb(shost); local
1948 struct sym_hcb *np = sym_get_hcb(shost); local
1963 struct sym_hcb *np = sym_get_hcb(shost); local
1978 struct sym_hcb *np = sym_get_hcb(shost); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/85xx/
H A Dmpc85xx_mds.c74 struct device_node *np; local
80 np = of_find_node_by_type(NULL, "cpu");
81 if (np != NULL) {
83 of_get_property(np, "clock-frequency", NULL);
88 of_node_put(np);
92 np = of_find_node_by_name(NULL, "bcsr");
93 if (np != NULL) {
96 of_address_to_resource(np, 0, &res);
98 of_node_put(np);
102 for (np
170 struct device_node *np = NULL; local
[all...]
H A Dmpc8544_ds.c45 struct device_node *np = NULL; local
51 np = of_find_node_by_type(np, "open-pic");
53 if (np == NULL) {
58 if (of_address_to_resource(np, 0, &r)) {
60 of_node_put(np);
65 mpic = mpic_alloc(np, r.start,
86 for_each_node_by_type(np, "interrupt-controller")
87 if (of_device_is_compatible(np, "chrp,iic")) {
88 cascade_node = np;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/
H A Dprom.c138 char *lp, *np; local
139 for (lp = NULL, np = pathp; *np; np++)
140 if ((*np) == '/')
141 lp = np+1;
244 struct device_node *np; local
287 np = unflatten_dt_alloc(&mem, sizeof(struct device_node) + allocl,
290 memset(np, 0, sizeof(*np));
1046 of_n_addr_cells(struct device_node* np) argument
1061 of_n_size_cells(struct device_node* np) argument
1144 struct device_node *np; local
1173 struct device_node *np; local
1204 struct device_node *np; local
1230 struct device_node *np = allnodes; local
1252 struct device_node *np; local
1274 struct device_node *np; local
1296 struct device_node *np; local
1399 of_attach_node(struct device_node *np) argument
1414 of_detach_node(const struct device_node *np) argument
1519 of_find_property(const struct device_node *np, const char *name, int *lenp) argument
1542 of_get_property(const struct device_node *np, const char *name, int *lenp) argument
1553 prom_add_property(struct device_node* np, struct property* prop) argument
1586 prom_remove_property(struct device_node *np, struct property *prop) argument
1625 prom_update_property(struct device_node *np, struct property *newprop, struct property *oldprop) argument
1668 struct device_node *np; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/ripngd/
H A Dripng_route.c52 struct route_node *np; local
55 for (np = child; np; np = np->parent)
56 if ((aggregate = np->aggregate) != NULL)
67 struct route_node *np; local
70 for (np = child; np; np
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/83xx/
H A Dmpc834x_mds.c55 struct device_node *np = NULL; local
58 if ((np = of_find_compatible_node(NULL, "usb", "fsl-usb2-dr")) != NULL)
60 if ((np = of_find_compatible_node(NULL, "usb", "fsl-usb2-mph")) != NULL){
94 np = of_find_node_by_name(NULL, "bcsr");
95 if (np != 0) {
98 of_address_to_resource(np, 0, &res);
100 of_node_put(np);
124 struct device_node *np; local
131 for (np = NULL; (np
142 struct device_node *np; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/sysdev/
H A Dfsl_soc.c122 struct device_node *np; local
128 for (np = NULL, i = 0;
129 (np = of_find_compatible_node(np, "mdio", "gianfar")) != NULL;
138 ret = of_address_to_resource(np, 0, &res);
153 while ((child = of_get_next_child(np, child)) != NULL) {
186 struct device_node *np; local
192 for (np = NULL, i = 0;
193 (np = of_find_compatible_node(np, "networ
301 struct device_node *np; local
359 struct device_node *soc, *np; local
436 struct device_node *np; local
591 struct device_node *np; local
765 struct device_node *np; local
845 struct device_node *np; local
896 struct device_node *np; local
1037 struct device_node *np; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/macintosh/
H A Dmacio_asic.c179 * @np: pointer to the device node
186 static int macio_resource_quirks(struct device_node *np, struct resource *res, argument
194 if (index == 0 && !strcmp(np->name, "gc"))
198 if (index >= 2 && !strcmp(np->name, "radio"))
211 if (!strcmp(np->name, "escc"))
215 if (index >= 3 && !(strcmp(np->name, "ch-a") &&
216 strcmp(np->name, "ch-b")))
220 if (index > 0 && !strcmp(np->name, "media-bay"))
224 if (!(strcmp(np->name, "IDE") && strcmp(np
251 struct device_node *np = dev->ofdev.node; local
292 struct device_node *np = dev->ofdev.node; local
319 struct device_node *np = dev->ofdev.node; local
356 macio_add_one_device(struct macio_chip *chip, struct device *parent, struct device_node *np, struct macio_dev *in_bay, struct resource *parent_res) argument
420 macio_skip_device(struct device_node *np) argument
442 struct device_node *np, *pnode; local
625 struct device_node* np; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/coreutils/
H A Dtee.c23 char **np; local
47 np = names = argv - 1;
57 *np = *argv++;
60 np++;
90 np = names;
97 die_if_ferror(*fp++, *np++);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libgcrypt-1.5.0/mpi/
H A Dmpih-div.c208 mpi_ptr_t np, mpi_size_t nsize,
226 n1 = np[nsize - 1];
235 udiv_qrnnd( qp[i], n1, n1, np[i], d );
241 np[0] = n1;
251 np += nsize - 2;
254 n1 = np[1];
255 n0 = np[0];
267 np--;
269 np[0] = 0;
279 add_ssaaaa( n1, n0, r - d0, np[
207 _gcry_mpih_divrem( mpi_ptr_t qp, mpi_size_t qextra_limbs, mpi_ptr_t np, mpi_size_t nsize, mpi_ptr_t dp, mpi_size_t dsize) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/52xx/
H A Dlite5200.c112 struct device_node *np; local
117 np = of_find_node_by_type(NULL, "cpu");
118 if (np) {
120 of_get_property(np, "clock-frequency", NULL);
125 of_node_put(np);
139 np = of_find_node_by_type(NULL, "pci");
140 if (np) {
141 mpc52xx_add_bridge(np);
142 of_node_put(np);
161 struct device_node* np local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/zebra/
H A Dzebra_snmp.c138 struct route_node *np;
146 for (np = route_top (rib_table_ipv4); np; np = route_next (np))
147 for (rib = np->info; rib; rib = rib->next)
158 struct route_node *np;
166 for (np = route_top (rib_table_ipv4); np; np
135 struct route_node *np; local
155 struct route_node *np; local
239 check_replace(struct route_node *np2, struct rib *rib2, struct route_node **np, struct rib **rib) argument
282 get_fwtable_route_node(struct variable *v, oid objid[], size_t *objid_len, int exact, struct route_node **np, struct rib **rib) argument
427 struct route_node *np; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/skfp/
H A Dpcmplc.c210 static void sm_ph_lem_start(struct s_smc *smc, int np, int threshold);
211 static void sm_ph_lem_stop(struct s_smc *smc, int np);
224 EV_TOKEN(EVENT_PCM+phy->np,event)) ;
243 int np ; local
247 for (np = 0,phy = smc->y ; np < NUMPHYS ; np++,phy++) {
251 phy->np = np ;
255 mib->fddiPORTMy_Type = (np
539 int np = phy->np ; /* PHY index */ local
593 pcm(struct s_smc *smc, const int np, int event) argument
675 int np = phy->np ; /* PHY index */ local
1151 int np ; local
1201 sm_ph_lem_start(struct s_smc *smc, int np, int threshold) argument
1219 sm_ph_lem_stop(struct s_smc *smc, int np) argument
1384 int np = phy->np ; local
1580 pcm_status_state(struct s_smc *smc, int np, int *type, int *state, int *remote, int *mac) argument
1619 plc_irq(struct s_smc *smc, int np, unsigned int cmd) argument
1856 get_pcm_state(struct s_smc *smc, int np) argument
1878 get_linestate(struct s_smc *smc, int np) argument
1900 get_pcmstate(struct s_smc *smc, int np) argument
1925 int np ; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/82xx/
H A Dmpc82xx_ads.c70 struct device_node *np = of_find_compatible_node(NULL, "cpm-pic", "CPM2"); local
74 if (np == NULL) {
78 if (of_address_to_resource(np, 0, &r)) {
80 of_node_put(np);
83 cpm2_pic_init(np);
84 of_node_put(np);
103 struct device_node *np; local
107 np = of_find_node_by_type(NULL, "memory");
108 if (!np) {
112 if (of_address_to_resource(np,
156 struct device_node *np; local
288 struct device_node *np; local
432 struct device_node *np; local
518 add_bridge(struct device_node *np) argument
573 struct device_node *np; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-runtime/intl/
H A Dprintf-parse.c156 const CHAR_T *np; local
158 for (np = cp; *np >= '0' && *np <= '9'; np++)
160 if (*np == '$')
164 for (np = cp; *np >= '0' && *np <= '9'; np
226 const CHAR_T *np; local
283 const CHAR_T *np; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-runtime/libasprintf/
H A Dprintf-parse.c156 const CHAR_T *np; local
158 for (np = cp; *np >= '0' && *np <= '9'; np++)
160 if (*np == '$')
164 for (np = cp; *np >= '0' && *np <= '9'; np
226 const CHAR_T *np; local
283 const CHAR_T *np; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/embedded6xx/
H A Dprpmc2800.c44 struct device_node *np; local
53 np = of_find_compatible_node(NULL, NULL, "marvell,mv64x60-mpp");
54 reg = of_get_property(np, "reg", NULL);
55 paddr = of_translate_address(np, reg);
56 of_node_put(np);
59 np = of_find_compatible_node(NULL, NULL, "marvell,mv64x60-gpp");
60 reg = of_get_property(np, "reg", NULL);
61 paddr = of_translate_address(np, reg);
62 of_node_put(np);
65 np
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/
H A Dprintf-parse.c155 const CHAR_T *np; local
157 for (np = cp; *np >= '0' && *np <= '9'; np++)
159 if (*np == '$')
163 for (np = cp; *np >= '0' && *np <= '9'; np
225 const CHAR_T *np; local
282 const CHAR_T *np; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/powermac/
H A Dsetup.c118 struct device_node *np; local
135 np = of_find_node_by_path("/");
136 if (np != NULL) {
137 pp = of_get_property(np, "model", NULL);
142 pp = of_get_property(np, "compatible", &plen);
153 of_node_put(np);
162 np = of_find_node_by_name(NULL, "l2-cache");
163 if (np == NULL)
164 np = of_find_node_by_type(NULL, "cache");
165 if (np !
263 struct device_node *np = of_find_node_by_name(NULL, "cpus"); local
592 struct device_node *np; local
[all...]

Completed in 304 milliseconds

1234567891011