| /linux/drivers/bcma/ |
| H A 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(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 …]
|
| H A D | bcma_private.h | 53 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/scsi/ |
| H A D | stex.c | 333 struct st_ccb *ccb; member 426 struct req_msg *req, struct st_ccb *ccb) in stex_map_sg() argument 434 cmd = ccb->cmd; in stex_map_sg() 440 ccb->sg_count = nseg; in stex_map_sg() 458 struct req_msg *req, struct st_ccb *ccb) in stex_ss_map_sg() argument 466 cmd = ccb->cmd; in stex_ss_map_sg() 472 ccb->sg_count = nseg; in stex_ss_map_sg() 490 static void stex_controller_info(struct st_hba *hba, struct st_ccb *ccb) in stex_controller_info() argument 496 scsi_sg_copy_to_buffer(ccb->cmd, p, count); in stex_controller_info() 514 scsi_sg_copy_from_buffer(ccb->cmd, p, count); in stex_controller_info() [all …]
|
| H A D | ncr53c8xx.c | 1118 struct ccb; 1200 struct ccb * nego_cp; 1316 struct ccb * held_ccb; /* CCB held for QUEUE FULL */ 1382 struct ccb * cp; 1497 struct ccb { struct 1567 struct ccb * link_ccb; /* Host adapter CCB chain */ argument 1573 #define CCB_PHYS(cp,lbl) (cp->p_ccb + offsetof(struct ccb, lbl)) argument 1734 struct ccb *(ccb_done[MAX_DONE]); 1741 struct ccb *ccb; /* Global CCB */ member 1905 static void ncr_complete (struct ncb *np, struct ccb *cp); [all …]
|
| H A D | aha1542.h | 82 struct ccb { struct
|
| /linux/drivers/misc/ |
| H A D | hpilo.c | 131 static int ilo_pkt_enqueue(struct ilo_hwinfo *hw, struct ccb *ccb, in ilo_pkt_enqueue() argument 138 fifobar = ccb->ccb_u1.send_fifobar; in ilo_pkt_enqueue() 140 fifobar = ccb->ccb_u3.recv_fifobar; in ilo_pkt_enqueue() 146 static int ilo_pkt_dequeue(struct ilo_hwinfo *hw, struct ccb *ccb, in ilo_pkt_dequeue() argument 154 fifobar = ccb->ccb_u1.send_fifobar; in ilo_pkt_dequeue() 155 desc = ccb->ccb_u2.send_desc; in ilo_pkt_dequeue() 157 fifobar = ccb->ccb_u3.recv_fifobar; 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 177 char *fifobar = ccb->ccb_u3.recv_fifobar; in ilo_pkt_recv() [all …]
|
| H A D | hpilo.h | 81 struct ccb { struct 134 struct ccb driver_ccb; 137 struct ccb ilo_ccb; 140 struct ccb __iomem *mapped_ccb;
|
| /linux/drivers/scsi/megaraid/ |
| H A D | megaraid_mbox.c | 954 mbox_ccb_t *ccb; in megaraid_alloc_cmd_packets() local 1042 ccb = raid_dev->ccb_list + i; in megaraid_alloc_cmd_packets() 1044 ccb->mbox = (mbox_t *)(mbox_pci_blk[i].vaddr + 16); in megaraid_alloc_cmd_packets() 1045 ccb->raw_mbox = (uint8_t *)ccb->mbox; in megaraid_alloc_cmd_packets() 1046 ccb->mbox64 = (mbox64_t *)(mbox_pci_blk[i].vaddr + 8); in megaraid_alloc_cmd_packets() 1047 ccb->mbox_dma_h = (unsigned long)mbox_pci_blk[i].dma_addr + 16; in megaraid_alloc_cmd_packets() 1050 if (ccb->mbox_dma_h & 0x0F) { in megaraid_alloc_cmd_packets() 1057 ccb->epthru = (mraid_epassthru_t *) in megaraid_alloc_cmd_packets() 1059 ccb->epthru_dma_h = epthru_pci_blk[i].dma_addr; in megaraid_alloc_cmd_packets() 1060 ccb->pthru = (mraid_passthru_t *)ccb->epthru; in megaraid_alloc_cmd_packets() [all …]
|
| H A D | mega_common.h | 65 caddr_t ccb; member
|
| /linux/drivers/net/ethernet/brocade/bna/ |
| H A D | bnad.c | 74 bnad_cq_cleanup(struct bnad *bnad, struct bna_ccb *ccb) in bnad_cq_cleanup() argument 79 for (i = 0; i < ccb->q_depth; i++) { in bnad_cq_cleanup() 80 cmpl = &((struct bna_cq_entry *)ccb->sw_q)[i]; in bnad_cq_cleanup() 520 bnad_cq_setup_skb_frags(struct bna_ccb *ccb, struct sk_buff *skb, u32 nvecs) in bnad_cq_setup_skb_frags() argument 528 cq = ccb->sw_q; in bnad_cq_setup_skb_frags() 529 pi = ccb->producer_index; in bnad_cq_setup_skb_frags() 532 rcb = bna_is_small_rxq(cmpl->rxq_id) ? ccb->rcb[1] : ccb->rcb[0]; in bnad_cq_setup_skb_frags() 562 BNA_QE_INDX_INC(pi, ccb->q_depth); in bnad_cq_setup_skb_frags() 588 bnad_cq_process(struct bnad *bnad, struct bna_ccb *ccb, int budget) in bnad_cq_process() argument 595 struct bna_pkt_rate *pkt_rt = &ccb->pkt_rate; in bnad_cq_process() [all …]
|
| H A D | bnad_ethtool.c | 642 if (bnad->rx_info[i].rx_ctrl[j].ccb && in bnad_get_strings() 643 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[1] && in bnad_get_strings() 644 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[1]->rxq) 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() 691 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[1]->rxq) in bnad_get_stats_count_locked() 714 if (bnad->rx_info[i].rx_ctrl[j].ccb && in bnad_per_q_stats_fill() 715 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[0] && in bnad_per_q_stats_fill() 716 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[0]->rxq) { in bnad_per_q_stats_fill() 718 ccb->producer_index; in bnad_per_q_stats_fill() [all …]
|
| H A D | bna_tx_rx.c | 567 rxf->rit[offset] = rxp->cq.ccb->id; in bna_rit_init() 1910 rxp->cq.ccb->sw_qpt = (void **) swqpt_mem->kva; in bna_rxp_cqpt_setup() 1911 rxp->cq.ccb->sw_q = page_mem->kva; in bna_rxp_cqpt_setup() 1917 rxp->cq.ccb->sw_qpt[i] = kva; in bna_rxp_cqpt_setup() 2103 rxp->cq.ccb->i_dbell->doorbell_addr = in bna_bfi_rx_enet_start_rsp() 2119 (*rxp->cq.ccb->hw_producer_index) = 0; in bna_bfi_rx_enet_start_rsp() 2120 rxp->cq.ccb->producer_index = 0; in bna_bfi_rx_enet_start_rsp() 2436 rxp->cq.ccb = (struct bna_ccb *) ccb_mem[i].kva; in bna_rx_create() 2444 rxp->cq.ccb->q_depth = cq_depth; in bna_rx_create() 2445 rxp->cq.ccb->cq = &rxp->cq; in bna_rx_create() [all …]
|
| H A D | bna_types.h | 563 struct bna_ccb *ccb; member 645 struct bna_ccb *ccb; member
|
| /linux/drivers/gpu/drm/imagination/ |
| H A D | pvr_ccb.h | 43 void *ccb; member 49 void pvr_ccb_fini(struct pvr_ccb *ccb);
|
| /linux/Documentation/arch/sparc/oradax/ |
| H A D | oracle-dax.rst | 238 struct ccb { 307 ccb->control = /* Table 36.1, CCB Header Format */ 318 ccb->completion = 0; /* Completion area address, to be filled in by driver */ 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) { [all …]
|
| /linux/drivers/scsi/aic7xxx/ |
| H A D | aic7xxx_core.c | 6751 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 7297 if (ccb->ccb_h.target_id == CAM_TARGET_WILDCARD in ahc_find_tmode_devs() 7298 && ccb->ccb_h.target_lun == CAM_LUN_WILDCARD) { in ahc_find_tmode_devs() 7305 if (ccb->ccb_h.target_id >= max_id) in ahc_find_tmode_devs() 7308 if (ccb->ccb_h.target_lun >= AHC_NUM_LUNS) in ahc_find_tmode_devs() 7311 *tstate = ahc->enabled_targets[ccb->ccb_h.target_id]; in ahc_find_tmode_devs() 7315 (*tstate)->enabled_luns[ccb->ccb_h.target_lun]; in ahc_find_tmode_devs() 7325 ahc_handle_en_lun(struct ahc_softc *ahc, struct cam_sim *sim, union ccb *ccb) in ahc_handle_en_lun() argument 7339 status = ahc_find_tmode_devs(ahc, sim, ccb, &tstate, &lstate, in ahc_handle_en_lun() [all …]
|
| H A D | aic79xx_core.c | 9222 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 10193 if (ccb->ccb_h.target_id == CAM_TARGET_WILDCARD in ahd_find_tmode_devs() 10194 && ccb->ccb_h.target_lun == CAM_LUN_WILDCARD) { in ahd_find_tmode_devs() 10201 if (ccb->ccb_h.target_id >= max_id) in ahd_find_tmode_devs() 10204 if (ccb->ccb_h.target_lun >= AHD_NUM_LUNS) in ahd_find_tmode_devs() 10207 *tstate = ahd->enabled_targets[ccb->ccb_h.target_id]; in ahd_find_tmode_devs() 10211 (*tstate)->enabled_luns[ccb->ccb_h.target_lun]; in ahd_find_tmode_devs() 10221 ahd_handle_en_lun(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb) in ahd_handle_en_lun() argument 10234 status = ahd_find_tmode_devs(ahd, sim, ccb, &tstate, &lstate, in ahd_handle_en_lun() [all …]
|
| H A D | aic79xx.h | 1423 struct cam_sim *sim, union ccb *ccb); 1425 struct cam_sim *sim, union ccb *ccb,
|
| /linux/tools/testing/selftests/powerpc/nx-gzip/include/ |
| H A D | crb.h | 128 struct coprocessor_completion_block ccb; member
|
| H A D | nxu.h | 312 volatile struct nx_ccb_t ccb; /* byte[48:63] */ member 632 struct nx_ccb_t ccb; /* byte[48:63] */ member
|
| /linux/arch/powerpc/include/asm/ |
| H A D | icswx.h | 149 struct coprocessor_completion_block ccb; member
|
| /linux/Documentation/translations/zh_CN/process/ |
| H A D | magic-number.rst | 78 CCB_MAGIC 0xf2691ad2 ccb ``drivers/scsi/ncr53c8xx.c``
|
| /linux/Documentation/translations/zh_TW/process/ |
| H A D | magic-number.rst | 72 CCB_MAGIC 0xf2691ad2 ccb ``drivers/scsi/ncr53c8xx.c``
|
| /linux/drivers/scsi/sym53c8xx_2/ |
| H A D | sym_glue.h | 250 void sym_xpt_done(struct sym_hcb *np, struct scsi_cmnd *ccb);
|
| /linux/drivers/sbus/char/ |
| H A D | oradax.c | 757 static void dax_prt_ccbs(struct dax_ccb *ccb, int nelem) in dax_prt_ccbs() argument 764 ccbp = (u64 *)&ccb[i]; in dax_prt_ccbs() 765 dax_dbg(" %sccb[%d]", ccb[i].hdr.longccb ? "long " : "", i); in dax_prt_ccbs()
|