/drivers/bcma/ |
H A D | driver_chipcommon_b.c | 33 void bcma_chipco_b_mii_write(struct bcma_drv_cc_b *ccb, u32 offset, u32 value) argument 35 struct bcma_bus *bus = ccb->core->bus; 37 writel(offset, ccb->mii + 0x00); 38 bcma_wait_reg(bus, ccb->mii + 0x00, 0x0100, 0x0000, 100); 39 writel(value, ccb->mii + 0x04); 40 bcma_wait_reg(bus, ccb->mii + 0x00, 0x0100, 0x0000, 100); 44 int bcma_core_chipcommon_b_init(struct bcma_drv_cc_b *ccb) argument 46 if (ccb->setup_done) 49 ccb->setup_done = 1; 50 ccb 57 bcma_core_chipcommon_b_free(struct bcma_drv_cc_b *ccb) argument [all...] |
/drivers/scsi/ |
H A D | aha1542.h | 115 struct ccb { /* Command Control Block 5.3 */ struct
|
H A D | aha1542.c | 133 struct ccb ccb[AHA1542_MAILBOXES]; member in struct:aha1542_hostdata 408 struct ccb *ccb; local 411 ccb = HOSTDATA(shost)->ccb; 477 mbo = (scsi2int(mb[mbi].ccbptr) - (SCSI_BUF_PA(&ccb[0]))) / sizeof(struct ccb); 485 if (ccb[mbo].tarstat | ccb[mb 569 struct ccb *ccb; local 725 struct ccb *ccb; local 1233 struct ccb *ccb; local [all...] |
H A D | BusLogic.c | 169 struct blogic_ccb *ccb = (struct blogic_ccb *) blk_pointer; local 172 ccb->allocgrp_head = blkp; 173 ccb->allocgrp_size = blk_size; 175 ccb->status = BLOGIC_CCB_FREE; 176 ccb->adapter = adapter; 177 ccb->dma_handle = (u32) blkp + offset; 179 ccb->callback = blogic_qcompleted_ccb; 180 ccb->base_addr = adapter->fpinfo.base_addr; 182 ccb->next = adapter->free_ccbs; 183 ccb 223 struct blogic_ccb *next_ccb = adapter->all_ccbs, *ccb, *lastccb = NULL; local 286 struct blogic_ccb *ccb; local 314 blogic_dealloc_ccb(struct blogic_ccb *ccb, int dma_unmap) argument 2600 blogic_qcompleted_ccb(struct blogic_ccb *ccb) argument 2706 struct blogic_ccb *ccb = local 2748 struct blogic_ccb *ccb = adapter->firstccb; local 2969 blogic_write_outbox(struct blogic_adapter *adapter, enum blogic_action action, struct blogic_ccb *ccb) argument 3038 struct blogic_ccb *ccb; local 3330 struct blogic_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 | BusLogic.h | 872 u32 ccb; /* Bytes 0-3 */ member in struct:blogic_outbox 882 u32 ccb; /* Bytes 0-3 */ member in struct:blogic_inbox
|
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 | 125 static int ilo_pkt_enqueue(struct ilo_hwinfo *hw, struct ccb *ccb, argument 132 fifobar = ccb->ccb_u1.send_fifobar; 134 fifobar = ccb->ccb_u3.recv_fifobar; 140 static int ilo_pkt_dequeue(struct ilo_hwinfo *hw, struct ccb *ccb, argument 148 fifobar = ccb->ccb_u1.send_fifobar; 149 desc = ccb->ccb_u2.send_desc; 151 fifobar = ccb->ccb_u3.recv_fifobar; 152 desc = ccb 169 ilo_pkt_recv(struct ilo_hwinfo *hw, struct ccb *ccb) argument 176 doorbell_set(struct ccb *ccb) argument 181 doorbell_clr(struct ccb *ccb) argument 196 ctrl_setup(struct ccb *ccb, int nr_desc, int l2desc_sz) argument 370 is_channel_reset(struct ccb *ccb) argument 376 set_channel_reset(struct ccb *ccb) argument [all...] |
H A D | hpilo.h | 76 * The format must match hw's version. The hw ccb is 128 bytes, 81 struct ccb { struct 112 /* ccb queue parameters */ 118 /* ccb ctrl bitfields */ 125 /* ccb doorbell macros */ 130 * Per fd structure used to track the ccb allocated to that dev file. 133 /* software version of ccb, using virtual addrs */ 134 struct ccb driver_ccb; 136 /* hardware version of ccb, using physical addrs */ 137 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:__anon5805
|
H A D | megaraid_mbox.c | 988 mbox_ccb_t *ccb; local 1075 ccb = raid_dev->ccb_list + i; 1077 ccb->mbox = (mbox_t *)(mbox_pci_blk[i].vaddr + 16); 1078 ccb->raw_mbox = (uint8_t *)ccb->mbox; 1079 ccb->mbox64 = (mbox64_t *)(mbox_pci_blk[i].vaddr + 8); 1080 ccb->mbox_dma_h = (unsigned long)mbox_pci_blk[i].dma_addr + 16; 1083 if (ccb->mbox_dma_h & 0x0F) { 1090 ccb->epthru = (mraid_epassthru_t *) 1092 ccb 1376 mbox_ccb_t *ccb; local 1417 mbox_ccb_t *ccb; local 1530 mbox_ccb_t *ccb; local 1982 mbox_ccb_t *ccb; local 2031 mbox_ccb_t *ccb; local 2216 mbox_ccb_t *ccb; local 2251 mbox_ccb_t *ccb; local 3403 mbox_ccb_t *ccb; local 3496 mbox_ccb_t *ccb; local 3656 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; 270 * @ccb: the ccb which attached to smp task 273 struct pm8001_ccb_info *ccb) 275 return PM8001_CHIP_DISP->smp_req(pm8001_ha, ccb); 294 * @ccb: the ccb which attached to sata task 297 struct pm8001_ccb_info *ccb) 272 pm8001_task_prep_smp(struct pm8001_hba_info *pm8001_ha, struct pm8001_ccb_info *ccb) argument 296 pm8001_task_prep_ata(struct pm8001_hba_info *pm8001_ha, struct pm8001_ccb_info *ccb) argument 308 pm8001_task_prep_ssp_tm(struct pm8001_hba_info *pm8001_ha, struct pm8001_ccb_info *ccb, struct pm8001_tmf_task *tmf) argument 319 pm8001_task_prep_ssp(struct pm8001_hba_info *pm8001_ha, struct pm8001_ccb_info *ccb) argument 361 struct pm8001_ccb_info *ccb; local 503 pm8001_ccb_task_free(struct pm8001_hba_info *pm8001_ha, struct sas_task *task, struct pm8001_ccb_info *ccb, u32 ccb_idx) argument 782 struct pm8001_ccb_info *ccb; local 920 struct pm8001_ccb_info *ccb = &pm8001_ha->ccb_info[i]; local 1166 struct pm8001_ccb_info *ccb; local [all...] |
H A D | pm80xx_hwi.c | 1367 struct pm8001_ccb_info *ccb; local 1395 ccb = &pm8001_ha->ccb_info[ccb_tag]; 1396 ccb->device = pm8001_ha_dev; 1397 ccb->ccb_tag = ccb_tag; 1398 ccb->task = task; 1420 struct pm8001_ccb_info *ccb; local 1459 ccb = &pm8001_ha->ccb_info[ccb_tag]; 1460 ccb->device = pm8001_ha_dev; 1461 ccb->ccb_tag = ccb_tag; 1462 ccb 1505 struct pm8001_ccb_info *ccb; local 1763 struct pm8001_ccb_info *ccb; local 1959 struct pm8001_ccb_info *ccb; local 2347 struct pm8001_ccb_info *ccb; local 2584 struct pm8001_ccb_info *ccb; local 3723 pm80xx_chip_smp_req(struct pm8001_hba_info *pm8001_ha, struct pm8001_ccb_info *ccb) argument 3886 pm80xx_chip_ssp_io_req(struct pm8001_hba_info *pm8001_ha, struct pm8001_ccb_info *ccb) argument 4046 pm80xx_chip_sata_req(struct pm8001_hba_info *pm8001_ha, struct pm8001_ccb_info *ccb) argument 4376 struct pm8001_ccb_info *ccb; local [all...] |
H A D | pm8001_hwi.c | 1518 struct pm8001_ccb_info *ccb; local 1536 /* Search for a possible ccb that matches the task */ 1537 for (i = 0; ccb = NULL, i < PM8001_MAX_CCB; i++) { 1538 ccb = &pm8001_ha->ccb_info[i]; 1539 tag = ccb->ccb_tag; 1540 if ((tag != 0xFFFFFFFF) && (ccb->task == t)) 1543 if (!ccb) { 1551 pm8001_dev = ccb->device; 1564 pm8001_ccb_task_free(pm8001_ha, t, ccb, tag); 1568 pm8001_ccb_task_free(pm8001_ha, t, ccb, ta 1578 struct pm8001_ccb_info *ccb; local 1715 struct pm8001_ccb_info *ccb; local 1765 struct pm8001_ccb_info *ccb; local 1849 struct pm8001_ccb_info *ccb; local 2102 struct pm8001_ccb_info *ccb; local 2289 struct pm8001_ccb_info *ccb; local 2675 struct pm8001_ccb_info *ccb; local 2896 struct pm8001_ccb_info *ccb; local 3098 struct pm8001_ccb_info *ccb = &pm8001_ha->ccb_info[tag]; local 3118 struct pm8001_ccb_info *ccb = &pm8001_ha->ccb_info[tag]; local 3139 struct pm8001_ccb_info *ccb = &pm8001_ha->ccb_info[tag]; local 3549 struct pm8001_ccb_info *ccb; local 3634 struct pm8001_ccb_info *ccb = &pm8001_ha->ccb_info[tag]; local 3705 struct pm8001_ccb_info *ccb; local 4219 pm8001_chip_smp_req(struct pm8001_hba_info *pm8001_ha, struct pm8001_ccb_info *ccb) argument 4288 pm8001_chip_ssp_io_req(struct pm8001_hba_info *pm8001_ha, struct pm8001_ccb_info *ccb) argument 4340 pm8001_chip_sata_req(struct pm8001_hba_info *pm8001_ha, struct pm8001_ccb_info *ccb) argument 4518 struct pm8001_ccb_info *ccb; local 4692 pm8001_chip_ssp_tm_req(struct pm8001_hba_info *pm8001_ha, struct pm8001_ccb_info *ccb, struct pm8001_tmf_task *tmf) argument 4723 struct pm8001_ccb_info *ccb; local 4817 struct pm8001_ccb_info *ccb; local 4934 struct pm8001_ccb_info *ccb; local 5051 struct pm8001_ccb_info *ccb; local 5076 struct pm8001_ccb_info *ccb; local [all...] |
H A D | pm8001_sas.h | 204 struct pm8001_ccb_info *ccb); 206 struct pm8001_ccb_info *ccb); 208 struct pm8001_ccb_info *ccb); 220 struct pm8001_ccb_info *ccb, struct pm8001_tmf_task *tmf); 621 struct sas_task *task, struct pm8001_ccb_info *ccb, u32 ccb_idx); 666 struct pm8001_ccb_info *ccb, 713 struct sas_task *task, struct pm8001_ccb_info *ccb, 716 pm8001_ccb_task_free(pm8001_ha, task, ccb, ccb_idx); 712 pm8001_ccb_task_free_done(struct pm8001_hba_info *pm8001_ha, struct sas_task *task, struct pm8001_ccb_info *ccb, u32 ccb_idx) argument
|
/drivers/net/ethernet/brocade/bna/ |
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 | 701 rxf->rit[offset] = rxp->cq.ccb->id; 2131 rxp->cq.ccb->sw_qpt = (void **) swqpt_mem->kva; 2132 rxp->cq.ccb->sw_q = page_mem->kva; 2138 rxp->cq.ccb->sw_qpt[i] = kva; 2354 rxp->cq.ccb->i_dbell->doorbell_addr = 2370 (*rxp->cq.ccb->hw_producer_index) = 0; 2371 rxp->cq.ccb->producer_index = 0; 2686 rxp->cq.ccb = (struct bna_ccb *) ccb_mem[i].kva; 2694 rxp->cq.ccb->q_depth = cq_depth; 2695 rxp->cq.ccb 2950 bna_rx_dim_update(struct bna_ccb *ccb) argument [all...] |
H A D | bnad.c | 98 bnad_cq_cleanup(struct bnad *bnad, struct bna_ccb *ccb) argument 103 for (i = 0; i < ccb->q_depth; i++) { 104 cmpl = &((struct bna_cq_entry *)ccb->sw_q)[i]; 587 bnad_cq_process(struct bnad *bnad, struct bna_ccb *ccb, int budget) argument 594 struct bna_pkt_rate *pkt_rt = &ccb->pkt_rate; 595 struct bnad_rx_ctrl *rx_ctrl = ccb->ctrl; 602 cq = ccb->sw_q; 605 cmpl = &cq[ccb->producer_index]; 620 rcb = ccb->rcb[1]; 622 rcb = ccb 741 bnad_netif_rx_schedule_poll(struct bnad *bnad, struct bna_ccb *ccb) argument 756 struct bna_ccb *ccb = (struct bna_ccb *)data; local 1026 bnad_cb_ccb_setup(struct bnad *bnad, struct bna_ccb *ccb) argument 1036 bnad_cb_ccb_destroy(struct bnad *bnad, struct bna_ccb *ccb) argument 1164 struct bna_ccb *ccb; local 1223 struct bna_ccb *ccb; local 1246 struct bna_ccb *ccb; local [all...] |
H A D | bna_types.h | 574 struct bna_ccb *ccb; member in struct:bna_rcb 655 struct bna_ccb *ccb; member in struct:bna_cq
|
/drivers/scsi/arcmsr/ |
H A D | arcmsr_hba.c | 966 static void arcmsr_pci_unmap_dma(struct CommandControlBlock *ccb) argument 968 struct scsi_cmnd *pcmd = ccb->pcmd; 973 static void arcmsr_ccb_complete(struct CommandControlBlock *ccb) argument 975 struct AdapterControlBlock *acb = ccb->acb; 976 struct scsi_cmnd *pcmd = ccb->pcmd; 979 arcmsr_pci_unmap_dma(ccb); 980 ccb->startdone = ARCMSR_CCB_DONE; 982 list_add_tail(&ccb->list, &acb->ccb_free_list); 987 static void arcmsr_report_sense_info(struct CommandControlBlock *ccb) argument 990 struct scsi_cmnd *pcmd = ccb 1038 arcmsr_report_ccb_state(struct AdapterControlBlock *acb, struct CommandControlBlock *ccb, bool error) argument 1254 struct CommandControlBlock *ccb = acb->pccb_pool[i]; local 1341 arcmsr_build_ccb(struct AdapterControlBlock *acb, struct CommandControlBlock *ccb, struct scsi_cmnd *pcmd) argument 1396 arcmsr_post_ccb(struct AdapterControlBlock *acb, struct CommandControlBlock *ccb) argument 1949 struct CommandControlBlock *ccb; local 1984 struct CommandControlBlock *ccb; local 2477 struct CommandControlBlock *ccb = NULL; local 2546 struct CommandControlBlock *ccb; local 2941 struct CommandControlBlock *ccb; local 2998 struct CommandControlBlock *ccb; local 3714 struct CommandControlBlock *ccb; local 3944 arcmsr_abort_one_cmd(struct AdapterControlBlock *acb, struct CommandControlBlock *ccb) argument 3978 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...] |