Home
last modified time | relevance | path

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

12

/drivers/scsi/
A DBusLogic.c182 ccb++; in blogic_init_ccbs()
2527 for (ccb = adapter->all_ccbs; ccb; ccb = ccb->next_all) in blogic_inbox_to_ccb()
2528 if (inbox->ccb == ccb->dma_handle) in blogic_inbox_to_ccb()
2647 for (ccb = adapter->all_ccbs; ccb != NULL; in blogic_process_ccbs()
2648 ccb = ccb->next_all) in blogic_process_ccbs()
2679 adapter, ccb->serial, ccb->tgt_id); in blogic_process_ccbs()
2685 ccb->adapter_status, ccb->tgt_status); in blogic_process_ccbs()
2839 next_outbox->ccb = ccb->dma_handle; in blogic_write_outbox()
2940 ccb->data = (unsigned int) ccb->dma_handle + in blogic_qcmd_lck()
3116 for (ccb = adapter->all_ccbs; ccb != NULL; ccb = ccb->next_all) in DEF_SCSI_QCMD()
[all …]
A Daha1542.c64 struct ccb *ccb; member
288 struct ccb *ccb = aha1542->ccb; in aha1542_interrupt() local
355 if (ccb[mbo].tarstat | ccb[mbo].hastat) in aha1542_interrupt()
373 ccb[mbo].hastat, ccb[mbo].idlun, mbo); in aha1542_interrupt()
399 ccb[mbo].hastat, ccb[mbo].tarstat); in aha1542_interrupt()
425 struct ccb *ccb = aha1542->ccb; in aha1542_queuecommand() local
492 memset(&ccb[mbo], 0, sizeof(struct ccb)); in aha1542_queuecommand()
511 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.c434 cmd = ccb->cmd; in stex_map_sg()
466 cmd = ccb->cmd; in stex_ss_map_sg()
573 ccb = &hba->ccb[tag]; in return_abnormal_state()
576 ccb->req = NULL; in return_abnormal_state()
577 if (ccb->cmd) { in return_abnormal_state()
792 scsi_set_resid(ccb->cmd, scsi_bufflen(ccb->cmd) - in stex_check_cmd()
840 ccb = &hba->ccb[tag]; in stex_mu_intr()
945 ccb = &hba->ccb[tag]; in stex_ss_mu_intr()
1262 hba->ccb[tag].req && hba->ccb[tag].cmd == cmd) in stex_abort()
1761 if (!hba->ccb) { in stex_probe()
[all …]
A Dncr53c8xx.c1118 struct ccb;
1497 struct ccb { struct
1741 struct ccb *ccb; /* Global CCB */ member
4643 if (np->ccb) in ncr_detach()
4644 m_free_dma(np->ccb, sizeof(struct ccb), "CCB"); in ncr_detach()
4998 cp = np->ccb; in ncr_wakeup_done()
5014 struct ccb *cp = np->ccb; in ncr_wakeup()
8124 np->ccb = m_calloc_dma(sizeof(struct ccb), "CCB");
8210 np->ccb->p_ccb = vtobus (np->ccb);
8300 if (np->ccb)
[all …]
A Daha1542.h82 struct ccb { struct
/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);
/drivers/scsi/pm8001/
A Dpm8001_sas.c54 ccb = task->lldd_task; in pm8001_find_tag()
55 *tag = ccb->ccb_tag; in pm8001_find_tag()
150 task = ccb->task; in pm80xx_show_pending_commands()
154 ccb->ccb_tag, in pm80xx_show_pending_commands()
524 if (!ccb) { in pm8001_queue_command()
542 task->lldd_task = ccb; in pm8001_queue_command()
543 ccb->n_elem = n_elem; in pm8001_queue_command()
818 task = ccb->task; in pm8001_open_reject_retry()
1181 ccb->task = NULL; in pm8001_abort_task()
1243 if (ccb) in pm8001_tmf_aborted()
[all …]
A Dpm8001_hwi.c1497 if (!ccb) { in pm8001_work_fn()
1565 if (!ccb) { in pm8001_work_fn()
1738 t = ccb->task; in mpi_ssp_completion()
1960 t = ccb->task; in mpi_ssp_event()
2138 t = ccb->task; in mpi_sata_completion()
4176 if (!ccb) in pm8001_chip_reg_dev_req()
4385 if (!ccb) { in pm8001_chip_get_nvmd_req()
4480 if (!ccb) { in pm8001_chip_set_nvmd_req()
4605 if (!ccb) { in pm8001_chip_fw_flash_update_req()
4711 if (!ccb) in pm8001_chip_set_dev_state_req()
[all …]
A Dpm8001_sas.h196 struct pm8001_ccb_info *ccb);
742 struct pm8001_ccb_info *ccb; in pm8001_ccb_alloc() local
757 ccb->task = task; in pm8001_ccb_alloc()
758 ccb->n_elem = 0; in pm8001_ccb_alloc()
759 ccb->ccb_tag = tag; in pm8001_ccb_alloc()
760 ccb->device = dev; in pm8001_ccb_alloc()
762 ccb->open_retry = 0; in pm8001_ccb_alloc()
764 return ccb; in pm8001_ccb_alloc()
773 u32 tag = ccb->ccb_tag; in pm8001_ccb_free()
780 ccb->task = NULL; in pm8001_ccb_free()
[all …]
A Dpm80xx_hwi.c1844 t = ccb->task; in mpi_ssp_completion()
2122 t = ccb->task; in mpi_ssp_event()
2314 t = ccb->task; in mpi_sata_completion()
2736 t = ccb->task; in mpi_sata_event()
2926 t = ccb->task; in mpi_smp_completion()
4382 ccb->n_elem, ccb->buf_prd); in pm80xx_chip_ssp_io_req()
4552 ccb->n_elem, ccb->buf_prd); in pm80xx_chip_sata_req()
4618 ccb->n_elem, ccb->buf_prd); in pm80xx_chip_sata_req()
4679 ccb->device ? ccb->device->attached_phy : PM8001_MAX_PHYS, in pm80xx_chip_sata_req()
4682 ccb->device ? atomic_read(&ccb->device->running_req) : 0); in pm80xx_chip_sata_req()
[all …]
/drivers/misc/
A Dhpilo.c131 static int ilo_pkt_enqueue(struct ilo_hwinfo *hw, struct ccb *ccb, in ilo_pkt_enqueue() argument
146 static int ilo_pkt_dequeue(struct ilo_hwinfo *hw, struct ccb *ccb, in ilo_pkt_dequeue() argument
155 desc = ccb->ccb_u2.send_desc; in ilo_pkt_dequeue()
158 desc = ccb->ccb_u4.recv_desc; in ilo_pkt_dequeue()
175 static int ilo_pkt_recv(struct ilo_hwinfo *hw, struct ccb *ccb) in ilo_pkt_recv() argument
182 static inline void doorbell_set(struct ccb *ccb) in doorbell_set() argument
184 iowrite8(1, ccb->ccb_u5.db_base); in doorbell_set()
187 static inline void doorbell_clr(struct ccb *ccb) in doorbell_clr() argument
202 static void ctrl_setup(struct ccb *ccb, int nr_desc, int l2desc_sz) in ctrl_setup() argument
375 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;
/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()
1526 ccb = (mbox_ccb_t *)scb->ccb; in DEF_SCSI_QCMD()
1815 ccb = (mbox_ccb_t *)scb->ccb; in DEF_SCSI_QCMD()
1941 ccb = (mbox_ccb_t *)scb->ccb; in megaraid_mbox_prepare_pthru()
1990 ccb = (mbox_ccb_t *)scb->ccb; in megaraid_mbox_prepare_epthru()
2209 ccb = (mbox_ccb_t *)scb->ccb; in megaraid_mbox_dpc()
3312 ccb = (mbox_ccb_t *)scb->ccb; in megaraid_mbox_display_scb()
3430 scb->ccb = (caddr_t)ccb; in megaraid_cmm_register()
[all …]
/drivers/gpu/drm/imagination/
A Dpvr_ccb.c75 if (IS_ERR(pvr_ccb->ccb)) { in pvr_ccb_init()
76 err = PTR_ERR(pvr_ccb->ccb); in pvr_ccb_init()
296 mutex_lock(&pvr_dev->kccb.ccb.lock); in pvr_kccb_try_reserve_slot()
304 mutex_unlock(&pvr_dev->kccb.ccb.lock); in pvr_kccb_try_reserve_slot()
428 mutex_lock(&pvr_dev->kccb.ccb.lock); in pvr_kccb_is_idle()
432 mutex_unlock(&pvr_dev->kccb.ccb.lock); in pvr_kccb_is_idle()
480 mutex_lock(&pvr_dev->kccb.ccb.lock); in pvr_kccb_wake_up_waiters()
499 mutex_unlock(&pvr_dev->kccb.ccb.lock); in pvr_kccb_wake_up_waiters()
508 pvr_ccb_fini(&pvr_dev->kccb.ccb); in pvr_kccb_fini()
594 mutex_lock(&pvr_dev->kccb.ccb.lock); in pvr_kccb_reserve_slot()
[all …]
A Dpvr_ccb.h43 void *ccb; member
49 void pvr_ccb_fini(struct pvr_ccb *ccb);
/drivers/net/ethernet/brocade/bna/
A Dbnad.c725 BNA_QE_INDX_INC(ccb->producer_index, ccb->q_depth); in bnad_cq_process()
758 if (ccb) { in bnad_msix_rx()
760 bnad_netif_rx_schedule_poll(ccb->bnad, ccb); in bnad_msix_rx()
1025 rx_info->rx_ctrl[ccb->id].ccb = ccb; in bnad_cb_ccb_setup()
1026 ccb->ctrl = &rx_info->rx_ctrl[ccb->id]; in bnad_cb_ccb_setup()
1035 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()
[all …]
A Dbnad_ethtool.c642 if (bnad->rx_info[i].rx_ctrl[j].ccb && in bnad_get_strings()
689 if (bnad->rx_info[i].rx_ctrl[j].ccb && in bnad_get_stats_count_locked()
690 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[1] && in bnad_get_stats_count_locked()
714 if (bnad->rx_info[i].rx_ctrl[j].ccb && in bnad_per_q_stats_fill()
718 ccb->producer_index; in bnad_per_q_stats_fill()
721 ccb->hw_producer_index); in bnad_per_q_stats_fill()
739 if (bnad->rx_info[i].rx_ctrl[j].ccb) { in bnad_per_q_stats_fill()
741 bnad->rx_info[i].rx_ctrl[j].ccb-> in bnad_per_q_stats_fill()
744 ccb->rcb[0]; in bnad_per_q_stats_fill()
756 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 …]
/drivers/scsi/arcmsr/
A Darcmsr_hba.c1854 ccb->pcmd = pcmd; in arcmsr_build_ccb()
3262 return ccb; in arcmsr_get_freeccb()
3335 if (!ccb) in arcmsr_queue_command_lck()
3608 if ((ccb->acb != acb) || (ccb->startdone != ARCMSR_CCB_START)) { in arcmsr_hbaA_polling_ccbdone()
3609 if ((ccb->startdone == ARCMSR_CCB_ABORTED) || (ccb == poll_ccb)) { in arcmsr_hbaA_polling_ccbdone()
3615 , ccb); in arcmsr_hbaA_polling_ccbdone()
3624 , ccb in arcmsr_hbaA_polling_ccbdone()
3677 if ((ccb->acb != acb) || (ccb->startdone != ARCMSR_CCB_START)) { in arcmsr_hbaB_polling_ccbdone()
3684 ,ccb); in arcmsr_hbaB_polling_ccbdone()
3693 , ccb in arcmsr_hbaB_polling_ccbdone()
[all …]
/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.h1230 struct cam_sim *sim, union ccb *ccb);
1232 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,
/drivers/scsi/sym53c8xx_2/
A Dsym_glue.h250 void sym_xpt_done(struct sym_hcb *np, struct scsi_cmnd *ccb);

Completed in 923 milliseconds

12