Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/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-6.3-rc2/drivers/scsi/
A DBusLogic.c181 ccb++; in blogic_init_ccbs()
2525 for (ccb = adapter->all_ccbs; ccb; ccb = ccb->next_all) in blogic_inbox_to_ccb()
2526 if (inbox->ccb == ccb->dma_handle) in blogic_inbox_to_ccb()
2645 for (ccb = adapter->all_ccbs; ccb != NULL; in blogic_process_ccbs()
2646 ccb = ccb->next_all) in blogic_process_ccbs()
2677 adapter, ccb->serial, ccb->tgt_id); in blogic_process_ccbs()
2683 ccb->adapter_status, ccb->tgt_status); in blogic_process_ccbs()
2837 next_outbox->ccb = ccb->dma_handle; in blogic_write_outbox()
2938 ccb->data = (unsigned int) ccb->dma_handle + in blogic_qcmd_lck()
3114 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()
872 struct ccb *ccb = aha1542->ccb; in aha1542_dev_reset() local
900 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()
789 scsi_set_resid(ccb->cmd, scsi_bufflen(ccb->cmd) - in stex_check_cmd()
837 ccb = &hba->ccb[tag]; in stex_mu_intr()
942 ccb = &hba->ccb[tag]; in stex_ss_mu_intr()
1259 hba->ccb[tag].req && hba->ccb[tag].cmd == cmd) in stex_abort()
1758 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()
8123 np->ccb = m_calloc_dma(sizeof(struct ccb), "CCB");
8209 np->ccb->p_ccb = vtobus (np->ccb);
8299 if (np->ccb)
[all …]
A Daha1542.h82 struct ccb { struct
/linux-6.3-rc2/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-6.3-rc2/drivers/scsi/pm8001/
A Dpm8001_sas.c53 struct pm8001_ccb_info *ccb; in pm8001_find_tag() local
54 ccb = task->lldd_task; in pm8001_find_tag()
55 *tag = ccb->ccb_tag; in pm8001_find_tag()
471 if (!ccb) { in pm8001_queue_command()
489 task->lldd_task = ccb; in pm8001_queue_command()
490 ccb->n_elem = n_elem; in pm8001_queue_command()
550 pm8001_dev = ccb->device; in pm8001_ccb_task_free()
757 task = ccb->task; in pm8001_open_reject_retry()
1109 ccb->task = NULL; in pm8001_abort_task()
1171 if (ccb) in pm8001_tmf_aborted()
[all …]
A Dpm8001_hwi.c1553 if (!ccb) { in pm8001_work_fn()
1621 if (!ccb) { in pm8001_work_fn()
1794 t = ccb->task; in mpi_ssp_completion()
2016 t = ccb->task; in mpi_ssp_event()
2194 t = ccb->task; in mpi_sata_completion()
4230 if (!ccb) in pm8001_chip_reg_dev_req()
4440 if (!ccb) { in pm8001_chip_get_nvmd_req()
4535 if (!ccb) { in pm8001_chip_set_nvmd_req()
4660 if (!ccb) { in pm8001_chip_fw_flash_update_req()
4766 if (!ccb) in pm8001_chip_set_dev_state_req()
[all …]
A Dpm8001_sas.h189 struct pm8001_ccb_info *ccb);
736 struct pm8001_ccb_info *ccb; in pm8001_ccb_alloc() local
751 ccb->task = task; in pm8001_ccb_alloc()
752 ccb->n_elem = 0; in pm8001_ccb_alloc()
753 ccb->ccb_tag = tag; in pm8001_ccb_alloc()
754 ccb->device = dev; in pm8001_ccb_alloc()
756 ccb->open_retry = 0; in pm8001_ccb_alloc()
758 return ccb; in pm8001_ccb_alloc()
767 u32 tag = ccb->ccb_tag; in pm8001_ccb_free()
774 ccb->task = NULL; in pm8001_ccb_free()
[all …]
A Dpm80xx_hwi.c1816 t = ccb->task; in mpi_ssp_completion()
2094 t = ccb->task; in mpi_ssp_event()
2285 t = ccb->task; in mpi_sata_completion()
2700 t = ccb->task; in mpi_sata_event()
2890 t = ccb->task; in mpi_smp_completion()
4306 ccb->n_elem, ccb->buf_prd); in pm80xx_chip_ssp_io_req()
4477 ccb->n_elem, ccb->buf_prd); in pm80xx_chip_sata_req()
4544 ccb->n_elem, ccb->buf_prd); in pm80xx_chip_sata_req()
4605 ccb->device ? ccb->device->attached_phy : PM8001_MAX_PHYS, in pm80xx_chip_sata_req()
4608 ccb->device ? atomic_read(&ccb->device->running_req) : 0); in pm80xx_chip_sata_req()
[all …]
/linux-6.3-rc2/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 …]
/linux-6.3-rc2/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.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 …]
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/tools/testing/selftests/powerpc/nx-gzip/include/
A Dcrb.h128 struct coprocessor_completion_block ccb; member
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dicswx.h149 struct coprocessor_completion_block ccb; member

Completed in 142 milliseconds

12