Lines Matching refs:ncb_p

531 typedef struct ncb * ncb_p;  typedef
1319 static void ncr_alloc_ccb (ncb_p np, u_char tn, u_char ln);
1320 static void ncr_complete (ncb_p np, ccb_p cp);
1321 static void ncr_exception (ncb_p np);
1322 static void ncr_free_ccb (ncb_p np, ccb_p cp);
1323 static void ncr_init_ccb (ncb_p np, ccb_p cp);
1324 static void ncr_init_tcb (ncb_p np, u_char tn);
1325 static lcb_p ncr_alloc_lcb (ncb_p np, u_char tn, u_char ln);
1326 static lcb_p ncr_setup_lcb (ncb_p np, u_char tn, u_char ln,
1328 static void ncr_getclock (ncb_p np, int mult);
1329 static void ncr_selectclock (ncb_p np, u_char scntl3);
1330 static ccb_p ncr_get_ccb (ncb_p np, u_char tn, u_char ln);
1331 static void ncr_init (ncb_p np, int reset, char * msg, u_long code);
1332 static int ncr_int_sbmc (ncb_p np);
1333 static int ncr_int_par (ncb_p np);
1334 static void ncr_int_ma (ncb_p np);
1335 static void ncr_int_sir (ncb_p np);
1336 static void ncr_int_sto (ncb_p np);
1339 static int ncr_prepare_nego(ncb_p np, ccb_p cp, u_char *msgptr);
1341 static int ncr_ic_nego(ncb_p np, ccb_p cp, Scsi_Cmnd *cmd, u_char *msgptr);
1345 (ncb_p np, ncrcmd *src, ncrcmd *dst, int len);
1347 static int ncr_scatter (ncb_p np, ccb_p cp, Scsi_Cmnd *cmd);
1348 static void ncr_getsync (ncb_p np, u_char sfac, u_char *fakp, u_char *scntl3p);
1349 static void ncr_setsync (ncb_p np, ccb_p cp, u_char scntl3, u_char sxfer);
1350 static void ncr_setup_tags (ncb_p np, u_char tn, u_char ln);
1351 static void ncr_setwide (ncb_p np, ccb_p cp, u_char wide, u_char ack);
1354 static int ncr_snooptest (ncb_p np);
1355 static void ncr_timeout (ncb_p np);
1356 static void ncr_wakeup (ncb_p np, u_long code);
1357 static void ncr_wakeup_done (ncb_p np);
1358 static void ncr_start_next_ccb (ncb_p np, lcb_p lp, int maxn);
1359 static void ncr_put_start_queue(ncb_p np, ccb_p cp);
1360 static void ncr_start_reset (ncb_p np);
1361 static int ncr_reset_scsi_bus (ncb_p np, int enab_int, int settle_delay);
1364 static void ncr_usercmd (ncb_p np);
1369 static void insert_into_waiting_list(ncb_p np, Scsi_Cmnd *cmd);
1370 static Scsi_Cmnd *retrieve_from_waiting_list(int to_remove, ncb_p np, Scsi_Cmnd *cmd);
1371 static void process_waiting_list(ncb_p np, int sts);
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;
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)
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)
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;
8561 ncb_p np = ((struct host_data *) cmd->host->hostdata)->ncb;
8610 ncb_p np = (ncb_p) dev_id;
8640 ncb_p np = (ncb_p) npref;
8645 ncr_timeout((ncb_p) np);
8667 ncb_p np = ((struct host_data *) cmd->host->hostdata)->ncb;
8729 ncb_p np = ((struct host_data *) cmd->host->hostdata)->ncb;
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)
9123 ncb_p ncb = 0;