Lines Matching refs:nsp32_hw_data
140 static nsp32_hw_data nsp32_data_base; /* probe <-> detect glue */
229 static int nsp32_search_period_entry(nsp32_hw_data *, nsp32_target *, unsigned char);
230 static void nsp32_set_async (nsp32_hw_data *, nsp32_target *);
231 static void nsp32_set_max_sync (nsp32_hw_data *, nsp32_target *, unsigned char *, unsigned ch…
232 static void nsp32_set_sync_entry (nsp32_hw_data *, nsp32_target *, int, unsigned char);
235 static void nsp32_wait_req (nsp32_hw_data *, int);
236 static void nsp32_wait_sack (nsp32_hw_data *, int);
237 static void nsp32_sack_assert (nsp32_hw_data *);
238 static void nsp32_sack_negate (nsp32_hw_data *);
239 static void nsp32_do_bus_reset(nsp32_hw_data *);
245 static int nsp32hw_init(nsp32_hw_data *);
248 static int nsp32_getprom_param (nsp32_hw_data *);
249 static int nsp32_getprom_at24 (nsp32_hw_data *);
250 static int nsp32_getprom_c16 (nsp32_hw_data *);
251 static void nsp32_prom_start (nsp32_hw_data *);
252 static void nsp32_prom_stop (nsp32_hw_data *);
253 static int nsp32_prom_read (nsp32_hw_data *, int);
254 static int nsp32_prom_read_bit (nsp32_hw_data *);
255 static void nsp32_prom_write_bit(nsp32_hw_data *, int);
256 static void nsp32_prom_set (nsp32_hw_data *, int, int);
257 static int nsp32_prom_get (nsp32_hw_data *, int);
369 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_build_identify()
390 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_build_sdtr()
407 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_build_nop()
425 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_build_reject()
456 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_selection_autopara()
587 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_selection_autoscsi()
811 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_reselection()
865 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_setup_sg_table()
911 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_queuecommand_lck()
1053 static int nsp32hw_init(nsp32_hw_data *data) in DEF_SCSI_QCMD()
1162 nsp32_hw_data *data = dev_id; in do_nsp32_isr()
1447 nsp32_hw_data *data; in nsp32_show_info()
1455 data = (nsp32_hw_data *)host->hostdata; in nsp32_show_info()
1524 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_scsi_done()
1562 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_busfree_occur()
1720 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_adjust_busfree()
1793 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()
2365 static int nsp32_search_period_entry(nsp32_hw_data *data, in nsp32_search_period_entry()
2398 static void nsp32_set_async(nsp32_hw_data *data, nsp32_target *target) in nsp32_set_async()
2415 static void nsp32_set_max_sync(nsp32_hw_data *data, in nsp32_set_max_sync()
2437 static void nsp32_set_sync_entry(nsp32_hw_data *data, in nsp32_set_sync_entry()
2466 static void nsp32_wait_req(nsp32_hw_data *data, int state) in nsp32_wait_req()
2495 static void nsp32_wait_sack(nsp32_hw_data *data, int state) in nsp32_wait_sack()
2526 static void nsp32_sack_assert(nsp32_hw_data *data) in nsp32_sack_assert()
2539 static void nsp32_sack_negate(nsp32_hw_data *data) in nsp32_sack_negate()
2562 nsp32_hw_data *data; in nsp32_detect()
2571 host = scsi_host_alloc(&nsp32_template, sizeof(nsp32_hw_data)); in nsp32_detect()
2580 data = (nsp32_hw_data *)host->hostdata; in nsp32_detect()
2582 memcpy(data, &nsp32_data_base, sizeof(nsp32_hw_data)); in nsp32_detect()
2782 nsp32_hw_data *data = (nsp32_hw_data *)host->hostdata; in nsp32_release()
2811 nsp32_hw_data *data = (nsp32_hw_data *)shpnt->hostdata; in nsp32_info()
2822 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_eh_abort()
2850 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata; in nsp32_eh_bus_reset()
2866 static void nsp32_do_bus_reset(nsp32_hw_data *data) in nsp32_do_bus_reset()
2912 nsp32_hw_data *data = (nsp32_hw_data *)host->hostdata; in nsp32_eh_host_reset()
2936 static int nsp32_getprom_param(nsp32_hw_data *data) in nsp32_getprom_param()
3011 static int nsp32_getprom_at24(nsp32_hw_data *data) in nsp32_getprom_at24()
3098 static int nsp32_getprom_c16(nsp32_hw_data *data) in nsp32_getprom_c16()
3149 static int nsp32_prom_read(nsp32_hw_data *data, int romaddr) in nsp32_prom_read()
3212 static void nsp32_prom_set(nsp32_hw_data *data, int bit, int val) in nsp32_prom_set()
3230 static int nsp32_prom_get(nsp32_hw_data *data, int bit) in nsp32_prom_get()
3254 static void nsp32_prom_start (nsp32_hw_data *data) in nsp32_prom_start()
3265 static void nsp32_prom_stop (nsp32_hw_data *data) in nsp32_prom_stop()
3275 static void nsp32_prom_write_bit(nsp32_hw_data *data, int val) in nsp32_prom_write_bit()
3283 static int nsp32_prom_read_bit(nsp32_hw_data *data) in nsp32_prom_read_bit()
3323 nsp32_hw_data *data = (nsp32_hw_data *)host->hostdata; in nsp32_resume()
3357 nsp32_hw_data *data = &nsp32_data_base; in nsp32_probe()