/Linux-v4.19/drivers/bcma/ |
D | driver_chipcommon_b.c | 33 void bcma_chipco_b_mii_write(struct bcma_drv_cc_b *ccb, u32 offset, u32 value) in bcma_chipco_b_mii_write() argument 35 struct bcma_bus *bus = ccb->core->bus; in bcma_chipco_b_mii_write() 36 void __iomem *mii = ccb->mii; in bcma_chipco_b_mii_write() 45 int bcma_core_chipcommon_b_init(struct bcma_drv_cc_b *ccb) in bcma_core_chipcommon_b_init() argument 47 if (ccb->setup_done) in bcma_core_chipcommon_b_init() 50 ccb->setup_done = 1; in bcma_core_chipcommon_b_init() 51 ccb->mii = ioremap_nocache(ccb->core->addr_s[1], BCMA_CORE_SIZE); in bcma_core_chipcommon_b_init() 52 if (!ccb->mii) in bcma_core_chipcommon_b_init() 58 void bcma_core_chipcommon_b_free(struct bcma_drv_cc_b *ccb) in bcma_core_chipcommon_b_free() argument 60 if (ccb->mii) in bcma_core_chipcommon_b_free() [all …]
|
D | bcma_private.h | 54 int bcma_core_chipcommon_b_init(struct bcma_drv_cc_b *ccb); 55 void bcma_core_chipcommon_b_free(struct bcma_drv_cc_b *ccb);
|
/Linux-v4.19/drivers/scsi/ |
D | aha1542.c | 62 struct ccb ccb[AHA1542_MAILBOXES]; member 247 struct ccb *ccb = aha1542->ccb; in aha1542_interrupt() local 306 mbo = (scsi2int(mb[mbi].ccbptr) - (isa_virt_to_bus(&ccb[0]))) / sizeof(struct ccb); in aha1542_interrupt() 312 if (ccb[mbo].tarstat | ccb[mbo].hastat) in aha1542_interrupt() 314 ccb[mbo].tarstat + ((int) ccb[mbo].hastat << 16), mb[mbi].status); in aha1542_interrupt() 329 shost_printk(KERN_WARNING, sh, "tarstat=%x, hastat=%x idlun=%x ccb#=%d\n", ccb[mbo].tarstat, in aha1542_interrupt() 330 ccb[mbo].hastat, ccb[mbo].idlun, mbo); in aha1542_interrupt() 339 if (ccb[mbo].tarstat == 2) in aha1542_interrupt() 340 memcpy(tmp_cmd->sense_buffer, &ccb[mbo].cdb[ccb[mbo].cdblen], in aha1542_interrupt() 349 errstatus = makecode(ccb[mbo].hastat, ccb[mbo].tarstat); in aha1542_interrupt() [all …]
|
D | BusLogic.c | 169 struct blogic_ccb *ccb = (struct blogic_ccb *) blk_pointer; in blogic_init_ccbs() local 172 ccb->allocgrp_head = blkp; in blogic_init_ccbs() 173 ccb->allocgrp_size = blk_size; in blogic_init_ccbs() 175 ccb->status = BLOGIC_CCB_FREE; in blogic_init_ccbs() 176 ccb->adapter = adapter; in blogic_init_ccbs() 177 ccb->dma_handle = (u32) blkp + offset; in blogic_init_ccbs() 179 ccb->callback = blogic_qcompleted_ccb; in blogic_init_ccbs() 180 ccb->base_addr = adapter->fpinfo.base_addr; in blogic_init_ccbs() 182 ccb->next = adapter->free_ccbs; in blogic_init_ccbs() 183 ccb->next_all = adapter->all_ccbs; in blogic_init_ccbs() [all …]
|
D | stex.c | 334 struct st_ccb *ccb; member 431 struct req_msg *req, struct st_ccb *ccb) in stex_map_sg() argument 439 cmd = ccb->cmd; in stex_map_sg() 445 ccb->sg_count = nseg; in stex_map_sg() 463 struct req_msg *req, struct st_ccb *ccb) in stex_ss_map_sg() argument 471 cmd = ccb->cmd; in stex_ss_map_sg() 477 ccb->sg_count = nseg; in stex_ss_map_sg() 495 static void stex_controller_info(struct st_hba *hba, struct st_ccb *ccb) in stex_controller_info() argument 501 scsi_sg_copy_to_buffer(ccb->cmd, p, count); in stex_controller_info() 519 scsi_sg_copy_from_buffer(ccb->cmd, p, count); in stex_controller_info() [all …]
|
D | ncr53c8xx.c | 1128 struct ccb; 1210 struct ccb * nego_cp; 1326 struct ccb * held_ccb; /* CCB held for QUEUE FULL */ 1392 struct ccb * cp; 1512 struct ccb { struct 1582 struct ccb * link_ccb; /* Host adapter CCB chain */ argument 1588 #define CCB_PHYS(cp,lbl) (cp->p_ccb + offsetof(struct ccb, lbl)) argument 1749 struct ccb *(ccb_done[MAX_DONE]); 1756 struct ccb *ccb; /* Global CCB */ member 1920 static void ncr_complete (struct ncb *np, struct ccb *cp); [all …]
|
D | aha1542.h | 81 struct ccb { /* Command Control Block 5.3 */ struct
|
/Linux-v4.19/drivers/misc/ |
D | hpilo.c | 122 static int ilo_pkt_enqueue(struct ilo_hwinfo *hw, struct ccb *ccb, in ilo_pkt_enqueue() argument 129 fifobar = ccb->ccb_u1.send_fifobar; in ilo_pkt_enqueue() 131 fifobar = ccb->ccb_u3.recv_fifobar; in ilo_pkt_enqueue() 137 static int ilo_pkt_dequeue(struct ilo_hwinfo *hw, struct ccb *ccb, in ilo_pkt_dequeue() argument 145 fifobar = ccb->ccb_u1.send_fifobar; in ilo_pkt_dequeue() 146 desc = ccb->ccb_u2.send_desc; in ilo_pkt_dequeue() 148 fifobar = ccb->ccb_u3.recv_fifobar; in ilo_pkt_dequeue() 149 desc = ccb->ccb_u4.recv_desc; in ilo_pkt_dequeue() 166 static int ilo_pkt_recv(struct ilo_hwinfo *hw, struct ccb *ccb) in ilo_pkt_recv() argument 168 char *fifobar = ccb->ccb_u3.recv_fifobar; in ilo_pkt_recv() [all …]
|
D | hpilo.h | 78 struct ccb { struct 131 struct ccb driver_ccb; 134 struct ccb ilo_ccb; 137 struct ccb __iomem *mapped_ccb;
|
/Linux-v4.19/drivers/scsi/megaraid/ |
D | megaraid_mbox.c | 965 mbox_ccb_t *ccb; in megaraid_alloc_cmd_packets() local 1052 ccb = raid_dev->ccb_list + i; in megaraid_alloc_cmd_packets() 1054 ccb->mbox = (mbox_t *)(mbox_pci_blk[i].vaddr + 16); in megaraid_alloc_cmd_packets() 1055 ccb->raw_mbox = (uint8_t *)ccb->mbox; in megaraid_alloc_cmd_packets() 1056 ccb->mbox64 = (mbox64_t *)(mbox_pci_blk[i].vaddr + 8); in megaraid_alloc_cmd_packets() 1057 ccb->mbox_dma_h = (unsigned long)mbox_pci_blk[i].dma_addr + 16; in megaraid_alloc_cmd_packets() 1060 if (ccb->mbox_dma_h & 0x0F) { in megaraid_alloc_cmd_packets() 1067 ccb->epthru = (mraid_epassthru_t *) in megaraid_alloc_cmd_packets() 1069 ccb->epthru_dma_h = epthru_pci_blk[i].dma_addr; in megaraid_alloc_cmd_packets() 1070 ccb->pthru = (mraid_passthru_t *)ccb->epthru; in megaraid_alloc_cmd_packets() [all …]
|
/Linux-v4.19/drivers/scsi/pm8001/ |
D | pm8001_sas.c | 52 struct pm8001_ccb_info *ccb; in pm8001_find_tag() local 53 ccb = task->lldd_task; in pm8001_find_tag() 54 *tag = ccb->ccb_tag; in pm8001_find_tag() 273 struct pm8001_ccb_info *ccb) in pm8001_task_prep_smp() argument 275 return PM8001_CHIP_DISP->smp_req(pm8001_ha, ccb); in pm8001_task_prep_smp() 300 struct pm8001_ccb_info *ccb) in pm8001_task_prep_ata() argument 302 return PM8001_CHIP_DISP->sata_req(pm8001_ha, ccb); in pm8001_task_prep_ata() 312 struct pm8001_ccb_info *ccb, struct pm8001_tmf_task *tmf) in pm8001_task_prep_ssp_tm() argument 314 return PM8001_CHIP_DISP->ssp_tm_req(pm8001_ha, ccb, tmf); in pm8001_task_prep_ssp_tm() 323 struct pm8001_ccb_info *ccb) in pm8001_task_prep_ssp() argument [all …]
|
D | pm8001_hwi.c | 1518 struct pm8001_ccb_info *ccb; in pm8001_work_fn() local 1537 for (i = 0; ccb = NULL, i < PM8001_MAX_CCB; i++) { in pm8001_work_fn() 1538 ccb = &pm8001_ha->ccb_info[i]; in pm8001_work_fn() 1539 tag = ccb->ccb_tag; in pm8001_work_fn() 1540 if ((tag != 0xFFFFFFFF) && (ccb->task == t)) in pm8001_work_fn() 1543 if (!ccb) { in pm8001_work_fn() 1551 pm8001_dev = ccb->device; in pm8001_work_fn() 1564 pm8001_ccb_task_free(pm8001_ha, t, ccb, tag); in pm8001_work_fn() 1568 pm8001_ccb_task_free(pm8001_ha, t, ccb, tag); in pm8001_work_fn() 1578 struct pm8001_ccb_info *ccb; in pm8001_work_fn() local [all …]
|
D | pm80xx_hwi.c | 1396 struct pm8001_ccb_info *ccb; in pm80xx_send_abort_all() local 1424 ccb = &pm8001_ha->ccb_info[ccb_tag]; in pm80xx_send_abort_all() 1425 ccb->device = pm8001_ha_dev; in pm80xx_send_abort_all() 1426 ccb->ccb_tag = ccb_tag; in pm80xx_send_abort_all() 1427 ccb->task = task; in pm80xx_send_abort_all() 1449 struct pm8001_ccb_info *ccb; in pm80xx_send_read_log() local 1488 ccb = &pm8001_ha->ccb_info[ccb_tag]; in pm80xx_send_read_log() 1489 ccb->device = pm8001_ha_dev; in pm80xx_send_read_log() 1490 ccb->ccb_tag = ccb_tag; in pm80xx_send_read_log() 1491 ccb->task = task; in pm80xx_send_read_log() [all …]
|
D | pm8001_sas.h | 206 struct pm8001_ccb_info *ccb); 208 struct pm8001_ccb_info *ccb); 210 struct pm8001_ccb_info *ccb); 222 struct pm8001_ccb_info *ccb, struct pm8001_tmf_task *tmf); 639 struct sas_task *task, struct pm8001_ccb_info *ccb, u32 ccb_idx); 683 struct pm8001_ccb_info *ccb, 732 struct sas_task *task, struct pm8001_ccb_info *ccb, in pm8001_ccb_task_free_done() argument 735 pm8001_ccb_task_free(pm8001_ha, task, ccb, ccb_idx); in pm8001_ccb_task_free_done()
|
/Linux-v4.19/drivers/scsi/arcmsr/ |
D | arcmsr_hba.c | 1186 static void arcmsr_pci_unmap_dma(struct CommandControlBlock *ccb) in arcmsr_pci_unmap_dma() argument 1188 struct scsi_cmnd *pcmd = ccb->pcmd; in arcmsr_pci_unmap_dma() 1193 static void arcmsr_ccb_complete(struct CommandControlBlock *ccb) in arcmsr_ccb_complete() argument 1195 struct AdapterControlBlock *acb = ccb->acb; in arcmsr_ccb_complete() 1196 struct scsi_cmnd *pcmd = ccb->pcmd; in arcmsr_ccb_complete() 1199 arcmsr_pci_unmap_dma(ccb); in arcmsr_ccb_complete() 1200 ccb->startdone = ARCMSR_CCB_DONE; in arcmsr_ccb_complete() 1202 list_add_tail(&ccb->list, &acb->ccb_free_list); in arcmsr_ccb_complete() 1207 static void arcmsr_report_sense_info(struct CommandControlBlock *ccb) in arcmsr_report_sense_info() argument 1210 struct scsi_cmnd *pcmd = ccb->pcmd; in arcmsr_report_sense_info() [all …]
|
/Linux-v4.19/drivers/net/ethernet/brocade/bna/ |
D | bnad.c | 81 bnad_cq_cleanup(struct bnad *bnad, struct bna_ccb *ccb) in bnad_cq_cleanup() argument 86 for (i = 0; i < ccb->q_depth; i++) { in bnad_cq_cleanup() 87 cmpl = &((struct bna_cq_entry *)ccb->sw_q)[i]; in bnad_cq_cleanup() 527 bnad_cq_setup_skb_frags(struct bna_ccb *ccb, struct sk_buff *skb, u32 nvecs) in bnad_cq_setup_skb_frags() argument 535 cq = ccb->sw_q; in bnad_cq_setup_skb_frags() 536 pi = ccb->producer_index; in bnad_cq_setup_skb_frags() 539 rcb = bna_is_small_rxq(cmpl->rxq_id) ? ccb->rcb[1] : ccb->rcb[0]; in bnad_cq_setup_skb_frags() 569 BNA_QE_INDX_INC(pi, ccb->q_depth); in bnad_cq_setup_skb_frags() 595 bnad_cq_process(struct bnad *bnad, struct bna_ccb *ccb, int budget) in bnad_cq_process() argument 602 struct bna_pkt_rate *pkt_rt = &ccb->pkt_rate; in bnad_cq_process() [all …]
|
D | bnad_ethtool.c | 659 if (bnad->rx_info[i].rx_ctrl[j].ccb && in bnad_get_strings() 660 bnad->rx_info[i].rx_ctrl[j].ccb-> in bnad_get_strings() 662 bnad->rx_info[i].rx_ctrl[j].ccb-> in bnad_get_strings() 746 if (bnad->rx_info[i].rx_ctrl[j].ccb && in bnad_get_stats_count_locked() 747 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[1] && in bnad_get_stats_count_locked() 748 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[1]->rxq) in bnad_get_stats_count_locked() 771 if (bnad->rx_info[i].rx_ctrl[j].ccb && in bnad_per_q_stats_fill() 772 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[0] && in bnad_per_q_stats_fill() 773 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[0]->rxq) { in bnad_per_q_stats_fill() 775 ccb->producer_index; in bnad_per_q_stats_fill() [all …]
|
D | bna_tx_rx.c | 575 rxf->rit[offset] = rxp->cq.ccb->id; in bna_rit_init() 1918 rxp->cq.ccb->sw_qpt = (void **) swqpt_mem->kva; in bna_rxp_cqpt_setup() 1919 rxp->cq.ccb->sw_q = page_mem->kva; in bna_rxp_cqpt_setup() 1925 rxp->cq.ccb->sw_qpt[i] = kva; in bna_rxp_cqpt_setup() 2111 rxp->cq.ccb->i_dbell->doorbell_addr = in bna_bfi_rx_enet_start_rsp() 2127 (*rxp->cq.ccb->hw_producer_index) = 0; in bna_bfi_rx_enet_start_rsp() 2128 rxp->cq.ccb->producer_index = 0; in bna_bfi_rx_enet_start_rsp() 2444 rxp->cq.ccb = (struct bna_ccb *) ccb_mem[i].kva; in bna_rx_create() 2452 rxp->cq.ccb->q_depth = cq_depth; in bna_rx_create() 2453 rxp->cq.ccb->cq = &rxp->cq; in bna_rx_create() [all …]
|
/Linux-v4.19/Documentation/sparc/oradax/ |
D | oracle-dax.txt | 231 struct ccb { 300 ccb->control = /* Table 36.1, CCB Header Format */ 311 ccb->completion = 0; /* Completion area address, to be filled in by driver */ 313 ccb->input0 = (unsigned long) input; /* primary input address */ 315 ccb->access = /* Section 36.2.1.2, Data Access Control */ 319 ccb->input1 = 0; /* secondary input address, unused */ 321 ccb->op_data = 0; /* scan criteria (value to be matched) */ 323 ccb->output = (unsigned long) output; /* output address */ 325 ccb->table = 0; /* table address, unused */ 331 if (pwrite(fd, ccb, 64, 0) != 64) { [all …]
|
/Linux-v4.19/drivers/scsi/aic7xxx/ |
D | aic7xxx_core.c | 6817 xpt_done((union ccb *)inot); in ahc_send_lstate_events() 7352 ahc_find_tmode_devs(struct ahc_softc *ahc, struct cam_sim *sim, union ccb *ccb, in ahc_find_tmode_devs() argument 7365 if (ccb->ccb_h.target_id == CAM_TARGET_WILDCARD in ahc_find_tmode_devs() 7366 && ccb->ccb_h.target_lun == CAM_LUN_WILDCARD) { in ahc_find_tmode_devs() 7373 if (ccb->ccb_h.target_id >= max_id) in ahc_find_tmode_devs() 7376 if (ccb->ccb_h.target_lun >= AHC_NUM_LUNS) in ahc_find_tmode_devs() 7379 *tstate = ahc->enabled_targets[ccb->ccb_h.target_id]; in ahc_find_tmode_devs() 7383 (*tstate)->enabled_luns[ccb->ccb_h.target_lun]; in ahc_find_tmode_devs() 7393 ahc_handle_en_lun(struct ahc_softc *ahc, struct cam_sim *sim, union ccb *ccb) in ahc_handle_en_lun() argument 7407 status = ahc_find_tmode_devs(ahc, sim, ccb, &tstate, &lstate, in ahc_handle_en_lun() [all …]
|
D | aic7xxx.h | 1243 struct cam_sim *sim, union ccb *ccb); 1245 struct cam_sim *sim, union ccb *ccb,
|
D | aic79xx_core.c | 9306 xpt_done((union ccb *)inot); in ahd_send_lstate_events() 10266 ahd_find_tmode_devs(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb, in ahd_find_tmode_devs() argument 10279 if (ccb->ccb_h.target_id == CAM_TARGET_WILDCARD in ahd_find_tmode_devs() 10280 && ccb->ccb_h.target_lun == CAM_LUN_WILDCARD) { in ahd_find_tmode_devs() 10287 if (ccb->ccb_h.target_id >= max_id) in ahd_find_tmode_devs() 10290 if (ccb->ccb_h.target_lun >= AHD_NUM_LUNS) in ahd_find_tmode_devs() 10293 *tstate = ahd->enabled_targets[ccb->ccb_h.target_id]; in ahd_find_tmode_devs() 10297 (*tstate)->enabled_luns[ccb->ccb_h.target_lun]; in ahd_find_tmode_devs() 10307 ahd_handle_en_lun(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb) in ahd_handle_en_lun() argument 10320 status = ahd_find_tmode_devs(ahd, sim, ccb, &tstate, &lstate, in ahd_handle_en_lun() [all …]
|
D | aic79xx.h | 1433 struct cam_sim *sim, union ccb *ccb); 1435 struct cam_sim *sim, union ccb *ccb,
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | icswx.h | 140 struct coprocessor_completion_block ccb; member
|
/Linux-v4.19/drivers/scsi/sym53c8xx_2/ |
D | sym_glue.h | 263 void sym_xpt_done(struct sym_hcb *np, struct scsi_cmnd *ccb);
|