tag | line | file | source code |
hostdata | 605 | drivers/scsi/NCR5380.c | struct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata *) |
hostdata | 606 | drivers/scsi/NCR5380.c | instance->hostdata; |
hostdata | 630 | drivers/scsi/NCR5380.c | NCR5380_write(SELECT_ENABLE_REG, hostdata->id_mask); |
hostdata | 631 | drivers/scsi/NCR5380.c | NCR5380_write(OUTPUT_DATA_REG, hostdata->id_mask); |
hostdata | 709 | drivers/scsi/NCR5380.c | struct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata *) |
hostdata | 710 | drivers/scsi/NCR5380.c | instance->hostdata; |
hostdata | 715 | drivers/scsi/NCR5380.c | hostdata->id_mask = 1 << instance->this_id; |
hostdata | 716 | drivers/scsi/NCR5380.c | for (i = hostdata->id_mask; i <= 0x80; i <<= 1) |
hostdata | 717 | drivers/scsi/NCR5380.c | if (i > hostdata->id_mask) |
hostdata | 718 | drivers/scsi/NCR5380.c | hostdata->id_higher_mask |= i; |
hostdata | 720 | drivers/scsi/NCR5380.c | hostdata->busy[i] = 0; |
hostdata | 722 | drivers/scsi/NCR5380.c | hostdata->dmalen = 0; |
hostdata | 724 | drivers/scsi/NCR5380.c | hostdata->connected = NULL; |
hostdata | 725 | drivers/scsi/NCR5380.c | hostdata->issue_queue = NULL; |
hostdata | 726 | drivers/scsi/NCR5380.c | hostdata->disconnected_queue = NULL; |
hostdata | 727 | drivers/scsi/NCR5380.c | hostdata->flags = FLAG_CHECK_LAST_BYTE_SENT; |
hostdata | 736 | drivers/scsi/NCR5380.c | hostdata->time_expires = 0; |
hostdata | 737 | drivers/scsi/NCR5380.c | hostdata->next_timer = NULL; |
hostdata | 776 | drivers/scsi/NCR5380.c | struct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata *) |
hostdata | 777 | drivers/scsi/NCR5380.c | cmd->host->hostdata; |
hostdata | 812 | drivers/scsi/NCR5380.c | if (!(hostdata->issue_queue) || (cmd->cmnd[0] == REQUEST_SENSE)) { |
hostdata | 813 | drivers/scsi/NCR5380.c | cmd->host_scribble = (unsigned char *) hostdata->issue_queue; |
hostdata | 814 | drivers/scsi/NCR5380.c | hostdata->issue_queue = cmd; |
hostdata | 816 | drivers/scsi/NCR5380.c | for (tmp = (Scsi_Cmnd *) hostdata->issue_queue; tmp->host_scribble; |
hostdata | 845 | drivers/scsi/NCR5380.c | struct NCR5380_hostdata *hostdata; |
hostdata | 865 | drivers/scsi/NCR5380.c | hostdata = (struct NCR5380_hostdata *) instance->hostdata; |
hostdata | 867 | drivers/scsi/NCR5380.c | if (!hostdata->connected) { |
hostdata | 875 | drivers/scsi/NCR5380.c | for (tmp = (Scsi_Cmnd *) hostdata->issue_queue, |
hostdata | 880 | drivers/scsi/NCR5380.c | if (!(hostdata->busy[tmp->target] & (1 << tmp->lun))) { |
hostdata | 884 | drivers/scsi/NCR5380.c | hostdata->issue_queue = (Scsi_Cmnd *) tmp->host_scribble; |
hostdata | 914 | drivers/scsi/NCR5380.c | hostdata->issue_queue; |
hostdata | 915 | drivers/scsi/NCR5380.c | hostdata->issue_queue = tmp; |
hostdata | 925 | drivers/scsi/NCR5380.c | if (hostdata->connected |
hostdata | 927 | drivers/scsi/NCR5380.c | && !hostdata->dmalen |
hostdata | 930 | drivers/scsi/NCR5380.c | && (!hostdata->time_expires || hostdata->time_expires >= jiffies) |
hostdata | 1016 | drivers/scsi/NCR5380.c | if (!hostdata->connected) |
hostdata | 1020 | drivers/scsi/NCR5380.c | transfered = (hostdata->dmalen - NCR5380_dma_residual(instance)); |
hostdata | 1021 | drivers/scsi/NCR5380.c | hostdata->connected->SCp.this_residual -= transferred; |
hostdata | 1022 | drivers/scsi/NCR5380.c | hostdata->connected->SCp.ptr += transferred; |
hostdata | 1023 | drivers/scsi/NCR5380.c | hostdata->dmalen = 0; |
hostdata | 1081 | drivers/scsi/NCR5380.c | struct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata*) |
hostdata | 1082 | drivers/scsi/NCR5380.c | instance->hostdata; |
hostdata | 1103 | drivers/scsi/NCR5380.c | NCR5380_write(OUTPUT_DATA_REG, hostdata->id_mask); |
hostdata | 1126 | drivers/scsi/NCR5380.c | (NCR5380_read(CURRENT_SCSI_DATA_REG) & hostdata->id_higher_mask) || |
hostdata | 1164 | drivers/scsi/NCR5380.c | NCR5380_write(OUTPUT_DATA_REG, (hostdata->id_mask | (1 << cmd->target))); |
hostdata | 1227 | drivers/scsi/NCR5380.c | NCR5380_write(SELECT_ENABLE_REG, hostdata->id_mask); |
hostdata | 1272 | drivers/scsi/NCR5380.c | hostdata->last_message = SIMPLE_QUEUE_TAG; |
hostdata | 1289 | drivers/scsi/NCR5380.c | hostdata->connected = cmd; |
hostdata | 1293 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
hostdata | 1465 | drivers/scsi/NCR5380.c | struct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata *) |
hostdata | 1466 | drivers/scsi/NCR5380.c | instance->hostdata; |
hostdata | 1485 | drivers/scsi/NCR5380.c | hostdata->dma_len = (p & SR_IO) ? |
hostdata | 1662 | drivers/scsi/NCR5380.c | if (!(hostdata->flags & FLAG_HAS_LAST_BYTE_SENT)) { |
hostdata | 1687 | drivers/scsi/NCR5380.c | if (hostdata->flags & FLAG_CHECK_LAST_BYTE_SENT) { |
hostdata | 1688 | drivers/scsi/NCR5380.c | hostdata->flags &= ~FLAG_CHECK_LAST_BYTE_SENT; |
hostdata | 1690 | drivers/scsi/NCR5380.c | hostdata->flags |= FLAG_HAS_LAST_BYTE_SENT; |
hostdata | 1738 | drivers/scsi/NCR5380.c | struct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata *) |
hostdata | 1739 | drivers/scsi/NCR5380.c | instance->hostdata; |
hostdata | 1744 | drivers/scsi/NCR5380.c | Scsi_Cmnd *cmd = (Scsi_Cmnd *) hostdata->connected; |
hostdata | 1880 | drivers/scsi/NCR5380.c | cmd = hostdata->connected; |
hostdata | 1885 | drivers/scsi/NCR5380.c | hostdata->connected = NULL; |
hostdata | 1890 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
hostdata | 1934 | drivers/scsi/NCR5380.c | hostdata->issue_queue; |
hostdata | 1935 | drivers/scsi/NCR5380.c | hostdata->issue_queue = (Scsi_Cmnd *) cmd; |
hostdata | 1944 | drivers/scsi/NCR5380.c | NCR5380_write(SELECT_ENABLE_REG, hostdata->id_mask); |
hostdata | 1947 | drivers/scsi/NCR5380.c | !hostdata->connected); |
hostdata | 1950 | drivers/scsi/NCR5380.c | switch (hostdata->last_message) { |
hostdata | 1955 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
hostdata | 1964 | drivers/scsi/NCR5380.c | hostdata->disconnected_queue; |
hostdata | 1965 | drivers/scsi/NCR5380.c | hostdata->connected = NULL; |
hostdata | 1966 | drivers/scsi/NCR5380.c | hostdata->disconnected_queue = cmd; |
hostdata | 1975 | drivers/scsi/NCR5380.c | NCR5380_write(SELECT_ENABLE_REG, hostdata->id_mask); |
hostdata | 1978 | drivers/scsi/NCR5380.c | !hostdata->connected); |
hostdata | 2016 | drivers/scsi/NCR5380.c | hostdata->last_message = msgout; |
hostdata | 2019 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
hostdata | 2020 | drivers/scsi/NCR5380.c | hostdata->connected = NULL; |
hostdata | 2023 | drivers/scsi/NCR5380.c | NCR5380_write(SELECT_ENABLE_REG, hostdata->id_mask); |
hostdata | 2040 | drivers/scsi/NCR5380.c | hostdata->time_expires = jiffies + USLEEP_SLEEP; |
hostdata | 2043 | drivers/scsi/NCR5380.c | hostdata->time_expires); |
hostdata | 2065 | drivers/scsi/NCR5380.c | if (!disconnect && hostdata->time_expires && jiffies > |
hostdata | 2066 | drivers/scsi/NCR5380.c | hostdata->time_expires) { |
hostdata | 2067 | drivers/scsi/NCR5380.c | hostdata->time_expires = jiffies + USLEEP_SLEEP; |
hostdata | 2070 | drivers/scsi/NCR5380.c | hostdata->time_expires); |
hostdata | 2094 | drivers/scsi/NCR5380.c | struct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata *) |
hostdata | 2095 | drivers/scsi/NCR5380.c | instance->hostdata; |
hostdata | 2108 | drivers/scsi/NCR5380.c | target_mask = NCR5380_read(CURRENT_SCSI_DATA_REG) & ~(hostdata->id_mask); |
hostdata | 2173 | drivers/scsi/NCR5380.c | for (tmp = (Scsi_Cmnd *) hostdata->disconnected_queue, prev = NULL; |
hostdata | 2183 | drivers/scsi/NCR5380.c | hostdata->disconnected_queue = (Scsi_Cmnd *) tmp->host_scribble; |
hostdata | 2212 | drivers/scsi/NCR5380.c | hostdata->connected = tmp; |
hostdata | 2235 | drivers/scsi/NCR5380.c | struct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata * |
hostdata | 2236 | drivers/scsi/NCR5380.c | instance->hostdata); |
hostdata | 2260 | drivers/scsi/NCR5380.c | if (!(hostdata->connected->SCp.phase & SR_CD)) { |
hostdata | 2262 | drivers/scsi/NCR5380.c | hostdata->connected->SCp.this_residual -= transferred; |
hostdata | 2263 | drivers/scsi/NCR5380.c | hostdata->connected->SCp.ptr += transferred; |
hostdata | 2291 | drivers/scsi/NCR5380.c | struct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata *) |
hostdata | 2292 | drivers/scsi/NCR5380.c | instance->hostdata; |
hostdata | 2309 | drivers/scsi/NCR5380.c | for (prev = (Scsi_Cmnd **) &(hostdata->issue_queue), |
hostdata | 2310 | drivers/scsi/NCR5380.c | tmp = (Scsi_Cmnd *) hostdata->issue_queue; |
hostdata | 2337 | drivers/scsi/NCR5380.c | if (hostdata->connected) { |
hostdata | 2370 | drivers/scsi/NCR5380.c | for (tmp = (Scsi_Cmnd *) hostdata->disconnected_queue; tmp; |
hostdata | 2393 | drivers/scsi/NCR5380.c | for (prev = (Scsi_Cmnd **) &(hostdata->disconnected_queue), |
hostdata | 2394 | drivers/scsi/NCR5380.c | tmp = (Scsi_Cmnd *) hostdata->disconnected_queue; |
hostdata | 68 | drivers/scsi/aha1542.c | #define HOSTDATA(host) ((struct aha1542_hostdata *) &host->hostdata) |
hostdata | 229 | drivers/scsi/hosts.h | int hostdata[0]; /* Used for storage of host specific stuff */ |