• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/

Lines Matching defs:ncb

1130 struct ncb;
1594 struct ncb {
1619 char inst_name[16]; /* ncb instance name */
1670 struct scripth *scripth0; /* relocated for this ncb. */
1916 static void ncr_alloc_ccb (struct ncb *np, u_char tn, u_char ln);
1917 static void ncr_complete (struct ncb *np, struct ccb *cp);
1918 static void ncr_exception (struct ncb *np);
1919 static void ncr_free_ccb (struct ncb *np, struct ccb *cp);
1920 static void ncr_init_ccb (struct ncb *np, struct ccb *cp);
1921 static void ncr_init_tcb (struct ncb *np, u_char tn);
1922 static struct lcb * ncr_alloc_lcb (struct ncb *np, u_char tn, u_char ln);
1923 static struct lcb * ncr_setup_lcb (struct ncb *np, struct scsi_device *sdev);
1924 static void ncr_getclock (struct ncb *np, int mult);
1925 static void ncr_selectclock (struct ncb *np, u_char scntl3);
1926 static struct ccb *ncr_get_ccb (struct ncb *np, struct scsi_cmnd *cmd);
1927 static void ncr_chip_reset (struct ncb *np, int delay);
1928 static void ncr_init (struct ncb *np, int reset, char * msg, u_long code);
1929 static int ncr_int_sbmc (struct ncb *np);
1930 static int ncr_int_par (struct ncb *np);
1931 static void ncr_int_ma (struct ncb *np);
1932 static void ncr_int_sir (struct ncb *np);
1933 static void ncr_int_sto (struct ncb *np);
1934 static void ncr_negotiate (struct ncb* np, struct tcb* tp);
1935 static int ncr_prepare_nego(struct ncb *np, struct ccb *cp, u_char *msgptr);
1938 (struct ncb *np, ncrcmd *src, ncrcmd *dst, int len);
1940 static int ncr_scatter (struct ncb *np, struct ccb *cp, struct scsi_cmnd *cmd);
1941 static void ncr_getsync (struct ncb *np, u_char sfac, u_char *fakp, u_char *scntl3p);
1942 static void ncr_setsync (struct ncb *np, struct ccb *cp, u_char scntl3, u_char sxfer);
1943 static void ncr_setup_tags (struct ncb *np, struct scsi_device *sdev);
1944 static void ncr_setwide (struct ncb *np, struct ccb *cp, u_char wide, u_char ack);
1945 static int ncr_snooptest (struct ncb *np);
1946 static void ncr_timeout (struct ncb *np);
1947 static void ncr_wakeup (struct ncb *np, u_long code);
1948 static void ncr_wakeup_done (struct ncb *np);
1949 static void ncr_start_next_ccb (struct ncb *np, struct lcb * lp, int maxn);
1950 static void ncr_put_start_queue(struct ncb *np, struct ccb *cp);
1952 static void insert_into_waiting_list(struct ncb *np, struct scsi_cmnd *cmd);
1953 static struct scsi_cmnd *retrieve_from_waiting_list(int to_remove, struct ncb *np, struct scsi_cmnd *cmd);
1954 static void process_waiting_list(struct ncb *np, int sts);
1961 static inline char *ncr_name (struct ncb *np)
1992 #define NADDR(label) (RELOC_SOFTC | offsetof(struct ncb, label))
2573 ** - struct ncb
3492 ncr_script_copy_and_bind (struct ncb *np, ncrcmd *src, ncrcmd *dst, int len)
3642 struct ncb *ncb;
3696 static inline void ncr_init_burst(struct ncb *np, u_char bc)
3712 static void __init ncr_prepare_setting(struct ncb *np)
3996 static inline void ncr_queue_done_cmd(struct ncb *np, struct scsi_cmnd *cmd)
4028 static int ncr_prepare_nego(struct ncb *np, struct ccb *cp, u_char *msgptr)
4087 static int ncr_queue_command (struct ncb *np, struct scsi_cmnd *cmd)
4392 static void ncr_start_next_ccb(struct ncb *np, struct lcb *lp, int maxn)
4413 static void ncr_put_start_queue(struct ncb *np, struct ccb *cp)
4444 static int ncr_reset_scsi_bus(struct ncb *np, int enab_int, int settle_delay)
4510 static void ncr_start_reset(struct ncb *np)
4526 static int ncr_reset_bus (struct ncb *np, struct scsi_cmnd *cmd, int sync_reset)
4586 static void ncr_detach(struct ncb *np)
4683 m_free_dma(np, sizeof(struct ncb), "NCB");
4698 void ncr_complete (struct ncb *np, struct ccb *cp)
4974 static void ncr_ccb_skipped(struct ncb *np, struct ccb *cp)
4998 void ncr_wakeup_done (struct ncb *np)
5044 void ncr_wakeup (struct ncb *np, u_long code)
5065 static void ncr_chip_reset(struct ncb *np, int delay)
5087 void ncr_init (struct ncb *np, int reset, char * msg, u_long code)
5250 static void ncr_negotiate (struct ncb* np, struct tcb* tp)
5308 static void ncr_getsync(struct ncb *np, u_char sfac, u_char *fakp, u_char *scntl3p)
5357 static void ncr_set_sync_wide_status (struct ncb *np, u_char target)
5388 static void ncr_setsync (struct ncb *np, struct ccb *cp, u_char scntl3, u_char sxfer)
5445 static void ncr_setwide (struct ncb *np, struct ccb *cp, u_char wide, u_char ack)
5490 static void ncr_setup_tags (struct ncb *np, struct scsi_device *sdev)
5593 static void ncr_timeout (struct ncb *np)
5681 static void ncr_log_hard_error(struct ncb *np, u16 sist, u_char dstat)
5761 void ncr_exception (struct ncb *np)
5944 void ncr_int_sto (struct ncb *np)
5989 static int ncr_int_sbmc (struct ncb *np)
6021 static int ncr_int_par (struct ncb *np)
6101 static void ncr_int_ma (struct ncb *np)
6389 static void ncr_sir_to_redo(struct ncb *np, int num, struct ccb *cp)
6540 void ncr_int_sir (struct ncb *np)
6650 ** field of the controller's struct ncb.
6974 static struct ccb *ncr_get_ccb(struct ncb *np, struct scsi_cmnd *cmd)
7078 static void ncr_free_ccb (struct ncb *np, struct ccb *cp)
7136 static void ncr_init_ccb(struct ncb *np, struct ccb *cp)
7175 static void ncr_alloc_ccb(struct ncb *np, u_char tn, u_char ln)
7224 static void ncr_init_tcb (struct ncb *np, u_char tn)
7311 static struct lcb *ncr_alloc_lcb (struct ncb *np, u_char tn, u_char ln)
7401 static struct lcb *ncr_setup_lcb (struct ncb *np, struct scsi_device *sdev)
7467 static int ncr_scatter(struct ncb *np, struct ccb *cp, struct scsi_cmnd *cmd)
7510 static int __init ncr_regtest (struct ncb* np)
7529 static int __init ncr_snooptest (struct ncb* np)
7636 static void ncr_selectclock(struct ncb *np, u_char scntl3)
7665 static unsigned __init ncrgetfreq (struct ncb *np, int gen)
7716 static void __init ncr_getclock (struct ncb *np, int mult)
7782 struct ncb *np = ((struct host_data *) host->hostdata)->ncb;
7792 struct ncb *np = ((struct host_data *) host->hostdata)->ncb;
7840 struct ncb *np = ((struct host_data *) cmd->device->host->hostdata)->ncb;
7882 struct ncb *np = host_data->ncb;
7906 struct ncb *np = (struct ncb *) npref;
7922 struct ncb *np = ((struct host_data *) cmd->device->host->hostdata)->ncb;
7963 static void insert_into_waiting_list(struct ncb *np, struct scsi_cmnd *cmd)
7979 static struct scsi_cmnd *retrieve_from_waiting_list(int to_remove, struct ncb *np, struct scsi_cmnd *cmd)
7999 static void process_waiting_list(struct ncb *np, int sts)
8036 return snprintf(buf, 20, "0x%x\n", host_data->ncb->revision_id);
8073 * Allocate host data and ncb structure.
8083 struct ncb *np = NULL;
8114 np = __m_calloc_dma(device->dev, sizeof(struct ncb), "NCB");
8120 host_data->ncb = np;
8302 m_free_dma(np, sizeof(struct ncb), "NCB");
8303 host_data->ncb = NULL;
8318 if (host_data->ncb)
8319 ncr_detach(host_data->ncb);
8326 struct ncb *np = ((struct host_data *)shost->hostdata)->ncb;
8342 struct ncb *np = ((struct host_data *)shost->hostdata)->ncb;
8358 struct ncb *np = ((struct host_data *)shost->hostdata)->ncb;
8373 struct ncb *np = ((struct host_data *)shost->hostdata)->ncb;