/drivers/scsi/ |
H A D | aha1542.h | 115 struct ccb { /* Command Control Block 5.3 */ struct
|
H A D | aha1542.c | 135 struct ccb ccb[AHA1542_MAILBOXES]; member in struct:aha1542_hostdata 410 struct ccb *ccb; local 413 ccb = HOSTDATA(shost)->ccb; 479 mbo = (scsi2int(mb[mbi].ccbptr) - (SCSI_BUF_PA(&ccb[0]))) / sizeof(struct ccb); 487 if (ccb[mbo].tarstat | ccb[mb 571 struct ccb *ccb; local 727 struct ccb *ccb; local 1295 struct ccb *ccb; local [all...] |
H A D | eata_generic.h | 300 void *cp_viraddr; /* address of this ccb */ 324 struct eata_ccb *ccb; /* Address set in COMMAND PACKET */ member in struct:eata_sp 350 __u32 last_ccb; /* Last used ccb */ 362 struct eata_ccb ccb[0]; /* ccb array begins here */ member in struct:hstd
|
H A D | stex.c | 314 struct st_ccb *ccb; member in struct:st_hba 411 struct req_msg *req, struct st_ccb *ccb) 419 cmd = ccb->cmd; 425 ccb->sg_count = nseg; 443 struct req_msg *req, struct st_ccb *ccb) 451 cmd = ccb->cmd; 457 ccb->sg_count = nseg; 475 static void stex_controller_info(struct st_hba *hba, struct st_ccb *ccb) argument 481 scsi_sg_copy_to_buffer(ccb->cmd, p, count); 499 scsi_sg_copy_from_buffer(ccb 410 stex_map_sg(struct st_hba *hba, struct req_msg *req, struct st_ccb *ccb) argument 442 stex_ss_map_sg(struct st_hba *hba, struct req_msg *req, struct st_ccb *ccb) argument 703 stex_scsi_done(struct st_ccb *ccb) argument 745 stex_copy_data(struct st_ccb *ccb, struct status_msg *resp, unsigned int variable) argument 760 stex_check_cmd(struct st_hba *hba, struct st_ccb *ccb, struct status_msg *resp) argument 773 struct st_ccb *ccb; local 887 struct st_ccb *ccb; local 1289 struct st_ccb *ccb; local [all...] |
H A D | ncr53c8xx.c | 1086 ** xerr_status field of struct ccb. 1098 ** nego_status field of struct ccb. 1128 struct ccb; 1205 ** Pointer to the ccb used for negotiation. 1210 struct ccb * nego_cp; 1326 struct ccb * held_ccb; /* CCB held for QUEUE FULL */ 1358 ** This substructure is copied from the ccb to a global address after 1389 ** The virtual address of the ccb containing this header. 1392 struct ccb * cp; 1476 ** During execution of a ccb b 1512 struct ccb { struct 1756 struct ccb *ccb; /* Global CCB */ member in struct:ncb [all...] |
/drivers/misc/ |
H A D | hpilo.c | 124 static int ilo_pkt_enqueue(struct ilo_hwinfo *hw, struct ccb *ccb, argument 131 fifobar = ccb->ccb_u1.send_fifobar; 133 fifobar = ccb->ccb_u3.recv_fifobar; 139 static int ilo_pkt_dequeue(struct ilo_hwinfo *hw, struct ccb *ccb, argument 147 fifobar = ccb->ccb_u1.send_fifobar; 148 desc = ccb->ccb_u2.send_desc; 150 fifobar = ccb->ccb_u3.recv_fifobar; 151 desc = ccb 168 ilo_pkt_recv(struct ilo_hwinfo *hw, struct ccb *ccb) argument 175 doorbell_set(struct ccb *ccb) argument 180 doorbell_clr(struct ccb *ccb) argument 195 ctrl_setup(struct ccb *ccb, int nr_desc, int l2desc_sz) argument 369 is_channel_reset(struct ccb *ccb) argument 375 set_channel_reset(struct ccb *ccb) argument [all...] |
H A D | hpilo.h | 74 * The format must match hw's version. The hw ccb is 128 bytes, 79 struct ccb { struct 110 /* ccb queue parameters */ 116 /* ccb ctrl bitfields */ 123 /* ccb doorbell macros */ 128 * Per fd structure used to track the ccb allocated to that dev file. 131 /* software version of ccb, using virtual addrs */ 132 struct ccb driver_ccb; 134 /* hardware version of ccb, using physical addrs */ 135 struct ccb ilo_cc [all...] |
/drivers/scsi/megaraid/ |
H A D | mega_common.h | 49 * @ccb : command control block for individual driver 62 * Driver specific data structures are maintained in the ccb field. 69 caddr_t ccb; member in struct:__anon4705
|
H A D | megaraid_mbox.c | 993 mbox_ccb_t *ccb; local 1081 ccb = raid_dev->ccb_list + i; 1083 ccb->mbox = (mbox_t *)(mbox_pci_blk[i].vaddr + 16); 1084 ccb->raw_mbox = (uint8_t *)ccb->mbox; 1085 ccb->mbox64 = (mbox64_t *)(mbox_pci_blk[i].vaddr + 8); 1086 ccb->mbox_dma_h = (unsigned long)mbox_pci_blk[i].dma_addr + 16; 1089 if (ccb->mbox_dma_h & 0x0F) { 1096 ccb->epthru = (mraid_epassthru_t *) 1098 ccb 1382 mbox_ccb_t *ccb; local 1423 mbox_ccb_t *ccb; local 1536 mbox_ccb_t *ccb; local 1988 mbox_ccb_t *ccb; local 2037 mbox_ccb_t *ccb; local 2222 mbox_ccb_t *ccb; local 2257 mbox_ccb_t *ccb; local 3410 mbox_ccb_t *ccb; local 3503 mbox_ccb_t *ccb; local 3663 mbox_ccb_t *ccb; local [all...] |
/drivers/scsi/pm8001/ |
H A D | pm8001_sas.c | 52 struct pm8001_ccb_info *ccb; local 53 ccb = task->lldd_task; 54 *tag = ccb->ccb_tag; 273 * @ccb: the ccb which attached to smp task 276 struct pm8001_ccb_info *ccb) 278 return PM8001_CHIP_DISP->smp_req(pm8001_ha, ccb); 297 * @ccb: the ccb which attached to sata task 300 struct pm8001_ccb_info *ccb) 275 pm8001_task_prep_smp(struct pm8001_hba_info *pm8001_ha, struct pm8001_ccb_info *ccb) argument 299 pm8001_task_prep_ata(struct pm8001_hba_info *pm8001_ha, struct pm8001_ccb_info *ccb) argument 311 pm8001_task_prep_ssp_tm(struct pm8001_hba_info *pm8001_ha, struct pm8001_ccb_info *ccb, struct pm8001_tmf_task *tmf) argument 322 pm8001_task_prep_ssp(struct pm8001_hba_info *pm8001_ha, struct pm8001_ccb_info *ccb) argument 364 struct pm8001_ccb_info *ccb; local 511 pm8001_ccb_task_free(struct pm8001_hba_info *pm8001_ha, struct sas_task *task, struct pm8001_ccb_info *ccb, u32 ccb_idx) argument 764 struct pm8001_ccb_info *ccb; local 904 struct pm8001_ccb_info *ccb = &pm8001_ha->ccb_info[i]; local 1081 struct pm8001_ccb_info *ccb; local [all...] |
H A D | pm8001_hwi.c | 1447 struct pm8001_ccb_info *ccb; local 1465 /* Search for a possible ccb that matches the task */ 1466 for (i = 0; ccb = NULL, i < PM8001_MAX_CCB; i++) { 1467 ccb = &pm8001_ha->ccb_info[i]; 1468 tag = ccb->ccb_tag; 1469 if ((tag != 0xFFFFFFFF) && (ccb->task == t)) 1472 if (!ccb) { 1480 pm8001_dev = ccb->device; 1493 pm8001_ccb_task_free(pm8001_ha, t, ccb, tag); 1497 pm8001_ccb_task_free(pm8001_ha, t, ccb, ta 1507 struct pm8001_ccb_info *ccb; local 1654 struct pm8001_ccb_info *ccb; local 1900 struct pm8001_ccb_info *ccb; local 2087 struct pm8001_ccb_info *ccb; local 2419 struct pm8001_ccb_info *ccb; local 2632 struct pm8001_ccb_info *ccb; local 2834 struct pm8001_ccb_info *ccb = &pm8001_ha->ccb_info[tag]; local 2855 struct pm8001_ccb_info *ccb = &pm8001_ha->ccb_info[tag]; local 2876 struct pm8001_ccb_info *ccb = &pm8001_ha->ccb_info[tag]; local 3280 struct pm8001_ccb_info *ccb; local 3361 struct pm8001_ccb_info *ccb = &pm8001_ha->ccb_info[tag]; local 3441 struct pm8001_ccb_info *ccb; local 3936 pm8001_chip_smp_req(struct pm8001_hba_info *pm8001_ha, struct pm8001_ccb_info *ccb) argument 4001 pm8001_chip_ssp_io_req(struct pm8001_hba_info *pm8001_ha, struct pm8001_ccb_info *ccb) argument 4052 pm8001_chip_sata_req(struct pm8001_hba_info *pm8001_ha, struct pm8001_ccb_info *ccb) argument 4191 struct pm8001_ccb_info *ccb; local 4364 pm8001_chip_ssp_tm_req(struct pm8001_hba_info *pm8001_ha, struct pm8001_ccb_info *ccb, struct pm8001_tmf_task *tmf) argument 4393 struct pm8001_ccb_info *ccb; local 4473 struct pm8001_ccb_info *ccb; local 4586 struct pm8001_ccb_info *ccb; local 4639 struct pm8001_ccb_info *ccb; local 4664 struct pm8001_ccb_info *ccb; local [all...] |
/drivers/net/ethernet/brocade/bna/ |
H A D | bnad.c | 106 bnad_cq_cmpl_init(struct bnad *bnad, struct bna_ccb *ccb) argument 112 BNA_CQ_QPGE_PTR_GET(ccb_prod, ccb->sw_qpt, cmpl, 115 for (i = 0; i < ccb->q_depth; i++) { 120 BNA_QE_INDX_ADD(ccb_prod, wis, ccb->q_depth); 122 BNA_CQ_QPGE_PTR_GET(ccb_prod, ccb->sw_qpt, 444 bnad_poll_cq(struct bnad *bnad, struct bna_ccb *ccb, int budget) argument 453 struct bna_pkt_rate *pkt_rt = &ccb->pkt_rate; 454 struct bnad_rx_ctrl *rx_ctrl = (struct bnad_rx_ctrl *)(ccb->ctrl); 458 if (!test_bit(BNAD_RXQ_STARTED, &ccb->rcb[0]->flags)) { 464 BNA_CQ_QPGE_PTR_GET(ccb 560 bnad_netif_rx_schedule_poll(struct bnad *bnad, struct bna_ccb *ccb) argument 575 struct bna_ccb *ccb = (struct bna_ccb *)data; local 875 bnad_cb_ccb_setup(struct bnad *bnad, struct bna_ccb *ccb) argument 885 bnad_cb_ccb_destroy(struct bnad *bnad, struct bna_ccb *ccb) argument 987 struct bna_ccb *ccb; local 1008 struct bna_ccb *ccb; local 1036 struct bna_ccb *ccb; local [all...] |
H A D | bnad.h | 50 * Control structure pointed to ccb->ctrl, which 52 * There is 1:1 corres. between ccb & ctrl 55 struct bna_ccb *ccb; member in struct:bnad_rx_ctrl
|
H A D | bna_tx_rx.c | 705 rxf->rit[offset] = rxp->cq.ccb->id; 1952 rxp->cq.ccb->sw_qpt = (void **) swqpt_mem->kva; 1955 rxp->cq.ccb->sw_qpt[i] = page_mem[i].kva; 2168 rxp->cq.ccb->i_dbell->doorbell_addr = 2184 (*rxp->cq.ccb->hw_producer_index) = 0; 2185 rxp->cq.ccb->producer_index = 0; 2495 rxp->cq.ccb = (struct bna_ccb *) ccb_mem[i].kva; 2496 rxp->cq.ccb->q_depth = rx_cfg->q_depth + 2499 rxp->cq.ccb->cq = &rxp->cq; 2500 rxp->cq.ccb 2733 bna_rx_dim_update(struct bna_ccb *ccb) argument [all...] |
H A D | bna_types.h | 607 struct bna_ccb *ccb; member in struct:bna_rcb 685 struct bna_ccb *ccb; member in struct:bna_cq
|
/drivers/scsi/arcmsr/ |
H A D | arcmsr_hba.c | 783 static void arcmsr_pci_unmap_dma(struct CommandControlBlock *ccb) argument 785 struct scsi_cmnd *pcmd = ccb->pcmd; 790 static void arcmsr_ccb_complete(struct CommandControlBlock *ccb) argument 792 struct AdapterControlBlock *acb = ccb->acb; 793 struct scsi_cmnd *pcmd = ccb->pcmd; 796 arcmsr_pci_unmap_dma(ccb); 797 ccb->startdone = ARCMSR_CCB_DONE; 799 list_add_tail(&ccb->list, &acb->ccb_free_list); 804 static void arcmsr_report_sense_info(struct CommandControlBlock *ccb) argument 807 struct scsi_cmnd *pcmd = ccb 849 arcmsr_report_ccb_state(struct AdapterControlBlock *acb, struct CommandControlBlock *ccb, bool error) argument 1023 struct CommandControlBlock *ccb = acb->pccb_pool[i]; local 1102 arcmsr_build_ccb(struct AdapterControlBlock *acb, struct CommandControlBlock *ccb, struct scsi_cmnd *pcmd) argument 1157 arcmsr_post_ccb(struct AdapterControlBlock *acb, struct CommandControlBlock *ccb) argument 1516 struct CommandControlBlock *ccb; local 1994 struct CommandControlBlock *ccb = NULL; local 2063 struct CommandControlBlock *ccb; local 2306 struct CommandControlBlock *ccb; local 2363 struct CommandControlBlock *ccb; local 2874 struct CommandControlBlock *ccb; local 3046 arcmsr_abort_one_cmd(struct AdapterControlBlock *acb, struct CommandControlBlock *ccb) argument 3075 struct CommandControlBlock *ccb = acb->pccb_pool[i]; local [all...] |
/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_core.c | 4337 * Send an immediate notify ccb to all target mord peripheral 6593 * Send an immediate notify ccb to all target more peripheral 6818 xpt_done((union ccb *)inot); 7354 ahc_find_tmode_devs(struct ahc_softc *ahc, struct cam_sim *sim, union ccb *ccb, argument 7367 if (ccb->ccb_h.target_id == CAM_TARGET_WILDCARD 7368 && ccb->ccb_h.target_lun == CAM_LUN_WILDCARD) { 7375 if (ccb->ccb_h.target_id >= max_id) 7378 if (ccb->ccb_h.target_lun >= AHC_NUM_LUNS) 7381 *tstate = ahc->enabled_targets[ccb 7395 ahc_handle_en_lun(struct ahc_softc *ahc, struct cam_sim *sim, union ccb *ccb) argument [all...] |
H A D | aic79xx_core.c | 5938 * Send an immediate notify ccb to all target mord peripheral 8826 * Send an immediate notify ccb to all target more peripheral 9318 xpt_done((union ccb *)inot); 10278 ahd_find_tmode_devs(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb, argument 10291 if (ccb->ccb_h.target_id == CAM_TARGET_WILDCARD 10292 && ccb->ccb_h.target_lun == CAM_LUN_WILDCARD) { 10299 if (ccb->ccb_h.target_id >= max_id) 10302 if (ccb->ccb_h.target_lun >= AHD_NUM_LUNS) 10305 *tstate = ahd->enabled_targets[ccb 10319 ahd_handle_en_lun(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb) argument [all...] |