Lines Matching refs:nsp32_hw_data
130 static nsp32_hw_data nsp32_data_base; /* probe <-> detect glue */
220 static int nsp32_search_period_entry(nsp32_hw_data *, nsp32_target *,
222 static void nsp32_set_async (nsp32_hw_data *, nsp32_target *);
223 static void nsp32_set_max_sync (nsp32_hw_data *, nsp32_target *,
225 static void nsp32_set_sync_entry (nsp32_hw_data *, nsp32_target *,
229 static void nsp32_wait_req (nsp32_hw_data *, int);
230 static void nsp32_wait_sack (nsp32_hw_data *, int);
231 static void nsp32_sack_assert (nsp32_hw_data *);
232 static void nsp32_sack_negate (nsp32_hw_data *);
233 static void nsp32_do_bus_reset(nsp32_hw_data *);
239 static int nsp32hw_init(nsp32_hw_data *);
242 static int nsp32_getprom_param (nsp32_hw_data *);
243 static int nsp32_getprom_at24 (nsp32_hw_data *);
244 static int nsp32_getprom_c16 (nsp32_hw_data *);
245 static void nsp32_prom_start (nsp32_hw_data *);
246 static void nsp32_prom_stop (nsp32_hw_data *);
247 static int nsp32_prom_read (nsp32_hw_data *, int);
248 static int nsp32_prom_read_bit (nsp32_hw_data *);
249 static void nsp32_prom_write_bit(nsp32_hw_data *, int);
250 static void nsp32_prom_set (nsp32_hw_data *, int, int);
251 static int nsp32_prom_get (nsp32_hw_data *, int);
363 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_build_identify()
384 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_build_sdtr()
401 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_build_nop()
419 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_build_reject()
450 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_selection_autopara()
582 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_selection_autoscsi()
807 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_reselection()
862 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_setup_sg_table()
910 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_queuecommand_lck()
1052 static int nsp32hw_init(nsp32_hw_data *data) in DEF_SCSI_QCMD()
1163 nsp32_hw_data *data = dev_id; in do_nsp32_isr()
1451 nsp32_hw_data *data; in nsp32_show_info()
1459 data = (nsp32_hw_data *)host->hostdata; in nsp32_show_info()
1535 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_scsi_done()
1573 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_busfree_occur()
1728 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_adjust_busfree()
1803 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_msgout_occur()
1869 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_restart_autoscsi()
1937 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_msgin_occur()
2232 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_analyze_sdtr()
2360 static int nsp32_search_period_entry(nsp32_hw_data *data, in nsp32_search_period_entry()
2393 static void nsp32_set_async(nsp32_hw_data *data, nsp32_target *target) in nsp32_set_async()
2410 static void nsp32_set_max_sync(nsp32_hw_data *data, in nsp32_set_max_sync()
2432 static void nsp32_set_sync_entry(nsp32_hw_data *data, in nsp32_set_sync_entry()
2460 static void nsp32_wait_req(nsp32_hw_data *data, int state) in nsp32_wait_req()
2489 static void nsp32_wait_sack(nsp32_hw_data *data, int state) in nsp32_wait_sack()
2520 static void nsp32_sack_assert(nsp32_hw_data *data) in nsp32_sack_assert()
2533 static void nsp32_sack_negate(nsp32_hw_data *data) in nsp32_sack_negate()
2556 nsp32_hw_data *data; in nsp32_detect()
2565 host = scsi_host_alloc(&nsp32_template, sizeof(nsp32_hw_data)); in nsp32_detect()
2574 data = (nsp32_hw_data *)host->hostdata; in nsp32_detect()
2576 memcpy(data, &nsp32_data_base, sizeof(nsp32_hw_data)); in nsp32_detect()
2778 nsp32_hw_data *data = (nsp32_hw_data *)host->hostdata; in nsp32_release()
2807 nsp32_hw_data *data = (nsp32_hw_data *)shpnt->hostdata; in nsp32_info()
2818 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_eh_abort()
2844 static void nsp32_do_bus_reset(nsp32_hw_data *data) in nsp32_do_bus_reset()
2890 nsp32_hw_data *data = (nsp32_hw_data *)host->hostdata; in nsp32_eh_host_reset()
2914 static int nsp32_getprom_param(nsp32_hw_data *data) in nsp32_getprom_param()
2990 static int nsp32_getprom_at24(nsp32_hw_data *data) in nsp32_getprom_at24()
3077 static int nsp32_getprom_c16(nsp32_hw_data *data) in nsp32_getprom_c16()
3128 static int nsp32_prom_read(nsp32_hw_data *data, int romaddr) in nsp32_prom_read()
3191 static void nsp32_prom_set(nsp32_hw_data *data, int bit, int val) in nsp32_prom_set()
3209 static int nsp32_prom_get(nsp32_hw_data *data, int bit) in nsp32_prom_get()
3233 static void nsp32_prom_start (nsp32_hw_data *data) in nsp32_prom_start()
3244 static void nsp32_prom_stop (nsp32_hw_data *data) in nsp32_prom_stop()
3254 static void nsp32_prom_write_bit(nsp32_hw_data *data, int val) in nsp32_prom_write_bit()
3262 static int nsp32_prom_read_bit(nsp32_hw_data *data) in nsp32_prom_read_bit()
3303 nsp32_hw_data *data = (nsp32_hw_data *)host->hostdata; in nsp32_resume()
3338 nsp32_hw_data *data = &nsp32_data_base; in nsp32_probe()