tag | line | file | source code |
hostdata | 564 | drivers/scsi/NCR5380.c | struct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata *) |
hostdata | 565 | drivers/scsi/NCR5380.c | instance->hostdata; |
hostdata | 589 | drivers/scsi/NCR5380.c | NCR5380_write(SELECT_ENABLE_REG, hostdata->id_mask); |
hostdata | 590 | drivers/scsi/NCR5380.c | NCR5380_write(OUTPUT_DATA_REG, hostdata->id_mask); |
hostdata | 665 | drivers/scsi/NCR5380.c | struct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata *) |
hostdata | 666 | drivers/scsi/NCR5380.c | instance->hostdata; |
hostdata | 671 | drivers/scsi/NCR5380.c | hostdata->id_mask = 1 << instance->this_id; |
hostdata | 672 | drivers/scsi/NCR5380.c | for (i = hostdata->id_mask; i <= 0x80; i <<= 1) |
hostdata | 673 | drivers/scsi/NCR5380.c | if (i > hostdata->id_mask) |
hostdata | 674 | drivers/scsi/NCR5380.c | hostdata->id_higher_mask |= i; |
hostdata | 676 | drivers/scsi/NCR5380.c | hostdata->busy[i] = 0; |
hostdata | 678 | drivers/scsi/NCR5380.c | hostdata->dmalen = 0; |
hostdata | 680 | drivers/scsi/NCR5380.c | hostdata->connected = NULL; |
hostdata | 681 | drivers/scsi/NCR5380.c | hostdata->issue_queue = NULL; |
hostdata | 682 | drivers/scsi/NCR5380.c | hostdata->disconnected_queue = NULL; |
hostdata | 691 | drivers/scsi/NCR5380.c | hostdata->time_expires = 0; |
hostdata | 692 | drivers/scsi/NCR5380.c | hostdata->next_timer = NULL; |
hostdata | 731 | drivers/scsi/NCR5380.c | struct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata *) |
hostdata | 732 | drivers/scsi/NCR5380.c | cmd->host->hostdata; |
hostdata | 767 | drivers/scsi/NCR5380.c | if (!(hostdata->issue_queue) || (cmd->cmnd[0] == REQUEST_SENSE)) { |
hostdata | 768 | drivers/scsi/NCR5380.c | cmd->host_scribble = (unsigned char *) hostdata->issue_queue; |
hostdata | 769 | drivers/scsi/NCR5380.c | hostdata->issue_queue = cmd; |
hostdata | 771 | drivers/scsi/NCR5380.c | for (tmp = (Scsi_Cmnd *) hostdata->issue_queue; tmp->host_scribble; |
hostdata | 800 | drivers/scsi/NCR5380.c | struct NCR5380_hostdata *hostdata; |
hostdata | 820 | drivers/scsi/NCR5380.c | hostdata = (struct NCR5380_hostdata *) instance->hostdata; |
hostdata | 822 | drivers/scsi/NCR5380.c | if (!hostdata->connected) { |
hostdata | 830 | drivers/scsi/NCR5380.c | for (tmp = (Scsi_Cmnd *) hostdata->issue_queue, |
hostdata | 835 | drivers/scsi/NCR5380.c | if (!(hostdata->busy[tmp->target] & (1 << tmp->lun))) { |
hostdata | 839 | drivers/scsi/NCR5380.c | hostdata->issue_queue = (Scsi_Cmnd *) tmp->host_scribble; |
hostdata | 869 | drivers/scsi/NCR5380.c | hostdata->issue_queue; |
hostdata | 870 | drivers/scsi/NCR5380.c | hostdata->issue_queue = tmp; |
hostdata | 880 | drivers/scsi/NCR5380.c | if (hostdata->connected |
hostdata | 882 | drivers/scsi/NCR5380.c | && !hostdata->dmalen |
hostdata | 885 | drivers/scsi/NCR5380.c | && (!hostdata->time_expires || hostdata->time_expires >= jiffies) |
hostdata | 1005 | drivers/scsi/NCR5380.c | struct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata*) |
hostdata | 1006 | drivers/scsi/NCR5380.c | instance->hostdata; |
hostdata | 1027 | drivers/scsi/NCR5380.c | NCR5380_write(OUTPUT_DATA_REG, hostdata->id_mask); |
hostdata | 1050 | drivers/scsi/NCR5380.c | (NCR5380_read(CURRENT_SCSI_DATA_REG) & hostdata->id_higher_mask) || |
hostdata | 1088 | drivers/scsi/NCR5380.c | NCR5380_write(OUTPUT_DATA_REG, (hostdata->id_mask | (1 << cmd->target))); |
hostdata | 1151 | drivers/scsi/NCR5380.c | NCR5380_write(SELECT_ENABLE_REG, hostdata->id_mask); |
hostdata | 1196 | drivers/scsi/NCR5380.c | hostdata->last_message = SIMPLE_QUEUE_TAG; |
hostdata | 1213 | drivers/scsi/NCR5380.c | hostdata->connected = cmd; |
hostdata | 1217 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
hostdata | 1461 | drivers/scsi/NCR5380.c | struct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata *) |
hostdata | 1462 | drivers/scsi/NCR5380.c | instance->hostdata; |
hostdata | 1467 | drivers/scsi/NCR5380.c | Scsi_Cmnd *cmd = (Scsi_Cmnd *) hostdata->connected; |
hostdata | 1598 | drivers/scsi/NCR5380.c | cmd = hostdata->connected; |
hostdata | 1603 | drivers/scsi/NCR5380.c | hostdata->connected = NULL; |
hostdata | 1608 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
hostdata | 1640 | drivers/scsi/NCR5380.c | hostdata->issue_queue; |
hostdata | 1641 | drivers/scsi/NCR5380.c | hostdata->issue_queue = (Scsi_Cmnd *) cmd; |
hostdata | 1650 | drivers/scsi/NCR5380.c | NCR5380_write(SELECT_ENABLE_REG, hostdata->id_mask); |
hostdata | 1653 | drivers/scsi/NCR5380.c | switch (hostdata->last_message) { |
hostdata | 1658 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
hostdata | 1667 | drivers/scsi/NCR5380.c | hostdata->disconnected_queue; |
hostdata | 1668 | drivers/scsi/NCR5380.c | hostdata->connected = NULL; |
hostdata | 1669 | drivers/scsi/NCR5380.c | hostdata->disconnected_queue = cmd; |
hostdata | 1678 | drivers/scsi/NCR5380.c | NCR5380_write(SELECT_ENABLE_REG, hostdata->id_mask); |
hostdata | 1714 | drivers/scsi/NCR5380.c | hostdata->last_message = msgout; |
hostdata | 1717 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
hostdata | 1718 | drivers/scsi/NCR5380.c | hostdata->connected = NULL; |
hostdata | 1721 | drivers/scsi/NCR5380.c | NCR5380_write(SELECT_ENABLE_REG, hostdata->id_mask); |
hostdata | 1738 | drivers/scsi/NCR5380.c | hostdata->time_expires = jiffies + USLEEP_SLEEP; |
hostdata | 1741 | drivers/scsi/NCR5380.c | hostdata->time_expires); |
hostdata | 1763 | drivers/scsi/NCR5380.c | if (!disconnect && hostdata->time_expires && jiffies > |
hostdata | 1764 | drivers/scsi/NCR5380.c | hostdata->time_expires) { |
hostdata | 1765 | drivers/scsi/NCR5380.c | hostdata->time_expires = jiffies + USLEEP_SLEEP; |
hostdata | 1768 | drivers/scsi/NCR5380.c | hostdata->time_expires); |
hostdata | 1792 | drivers/scsi/NCR5380.c | struct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata *) |
hostdata | 1793 | drivers/scsi/NCR5380.c | instance->hostdata; |
hostdata | 1806 | drivers/scsi/NCR5380.c | target_mask = NCR5380_read(CURRENT_SCSI_DATA_REG) & ~(hostdata->id_mask); |
hostdata | 1870 | drivers/scsi/NCR5380.c | for (tmp = (Scsi_Cmnd *) hostdata->disconnected_queue, prev = NULL; |
hostdata | 1880 | drivers/scsi/NCR5380.c | hostdata->disconnected_queue = (Scsi_Cmnd *) tmp->host_scribble; |
hostdata | 1909 | drivers/scsi/NCR5380.c | hostdata->connected = tmp; |
hostdata | 1932 | drivers/scsi/NCR5380.c | struct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata * |
hostdata | 1933 | drivers/scsi/NCR5380.c | instance->hostdata); |
hostdata | 1957 | drivers/scsi/NCR5380.c | if (!(hostdata->connected->SCp.phase & SR_CD)) { |
hostdata | 1959 | drivers/scsi/NCR5380.c | hostdata->connected->SCp.this_residual -= transferred; |
hostdata | 1960 | drivers/scsi/NCR5380.c | hostdata->connected->SCp.ptr += transferred; |
hostdata | 1988 | drivers/scsi/NCR5380.c | struct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata *) |
hostdata | 1989 | drivers/scsi/NCR5380.c | instance->hostdata; |
hostdata | 2004 | drivers/scsi/NCR5380.c | for (prev = (Scsi_Cmnd **) &(hostdata->issue_queue), |
hostdata | 2005 | drivers/scsi/NCR5380.c | tmp = (Scsi_Cmnd *) hostdata->issue_queue; |
hostdata | 2032 | drivers/scsi/NCR5380.c | if (hostdata->connected) { |
hostdata | 2065 | drivers/scsi/NCR5380.c | for (tmp = (Scsi_Cmnd *) hostdata->disconnected_queue; tmp; |
hostdata | 2088 | drivers/scsi/NCR5380.c | for (prev = (Scsi_Cmnd **) &(hostdata->disconnected_queue), |
hostdata | 2089 | drivers/scsi/NCR5380.c | tmp = (Scsi_Cmnd *) hostdata->disconnected_queue; |
hostdata | 62 | 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 */ |