nsp32_hw_data
static int nsp32hw_init(nsp32_hw_data *data)
nsp32_hw_data *data = dev_id;
static nsp32_hw_data nsp32_data_base; /* probe <-> detect glue */
nsp32_hw_data *data;
data = (nsp32_hw_data *)host->hostdata;
nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
static int nsp32_search_period_entry(nsp32_hw_data *, nsp32_target *,
nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
static void nsp32_set_async (nsp32_hw_data *, nsp32_target *);
static void nsp32_set_max_sync (nsp32_hw_data *, nsp32_target *,
static void nsp32_set_sync_entry (nsp32_hw_data *, nsp32_target *,
static void nsp32_wait_req (nsp32_hw_data *, int);
static void nsp32_wait_sack (nsp32_hw_data *, int);
static void nsp32_sack_assert (nsp32_hw_data *);
static void nsp32_sack_negate (nsp32_hw_data *);
static void nsp32_do_bus_reset(nsp32_hw_data *);
static int nsp32_search_period_entry(nsp32_hw_data *data,
static void nsp32_set_async(nsp32_hw_data *data, nsp32_target *target)
static int nsp32hw_init(nsp32_hw_data *);
static void nsp32_set_max_sync(nsp32_hw_data *data,
static void nsp32_set_sync_entry(nsp32_hw_data *data,
static int nsp32_getprom_param (nsp32_hw_data *);
static int nsp32_getprom_at24 (nsp32_hw_data *);
static int nsp32_getprom_c16 (nsp32_hw_data *);
static void nsp32_wait_req(nsp32_hw_data *data, int state)
static void nsp32_prom_start (nsp32_hw_data *);
static void nsp32_prom_stop (nsp32_hw_data *);
static int nsp32_prom_read (nsp32_hw_data *, int);
static void nsp32_wait_sack(nsp32_hw_data *data, int state)
static int nsp32_prom_read_bit (nsp32_hw_data *);
static void nsp32_prom_write_bit(nsp32_hw_data *, int);
static void nsp32_prom_set (nsp32_hw_data *, int, int);
static void nsp32_sack_assert(nsp32_hw_data *data)
static int nsp32_prom_get (nsp32_hw_data *, int);
static void nsp32_sack_negate(nsp32_hw_data *data)
nsp32_hw_data *data;
host = scsi_host_alloc(&nsp32_template, sizeof(nsp32_hw_data));
data = (nsp32_hw_data *)host->hostdata;
memcpy(data, &nsp32_data_base, sizeof(nsp32_hw_data));
nsp32_hw_data *data = (nsp32_hw_data *)host->hostdata;
nsp32_hw_data *data = (nsp32_hw_data *)shpnt->hostdata;
nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
static void nsp32_do_bus_reset(nsp32_hw_data *data)
nsp32_hw_data *data = (nsp32_hw_data *)host->hostdata;
static int nsp32_getprom_param(nsp32_hw_data *data)
static int nsp32_getprom_at24(nsp32_hw_data *data)
static int nsp32_getprom_c16(nsp32_hw_data *data)
static int nsp32_prom_read(nsp32_hw_data *data, int romaddr)
static void nsp32_prom_set(nsp32_hw_data *data, int bit, int val)
static int nsp32_prom_get(nsp32_hw_data *data, int bit)
static void nsp32_prom_start (nsp32_hw_data *data)
static void nsp32_prom_stop (nsp32_hw_data *data)
static void nsp32_prom_write_bit(nsp32_hw_data *data, int val)
static int nsp32_prom_read_bit(nsp32_hw_data *data)
nsp32_hw_data *data = (nsp32_hw_data *)host->hostdata;
nsp32_hw_data *data = &nsp32_data_base;
nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;