Home
last modified time | relevance | path

Searched defs:np (Results 1 – 25 of 86) sorted by relevance

1234

/linux-2.4.37.9/drivers/scsi/sym53c8xx_2/ !
Dsym_nvram.c73 void sym_nvram_setup_host (hcb_p np, struct sym_nvram *nvram) in sym_nvram_setup_host()
109 void sym_nvram_setup_target (hcb_p np, int target, struct sym_nvram *nvp) in sym_nvram_setup_target()
130 sym_Symbios_setup_target(hcb_p np, int target, Symbios_nvram *nvram) in sym_Symbios_setup_target()
152 sym_Tekram_setup_target(hcb_p np, int target, Tekram_nvram *nvram) in sym_Tekram_setup_target()
182 static void sym_display_Symbios_nvram(sdev_p np, Symbios_nvram *nvram) in sym_display_Symbios_nvram()
214 static void sym_display_Tekram_nvram(sdev_p np, Tekram_nvram *nvram) in sym_display_Tekram_nvram()
272 int sym_read_nvram (sdev_p np, struct sym_nvram *nvp) in sym_read_nvram()
319 static void S24C16_set_bit(sdev_p np, u_char write_bit, u_char *gpreg, in S24C16_set_bit()
345 static void S24C16_start(sdev_p np, u_char *gpreg) in S24C16_start()
356 static void S24C16_stop(sdev_p np, u_char *gpreg) in S24C16_stop()
[all …]
Dsym_hipd.c107 static void sym_print_target (hcb_p np, int target) in sym_print_target()
112 static void sym_print_lun(hcb_p np, int target, int lun) in sym_print_lun()
147 static void sym_print_nego_msg (hcb_p np, int target, char *label, u_char *msg) in sym_print_nego_msg()
205 static void sym_chip_reset (hcb_p np) in sym_chip_reset()
222 static void sym_soft_reset (hcb_p np) in sym_soft_reset()
255 static void sym_start_reset(hcb_p np) in sym_start_reset()
260 int sym_reset_scsi_bus(hcb_p np, int enab_int) in sym_reset_scsi_bus()
315 static void sym_selectclock(hcb_p np, u_char scntl3) in sym_selectclock()
370 static unsigned getfreq (hcb_p np, int gen) in getfreq()
442 static unsigned sym_getfreq (hcb_p np) in sym_getfreq()
[all …]
Dsym_misc.c83 void sym_timeout_ccb(hcb_p np, ccb_p cp, u_int ticks) in sym_timeout_ccb()
107 static void sym_walk_ccb_tmo_list(hcb_p np, SYM_QUEHEAD *tmoq) in sym_walk_ccb_tmo_list()
127 void sym_clock(hcb_p np) in sym_clock()
155 void sym_announce_transfer_rate(hcb_p np, int target) in sym_announce_transfer_rate()
226 void sym_update_trans_settings(hcb_p np, tcb_p tp) in sym_update_trans_settings()
269 __sym_sniff_inquiry(hcb_p np, u_char tn, u_char ln, in __sym_sniff_inquiry()
Dsym_glue.c141 #define SYM_INIT_LOCK_HCB(np) spin_lock_init(&np->s.smp_lock); argument
142 #define SYM_LOCK_HCB(np, flags) spin_lock_irqsave(&np->s.smp_lock, flags) argument
143 #define SYM_UNLOCK_HCB(np, flags) spin_unlock_irqrestore(&np->s.smp_lock, flags) argument
145 #define SYM_LOCK_SCSI(np, flags) \ argument
147 #define SYM_UNLOCK_SCSI(np, flags) \ argument
151 #define SYM_LOCK_SCSI_NOSAVE(np) spin_lock_irq(&io_request_lock) argument
152 #define SYM_UNLOCK_SCSI_NORESTORE(np) spin_unlock_irq(&io_request_lock) argument
454 #define unmap_scsi_data(np, cmd) \ argument
456 #define map_scsi_single_data(np, cmd) \ argument
458 #define map_scsi_sg_data(np, cmd) \ argument
[all …]
Dsym_fw.c145 sym_fw1_patch(hcb_p np) in sym_fw1_patch()
198 sym_fw2_patch(hcb_p np) in sym_fw2_patch()
319 sym_fw_setup_bus_addresses(hcb_p np, struct sym_fw *fw) in sym_fw_setup_bus_addresses()
356 sym_fw1_setup(hcb_p np, struct sym_fw *fw) in sym_fw1_setup()
380 sym_fw2_setup(hcb_p np, struct sym_fw *fw) in sym_fw2_setup()
426 void sym_fw_bind_script (hcb_p np, u32 *start, int len) in sym_fw_bind_script()
Dsym_fw.h192 #define SCRIPTA_BA(np, label) (np->fwa_bas.label) argument
193 #define SCRIPTB_BA(np, label) (np->fwb_bas.label) argument
194 #define SCRIPTZ_BA(np, label) (np->fwz_bas.label) argument
/linux-2.4.37.9/drivers/net/ !
Ddl2k.c141 struct netdev_private *np; in rio_probe1() local
341 struct netdev_private *np; in find_miiphy() local
370 struct netdev_private *np = dev->priv; in parse_eeprom() local
441 struct netdev_private *np = dev->priv; in rio_open() local
528 struct netdev_private *np = dev->priv; in rio_timer() local
573 struct netdev_private *np = dev->priv; in rio_tx_timeout() local
600 struct netdev_private *np = dev->priv; in alloc_list() local
658 struct netdev_private *np = dev->priv; in tx_poll() local
683 struct netdev_private *np = dev->priv; in start_xmit() local
765 struct netdev_private *np; in rio_interrupt() local
[all …]
Dvia-rhine.c557 struct netdev_private *np = dev->priv; in get_intr_status() local
632 struct netdev_private *np; in via_rhine_init_one() local
893 struct netdev_private *np = dev->priv; in alloc_ring() local
927 struct netdev_private *np = dev->priv; in free_ring() local
945 struct netdev_private *np = dev->priv; in alloc_rbufs() local
986 struct netdev_private *np = dev->priv; in free_rbufs() local
1005 struct netdev_private *np = dev->priv; in alloc_tbufs() local
1025 struct netdev_private *np = dev->priv; in free_tbufs() local
1047 struct netdev_private *np = dev->priv; in init_registers() local
1113 struct netdev_private *np = dev->priv; in mdio_write() local
[all …]
Dwinbond-840.c404 struct netdev_private *np; in w840_probe1() local
655 struct netdev_private *np = dev->priv; in mdio_write() local
688 struct netdev_private *np = dev->priv; in netdev_open() local
731 struct netdev_private *np = dev->priv; in update_link() local
794 struct netdev_private *np = dev->priv; in update_csr6() local
835 struct netdev_private *np = dev->priv; in netdev_timer() local
852 struct netdev_private *np = dev->priv; in init_rxtx_rings() local
898 static void free_rxtx_rings(struct netdev_private* np) in free_rxtx_rings()
927 struct netdev_private *np = dev->priv; in init_registers() local
985 struct netdev_private *np = dev->priv; in tx_timeout() local
[all …]
Dnatsemi.c726 struct netdev_private *np; in natsemi_probe1() local
953 struct netdev_private *np = dev->priv; in mdio_write() local
977 struct netdev_private *np = dev->priv; in natsemi_reset() local
1042 struct netdev_private *np = dev->priv; in natsemi_reload_eeprom() local
1063 struct netdev_private *np = dev->priv; in natsemi_stop_rxtx() local
1083 struct netdev_private *np = dev->priv; in netdev_open() local
1132 struct netdev_private *np = dev->priv; in do_cable_magic() local
1157 struct netdev_private *np = dev->priv; in do_cable_magic() local
1173 struct netdev_private *np = dev->priv; in undo_cable_magic() local
1188 struct netdev_private *np = dev->priv; in check_link() local
[all …]
Dforcedeth.c687 struct fe_priv *np = netdev_priv(dev); in phy_reset() local
713 struct fe_priv *np = get_nvpriv(dev); in phy_init() local
790 struct fe_priv *np = netdev_priv(dev); in nv_start_rx() local
846 struct fe_priv *np = netdev_priv(dev); in nv_txrx_reset() local
865 struct fe_priv *np = netdev_priv(dev); in nv_get_stats() local
881 struct fe_priv *np = netdev_priv(dev); in nv_alloc_rx() local
925 struct fe_priv *np = netdev_priv(dev); in nv_do_rx_refill() local
939 struct fe_priv *np = netdev_priv(dev); in nv_init_rx() local
953 struct fe_priv *np = netdev_priv(dev); in nv_init_tx() local
976 struct fe_priv *np = netdev_priv(dev); in nv_release_txskb() local
[all …]
Dfealnx.c498 struct netdev_private *np; in fealnx_init_one() local
721 struct netdev_private *np = dev->priv; in fealnx_remove_one() local
859 struct netdev_private *np = dev->priv; in netdev_open() local
978 struct netdev_private *np = dev->priv; in getlinkstatus() local
1005 struct netdev_private *np = dev->priv; in getlinktype() local
1108 struct netdev_private *np = dev->priv; in allocate_rx_buffers() local
1134 struct netdev_private *np = dev->priv; in netdev_timer() local
1196 struct netdev_private *np = dev->priv; in enable_rxtx() local
1222 struct netdev_private *np = dev->priv; in reset_timer() local
1245 struct netdev_private *np = dev->priv; in tx_timeout() local
[all …]
Disa-skeleton.c166 struct net_local *np; in netcard_probe1() local
303 struct net_local *np = (struct net_local *)dev->priv; in net_tx_timeout() local
338 struct net_local *np = (struct net_local *)dev->priv; in net_open() local
376 struct net_local *np = (struct net_local *)dev->priv; in net_send_packet() local
442 struct net_local *np = (struct net_local *)dev->priv; in net_tx() local
479 struct net_local *np; in net_interrupt() local
Dsundance.c530 struct netdev_private *np; in sundance_probe1() local
798 struct netdev_private *np = dev->priv; in mdio_read() local
828 struct netdev_private *np = dev->priv; in mdio_write() local
857 struct netdev_private *np = dev->priv; in netdev_open() local
927 struct netdev_private *np = dev->priv; in check_duplex() local
956 struct netdev_private *np = dev->priv; in netdev_timer() local
973 struct netdev_private *np = dev->priv; in tx_timeout() local
1026 struct netdev_private *np = dev->priv; in init_ring() local
1069 struct netdev_private *np = dev->priv; in tx_poll() local
1096 struct netdev_private *np = dev->priv; in start_tx() local
[all …]
Dstarfire.c756 struct netdev_private *np = dev->priv; in netdev_vlan_rx_register() local
768 struct netdev_private *np = dev->priv; in netdev_vlan_rx_add_vid() local
779 struct netdev_private *np = dev->priv; in netdev_vlan_rx_kill_vid() local
795 struct netdev_private *np; in starfire_init_one() local
1052 struct netdev_private *np = dev->priv; in netdev_open() local
1217 struct netdev_private *np = dev->priv; in check_duplex() local
1252 struct netdev_private *np = dev->priv; in tx_timeout() local
1282 struct netdev_private *np = dev->priv; in init_ring() local
1328 struct netdev_private *np = dev->priv; in start_tx() local
1439 struct netdev_private *np; in intr_handler() local
[all …]
/linux-2.4.37.9/arch/ppc/kernel/ !
Dprom.c114 struct device_node *np; in finish_device_tree() local
167 finish_node(struct device_node *np, unsigned long mem_start, in finish_node()
268 prom_n_intr_cells(struct device_node *np) in prom_n_intr_cells()
295 struct device_node *np, unsigned int *ints, int nintrc) in map_interrupt()
390 finish_node_interrupts(struct device_node *np, unsigned long mem_start) in finish_node_interrupts()
453 struct device_node *np; in relocate_nodes() local
476 prom_n_addr_cells(struct device_node* np) in prom_n_addr_cells()
491 prom_n_size_cells(struct device_node* np) in prom_n_size_cells()
506 map_addr(struct device_node *np, unsigned long space, unsigned long addr) in map_addr()
538 interpret_pci_props(struct device_node *np, unsigned long mem_start, in interpret_pci_props()
[all …]
/linux-2.4.37.9/drivers/scsi/ !
Dncr53c8xx.c1179 #define NCB_SCRIPT_PHYS(np,lbl) (np->p_script + offsetof (struct script, lbl)) argument
1180 #define NCB_SCRIPTH_PHYS(np,lbl) (np->p_scripth + offsetof (struct scripth,lbl)) argument
1373 #define remove_from_waiting_list(np, cmd) \ argument
1375 #define requeue_waiting_list(np) process_waiting_list((np), DID_OK) argument
1376 #define reset_waiting_list(np) process_waiting_list((np), DID_RESET) argument
1378 static inline char *ncr_name (ncb_p np) in ncr_name()
2915 ncr_script_copy_and_bind (ncb_p np, ncrcmd *src, ncrcmd *dst, int len) in ncr_script_copy_and_bind()
3086 static void PRINT_TARGET(ncb_p np, int target) in PRINT_TARGET()
3091 static void PRINT_LUN(ncb_p np, int target, int lun) in PRINT_LUN()
3143 static inline void ncr_init_burst(ncb_p np, u_char bc) in ncr_init_burst()
[all …]
Dsym53c8xx.c641 #define NCR_INIT_LOCK_NCB(np) spin_lock_init(&np->smp_lock); argument
642 #define NCR_LOCK_NCB(np, flags) spin_lock_irqsave(&np->smp_lock, flags) argument
643 #define NCR_UNLOCK_NCB(np, flags) spin_unlock_irqrestore(&np->smp_lock, flags) argument
645 #define NCR_LOCK_SCSI_DONE(np, flags) \ argument
647 #define NCR_UNLOCK_SCSI_DONE(np, flags) \ argument
655 #define NCR_INIT_LOCK_NCB(np) do { } while (0) argument
656 #define NCR_LOCK_NCB(np, flags) do { save_flags(flags); cli(); } while (0) argument
657 #define NCR_UNLOCK_NCB(np, flags) do { restore_flags(flags); } while (0) argument
659 #define NCR_LOCK_SCSI_DONE(np, flags) do {;} while (0) argument
660 #define NCR_UNLOCK_SCSI_DONE(np, flags) do {;} while (0) argument
[all …]
Dsym53c8xx_comm.h437 #define NCR_INIT_LOCK_NCB(np) spin_lock_init(&np->smp_lock) argument
438 #define NCR_LOCK_NCB(np, flags) spin_lock_irqsave(&np->smp_lock, flags) argument
439 #define NCR_UNLOCK_NCB(np, flags) spin_unlock_irqrestore(&np->smp_lock, flags) argument
441 #define NCR_LOCK_SCSI_DONE(np, flags) \ argument
443 #define NCR_UNLOCK_SCSI_DONE(np, flags) \ argument
451 #define NCR_INIT_LOCK_NCB(np) do { } while (0) argument
452 #define NCR_LOCK_NCB(np, flags) do { save_flags(flags); cli(); } while (0) argument
453 #define NCR_UNLOCK_NCB(np, flags) do { restore_flags(flags); } while (0) argument
455 #define NCR_LOCK_SCSI_DONE(np, flags) do {;} while (0) argument
456 #define NCR_UNLOCK_SCSI_DONE(np, flags) do {;} while (0) argument
[all …]
/linux-2.4.37.9/drivers/net/skfp/ !
Dpcmplc.c249 int np ; local
557 int np = phy->np ; /* PHY index */ local
618 void pcm(smc,np,event) in pcm() argument
706 int np = phy->np ; /* PHY index */ local
1216 int np ; local
1268 static void sm_ph_lem_start(smc,np,threshold) in sm_ph_lem_start() argument
1289 static void sm_ph_lem_stop(smc,np) in sm_ph_lem_stop() argument
1464 int np = phy->np ; local
1661 void pcm_status_state(smc,np,type,state,remote,mac) in pcm_status_state() argument
1706 void plc_irq(smc,np,cmd) in plc_irq() argument
[all …]
/linux-2.4.37.9/drivers/isdn/avmb1/ !
Dkcapi.c223 struct capi_ncci *np; in proc_ncci_read_proc() local
484 static inline void notify_enqueue(struct capi_notifier *np) in notify_enqueue()
502 struct capi_notifier *np = 0; in notify_dequeue() local
519 struct capi_notifier *np; in notify_push() local
615 static void inline notify_doit(struct capi_notifier *np) in notify_doit()
635 struct capi_notifier *np; in notify_handler() local
647 static inline void mq_init(struct capi_ncci * np) in mq_init()
662 static inline int mq_enqueue(struct capi_ncci * np, __u16 msgid) in mq_enqueue()
683 static inline int mq_dequeue(struct capi_ncci * np, __u16 msgid) in mq_dequeue()
713 struct capi_ncci *np = *pp; in controllercb_appl_released() local
[all …]
Dcapifs.c116 struct capifs_ncci *np = &sbi->nccis[n]; in capifs_root_readdir() local
152 struct capifs_ncci *np; in capifs_root_lookup() local
409 struct capifs_ncci *np; in capifs_new_ncci() local
443 struct capifs_ncci *np; in capifs_free_ncci() local
/linux-2.4.37.9/net/ipv6/ !
Danycast.c105 struct ipv6_pinfo *np = &sk->net_pinfo.af_inet6; in ipv6_sock_ac_join() local
205 struct ipv6_pinfo *np = &sk->net_pinfo.af_inet6; in ipv6_sock_ac_drop() local
239 struct ipv6_pinfo *np = &sk->net_pinfo.af_inet6; in ipv6_sock_ac_close() local
271 struct ipv6_pinfo *np = &sk->net_pinfo.af_inet6; in inet6_ac_check() local
/linux-2.4.37.9/arch/cris/drivers/lpslave/ !
De100lpslavenet.c546 struct net_local *np = (struct net_local *)dev->priv; in e100_tx_timeout() local
584 struct net_local *np = (struct net_local *)dev->priv; in e100_send_packet() local
670 struct net_local *np = (struct net_local *)dev->priv; in e100tx_interrupt() local
728 struct net_local *np = (struct net_local *)dev->priv; in e100_rx() local
810 struct net_local *np = (struct net_local *)dev->priv; in e100_close() local
/linux-2.4.37.9/arch/ppc64/kernel/ !
Dprom.c1863 struct device_node *np; in inspect_node() local
1970 finish_node(struct device_node *np, unsigned long mem_start, in finish_node()
2023 finish_node_interrupts(struct device_node *np, unsigned long mem_start) in finish_node_interrupts()
2152 prom_n_addr_cells(struct device_node* np) in prom_n_addr_cells()
2167 prom_n_size_cells(struct device_node* np) in prom_n_size_cells()
2182 interpret_pci_props(struct device_node *np, unsigned long mem_start, in interpret_pci_props()
2208 interpret_isa_props(struct device_node *np, unsigned long mem_start, in interpret_isa_props()
2235 interpret_root_props(struct device_node *np, unsigned long mem_start, in interpret_root_props()
2269 struct device_node *np; in prom_get_irq_senses() local
2290 struct device_node *head, **prevp, *np; in find_devices() local
[all …]

1234