/linux-4.1.27/drivers/scsi/aic7xxx/ |
H A D | cam.h | 46 CAM_REQ_INPROG, /* CCB request is in progress */ 47 CAM_REQ_CMP, /* CCB request completed without error */ 48 CAM_REQ_ABORTED, /* CCB request aborted by the host */ 49 CAM_UA_ABORT, /* Unable to abort CCB request */ 50 CAM_REQ_CMP_ERR, /* CCB request completed with an error */ 52 CAM_REQ_INVALID, /* CCB request was invalid */ 56 CAM_SCSI_STATUS_ERROR, /* SCSI error, look at error code in CCB */ 64 CAM_CCB_LEN_ERR, /* CCB length supplied is inadequate */ 67 CAM_REQ_TERMIO, /* CCB request terminated by the host */ 70 CAM_UA_TERMIO, /* Unable to terminate I/O CCB request */ 89 * Definitions for the asynchronous callback CCB fields.
|
H A D | aic7xxx_core.c | 4106 * Resend the identify for this CCB as the target ahc_handle_msg_reject() 4883 /* Perform initial CCB allocation */ ahc_init_scbdata() 6434 * Go through the pending CCB list and look for ahc_abort_scbs()
|
H A D | aic79xx_core.c | 5639 * Resend the identify for this CCB as the target ahd_handle_msg_reject() 6487 /* Perform initial CCB allocation */ ahd_init_scbdata() 8649 * Go through the pending CCB list and look for ahd_abort_scbs()
|
/linux-4.1.27/drivers/scsi/ |
H A D | aha1740.h | 47 #define G2INTST_CCBGOOD 0x10 /* CCB Completed */ 48 #define G2INTST_CCBRETRY 0x50 /* CCB Completed with a retry */ 51 #define G2INTST_CCBERROR 0xc0 /* CCB Completed with error */ 70 #define ATTN_START 0x40 /* Start CCB */ 71 #define ATTN_ABORT 0x50 /* Abort CCB */
|
H A D | vmw_pvscsi.h | 41 BTSTAT_SUCCESS = 0x00, /* CCB complete normally with no errors */ 50 BTSTAT_LUNMISMATCH = 0x17, /* linked CCB has different LUN from 51 * first CCB */ 52 BTSTAT_INVPARAM = 0x1a, /* invalid parameter in CCB or segment
|
H A D | BusLogic.c | 207 blogic_err("UNABLE TO ALLOCATE CCB GROUP - DETACHING\n", blogic_create_initccbs() 278 blogic_alloc_ccb allocates a CCB from Host Adapter's free list, 309 blogic_dealloc_ccb deallocates a CCB, returning it to the Host Adapter's 1682 Depth (internal CCB capacity), as it is more efficient to have the blogic_rdconfig() 2073 Initialize the Bus Device Reset Pending CCB, Tagged Queuing Active, blogic_initadapter() 2141 Set CCB Format command to allow 32 Logical Units per Target Device. blogic_initadapter() 2147 return blogic_failure(adapter, "SET CCB FORMAT"); blogic_initadapter() 2536 Acquisition, CCB Creation, Host Adapter blogic_init() 2597 blogic_qcompleted_ccb queues CCB for completion processing. 2684 is essential that for each CCB and SCSI Command issued, command blogic_scan_inbox() 2690 Found, the CCB had already completed or been aborted before the blogic_scan_inbox() 2712 Save the Completion Code for this CCB and blogic_scan_inbox() 2713 queue the CCB for completion processing. blogic_scan_inbox() 2719 If a CCB ever appears in an Incoming Mailbox blogic_scan_inbox() 2724 blogic_warn("Illegal CCB #%ld status %d in " "Incoming Mailbox\n", adapter, ccb->serial, ccb->status); blogic_scan_inbox() 2754 Process the Completed CCB. blogic_process_ccbs() 2759 blogic_warn("Bus Device Reset CCB #%ld to Target " "%d Completed\n", adapter, ccb->serial, tgt_id); blogic_process_ccbs() 2765 Place CCB back on the Host Adapter's free list. blogic_process_ccbs() 2773 CCB in the Host Adapter (i.e., a Synchronous Bus blogic_process_ccbs() 2812 blogic_warn("CCB #%ld to Target %d Impossible State\n", adapter, ccb->serial, ccb->tgt_id); blogic_process_ccbs() 2822 blogic_warn("CCB #%ld to Target %d Aborted\n", blogic_process_ccbs() 2835 blogic_notice("CCB #%ld Target %d: Result %X Host " blogic_process_ccbs() 2865 Place CCB back on the Host Adapter's free list. blogic_process_ccbs() 2964 blogic_write_outbox places CCB and Action Code into an Outgoing 2978 The CCB field must be written before the Action Code field blogic_write_outbox() 3020 blogic_qcmd creates a CCB for Command and places it into an 3053 Allocate a CCB from the Host Adapter's free list. In the unlikely blogic_qcmd_lck() 3073 Initialize the fields in the BusLogic Command Control Block (CCB). blogic_qcmd_lck() 3199 Place the CCB in an Outgoing Mailbox. The higher levels 3224 the CCB. 3258 Attempt to find an Active CCB for this Command. If no Active 3259 CCB for this Command is found, then no Abort is necessary. 3265 blogic_warn("Unable to Abort Command to Target %d - No CCB Found\n", adapter, tgt_id); 3268 blogic_warn("Unable to Abort Command to Target %d - CCB Completed\n", adapter, tgt_id); 3271 blogic_warn("Unable to Abort Command to Target %d - CCB Reset\n", adapter, tgt_id); 3276 Attempt to Abort this CCB. MultiMaster Firmware versions 3289 blogic_warn("Unable to Abort CCB #%ld to Target %d - Abort Tag Not Supported\n", adapter, ccb->serial, tgt_id); 3293 blogic_warn("Aborting CCB #%ld to Target %d\n", 3298 blogic_warn("Unable to Abort CCB #%ld to Target %d - No Outgoing Mailboxes\n", adapter, ccb->serial, tgt_id); 3304 the CCB. 3306 blogic_warn("Aborting CCB #%ld to Target %d\n", adapter,
|
H A D | aha1542.c | 150 case 0x16: /* Invalid CCB Operation Code-The first byte of the CCB was invalid. makecode() 153 case 0x17: /* Linked CCB does not have the same LUN-A subsequent CCB of a set makecode() 154 of linked CCB's does not specify the same logical unit number as makecode() 157 Target Mode CCB was invalid. */ makecode() 159 case 0x19: /* Duplicate CCB Received in Target Mode-More than once CCB was makecode() 163 case 0x1a: /* Invalid CCB or Segment List Parameter-A segment list with a zero makecode() 165 A CCB parameter was invalid. */ makecode()
|
H A D | ncr53c8xx.c | 846 ** The CCB done queue uses an array of CCB virtual 1042 ** Shall never appear in a CCB. 1277 ** to the CCB corresponding to the reselected nexus. 1287 ** CCB queue management. 1326 struct ccb * held_ccb; /* CCB held for QUEUE FULL */ 1335 ** It is part of the CCB and is called by the scripts processor to 1407 ** last DWORD of the CCB header since it is used for command 1409 ** has been entirely copied back to the CCB when the host_status is 1523 ** Mini-script used at CCB execution start-up. 1525 ** jump to SELECT. Jump to CANCEL if CCB is to be canceled. 1531 ** Mini-script used at CCB relection to restart the nexus. 1533 ** jump to RESEL_DSA. Jump to ABORT if CCB is to be aborted. 1574 u_long p_ccb; /* BUS address of this CCB */ 1582 struct ccb * link_ccb; /* Host adapter CCB chain */ 1583 struct list_head link_ccbq; /* Link to unit CCB queue */ 1585 u_long magic; /* Free / busy CCB flag */ 1602 ** allow cache line bursting when it is copied to/from CCB. 1611 struct scsi_cmnd *waiting_list; /* Commands waiting for a CCB */ 1756 struct ccb *ccb; /* Global CCB */ 2690 ** Compute the CCB indirect jump address which 2770 ** Called addresses point to the launch script in the CCB. 2795 ** Copy the CCB address to the next done entry. 3197 ** Abort a reselection when no active CCB. 4052 ** negotiation and the nego_status field of the CCB. 4404 ** 2 max at a time is enough to flush the CCB wait queue. ncr_queue_command() 4421 ** Insert a CCB into the start queue and wake up the 4670 ** If the CCB is active, patch schedule jumps for the 4775 m_free_dma(cp, sizeof(*cp), "CCB"); ncr_detach() 4800 m_free_dma(np->ccb, sizeof(struct ccb), "CCB"); ncr_detach() 4834 printk ("CCB=%lx STAT=%x/%x\n", (unsigned long)cp, ncr_complete() 5089 ** This CCB has been skipped by the NCR. 5681 ** for no CCB to be active. ncr_setup_tags() 5911 ** Since the global header may be copied back to a CCB ncr_exception() 6374 "CCB already dequeued (0x%08lx)\n", ncr_int_ma() 6414 ** cp != np->header.cp means that the header of the CCB ncr_int_ma() 6421 "CCB address mismatch (0x%08lx != 0x%08lx)\n", ncr_int_ma() 6723 ** We just assume lun=0, 1 CCB, no tag. ncr_int_sir() 6739 "CCB done queue overflow\n", ncr_int_sir() 7164 ** Allocate a new CCB if needed. ncr_get_ccb() 7170 ** Look for free CCB ncr_get_ccb() 7186 ** If a CCB is available, ncr_get_ccb() 7232 ** Remember all informations needed to free this CCB. ncr_get_ccb() 7284 ** Make this CCB available. ncr_free_ccb() 7312 ** Initialize the fixed part of a CCB structure. 7351 ** Allocate a CCB and initialize its fixed part. 7362 ** Allocate memory for this CCB. ncr_alloc_ccb() 7364 cp = m_calloc_dma(sizeof(struct ccb), "CCB"); ncr_alloc_ccb() 7520 ** Initialize the CCB queue headers. ncr_alloc_lcb() 7539 ** Load TEMP with the CCB direct jump table bus address. ncr_alloc_lcb() 7593 ** CCB JUMP table if not yet. ncr_setup_lcb() 8337 np->ccb = m_calloc_dma(sizeof(struct ccb), "CCB"); ncr_attach() 8516 m_free_dma(np->ccb, sizeof(struct ccb), "CCB"); ncr_attach()
|
H A D | BusLogic.h | 648 Define the Set CCB Format request type. Extended LUN Format CCBs are 671 completion codes are stored in the CCB; it only uses codes 1, 2, 4, and 5. 684 Define the Command Control Block (CCB) Opcodes. 698 Define the CCB Data Direction Codes. 782 Define the Driver CCB Status Codes. 794 Define the 32 Bit Mode Command Control Block (CCB) structure. The first 40 808 5 bits simplifies the CCB structure definition, this driver only supports
|
H A D | a100u2w.c | 1031 case 0x16: /* Invalid CCB Operation Code-The first byte of the CCB was invalid. */ inia100_scb_handler()
|
H A D | FlashPoint.c | 2599 * Description: Hookup the correct CCB and handle the incoming messages. 2828 and completed the command. Check the select Q and remove the CCB FPT_sres() 7543 FlashPoint__StartCCB(void *CardHandle, struct blogic_ccb *CCB) FlashPoint__StartCCB() argument 7545 FlashPoint_StartCCB(CardHandle, (struct sccb *)CCB); FlashPoint__StartCCB() 7549 FlashPoint__AbortCCB(void *CardHandle, struct blogic_ccb *CCB) FlashPoint__AbortCCB() argument 7551 FlashPoint_AbortCCB(CardHandle, (struct sccb *)CCB); FlashPoint__AbortCCB()
|
H A D | ips.c | 4380 /* Initialize a CCB to default values */ 4423 /* Initialize a CCB to default values */ 4455 /* Return an unused CCB back to the free list */ 7128 "Unable to allocate a CCB\n"); ips_init_phase2()
|
/linux-4.1.27/drivers/scsi/sym53c8xx_2/ |
H A D | sym_hipd.h | 303 * A CCB hashed table is used to retrieve CCB address 428 * Keep track of the CCB used for the negotiation in order 431 struct sym_ccb * nego_cp; /* CCB used for the nego */ 468 * Task (bus address of a CCB) read from SCRIPTS that points 554 * Is part of the CCB, but is also used separately to plug 565 * It is part of the CCB and is used as parameters for the 638 * Global CCB HEADER. 673 * that use directly the header in the CCB, and the NCR-GENERIC 705 * CCB header. 782 u32 ccb_ba; /* BUS address of this CCB */ 787 struct sym_ccb *link_ccbh; /* Host adapter CCB hash chain */ 788 SYM_QUEHEAD link_ccbq; /* Link to free/busy CCB queue */ 795 u_char started; /* CCB queued to the squeue */ 815 * (CCB, TCB and LCB) in fixed areas. 975 * CCB lists and queue. 997 * We keep track in 'last_cp' of the last CCB that has been 999 * this CCB completes. If last_cp is not zero at the moment 1000 * we queue a new CCB, we set a flag in 'last_cp' that is
|
H A D | sym_glue.h | 235 * Set the status field of a CAM CCB. 245 * Get the status field of a CAM CCB.
|
H A D | sym_hipd.c | 1346 * in sync. with queued CCB expectations. 1416 * negotiation and the nego_status field of the CCB. 1486 * If the previously queued CCB is not yet done, sym_put_start_queue() 1637 * for each CCB that does not prevent this. 2184 * points to a CCB. 2195 * and trust the DSA value if it matches a CCB. sym_recover_scsi_int() 2208 * If we have a CCB, let the SCRIPTS call us back for sym_recover_scsi_int() 2523 printf ("%s: SCSI phase error fixup: CCB already dequeued.\n", sym_int_ma() 2796 * invalid value when the CCB is completed and before 2922 * On STO and UDC, we complete the CCB with the corres- sym_interrupt() 3037 * the CCB of the failed command to prepare a REQUEST SENSE 3057 * The last CCB queued used for IARB hint may be sym_sir_bad_scsi_status() 3321 * disconnected CCB to be aborted. sym_sir_task_recovery() 3350 * Now look for a CCB to abort that haven't started yet. sym_sir_task_recovery() 3366 * want to cancel the last queued CCB, since the sym_sir_task_recovery() 4661 * Look for a free CCB sym_get_ccb() 4692 * the CCB bus address for reselection, sym_get_ccb() 4730 * Set up the CCB bus address for reselection. sym_get_ccb() 4746 * Put the CCB into the busy queue. sym_get_ccb() 4806 * and uncount this CCB. sym_free_ccb() 4813 * and uncount this CCB. sym_free_ccb() 4836 * If we just complete the last queued CCB, sym_free_ccb() 4844 * Make this CCB available. sym_free_ccb() 4867 * Allocate a CCB from memory and initialize its fixed part. 4882 * Allocate memory for this CCB. sym_alloc_ccb() 4884 cp = sym_calloc_dma(sizeof(struct sym_ccb), "CCB"); sym_alloc_ccb() 4930 sym_mfree_dma(cp, sizeof(*cp), "CCB"); sym_alloc_ccb() 4935 * Look up a CCB from a DSA value. 5150 * Keep track of the IO in our CCB. sym_queue_scsiio() 5318 * Mark the CCB for abort and allow time for. sym_abort_ccb() 5336 * Look up our CCB control block. sym_abort_scsiio() 5378 dev_info(&sdev->sdev_gendev, "CCB=%p STAT=%x/%x/%x\n", cp, sym_complete_error() 5441 * Repair the CCB. sym_complete_error() 5560 * Free our CCB. sym_complete_ok() 5665 * Initialyze the CCB free and busy queues. sym_hcb_attach() 5679 * Allocate some CCB. We need at least ONE. sym_hcb_attach() 5824 sym_mfree_dma(cp, sizeof(*cp), "CCB"); sym_hcb_free()
|
H A D | sym_misc.h | 162 * FreeBSD does not offer our kind of queue in the CAM CCB.
|
H A D | sym_fw1.h | 341 * Copy the CCB header to a fixed location 681 * Move back the CCB header using self-modifying 725 * the completed CCB may be lost. 742 * CCB is visible by the CPU before INTFLY is raised. 833 * Move back the CCB header using self-modifying 1070 * JUMP indirectly to the restart point of the CCB. 1109 * Copy the CCB header to a fixed location
|
H A D | sym_fw2.h | 702 * the completed CCB may be lost. 717 * CCB is visible by the CPU before INTFLY is raised. 994 * JUMP indirectly to the restart point of the CCB. 1029 * JUMP indirectly to the restart point of the CCB.
|
H A D | sym_glue.c | 138 * Complete a pending CAM CCB.
|
/linux-4.1.27/drivers/crypto/caam/ |
H A D | intern.h | 74 struct caam_deco __iomem *deco; /* DECO/CCB views */
|
H A D | error.c | 155 * CCB ICV check failures are part of normal operation life; report_ccb_status() 224 { report_ccb_status, "CCB" }, caam_jr_strstatus()
|
H A D | regs.h | 213 u32 ccb_id; /* CCBVID - CCB Version ID */ 705 u32 irq_crtl; /* CxCIRQ - CCB interrupt done/error/clear */ 708 u32 ccb_status_hi; /* CxCSTA - CCB Status/Error */
|
H A D | desc.h | 185 * Load/Store Destination: 0 = class independent CCB, 186 * 1 = class 1 CCB, 2 = class 2 CCB, 3 = DECO
|
/linux-4.1.27/drivers/net/ethernet/brocade/bna/ |
H A D | bnad.h | 52 * determines the NAPI / LRO behavior CCB
|
/linux-4.1.27/sound/pci/ |
H A D | ens1370.c | 168 #define ES_1371_ADC_STOP (1<<13) /* disable CCB transfer capture information */ 172 #define ES_CCB_INTRM (1<<10) /* CCB voice interrupts enable */ 202 #define ES_1371_VC(i) (((i)>>6)&0x03) /* voice code from CCB module */ 203 #define ES_1370_VC(i) (((i)>>5)&0x03) /* voice code from CCB module */ 205 #define ES_MCCB (1<<4) /* CCB interrupt pending */
|
/linux-4.1.27/drivers/scsi/pm8001/ |
H A D | pm8001_sas.h | 287 * CCB(Command Control Block)
|
H A D | pm8001_hwi.c | 2692 pm8001_printk("No CCB !!!. returning\n")); mpi_sata_event()
|
H A D | pm80xx_hwi.c | 2364 pm8001_printk("No CCB !!!. returning\n")); mpi_sata_event()
|
/linux-4.1.27/drivers/scsi/arcmsr/ |
H A D | arcmsr.h | 721 ** this CCB length must be 32 bytes boundary
|
/linux-4.1.27/drivers/dma/ |
H A D | imx-sdma.c | 104 * Error bit set in the CCB status field by the SDMA, 1378 /* Zero-out the CCB structures array just allocated */ sdma_init()
|
/linux-4.1.27/drivers/scsi/megaraid/ |
H A D | megaraid_mbox.c | 1024 * CCBs and embedded components of each CCB and point the pointers in megaraid_alloc_cmd_packets() 3498 // link all the packets. Note, CCB for commands, coming from the megaraid_cmm_register()
|
/linux-4.1.27/drivers/scsi/aacraid/ |
H A D | aacraid.h | 361 __le32 XferState; /* Current transfer state for this CCB */
|
/linux-4.1.27/arch/metag/include/asm/ |
H A D | tbx.h | 647 } CCB; member in union:_tbires_tag_
|