Lines Matching refs:nsp32_hw_data

130 static nsp32_hw_data nsp32_data_base;  /* probe <-> detect glue */
218 static int nsp32_search_period_entry(nsp32_hw_data *, nsp32_target *, unsigned char);
219 static void nsp32_set_async (nsp32_hw_data *, nsp32_target *);
220 static void nsp32_set_max_sync (nsp32_hw_data *, nsp32_target *, unsigned char *, unsigned char *);
221 static void nsp32_set_sync_entry (nsp32_hw_data *, nsp32_target *, int, unsigned char);
224 static void nsp32_wait_req (nsp32_hw_data *, int);
225 static void nsp32_wait_sack (nsp32_hw_data *, int);
226 static void nsp32_sack_assert (nsp32_hw_data *);
227 static void nsp32_sack_negate (nsp32_hw_data *);
228 static void nsp32_do_bus_reset(nsp32_hw_data *);
234 static int nsp32hw_init(nsp32_hw_data *);
237 static int nsp32_getprom_param (nsp32_hw_data *);
238 static int nsp32_getprom_at24 (nsp32_hw_data *);
239 static int nsp32_getprom_c16 (nsp32_hw_data *);
240 static void nsp32_prom_start (nsp32_hw_data *);
241 static void nsp32_prom_stop (nsp32_hw_data *);
242 static int nsp32_prom_read (nsp32_hw_data *, int);
243 static int nsp32_prom_read_bit (nsp32_hw_data *);
244 static void nsp32_prom_write_bit(nsp32_hw_data *, int);
245 static void nsp32_prom_set (nsp32_hw_data *, int, int);
246 static int nsp32_prom_get (nsp32_hw_data *, int);
357 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
378 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
395 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
413 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
444 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
575 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
799 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
853 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
899 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
1041 static int nsp32hw_init(nsp32_hw_data *data)
1150 nsp32_hw_data *data = dev_id;
1435 nsp32_hw_data *data;
1443 data = (nsp32_hw_data *)host->hostdata;
1512 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
1550 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
1708 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
1781 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
1857 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
1925 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
2220 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
2353 static int nsp32_search_period_entry(nsp32_hw_data *data,
2386 static void nsp32_set_async(nsp32_hw_data *data, nsp32_target *target)
2403 static void nsp32_set_max_sync(nsp32_hw_data *data,
2425 static void nsp32_set_sync_entry(nsp32_hw_data *data,
2453 static void nsp32_wait_req(nsp32_hw_data *data, int state)
2482 static void nsp32_wait_sack(nsp32_hw_data *data, int state)
2513 static void nsp32_sack_assert(nsp32_hw_data *data)
2526 static void nsp32_sack_negate(nsp32_hw_data *data)
2549 nsp32_hw_data *data;
2558 host = scsi_host_alloc(&nsp32_template, sizeof(nsp32_hw_data));
2565 * set nsp32_hw_data
2567 data = (nsp32_hw_data *)host->hostdata;
2569 memcpy(data, &nsp32_data_base, sizeof(nsp32_hw_data));
2771 nsp32_hw_data *data = (nsp32_hw_data *)host->hostdata;
2800 nsp32_hw_data *data = (nsp32_hw_data *)shpnt->hostdata;
2811 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
2837 static void nsp32_do_bus_reset(nsp32_hw_data *data)
2883 nsp32_hw_data *data = (nsp32_hw_data *)host->hostdata;
2907 static int nsp32_getprom_param(nsp32_hw_data *data)
2982 static int nsp32_getprom_at24(nsp32_hw_data *data)
3069 static int nsp32_getprom_c16(nsp32_hw_data *data)
3120 static int nsp32_prom_read(nsp32_hw_data *data, int romaddr)
3183 static void nsp32_prom_set(nsp32_hw_data *data, int bit, int val)
3201 static int nsp32_prom_get(nsp32_hw_data *data, int bit)
3225 static void nsp32_prom_start (nsp32_hw_data *data)
3236 static void nsp32_prom_stop (nsp32_hw_data *data)
3246 static void nsp32_prom_write_bit(nsp32_hw_data *data, int val)
3254 static int nsp32_prom_read_bit(nsp32_hw_data *data)
3294 nsp32_hw_data *data = (nsp32_hw_data *)host->hostdata;
3328 nsp32_hw_data *data = &nsp32_data_base;