/linux-4.4.14/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() 37 writel(offset, ccb->mii + 0x00); in bcma_chipco_b_mii_write() 38 bcma_wait_reg(bus, ccb->mii + 0x00, 0x0100, 0x0000, 100); in bcma_chipco_b_mii_write() 39 writel(value, ccb->mii + 0x04); in bcma_chipco_b_mii_write() 40 bcma_wait_reg(bus, ccb->mii + 0x00, 0x0100, 0x0000, 100); in bcma_chipco_b_mii_write() 44 int bcma_core_chipcommon_b_init(struct bcma_drv_cc_b *ccb) in bcma_core_chipcommon_b_init() argument 46 if (ccb->setup_done) in bcma_core_chipcommon_b_init() 49 ccb->setup_done = 1; in bcma_core_chipcommon_b_init() 50 ccb->mii = ioremap_nocache(ccb->core->addr_s[1], BCMA_CORE_SIZE); in bcma_core_chipcommon_b_init() [all …]
|
D | bcma_private.h | 56 int bcma_core_chipcommon_b_init(struct bcma_drv_cc_b *ccb); 57 void bcma_core_chipcommon_b_free(struct bcma_drv_cc_b *ccb);
|
/linux-4.4.14/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 | 315 struct st_ccb *ccb; member 404 struct req_msg *req, struct st_ccb *ccb) in stex_map_sg() argument 412 cmd = ccb->cmd; in stex_map_sg() 418 ccb->sg_count = nseg; in stex_map_sg() 436 struct req_msg *req, struct st_ccb *ccb) in stex_ss_map_sg() argument 444 cmd = ccb->cmd; in stex_ss_map_sg() 450 ccb->sg_count = nseg; in stex_ss_map_sg() 468 static void stex_controller_info(struct st_hba *hba, struct st_ccb *ccb) in stex_controller_info() argument 474 scsi_sg_copy_to_buffer(ccb->cmd, p, count); in stex_controller_info() 492 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 | eata_pio.c | 183 cp = &hd->ccb[0]; in eata_pio_int_handler() 322 if (hd->ccb[y].status != FREE) { in eata_pio_queue_lck() 332 cp = &hd->ccb[y]; in eata_pio_queue_lck() 364 cmd->host_scribble = (char *) &hd->ccb[y]; in eata_pio_queue_lck() 460 if (HD(cmd)->ccb[x].status == FREE) in eata_pio_host_reset() 463 sp = HD(cmd)->ccb[x].cmd; in eata_pio_host_reset() 464 HD(cmd)->ccb[x].status = RESET; in eata_pio_host_reset() 486 if (HD(cmd)->ccb[x].status != RESET) in eata_pio_host_reset() 489 sp = HD(cmd)->ccb[x].cmd; in eata_pio_host_reset() 494 HD(cmd)->ccb[x].status = FREE; in eata_pio_host_reset() [all …]
|
D | eata_generic.h | 324 struct eata_ccb *ccb; /* Address set in COMMAND PACKET */ member 362 struct eata_ccb ccb[0]; /* ccb array begins here */ member
|
D | aha1542.h | 80 struct ccb { /* Command Control Block 5.3 */ struct
|
D | BusLogic.h | 872 u32 ccb; /* Bytes 0-3 */ member 882 u32 ccb; /* Bytes 0-3 */ member
|
/linux-4.4.14/drivers/misc/ |
D | hpilo.c | 125 static int ilo_pkt_enqueue(struct ilo_hwinfo *hw, struct ccb *ccb, in ilo_pkt_enqueue() argument 132 fifobar = ccb->ccb_u1.send_fifobar; in ilo_pkt_enqueue() 134 fifobar = ccb->ccb_u3.recv_fifobar; in ilo_pkt_enqueue() 140 static int ilo_pkt_dequeue(struct ilo_hwinfo *hw, struct ccb *ccb, in ilo_pkt_dequeue() argument 148 fifobar = ccb->ccb_u1.send_fifobar; in ilo_pkt_dequeue() 149 desc = ccb->ccb_u2.send_desc; in ilo_pkt_dequeue() 151 fifobar = ccb->ccb_u3.recv_fifobar; in ilo_pkt_dequeue() 152 desc = ccb->ccb_u4.recv_desc; in ilo_pkt_dequeue() 169 static int ilo_pkt_recv(struct ilo_hwinfo *hw, struct ccb *ccb) in ilo_pkt_recv() argument 171 char *fifobar = ccb->ccb_u3.recv_fifobar; in ilo_pkt_recv() [all …]
|
D | hpilo.h | 81 struct ccb { struct 134 struct ccb driver_ccb; 137 struct ccb ilo_ccb; 140 struct ccb __iomem *mapped_ccb;
|
/linux-4.4.14/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() 297 struct pm8001_ccb_info *ccb) in pm8001_task_prep_ata() argument 299 return PM8001_CHIP_DISP->sata_req(pm8001_ha, ccb); in pm8001_task_prep_ata() 309 struct pm8001_ccb_info *ccb, struct pm8001_tmf_task *tmf) in pm8001_task_prep_ssp_tm() argument 311 return PM8001_CHIP_DISP->ssp_tm_req(pm8001_ha, ccb, tmf); in pm8001_task_prep_ssp_tm() 320 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 | 1385 struct pm8001_ccb_info *ccb; in pm80xx_send_abort_all() local 1413 ccb = &pm8001_ha->ccb_info[ccb_tag]; in pm80xx_send_abort_all() 1414 ccb->device = pm8001_ha_dev; in pm80xx_send_abort_all() 1415 ccb->ccb_tag = ccb_tag; in pm80xx_send_abort_all() 1416 ccb->task = task; in pm80xx_send_abort_all() 1438 struct pm8001_ccb_info *ccb; in pm80xx_send_read_log() local 1477 ccb = &pm8001_ha->ccb_info[ccb_tag]; in pm80xx_send_read_log() 1478 ccb->device = pm8001_ha_dev; in pm80xx_send_read_log() 1479 ccb->ccb_tag = ccb_tag; in pm80xx_send_read_log() 1480 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); 631 struct sas_task *task, struct pm8001_ccb_info *ccb, u32 ccb_idx); 675 struct pm8001_ccb_info *ccb, 724 struct sas_task *task, struct pm8001_ccb_info *ccb, in pm8001_ccb_task_free_done() argument 727 pm8001_ccb_task_free(pm8001_ha, task, ccb, ccb_idx); in pm8001_ccb_task_free_done()
|
/linux-4.4.14/drivers/scsi/megaraid/ |
D | megaraid_mbox.c | 967 mbox_ccb_t *ccb; in megaraid_alloc_cmd_packets() local 1054 ccb = raid_dev->ccb_list + i; in megaraid_alloc_cmd_packets() 1056 ccb->mbox = (mbox_t *)(mbox_pci_blk[i].vaddr + 16); in megaraid_alloc_cmd_packets() 1057 ccb->raw_mbox = (uint8_t *)ccb->mbox; in megaraid_alloc_cmd_packets() 1058 ccb->mbox64 = (mbox64_t *)(mbox_pci_blk[i].vaddr + 8); in megaraid_alloc_cmd_packets() 1059 ccb->mbox_dma_h = (unsigned long)mbox_pci_blk[i].dma_addr + 16; in megaraid_alloc_cmd_packets() 1062 if (ccb->mbox_dma_h & 0x0F) { in megaraid_alloc_cmd_packets() 1069 ccb->epthru = (mraid_epassthru_t *) in megaraid_alloc_cmd_packets() 1071 ccb->epthru_dma_h = epthru_pci_blk[i].dma_addr; in megaraid_alloc_cmd_packets() 1072 ccb->pthru = (mraid_passthru_t *)ccb->epthru; in megaraid_alloc_cmd_packets() [all …]
|
D | mega_common.h | 69 caddr_t ccb; member
|
/linux-4.4.14/drivers/scsi/arcmsr/ |
D | arcmsr_hba.c | 958 static void arcmsr_pci_unmap_dma(struct CommandControlBlock *ccb) in arcmsr_pci_unmap_dma() argument 960 struct scsi_cmnd *pcmd = ccb->pcmd; in arcmsr_pci_unmap_dma() 965 static void arcmsr_ccb_complete(struct CommandControlBlock *ccb) in arcmsr_ccb_complete() argument 967 struct AdapterControlBlock *acb = ccb->acb; in arcmsr_ccb_complete() 968 struct scsi_cmnd *pcmd = ccb->pcmd; in arcmsr_ccb_complete() 971 arcmsr_pci_unmap_dma(ccb); in arcmsr_ccb_complete() 972 ccb->startdone = ARCMSR_CCB_DONE; in arcmsr_ccb_complete() 974 list_add_tail(&ccb->list, &acb->ccb_free_list); in arcmsr_ccb_complete() 979 static void arcmsr_report_sense_info(struct CommandControlBlock *ccb) in arcmsr_report_sense_info() argument 982 struct scsi_cmnd *pcmd = ccb->pcmd; in arcmsr_report_sense_info() [all …]
|
/linux-4.4.14/drivers/net/ethernet/brocade/bna/ |
D | bnad.c | 100 bnad_cq_cleanup(struct bnad *bnad, struct bna_ccb *ccb) in bnad_cq_cleanup() argument 105 for (i = 0; i < ccb->q_depth; i++) { in bnad_cq_cleanup() 106 cmpl = &((struct bna_cq_entry *)ccb->sw_q)[i]; in bnad_cq_cleanup() 602 bnad_cq_process(struct bnad *bnad, struct bna_ccb *ccb, int budget) in bnad_cq_process() argument 609 struct bna_pkt_rate *pkt_rt = &ccb->pkt_rate; in bnad_cq_process() 610 struct bnad_rx_ctrl *rx_ctrl = ccb->ctrl; in bnad_cq_process() 617 cq = ccb->sw_q; in bnad_cq_process() 620 cmpl = &cq[ccb->producer_index]; in bnad_cq_process() 635 rcb = ccb->rcb[1]; in bnad_cq_process() 637 rcb = ccb->rcb[0]; in bnad_cq_process() [all …]
|
D | bnad_ethtool.c | 666 if (bnad->rx_info[i].rx_ctrl[j].ccb && in bnad_get_strings() 667 bnad->rx_info[i].rx_ctrl[j].ccb-> in bnad_get_strings() 669 bnad->rx_info[i].rx_ctrl[j].ccb-> in bnad_get_strings() 750 if (bnad->rx_info[i].rx_ctrl[j].ccb && in bnad_get_stats_count_locked() 751 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[1] && in bnad_get_stats_count_locked() 752 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[1]->rxq) in bnad_get_stats_count_locked() 775 if (bnad->rx_info[i].rx_ctrl[j].ccb && in bnad_per_q_stats_fill() 776 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[0] && in bnad_per_q_stats_fill() 777 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[0]->rxq) { in bnad_per_q_stats_fill() 779 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 …]
|
D | bna_types.h | 562 struct bna_ccb *ccb; member 644 struct bna_ccb *ccb; member
|
D | bnad.h | 56 struct bna_ccb *ccb; member
|
D | bna.h | 364 void bna_rx_dim_update(struct bna_ccb *ccb);
|
/linux-4.4.14/drivers/scsi/aic7xxx/ |
D | aic7xxx_core.c | 6817 xpt_done((union ccb *)inot); in ahc_send_lstate_events() 7353 ahc_find_tmode_devs(struct ahc_softc *ahc, struct cam_sim *sim, union ccb *ccb, in ahc_find_tmode_devs() argument 7366 if (ccb->ccb_h.target_id == CAM_TARGET_WILDCARD in ahc_find_tmode_devs() 7367 && ccb->ccb_h.target_lun == CAM_LUN_WILDCARD) { in ahc_find_tmode_devs() 7374 if (ccb->ccb_h.target_id >= max_id) in ahc_find_tmode_devs() 7377 if (ccb->ccb_h.target_lun >= AHC_NUM_LUNS) in ahc_find_tmode_devs() 7380 *tstate = ahc->enabled_targets[ccb->ccb_h.target_id]; in ahc_find_tmode_devs() 7384 (*tstate)->enabled_luns[ccb->ccb_h.target_lun]; in ahc_find_tmode_devs() 7394 ahc_handle_en_lun(struct ahc_softc *ahc, struct cam_sim *sim, union ccb *ccb) in ahc_handle_en_lun() argument 7408 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.h | 1436 struct cam_sim *sim, union ccb *ccb); 1438 struct cam_sim *sim, union ccb *ccb,
|
D | aic79xx_core.c | 9318 xpt_done((union ccb *)inot); in ahd_send_lstate_events() 10278 ahd_find_tmode_devs(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb, in ahd_find_tmode_devs() argument 10291 if (ccb->ccb_h.target_id == CAM_TARGET_WILDCARD in ahd_find_tmode_devs() 10292 && ccb->ccb_h.target_lun == CAM_LUN_WILDCARD) { in ahd_find_tmode_devs() 10299 if (ccb->ccb_h.target_id >= max_id) in ahd_find_tmode_devs() 10302 if (ccb->ccb_h.target_lun >= AHD_NUM_LUNS) in ahd_find_tmode_devs() 10305 *tstate = ahd->enabled_targets[ccb->ccb_h.target_id]; in ahd_find_tmode_devs() 10309 (*tstate)->enabled_luns[ccb->ccb_h.target_lun]; in ahd_find_tmode_devs() 10319 ahd_handle_en_lun(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb) in ahd_handle_en_lun() argument 10332 status = ahd_find_tmode_devs(ahd, sim, ccb, &tstate, &lstate, in ahd_handle_en_lun() [all …]
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | icswx.h | 137 struct coprocessor_completion_block ccb; member
|
/linux-4.4.14/drivers/scsi/sym53c8xx_2/ |
D | sym_glue.h | 263 void sym_xpt_done(struct sym_hcb *np, struct scsi_cmnd *ccb);
|
D | sym_hipd.h | 1071 int sym_abort_scsiio(struct sym_hcb *np, struct scsi_cmnd *ccb, int timed_out);
|
/linux-4.4.14/Documentation/scsi/ |
D | ChangeLog.arcmsr | 51 ** 1.20.00.13 11/15/2005 Erich Chen scheduling pending ccb with FIFO
|
D | arcmsr_spec.txt | 30 ** #bit27--bit31 => flag for post ccb
|
D | ChangeLog.ncr53c8xx | 367 - Some simplification for 64 bit arch done ccb address testing.
|
D | ncr53c8xx.txt | 493 alloc: print info about memory allocations (ccb, lcb) 1104 Scatter list size of the driver ccb.
|
D | sym53c8xx_2.txt | 343 alloc: print info about memory allocations (ccb, lcb)
|
D | ChangeLog.1992-1997 | 1792 * aha1542.c: Always set ccb pointer as this gets trashed somehow on
|
/linux-4.4.14/Documentation/zh_CN/ |
D | magic-number.txt | 143 CCB_MAGIC 0xf2691ad2 ccb drivers/scsi/ncr53c8xx.c
|
/linux-4.4.14/include/linux/bcma/ |
D | bcma_driver_chipcommon.h | 696 void bcma_chipco_b_mii_write(struct bcma_drv_cc_b *ccb, u32 offset, u32 value);
|
/linux-4.4.14/Documentation/ |
D | magic-number.txt | 143 CCB_MAGIC 0xf2691ad2 ccb drivers/scsi/ncr53c8xx.c
|