Lines Matching refs:arcmsr_cdb
797 …db_phyaddr = (unsigned long)dma_coherent_handle + offsetof(struct CommandControlBlock, arcmsr_cdb); in arcmsr_alloc_ccb_pool()
1333 ccb->arcmsr_cdb.SenseData, in arcmsr_report_sense_info()
1334 sizeof(ccb->arcmsr_cdb.SenseData), in arcmsr_report_sense_info()
1397 switch (ccb->arcmsr_cdb.DeviceStatus) { in arcmsr_report_ccb_state()
1428 , ccb->arcmsr_cdb.DeviceStatus); in arcmsr_report_ccb_state()
1489 pCCB = container_of(pARCMSR_CDB, struct CommandControlBlock, arcmsr_cdb); in arcmsr_done4abort_postqueue()
1508 pCCB = container_of(pARCMSR_CDB, struct CommandControlBlock, arcmsr_cdb); in arcmsr_done4abort_postqueue()
1527 pCCB = container_of(pARCMSR_CDB, struct CommandControlBlock, arcmsr_cdb); in arcmsr_done4abort_postqueue()
1562 struct CommandControlBlock, arcmsr_cdb); in arcmsr_done4abort_postqueue()
1790 struct ARCMSR_CDB *arcmsr_cdb = (struct ARCMSR_CDB *)&ccb->arcmsr_cdb; in arcmsr_build_ccb() local
1791 int8_t *psge = (int8_t *)&arcmsr_cdb->u; in arcmsr_build_ccb()
1799 memset(arcmsr_cdb, 0, sizeof(struct ARCMSR_CDB)); in arcmsr_build_ccb()
1800 arcmsr_cdb->TargetID = pcmd->device->id; in arcmsr_build_ccb()
1801 arcmsr_cdb->LUN = pcmd->device->lun; in arcmsr_build_ccb()
1802 arcmsr_cdb->Function = 1; in arcmsr_build_ccb()
1803 arcmsr_cdb->msgContext = 0; in arcmsr_build_ccb()
1804 memcpy(arcmsr_cdb->Cdb, pcmd->cmnd, pcmd->cmd_len); in arcmsr_build_ccb()
1831 arcmsr_cdb->sgcount = (uint8_t)nseg; in arcmsr_build_ccb()
1832 arcmsr_cdb->DataLength = scsi_bufflen(pcmd); in arcmsr_build_ccb()
1833 arcmsr_cdb->msgPages = arccdbsize/0x100 + (arccdbsize % 0x100 ? 1 : 0); in arcmsr_build_ccb()
1835 arcmsr_cdb->Flags |= ARCMSR_CDB_FLAG_SGL_BSIZE; in arcmsr_build_ccb()
1837 arcmsr_cdb->Flags |= ARCMSR_CDB_FLAG_WRITE; in arcmsr_build_ccb()
1845 struct ARCMSR_CDB *arcmsr_cdb = (struct ARCMSR_CDB *)&ccb->arcmsr_cdb; in arcmsr_post_ccb() local
1852 if (arcmsr_cdb->Flags & ARCMSR_CDB_FLAG_SGL_BSIZE) in arcmsr_post_ccb()
1866 if (arcmsr_cdb->Flags & ARCMSR_CDB_FLAG_SGL_BSIZE) { in arcmsr_post_ccb()
1901 arcmsr_cdb->msgContext = dma_addr_lo32(cdb_phyaddr); in arcmsr_post_ccb()
2472 pCCB = container_of(pARCMSR_CDB, struct CommandControlBlock, arcmsr_cdb); in arcmsr_hbaA_postqueue_isr()
2493 pCCB = container_of(pARCMSR_CDB, struct CommandControlBlock, arcmsr_cdb); in arcmsr_hbaB_postqueue_isr()
2506 struct ARCMSR_CDB *arcmsr_cdb; in arcmsr_hbaC_postqueue_isr() local
2521 arcmsr_cdb = (struct ARCMSR_CDB *)(acb->vir2phy_offset in arcmsr_hbaC_postqueue_isr()
2523 ccb = container_of(arcmsr_cdb, struct CommandControlBlock, in arcmsr_hbaC_postqueue_isr()
2524 arcmsr_cdb); in arcmsr_hbaC_postqueue_isr()
2544 struct ARCMSR_CDB *arcmsr_cdb; in arcmsr_hbaD_postqueue_isr() local
2565 arcmsr_cdb = (struct ARCMSR_CDB *)(acb->vir2phy_offset in arcmsr_hbaD_postqueue_isr()
2567 ccb = container_of(arcmsr_cdb, in arcmsr_hbaD_postqueue_isr()
2568 struct CommandControlBlock, arcmsr_cdb); in arcmsr_hbaD_postqueue_isr()
3494 struct ARCMSR_CDB *arcmsr_cdb; in arcmsr_hbaA_polling_ccbdone() local
3521 arcmsr_cdb = (struct ARCMSR_CDB *)(acb->vir2phy_offset + ccb_cdb_phy); in arcmsr_hbaA_polling_ccbdone()
3522 ccb = container_of(arcmsr_cdb, struct CommandControlBlock, arcmsr_cdb); in arcmsr_hbaA_polling_ccbdone()
3554 struct ARCMSR_CDB *arcmsr_cdb; in arcmsr_hbaB_polling_ccbdone() local
3590 arcmsr_cdb = (struct ARCMSR_CDB *)(acb->vir2phy_offset + ccb_cdb_phy); in arcmsr_hbaB_polling_ccbdone()
3591 ccb = container_of(arcmsr_cdb, struct CommandControlBlock, arcmsr_cdb); in arcmsr_hbaB_polling_ccbdone()
3624 struct ARCMSR_CDB *arcmsr_cdb; in arcmsr_hbaC_polling_ccbdone() local
3651 arcmsr_cdb = (struct ARCMSR_CDB *)(acb->vir2phy_offset + ccb_cdb_phy); in arcmsr_hbaC_polling_ccbdone()
3652 pCCB = container_of(arcmsr_cdb, struct CommandControlBlock, arcmsr_cdb); in arcmsr_hbaC_polling_ccbdone()
3688 struct ARCMSR_CDB *arcmsr_cdb; in arcmsr_hbaD_polling_ccbdone() local
3723 arcmsr_cdb = (struct ARCMSR_CDB *)(acb->vir2phy_offset + in arcmsr_hbaD_polling_ccbdone()
3725 pCCB = container_of(arcmsr_cdb, struct CommandControlBlock, in arcmsr_hbaD_polling_ccbdone()
3726 arcmsr_cdb); in arcmsr_hbaD_polling_ccbdone()
3963 offsetof(struct CommandControlBlock, arcmsr_cdb); in arcmsr_iop_confirm()