Searched refs:hscb (Results 1 - 9 of 9) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/aic7xxx/
H A Daic7xxx_inline.h193 /*offset*/(scb->hscb - ahc->hscbs) * sizeof(*scb->hscb),
194 /*len*/sizeof(*scb->hscb), op);
267 sgptr = ahc_le32toh(scb->hscb->sgptr);
374 struct hardware_scb *hscb; local
376 hscb = scb->hscb;
378 ahc->scb_data->scbindex[hscb->tag] = NULL;
380 hscb->control = 0;
418 q_hscb = ahc->next_queued_scb->hscb;
[all...]
H A Daic79xx_inline.h272 scb->hscb->task_attribute = scb->hscb->control & SCB_TAG_TYPE;
275 scb->hscb->task_attribute = SCB_XFERLEN_ODD;
277 scb->hscb->task_attribute = 0;
280 if (scb->hscb->cdb_len <= MAX_CDB_LEN_WITH_SENSE_ADDR
281 || (scb->hscb->cdb_len & SCB_CDB_LEN_PTR) != 0)
282 scb->hscb->shared_data.idata.cdb_plus_saddr.sense_addr =
296 scb->hscb->dataptr = sg->addr;
297 scb->hscb->datacnt = sg->len;
303 dataptr_words = (uint32_t*)&scb->hscb
[all...]
H A Daic7xxx_osm.c1369 struct hardware_scb *hscb; local
1409 hscb = scb->hscb;
1415 hscb->control = 0;
1416 hscb->scsiid = BUILD_SCSIID(ahc, cmd);
1417 hscb->lun = cmd->device->lun;
1422 hscb->scsirate = tinfo->scsirate;
1423 hscb->scsioffset = tinfo->curr.offset;
1425 hscb->control |= ULTRAENB;
1428 hscb
[all...]
H A Daic79xx.h78 SCSIID_OUR_ID((scb)->hscb->scsiid)
80 SCSIID_TARGET((ahd), (scb)->hscb->scsiid)
82 SCSIID_CHANNEL(ahd, (scb)->hscb->scsiid)
84 ((scb)->hscb->lun)
110 ahd_le16toh(scb->hscb->tag)
125 (scb)->hscb->scsiid = ((col_idx) << TID_SHIFT) & TID; \
126 (scb)->hscb->lun = ((col_idx) >> 4) & (AHD_NUM_LUNS_NONPKT-1); \
131 dst->hscb->scsiid = src->hscb->scsiid; \
132 dst->hscb
590 struct hardware_scb *hscb; member in struct:scb
[all...]
H A Daic7xxx_core.c425 struct hardware_scb *hscb; local
455 hscb = scb->hscb;
472 ahc_set_scsi_status(scb, hscb->shared_data.status.scsi_status);
473 switch (hscb->shared_data.status.scsi_status) {
490 scb->hscb->tag);
504 sc = (struct scsi_sense *)(&hscb->shared_data.cdb);
540 hscb->control = 0;
557 hscb->control |= MK_MESSAGE;
561 hscb
1526 struct hardware_scb *hscb = scb->hscb; local
6038 struct hardware_scb *hscb; local
[all...]
H A Daic79xx_osm.c691 reset_scb->hscb->control = 0;
692 reset_scb->hscb->scsiid = BUILD_SCSIID(ahd,cmd);
693 reset_scb->hscb->lun = cmd->device->lun;
694 reset_scb->hscb->cdb_len = 0;
695 reset_scb->hscb->task_management = SIU_TASKMGMT_LUN_RESET;
700 reset_scb->hscb->control |= MK_MESSAGE;
1410 struct hardware_scb *hscb; local
1439 hscb = scb->hscb;
1445 hscb
[all...]
H A Daic79xx_core.c338 sgptr = ahd_le32toh(scb->hscb->sgptr);
348 sgptr = ahd_le32toh(scb->hscb->sgptr);
580 hscb_ptr = (uint8_t *)scb->hscb;
894 * entry to avoid referencing the hscb if the completion
897 * hscb field.
1060 ahd_outb(ahd, SAVED_SCSIID, scb->hscb->scsiid);
1061 ahd_outb(ahd, SAVED_LUN, scb->hscb->lun);
1200 scb->hscb->control &= ~(TAG_ENB|SCB_TAG_TYPE);
1201 scb->hscb->control |= MK_MESSAGE;
1202 ahd_outb(ahd, SCB_CONTROL, scb->hscb
6008 struct hardware_scb *hscb; local
8079 struct hardware_scb *hscb; local
8301 struct hardware_scb *hscb; local
[all...]
H A Daic7xxx.h78 (SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid) == 'B')
80 SCSIID_OUR_ID((scb)->hscb->scsiid)
82 SCSIID_TARGET((ahc), (scb)->hscb->scsiid)
84 SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid)
86 ((scb)->hscb->lun & LID)
559 struct hardware_scb *hscb; member in struct:scb
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/
H A Daic7xxx_old.c556 (((scb)->hscb->target_channel_lun & TID) >> 4)
558 ((scb)->hscb->target_channel_lun & LID)
560 (((scb)->hscb->target_channel_lun & SELBUSB) != 0)
782 struct aic7xxx_hwscb *hscb; /* corresponding hardware scb */ member in struct:aic7xxx_scb
1031 #define CTL_OF_SCB(scb) (((scb->hscb)->target_channel_lun >> 3) & 0x1), \
1032 (((scb->hscb)->target_channel_lun >> 4) & 0xf), \
1033 ((scb->hscb)->target_channel_lun & 0x07)
2374 int targ = (scb->hscb->target_channel_lun >> 4) & 0x0F;
2375 int chan = (scb->hscb->target_channel_lun >> 3) & 0x01;
2376 int slun = scb->hscb
3818 struct aic7xxx_hwscb *hscb; local
4212 struct aic7xxx_hwscb *hscb; local
10060 struct aic7xxx_hwscb *hscb; local
10279 struct aic7xxx_hwscb *hscb; local
[all...]

Completed in 121 milliseconds