Lines Matching defs:np

513 #define _m_calloc_dma(np, s, n)		__m_calloc_dma(np->dev, s, n)  argument
514 #define _m_free_dma(np, p, s, n) __m_free_dma(np->dev, p, s, n) argument
517 #define _vtobus(np, p) __vtobus(np->dev, p) argument
552 #define unmap_scsi_data(np, cmd) __unmap_scsi_data(np->dev, cmd) argument
553 #define map_scsi_sg_data(np, cmd) __map_scsi_sg_data(np->dev, cmd) argument
1761 #define NCB_SCRIPT_PHYS(np,lbl) (np->p_script + offsetof (struct script, lbl)) argument
1762 #define NCB_SCRIPTH_PHYS(np,lbl) (np->p_scripth + offsetof (struct scripth,lbl)) argument
1959 #define remove_from_waiting_list(np, cmd) \ argument
1961 #define requeue_waiting_list(np) process_waiting_list((np), DID_OK) argument
1962 #define reset_waiting_list(np) process_waiting_list((np), DID_RESET) argument
1964 static inline char *ncr_name (struct ncb *np) in ncr_name()
3524 ncr_script_copy_and_bind (struct ncb *np, ncrcmd *src, ncrcmd *dst, int len) in ncr_script_copy_and_bind()
3728 static inline void ncr_init_burst(struct ncb *np, u_char bc) in ncr_init_burst()
3744 static void __init ncr_prepare_setting(struct ncb *np) in ncr_prepare_setting()
4028 static inline void ncr_queue_done_cmd(struct ncb *np, struct scsi_cmnd *cmd) in ncr_queue_done_cmd()
4060 static int ncr_prepare_nego(struct ncb *np, struct ccb *cp, u_char *msgptr) in ncr_prepare_nego()
4119 static int ncr_queue_command (struct ncb *np, struct scsi_cmnd *cmd) in ncr_queue_command()
4428 static void ncr_start_next_ccb(struct ncb *np, struct lcb *lp, int maxn) in ncr_start_next_ccb()
4449 static void ncr_put_start_queue(struct ncb *np, struct ccb *cp) in ncr_put_start_queue()
4480 static int ncr_reset_scsi_bus(struct ncb *np, int enab_int, int settle_delay) in ncr_reset_scsi_bus()
4546 static void ncr_start_reset(struct ncb *np) in ncr_start_reset()
4562 static int ncr_reset_bus (struct ncb *np, struct scsi_cmnd *cmd, int sync_reset) in ncr_reset_bus()
4704 static void ncr_detach(struct ncb *np) in ncr_detach()
4816 void ncr_complete (struct ncb *np, struct ccb *cp) in ncr_complete()
5092 static void ncr_ccb_skipped(struct ncb *np, struct ccb *cp) in ncr_ccb_skipped()
5116 void ncr_wakeup_done (struct ncb *np) in ncr_wakeup_done()
5162 void ncr_wakeup (struct ncb *np, u_long code) in ncr_wakeup()
5183 static void ncr_chip_reset(struct ncb *np, int delay) in ncr_chip_reset()
5205 void ncr_init (struct ncb *np, int reset, char * msg, u_long code) in ncr_init()
5368 static void ncr_negotiate (struct ncb* np, struct tcb* tp) in ncr_negotiate()
5426 static void ncr_getsync(struct ncb *np, u_char sfac, u_char *fakp, u_char *scntl3p) in ncr_getsync()
5495 static void ncr_set_sync_wide_status (struct ncb *np, u_char target) in ncr_set_sync_wide_status()
5530 static void ncr_setsync (struct ncb *np, struct ccb *cp, u_char scntl3, u_char sxfer) in ncr_setsync()
5587 static void ncr_setwide (struct ncb *np, struct ccb *cp, u_char wide, u_char ack) in ncr_setwide()
5632 static void ncr_setup_tags (struct ncb *np, struct scsi_device *sdev) in ncr_setup_tags()
5735 static void ncr_timeout (struct ncb *np) in ncr_timeout()
5823 static void ncr_log_hard_error(struct ncb *np, u16 sist, u_char dstat) in ncr_log_hard_error()
5903 void ncr_exception (struct ncb *np) in ncr_exception()
6086 void ncr_int_sto (struct ncb *np) in ncr_int_sto()
6131 static int ncr_int_sbmc (struct ncb *np) in ncr_int_sbmc()
6163 static int ncr_int_par (struct ncb *np) in ncr_int_par()
6243 static void ncr_int_ma (struct ncb *np) in ncr_int_ma()
6541 static void ncr_sir_to_redo(struct ncb *np, int num, struct ccb *cp) in ncr_sir_to_redo()
6692 void ncr_int_sir (struct ncb *np) in ncr_int_sir()
7143 static struct ccb *ncr_get_ccb(struct ncb *np, struct scsi_cmnd *cmd) in ncr_get_ccb()
7254 static void ncr_free_ccb (struct ncb *np, struct ccb *cp) in ncr_free_ccb()
7316 static void ncr_init_ccb(struct ncb *np, struct ccb *cp) in ncr_init_ccb()
7355 static void ncr_alloc_ccb(struct ncb *np, u_char tn, u_char ln) in ncr_alloc_ccb()
7404 static void ncr_init_tcb (struct ncb *np, u_char tn) in ncr_init_tcb()
7491 static struct lcb *ncr_alloc_lcb (struct ncb *np, u_char tn, u_char ln) in ncr_alloc_lcb()
7581 static struct lcb *ncr_setup_lcb (struct ncb *np, struct scsi_device *sdev) in ncr_setup_lcb()
7647 static int ncr_scatter(struct ncb *np, struct ccb *cp, struct scsi_cmnd *cmd) in ncr_scatter()
7690 static int __init ncr_regtest (struct ncb* np)
7713 static int __init ncr_snooptest (struct ncb* np)
7820 static void ncr_selectclock(struct ncb *np, u_char scntl3)
7849 static unsigned __init ncrgetfreq (struct ncb *np, int gen)
7900 static void __init ncr_getclock (struct ncb *np, int mult)
7966 struct ncb *np = ((struct host_data *) host->hostdata)->ncb; local
7976 struct ncb *np = ((struct host_data *) host->hostdata)->ncb; local
8030 struct ncb *np = ((struct host_data *) cmd->device->host->hostdata)->ncb; local
8074 struct ncb *np = host_data->ncb; local
8098 struct ncb *np = (struct ncb *) npref; local
8114 struct ncb *np = ((struct host_data *) cmd->device->host->hostdata)->ncb; local
8178 static void insert_into_waiting_list(struct ncb *np, struct scsi_cmnd *cmd)
8194 static struct scsi_cmnd *retrieve_from_waiting_list(int to_remove, struct ncb *np, struct scsi_cmnd…
8214 static void process_waiting_list(struct ncb *np, int sts)
8298 struct ncb *np = NULL; local
8541 struct ncb *np = ((struct host_data *)shost->hostdata)->ncb; local
8557 struct ncb *np = ((struct host_data *)shost->hostdata)->ncb; local
8573 struct ncb *np = ((struct host_data *)shost->hostdata)->ncb; local
8588 struct ncb *np = ((struct host_data *)shost->hostdata)->ncb; local