Lines Matching defs:np
1179 #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()
3166 ncr_Symbios_setup_target(ncb_p np, int target, Symbios_nvram *nvram) in ncr_Symbios_setup_target()
3187 ncr_Tekram_setup_target(ncb_p np, int target, Tekram_nvram *nvram) in ncr_Tekram_setup_target()
3213 static int __init ncr_prepare_setting(ncb_p np, ncr_nvram *nvram)
3540 ncb_p np = 0; local
3937 static inline void ncr_queue_done_cmd(ncb_p np, Scsi_Cmnd *cmd)
3970 static int ncr_ic_nego(ncb_p np, ccb_p cp, Scsi_Cmnd *cmd, u_char *msgptr)
4145 static int ncr_prepare_nego(ncb_p np, ccb_p cp, u_char *msgptr)
4229 static int ncr_queue_command (ncb_p np, Scsi_Cmnd *cmd)
4619 static void ncr_start_next_ccb(ncb_p np, lcb_p lp, int maxn)
4640 static void ncr_put_start_queue(ncb_p np, ccb_p cp)
4683 static void ncr_start_reset(ncb_p np)
4690 static int ncr_reset_scsi_bus(ncb_p np, int enab_int, int settle_delay)
4761 static int ncr_reset_bus (ncb_p np, Scsi_Cmnd *cmd, int sync_reset)
4829 static int ncr_abort_command (ncb_p np, Scsi_Cmnd *cmd)
4913 static int ncr_detach(ncb_p np)
5055 void ncr_complete (ncb_p np, ccb_p cp)
5347 static void ncr_ccb_skipped(ncb_p np, ccb_p cp)
5372 void ncr_wakeup_done (ncb_p np)
5418 void ncr_wakeup (ncb_p np, u_long code)
5440 void ncr_init (ncb_p np, int reset, char * msg, u_long code)
5616 static void ncr_negotiate (struct ncb* np, struct tcb* tp)
5671 static void ncr_getsync(ncb_p np, u_char sfac, u_char *fakp, u_char *scntl3p)
5740 static void ncr_set_sync_wide_status (ncb_p np, u_char target)
5775 static void ncr_setsync (ncb_p np, ccb_p cp, u_char scntl3, u_char sxfer)
5859 static void ncr_setwide (ncb_p np, ccb_p cp, u_char wide, u_char ack)
5913 static void ncr_setup_tags (ncb_p np, u_char tn, u_char ln)
6009 static void ncr_usercmd (ncb_p np)
6094 static void ncr_timeout (ncb_p np)
6182 static void ncr_log_hard_error(ncb_p np, u_short sist, u_char dstat)
6262 void ncr_exception (ncb_p np)
6445 void ncr_int_sto (ncb_p np)
6490 static int ncr_int_sbmc (ncb_p np)
6522 static int ncr_int_par (ncb_p np)
6609 static void ncr_int_ma (ncb_p np)
6910 static void ncr_sir_to_redo(ncb_p np, int num, ccb_p cp)
7090 void ncr_int_sir (ncb_p np)
7556 static ccb_p ncr_get_ccb (ncb_p np, u_char tn, u_char ln)
7674 static void ncr_free_ccb (ncb_p np, ccb_p cp)
7739 static void ncr_init_ccb(ncb_p np, ccb_p cp)
7778 static void ncr_alloc_ccb(ncb_p np, u_char tn, u_char ln)
7828 static void ncr_init_tcb (ncb_p np, u_char tn)
7900 static lcb_p ncr_alloc_lcb (ncb_p np, u_char tn, u_char ln)
7990 static lcb_p ncr_setup_lcb (ncb_p np, u_char tn, u_char ln, u_char *inq_data)
8110 static int ncr_scatter(ncb_p np, ccb_p cp, Scsi_Cmnd *cmd)
8165 static int __init ncr_regtest (struct ncb* np)
8189 static int __init ncr_snooptest (struct ncb* np)
8356 static void ncr_selectclock(ncb_p np, u_char scntl3)
8385 static unsigned __init ncrgetfreq (ncb_p np, int gen)
8436 static void __init ncr_getclock (ncb_p np, int mult)
8508 ncb_p np; local
8561 ncb_p np = ((struct host_data *) cmd->host->hostdata)->ncb; local
8610 ncb_p np = (ncb_p) dev_id; local
8640 ncb_p np = (ncb_p) npref; local
8667 ncb_p np = ((struct host_data *) cmd->host->hostdata)->ncb; local
8729 ncb_p np = ((struct host_data *) cmd->host->hostdata)->ncb; local
8793 static void insert_into_waiting_list(ncb_p np, Scsi_Cmnd *cmd)
8809 static Scsi_Cmnd *retrieve_from_waiting_list(int to_remove, ncb_p np, Scsi_Cmnd *cmd)
8829 static void process_waiting_list(ncb_p np, int sts)
8928 static int ncr_user_command(ncb_p np, char *buffer, int length)
9074 static int ncr_host_info(ncb_p np, char *ptr, off_t offset, int len)