Home
last modified time | relevance | path

Searched refs:np (Results 1 – 25 of 2235) sorted by relevance

12345678910>>...90

/linux/drivers/scsi/sym53c8xx_2/
A Dsym_hipd.c944 sym_name(np), np->sv_scntl3, np->sv_dmode, np->sv_dcntl,
945 np->sv_ctest3, np->sv_ctest4, np->sv_ctest5);
949 sym_name(np), np->rv_scntl3, np->rv_dmode, np->rv_dcntl,
950 np->rv_ctest3, np->rv_ctest4, np->rv_ctest5);
1019 OUTL(np, nc_dsa, np->hcb_ba);
1480 if (np->last_cp && np->iarb_count < np->iarb_max) {
1905 memcpy_toio(np->s.ramaddr, np->scripta0, np->scripta_sz);
1918 OUTL(np, nc_dsa, np->hcb_ba);
4456 np->lastmsg = np->msgout[0];
5652 if (!np->scripta0 || !np->scriptb0 || !np->scriptz0)
[all …]
A Dsym_nvram.c46 np->rv_scntl0 &= ~0x0a; in sym_nvram_setup_host()
49 np->verbose += 1; in sym_nvram_setup_host()
161 sym_name(np), i, in sym_display_Symbios_nvram()
211 sym_name(np), i, in sym_display_Tekram_nvram()
263 INB(np, nc_mbox1); in S24C16_set_bit()
541 INB(np, nc_mbox1); in T93C46_Clk()
552 T93C46_Clk(np, gpreg); in T93C46_Read_Bit()
569 INB(np, nc_mbox1); in T93C46_Write_Bit()
572 T93C46_Clk(np, gpreg); in T93C46_Write_Bit()
582 INB(np, nc_mbox1); in T93C46_Stop()
[all …]
A Dsym_hipd.h184 #define INB_OFF(np, o) ioread8(np->s.ioaddr + (o)) argument
185 #define INW_OFF(np, o) ioread16(np->s.ioaddr + (o)) argument
186 #define INL_OFF(np, o) ioread32(np->s.ioaddr + (o)) argument
200 #define OUTONB(np, r, m) OUTB(np, r, INB(np, r) | (m)) argument
201 #define OUTOFFB(np, r, m) OUTB(np, r, INB(np, r) & ~(m)) argument
202 #define OUTONW(np, r, m) OUTW(np, r, INW(np, r) | (m)) argument
203 #define OUTOFFW(np, r, m) OUTW(np, r, INW(np, r) & ~(m)) argument
204 #define OUTONL(np, r, m) OUTL(np, r, INL(np, r) | (m)) argument
205 #define OUTOFFL(np, r, m) OUTL(np, r, INL(np, r) & ~(m)) argument
1025 #define use_dac(np) (np)->use_dac argument
[all …]
A Dsym_fw.c106 if (!(np->features & FE_LED0)) { in sym_fw1_patch()
150 if (!(np->features & FE_LED0)) { in sym_fw2_patch()
161 if (!use_dac(np)) { in sym_fw2_patch()
190 if (!(np->features & FE_C10)) { in sym_fw2_patch()
201 np->pciclk_khz < 60000)) { in sym_fw2_patch()
216 cpu_to_scr(np->scripta_ba + in sym_fw2_patch()
219 cpu_to_scr(np->scripta_ba + in sym_fw2_patch()
256 pa = (u32 *) &np->fwa_bas; in sym_fw_setup_bus_addresses()
258 pa[i] = np->scripta_ba + po[i]; in sym_fw_setup_bus_addresses()
264 pa = (u32 *) &np->fwb_bas; in sym_fw_setup_bus_addresses()
[all …]
/linux/drivers/net/ethernet/nvidia/
A Dforcedeth.c1919 np->get_rx = np->rx_ring; in nv_init_rx()
1920 np->put_rx = np->rx_ring; in nv_init_rx()
1925 np->last_rx.ex = &np->rx_ring.ex[np->rx_ring_size-1]; in nv_init_rx()
1928 np->last_rx_ctx = &np->rx_skb[np->rx_ring_size-1]; in nv_init_rx()
1950 np->get_tx = np->tx_ring; in nv_init_tx()
1951 np->put_tx = np->tx_ring; in nv_init_tx()
1956 np->last_tx.ex = &np->tx_ring.ex[np->tx_ring_size-1]; in nv_init_tx()
1959 np->last_tx_ctx = &np->tx_skb[np->tx_ring_size-1]; in nv_init_tx()
2090 …return (u32)(np->tx_ring_size - ((np->tx_ring_size + (np->put_tx_ctx - np->get_tx_ctx)) % np->tx_r… in nv_get_empty_tx_slots()
4750 np->tx_ring.ex = &np->rx_ring.ex[np->rx_ring_size]; in nv_set_ringparam()
[all …]
/linux/drivers/net/ethernet/
A Dfealnx.c614 np->mii.phy_id = np->phys[0]; in fealnx_init_one()
1173 np->crvalue = np->crvalue_sv; in reset_timer()
1174 np->imrvalue = np->imrvalue_sv; in reset_timer()
1233 np->cur_rx = &np->rx_ring[0]; in init_ring()
1234 np->lack_rxbuf = np->rx_ring; in init_ring()
1271 np->cur_tx = &np->tx_ring[0]; in init_ring()
1272 np->cur_tx_copy = &np->tx_ring[0]; in init_ring()
1379 np->cur_tx = &np->tx_ring[0]; in reset_tx_descriptors()
1380 np->cur_tx_copy = &np->tx_ring[0]; in reset_tx_descriptors()
1576 np->crvalue_sv = np->crvalue; in intr_handler()
[all …]
/linux/drivers/net/ethernet/dec/tulip/
A Dwinbond-840.c451 np->mii_if.phy_id = np->phys[0]; in w840_probe1()
788 np->rx_head_desc = &np->rx_ring[0]; in init_rxtx_rings()
793 np->rx_ring[i].length = np->rx_buf_sz; in init_rxtx_rings()
823 np->tx_q_bytes = np->dirty_tx = np->cur_tx = 0; in init_rxtx_rings()
934 np->cur_tx, np->dirty_tx, np->tx_full, np->tx_q_bytes); in tx_timeout()
981 np->rx_ring, np->ring_dma_addr); in free_ringdesc()
1050 for (; np->cur_tx - np->dirty_tx > 0; np->dirty_tx++) { in netdev_tx_done()
1128 np->cur_tx != np->dirty_tx) { in intr_handler()
1254 for (; np->cur_rx - np->dirty_rx > 0; np->dirty_rx++) { in netdev_rx()
1478 np->cur_tx, np->dirty_tx, in netdev_close()
[all …]
/linux/drivers/net/ethernet/dlink/
A Dsundance.c621 np->mii_if.phy_id = np->phys[0]; in sundance_probe1()
694 np->rx_ring, np->rx_ring_dma); in sundance_probe1()
697 np->tx_ring, np->tx_ring_dma); in sundance_probe1()
1019 np->cur_rx = np->cur_tx = 0; in init_ring()
1020 np->dirty_rx = np->dirty_tx = 0; in init_ring()
1069 for (; np->cur_tx - np->cur_task > 0; np->cur_task++) { in tx_poll()
1161 np->cur_tx = np->dirty_tx = 0; in reset_tx()
1258 for (; np->cur_tx - np->dirty_tx > 0; np->dirty_tx++) { in intr_handler()
1284 for (; np->cur_tx - np->dirty_tx > 0; np->dirty_tx++) { in intr_handler()
1840 dev->name, np->cur_tx, np->dirty_tx, np->cur_rx, np->dirty_rx); in netdev_close()
[all …]
A Ddl2k.c148 np->pdev = pdev; in rio_probe1()
278 np->rx_coalesce, np->rx_timeout*640); in rio_probe1()
279 if (np->vlan) in rio_probe1()
490 np->tx_ring[i].next_desc = cpu_to_le64(np->tx_ring_dma + in alloc_list()
507 np->rx_ring[i].next_desc = cpu_to_le64(np->rx_ring_dma + in alloc_list()
652 struct netdev_private *np = from_timer(np, t, timer); in rio_timer() local
660 if (np->cur_rx - np->old_rx >= RX_RING_SIZE) { in rio_timer()
663 for (; np->cur_rx - np->old_rx > 0; np->old_rx++) { in rio_timer()
740 if (entry % np->tx_coalesce == 0 || np->speed == 10) in start_xmit()
754 np->cur_tx = (np->cur_tx + 1) % TX_RING_SIZE; in start_xmit()
[all …]
/linux/drivers/clk/at91/
A Ddt-compat.c33 const char *name = np->name; in of_sama5d2_clk_audio_pll_frac_setup()
56 const char *name = np->name; in of_sama5d2_clk_audio_pll_pad_setup()
79 const char *name = np->name; in of_sama5d2_clk_audio_pll_pmc_setup()
133 num = of_get_child_count(np); in of_sama5d2_clk_generated_setup()
180 const char *name = np->name; in of_sama5d4_clk_h32mx_setup()
242 const char *name = np->name; in of_at91rm9200_clk_main_osc_setup()
269 const char *name = np->name; in of_at91sam9x5_clk_main_rc_osc_setup()
293 const char *name = np->name; in of_at91rm9200_clk_main_setup()
317 const char *name = np->name; in of_at91sam9x5_clk_main_setup()
373 const char *name = np->name; in of_at91_clk_master_setup()
[all …]
/linux/drivers/net/ethernet/sun/
A Dniu.c282 niu_ldg_rearm(np, &np->ldg[i], on); in niu_enable_interrupts()
1261 err = mdio_read(np, np->phy_addr, in bcm8704_reset()
1273 err = mdio_read(np, np->phy_addr, in bcm8704_reset()
2174 netif_warn(np, link, np->dev, in link_status_10g_hotplug()
3765 struct niu *np = lp->np; in niu_poll() local
4195 struct niu *np = lp->np; in niu_interrupt() local
4484 rp->np = np; in niu_alloc_channels()
4524 rp->np = np; in niu_alloc_channels()
4722 nw64(DEF_RDC(np->port), np->parent->rdc_default[np->port]); in niu_init_rdc_groups()
9088 np->ldg[0].irq = np->dev->irq; in niu_ldg_init()
[all …]
/linux/drivers/char/hw_random/
A Dn2-drv.c435 np->buffer = np->test_data >> 32; in n2rng_data_read()
587 err = n2rng_entropy_diag_read(np, unit, np->test_control, in n2rng_control_selftest()
700 struct n2rng *np; in n2rng_probe() local
707 np = devm_kzalloc(&op->dev, sizeof(*np), GFP_KERNEL); in n2rng_probe()
708 if (!np) in n2rng_probe()
710 np->op = op; in n2rng_probe()
751 np->hvapi_major, np->hvapi_minor); in n2rng_probe()
752 np->units = devm_kcalloc(&op->dev, np->num_units, sizeof(*np->units), in n2rng_probe()
755 if (!np->units) in n2rng_probe()
765 np->num_units); in n2rng_probe()
[all …]
/linux/drivers/net/ethernet/adaptec/
A Dstarfire.c814 np->mii_if.phy_id = np->phys[0]; in starfire_init_one()
816 memset(&np->mii_if, 0, sizeof(np->mii_if)); in starfire_init_one()
899 np->tx_done_q = np->queue_mem; in netdev_open()
900 np->tx_done_q_dma = np->queue_mem_dma; in netdev_open()
1132 np->cur_rx = np->cur_tx = np->reap_tx = 0; in init_ring()
1133 np->dirty_rx = np->dirty_tx = np->rx_done = np->tx_done = 0; in init_ring()
1385 np->tx_done_q[np->tx_done].status = 0; in intr_handler()
1590 for (; np->cur_rx - np->dirty_rx > 0; np->dirty_rx++) { in refill_rx_ring()
1939 dev->name, np->cur_tx, np->dirty_tx, in netdev_close()
1940 np->cur_rx, np->dirty_rx); in netdev_close()
[all …]
/linux/drivers/net/ethernet/natsemi/
A Dnatsemi.c949 pci_name(np->pci_dev), np->srr); in natsemi_probe1()
1368 pci_name(np->pci_dev), np->mii, i); in find_mii()
1932 for (; np->cur_rx - np->dirty_rx > 0; np->dirty_rx++) { in refill_rx()
1976 np->dirty_tx = np->cur_tx = 0; in init_ring()
1991 np->rx_head_desc = &np->rx_ring[0]; in init_ring()
2055 np->rx_ring, np->ring_dma); in free_ring()
2066 np->rx_head_desc = &np->rx_ring[0]; in reinit_rx()
2081 np->dirty_tx = np->cur_tx = 0; in reinit_ring()
2145 for (; np->cur_tx - np->dirty_tx > 0; np->dirty_tx++) { in netdev_tx_done()
3172 dev->name, np->cur_tx, np->dirty_tx, in netdev_close()
[all …]
/linux/drivers/memory/
A Dof_memory.c63 static int of_do_get_timings(struct device_node *np, in of_do_get_timings() argument
71 ret |= of_property_read_u32(np, "tRCD", &tim->tRCD); in of_do_get_timings()
72 ret |= of_property_read_u32(np, "tWR", &tim->tWR); in of_do_get_timings()
74 ret |= of_property_read_u32(np, "tRRD", &tim->tRRD); in of_do_get_timings()
75 ret |= of_property_read_u32(np, "tWTR", &tim->tWTR); in of_do_get_timings()
76 ret |= of_property_read_u32(np, "tXP", &tim->tXP); in of_do_get_timings()
77 ret |= of_property_read_u32(np, "tRTP", &tim->tRTP); in of_do_get_timings()
80 ret |= of_property_read_u32(np, "tFAW", &tim->tFAW); in of_do_get_timings()
223 ret |= of_property_read_u32(np, "tRC", &tim->tRC); in of_lpddr3_do_get_timings()
226 ret |= of_property_read_u32(np, "tWR", &tim->tWR); in of_lpddr3_do_get_timings()
[all …]
/linux/drivers/scsi/
A Dncr53c8xx.c3800 np->rv_dmode = np->sv_dmode; in ncr_prepare_setting()
3801 np->rv_dcntl = np->sv_dcntl; in ncr_prepare_setting()
3959 ncr_name(np), np->sv_scntl3, np->sv_dmode, np->sv_dcntl, in ncr_prepare_setting()
3960 np->sv_ctest3, np->sv_ctest4, np->sv_ctest5); in ncr_prepare_setting()
3964 ncr_name(np), np->rv_scntl3, np->rv_dmode, np->rv_dcntl, in ncr_prepare_setting()
3965 np->rv_ctest3, np->rv_ctest4, np->rv_ctest5); in ncr_prepare_setting()
3970 ncr_name(np), np->paddr2); in ncr_prepare_setting()
8118 np->p_ncb = vtobus(np);
8199 np->scripth = np->scripth0;
8201 np->p_script = (np->paddr2) ? np->paddr2 : vtobus(np->script0);
[all …]
/linux/drivers/of/
A Dunittest.c171 if (!np) { in of_unittest_dynamic()
356 if (nh->np->phandle == np->phandle) { in of_unittest_check_phandles()
358 np->phandle, nh->np, np); in of_unittest_check_phandles()
368 nh->np = np; in of_unittest_check_phandles()
1264 if (!np) in of_unittest_platform_populate()
1392 np->sibling = np->parent->child; in attach_node_and_children()
1393 np->parent->child = np; in attach_node_and_children()
3074 for (np = overlay_base_root->child; np; np = np->sibling) { in of_unittest_overlay_high_level()
3087 for (np = overlay_base_root->child; np; np = np->sibling) { in of_unittest_overlay_high_level()
3118 for (np = overlay_base_root->child; np; np = np->sibling) in of_unittest_overlay_high_level()
[all …]
A Dbase.c64 if (!np) in of_node_name_eq()
94 for (; np; np = np->parent) in of_bus_n_addr_cells()
105 np = np->parent; in of_n_addr_cells()
115 for (; np; np = np->parent) in of_bus_n_size_cells()
126 np = np->parent; in of_n_size_cells()
163 if (np && handle == np->phandle) in __of_phandle_cache_inv_entry()
236 while (np->parent && !np->sibling) in __of_find_all_nodes()
237 np = np->parent; in __of_find_all_nodes()
1966 ap->np = np; in of_alias_add()
2065 if (np == app->np) { in of_alias_get_id()
[all …]
A Dkobj.c125 np->kobj.kset = of_kset; in __of_attach_node_sysfs()
126 if (!np->parent) { in __of_attach_node_sysfs()
131 name = safe_name(&np->parent->kobj, kbasename(np->full_name)); in __of_attach_node_sysfs()
132 parent = &np->parent->kobj; in __of_attach_node_sysfs()
142 for_each_property_of_node(np, pp) in __of_attach_node_sysfs()
143 __of_add_property_sysfs(np, pp); in __of_attach_node_sysfs()
145 of_node_get(np); in __of_attach_node_sysfs()
158 if (of_node_is_attached(np)) { in __of_detach_node_sysfs()
159 for_each_property_of_node(np, pp) in __of_detach_node_sysfs()
161 kobject_del(&np->kobj); in __of_detach_node_sysfs()
[all …]
/linux/net/core/
A Dnetpoll.c397 if (np->ipv6) in netpoll_send_udp()
404 skb = find_skb(np, total_len + np->dev->needed_tailroom, in netpoll_send_udp()
489 np_info(np, "local port %d\n", np->local_port); in netpoll_print_options()
490 if (np->ipv6) in netpoll_print_options()
494 np_info(np, "interface '%s'\n", np->dev_name); in netpoll_print_options()
495 np_info(np, "remote port %d\n", np->remote_port); in netpoll_print_options()
496 if (np->ipv6) in netpoll_print_options()
559 strlcpy(np->dev_name, cur, sizeof(np->dev_name)); in netpoll_parse_options()
737 np_info(np, "local IP %pI4\n", &np->local_ip.ip); in netpoll_setup()
763 np_info(np, "local IPv6 %pI6c\n", &np->local_ip.in6); in netpoll_setup()
[all …]
/linux/drivers/misc/cxl/
A Dof.c76 naddr = of_n_addr_cells(np); in read_phys_addr()
77 nsize = of_n_size_cells(np); in read_phys_addr()
160 read_prop_string(np, "name"); in cxl_of_read_afu_properties()
163 rc = read_phys_addr(np, "reg", afu); in cxl_of_read_afu_properties()
178 read_prop_string(np, "device_type"); in cxl_of_read_afu_properties()
354 naddr = of_n_addr_cells(np); in cxl_of_read_adapter_properties()
369 read_prop_string(np, "name"); in cxl_of_read_adapter_properties()
370 read_prop_string(np, "model"); in cxl_of_read_adapter_properties()
455 struct device_node *np = NULL; in cxl_of_probe() local
463 np = pdev->dev.of_node; in cxl_of_probe()
[all …]
/linux/drivers/video/
A Dof_display_timing.c31 prop = of_find_property(np, name, &length); in parse_timing_property()
98 if (of_property_read_bool(np, "interlaced")) in of_parse_display_timing()
100 if (of_property_read_bool(np, "doublescan")) in of_parse_display_timing()
102 if (of_property_read_bool(np, "doubleclk")) in of_parse_display_timing()
125 if (!np) in of_get_display_timing()
128 timing_np = of_get_child_by_name(np, name); in of_get_display_timing()
151 if (!np) in of_get_display_timings()
183 pr_err("%pOF: no timings specified\n", np); in of_get_display_timings()
205 np); in of_get_display_timings()
216 np, disp->num_timings + 1); in of_get_display_timings()
[all …]
/linux/include/linux/
A Dof.h75 struct device_node *np; member
261 return np ? np->full_name : "<no-node>"; in of_node_full_name()
384 const struct device_node *np,
566 int of_map_id(struct device_node *np, u32 id,
908 const struct device_node *np, in of_phandle_iterator_init() argument
1321 for_each_child_of_node(np, child) in of_get_child_count()
1332 for_each_available_child_of_node(np, child) in of_get_available_child_count()
1384 struct device_node *np; member
1421 unsigned long action, struct device_node *np,
1425 struct device_node *np) in of_changeset_attach_node() argument
[all …]
/linux/arch/powerpc/kernel/
A Dlegacy_serial.c33 struct device_node *np; member
143 legacy_serial_infos[index].np = of_node_get(np); in add_legacy_port()
154 index, np); in add_legacy_port()
296 if (np != pci_dev) { in add_legacy_pci_port()
420 index = add_legacy_soc_port(np, np); in find_legacy_serial_ports()
443 for (np = NULL; (np = of_find_all_nodes(np));) { in find_legacy_serial_ports()
459 pci = np; in find_legacy_serial_ports()
498 np = of_get_parent(np); in fixup_port_irq()
499 if (np == NULL) in fixup_port_irq()
502 of_node_put(np); in fixup_port_irq()
[all …]
/linux/drivers/opp/
A Dof.c48 if (!np) in _managed_opp()
52 if (opp_table->np == np) { in _managed_opp()
166 if (!np) { in _opp_table_alloc_required_tables()
219 if (!np) in _of_init_opp_table()
303 np = of_parse_required_opp(opp->np, i); in _of_opp_alloc_required_opps()
425 if (!np) in _bandwidth_supported()
440 if (!np) { in _bandwidth_supported()
471 if (!np) in dev_pm_opp_of_find_icc_paths()
862 new_opp->np = np; in _opp_add_static_v2()
1290 if (!np) { in dev_pm_opp_of_get_sharing_cpus()
[all …]

Completed in 188 milliseconds

12345678910>>...90