Home
last modified time | relevance | path

Searched refs:ccb (Results 1 – 25 of 45) sorted by relevance

12

/linux/drivers/scsi/
A DBusLogic.c181 ccb++; in blogic_init_ccbs()
299 return ccb; in blogic_alloc_ccb()
2636 for (ccb = adapter->all_ccbs; ccb != NULL; in blogic_process_ccbs()
2637 ccb = ccb->next_all) in blogic_process_ccbs()
2668 adapter, ccb->serial, ccb->tgt_id); in blogic_process_ccbs()
2674 ccb->adapter_status, ccb->tgt_status); in blogic_process_ccbs()
2828 next_outbox->ccb = ccb->dma_handle; in blogic_write_outbox()
2929 ccb->data = (unsigned int) ccb->dma_handle + in blogic_qcmd_lck()
2933 ccb->data = virt_to_32bit_virt(ccb->sglist); in blogic_qcmd_lck()
3105 for (ccb = adapter->all_ccbs; ccb != NULL; ccb = ccb->next_all) in DEF_SCSI_QCMD()
[all …]
A Daha1542.c64 struct ccb *ccb; member
289 struct ccb *ccb = aha1542->ccb; in aha1542_interrupt() local
356 if (ccb[mbo].tarstat | ccb[mbo].hastat) in aha1542_interrupt()
374 ccb[mbo].hastat, ccb[mbo].idlun, mbo); in aha1542_interrupt()
400 ccb[mbo].hastat, ccb[mbo].tarstat); in aha1542_interrupt()
426 struct ccb *ccb = aha1542->ccb; in aha1542_queuecommand() local
493 memset(&ccb[mbo], 0, sizeof(struct ccb)); in aha1542_queuecommand()
512 ccb[mbo].linkptr[0] = ccb[mbo].linkptr[1] = ccb[mbo].linkptr[2] = 0; in aha1542_queuecommand()
873 struct ccb *ccb = aha1542->ccb; in aha1542_dev_reset() local
901 memset(&ccb[mbo], 0, sizeof(struct ccb)); in aha1542_dev_reset()
[all …]
A Dstex.c431 cmd = ccb->cmd; in stex_map_sg()
463 cmd = ccb->cmd; in stex_ss_map_sg()
570 ccb = &hba->ccb[tag]; in return_abnormal_state()
573 ccb->req = NULL; in return_abnormal_state()
574 if (ccb->cmd) { in return_abnormal_state()
788 scsi_set_resid(ccb->cmd, scsi_bufflen(ccb->cmd) - in stex_check_cmd()
836 ccb = &hba->ccb[tag]; in stex_mu_intr()
941 ccb = &hba->ccb[tag]; in stex_ss_mu_intr()
1258 hba->ccb[tag].req && hba->ccb[tag].cmd == cmd) in stex_abort()
1757 if (!hba->ccb) { in stex_probe()
[all …]
A Dncr53c8xx.c1119 struct ccb;
1498 struct ccb { struct
1742 struct ccb *ccb; /* Global CCB */ member
4644 if (np->ccb) in ncr_detach()
4645 m_free_dma(np->ccb, sizeof(struct ccb), "CCB"); in ncr_detach()
4999 cp = np->ccb; in ncr_wakeup_done()
5015 struct ccb *cp = np->ccb; in ncr_wakeup()
8121 np->ccb = m_calloc_dma(sizeof(struct ccb), "CCB");
8207 np->ccb->p_ccb = vtobus (np->ccb);
8297 if (np->ccb)
[all …]
A Daha1542.h82 struct ccb { struct
/linux/drivers/bcma/
A Ddriver_chipcommon_b.c33 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(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 …]
A Dbcma_private.h53 int bcma_core_chipcommon_b_init(struct bcma_drv_cc_b *ccb);
54 void bcma_core_chipcommon_b_free(struct bcma_drv_cc_b *ccb);
/linux/drivers/misc/
A Dhpilo.c129 static int ilo_pkt_enqueue(struct ilo_hwinfo *hw, struct ccb *ccb, in ilo_pkt_enqueue() argument
144 static int ilo_pkt_dequeue(struct ilo_hwinfo *hw, struct ccb *ccb, in ilo_pkt_dequeue() argument
153 desc = ccb->ccb_u2.send_desc; in ilo_pkt_dequeue()
156 desc = ccb->ccb_u4.recv_desc; in ilo_pkt_dequeue()
173 static int ilo_pkt_recv(struct ilo_hwinfo *hw, struct ccb *ccb) in ilo_pkt_recv() argument
180 static inline void doorbell_set(struct ccb *ccb) in doorbell_set() argument
182 iowrite8(1, ccb->ccb_u5.db_base); in doorbell_set()
185 static inline void doorbell_clr(struct ccb *ccb) in doorbell_clr() argument
200 static void ctrl_setup(struct ccb *ccb, int nr_desc, int l2desc_sz) in ctrl_setup() argument
373 static inline int is_channel_reset(struct ccb *ccb) in is_channel_reset() argument
[all …]
A Dhpilo.h81 struct ccb { struct
134 struct ccb driver_ccb;
137 struct ccb ilo_ccb;
140 struct ccb __iomem *mapped_ccb;
/linux/drivers/scsi/megaraid/
A Dmegaraid_mbox.c1068 scb->ccb = (caddr_t)ccb; in megaraid_alloc_cmd_packets()
1347 ccb = (mbox_ccb_t *)scb->ccb; in megaraid_mbox_mksgl()
1386 ccb = (mbox_ccb_t *)scb->ccb; in mbox_post_cmd()
1527 ccb = (mbox_ccb_t *)scb->ccb; in DEF_SCSI_QCMD()
1816 ccb = (mbox_ccb_t *)scb->ccb; in DEF_SCSI_QCMD()
1942 ccb = (mbox_ccb_t *)scb->ccb; in megaraid_mbox_prepare_pthru()
1991 ccb = (mbox_ccb_t *)scb->ccb; in megaraid_mbox_prepare_epthru()
2210 ccb = (mbox_ccb_t *)scb->ccb; in megaraid_mbox_dpc()
3313 ccb = (mbox_ccb_t *)scb->ccb; in megaraid_mbox_display_scb()
3431 scb->ccb = (caddr_t)ccb; in megaraid_cmm_register()
[all …]
/linux/drivers/scsi/pm8001/
A Dpm8001_sas.c53 ccb = task->lldd_task; in pm8001_find_tag()
54 *tag = ccb->ccb_tag; in pm8001_find_tag()
453 t->lldd_task = ccb; in pm8001_task_exec()
456 ccb->task = t; in pm8001_task_exec()
467 ccb, tmf); in pm8001_task_exec()
530 if (!ccb->task) in pm8001_ccb_task_free()
533 if (ccb->n_elem) in pm8001_ccb_task_free()
553 ccb->task = NULL; in pm8001_ccb_task_free()
824 ccb->task = task; in pm8001_exec_internal_task_abort()
825 ccb->n_elem = 0; in pm8001_exec_internal_task_abort()
[all …]
A Dpm8001_hwi.c1544 if (!ccb) { in pm8001_work_fn()
1614 if (!ccb) { in pm8001_work_fn()
1909 t = ccb->task; in mpi_ssp_completion()
2132 t = ccb->task; in mpi_ssp_event()
2315 if (ccb) { in mpi_sata_completion()
2316 t = ccb->task; in mpi_sata_completion()
2700 if (ccb) { in mpi_sata_event()
2701 t = ccb->task; in mpi_sata_event()
2720 t = ccb->task; in mpi_sata_event()
2899 t = ccb->task; in mpi_smp_completion()
[all …]
A Dpm80xx_hwi.c1867 ccb->n_elem = 0; in pm80xx_send_read_log()
1932 t = ccb->task; in mpi_ssp_completion()
2213 t = ccb->task; in mpi_ssp_event()
2411 if (ccb) { in mpi_sata_completion()
2412 t = ccb->task; in mpi_sata_completion()
2835 if (ccb) { in mpi_sata_event()
2836 t = ccb->task; in mpi_sata_event()
3063 t = ccb->task; in mpi_smp_completion()
4445 ccb->n_elem, ccb->buf_prd); in pm80xx_chip_ssp_io_req()
4614 ccb->n_elem, ccb->buf_prd); in pm80xx_chip_sata_req()
[all …]
A Dpm8001_sas.h190 struct pm8001_ccb_info *ccb);
192 struct pm8001_ccb_info *ccb);
194 struct pm8001_ccb_info *ccb);
206 struct pm8001_ccb_info *ccb, struct pm8001_tmf_task *tmf);
641 struct sas_task *task, struct pm8001_ccb_info *ccb, u32 ccb_idx);
687 struct pm8001_ccb_info *ccb,
740 struct sas_task *task, struct pm8001_ccb_info *ccb, in pm8001_ccb_task_free_done() argument
743 pm8001_ccb_task_free(pm8001_ha, task, ccb, ccb_idx); in pm8001_ccb_task_free_done()
/linux/drivers/scsi/arcmsr/
A Darcmsr_hba.c1799 ccb->pcmd = pcmd; in arcmsr_build_ccb()
3181 return ccb; in arcmsr_get_freeccb()
3254 if (!ccb) in arcmsr_queue_command_lck()
3522 if ((ccb->acb != acb) || (ccb->startdone != ARCMSR_CCB_START)) { in arcmsr_hbaA_polling_ccbdone()
3523 if ((ccb->startdone == ARCMSR_CCB_ABORTED) || (ccb == poll_ccb)) { in arcmsr_hbaA_polling_ccbdone()
3529 , ccb); in arcmsr_hbaA_polling_ccbdone()
3538 , ccb in arcmsr_hbaA_polling_ccbdone()
3591 if ((ccb->acb != acb) || (ccb->startdone != ARCMSR_CCB_START)) { in arcmsr_hbaB_polling_ccbdone()
3598 ,ccb); in arcmsr_hbaB_polling_ccbdone()
3607 , ccb in arcmsr_hbaB_polling_ccbdone()
[all …]
/linux/drivers/net/ethernet/brocade/bna/
A Dbnad.c757 if (ccb) { in bnad_msix_rx()
759 bnad_netif_rx_schedule_poll(ccb->bnad, ccb); in bnad_msix_rx()
1024 rx_info->rx_ctrl[ccb->id].ccb = ccb; in bnad_cb_ccb_setup()
1025 ccb->ctrl = &rx_info->rx_ctrl[ccb->id]; in bnad_cb_ccb_setup()
1034 rx_info->rx_ctrl[ccb->id].ccb = NULL; in bnad_cb_ccb_destroy()
1159 ccb = rx_ctrl->ccb; in bnad_cb_rx_stall()
1160 if (!ccb) in bnad_cb_rx_stall()
1218 ccb = rx_ctrl->ccb; in bnad_cb_rx_cleanup()
1219 if (!ccb) in bnad_cb_rx_cleanup()
1242 ccb = rx_ctrl->ccb; in bnad_cb_rx_post()
[all …]
A Dbnad_ethtool.c638 if (bnad->rx_info[i].rx_ctrl[j].ccb && in bnad_get_strings()
685 if (bnad->rx_info[i].rx_ctrl[j].ccb && in bnad_get_stats_count_locked()
686 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[1] && in bnad_get_stats_count_locked()
710 if (bnad->rx_info[i].rx_ctrl[j].ccb && in bnad_per_q_stats_fill()
714 ccb->producer_index; in bnad_per_q_stats_fill()
717 ccb->hw_producer_index); in bnad_per_q_stats_fill()
735 if (bnad->rx_info[i].rx_ctrl[j].ccb) { in bnad_per_q_stats_fill()
737 bnad->rx_info[i].rx_ctrl[j].ccb-> in bnad_per_q_stats_fill()
740 ccb->rcb[0]; in bnad_per_q_stats_fill()
752 bnad->rx_info[i].rx_ctrl[j].ccb-> in bnad_per_q_stats_fill()
[all …]
A Dbna_tx_rx.c1917 rxp->cq.ccb->sw_qpt[i] = kva; in bna_rxp_cqpt_setup()
2445 rxp->cq.ccb->cq = &rxp->cq; in bna_rx_create()
2446 rxp->cq.ccb->rcb[0] = q0->rcb; in bna_rx_create()
2447 q0->rcb->ccb = rxp->cq.ccb; in bna_rx_create()
2449 rxp->cq.ccb->rcb[1] = q1->rcb; in bna_rx_create()
2450 q1->rcb->ccb = rxp->cq.ccb; in bna_rx_create()
2461 rxp->cq.ccb->bnad = bna->bnad; in bna_rx_create()
2462 rxp->cq.ccb->id = i; in bna_rx_create()
2517 rxp->cq.ccb = NULL; in bna_rx_destroy()
2735 ccb->pkt_rate.small_pkt_cnt = 0; in bna_rx_dim_update()
[all …]
/linux/Documentation/sparc/oradax/
A Doracle-dax.rst238 struct ccb {
307 ccb->control = /* Table 36.1, CCB Header Format */
320 ccb->input0 = (unsigned long) input; /* primary input address */
322 ccb->access = /* Section 36.2.1.2, Data Access Control */
326 ccb->input1 = 0; /* secondary input address, unused */
328 ccb->op_data = 0; /* scan criteria (value to be matched) */
330 ccb->output = (unsigned long) output; /* output address */
332 ccb->table = 0; /* table address, unused */
338 if (pwrite(fd, ccb, 64, 0) != 64) {
394 ccb->control |= /* Table 36.1, CCB Header Format */
[all …]
/linux/drivers/scsi/aic7xxx/
A Daic7xxx_core.c6751 xpt_done((union ccb *)inot); in ahc_send_lstate_events()
7284 ahc_find_tmode_devs(struct ahc_softc *ahc, struct cam_sim *sim, union ccb *ccb, in ahc_find_tmode_devs() argument
7325 ahc_handle_en_lun(struct ahc_softc *ahc, struct cam_sim *sim, union ccb *ccb) in ahc_handle_en_lun() argument
7343 ccb->ccb_h.status = status; in ahc_handle_en_lun()
7403 ccb->ccb_h.status = status; in ahc_handle_en_lun()
7419 ccb->ccb_h.status = CAM_BUSY; in ahc_handle_en_lun()
7448 cel = &ccb->cel; in ahc_handle_en_lun()
7449 target = ccb->ccb_h.target_id; in ahc_handle_en_lun()
7450 lun = ccb->ccb_h.target_lun; in ahc_handle_en_lun()
7577 ccb->ccb_h.status = CAM_REQ_CMP; in ahc_handle_en_lun()
[all …]
A Daic7xxx.h1232 struct cam_sim *sim, union ccb *ccb);
1234 struct cam_sim *sim, union ccb *ccb,
A Daic79xx_core.c9222 xpt_done((union ccb *)inot); in ahd_send_lstate_events()
10180 ahd_find_tmode_devs(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb, in ahd_find_tmode_devs() argument
10221 ahd_handle_en_lun(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb) in ahd_handle_en_lun() argument
10238 ccb->ccb_h.status = status; in ahd_handle_en_lun()
10272 ccb->ccb_h.status = status; in ahd_handle_en_lun()
10287 ccb->ccb_h.status = CAM_BUSY; in ahd_handle_en_lun()
10299 cel = &ccb->cel; in ahd_handle_en_lun()
10300 target = ccb->ccb_h.target_id; in ahd_handle_en_lun()
10301 lun = ccb->ccb_h.target_lun; in ahd_handle_en_lun()
10422 ccb->ccb_h.status = CAM_REQ_CMP; in ahd_handle_en_lun()
[all …]
A Daic79xx.h1423 struct cam_sim *sim, union ccb *ccb);
1425 struct cam_sim *sim, union ccb *ccb,
/linux/tools/testing/selftests/powerpc/nx-gzip/include/
A Dcrb.h128 struct coprocessor_completion_block ccb; member
/linux/arch/powerpc/include/asm/
A Dicswx.h149 struct coprocessor_completion_block ccb; member

Completed in 149 milliseconds

12