Home
last modified time | relevance | path

Searched defs:ccb (Results 1 – 25 of 50) sorted by relevance

12

/kernel/linux/linux-4.19/drivers/scsi/
Daha1542.h81 struct ccb { /* Command Control Block 5.3 */ struct
82 u8 op; /* Command Control Block Operation Code */
83 u8 idlun; /* op=0,2:Target Id, op=1:Initiator Id */
87 u8 cdblen; /* SCSI Command Length */
88 u8 rsalen; /* Request Sense Allocation Length/Disable */
89 u8 datalen[3]; /* Data Length (msb, .., lsb) */
90 u8 dataptr[3]; /* Data Pointer */
91 u8 linkptr[3]; /* Link Pointer */
92 u8 commlinkid; /* Command Linking Identifier */
93 u8 hastat; /* Host Adapter Status (HASTAT) */
[all …]
DBusLogic.c169 struct blogic_ccb *ccb = (struct blogic_ccb *) blk_pointer; in blogic_init_ccbs() local
223 struct blogic_ccb *next_ccb = adapter->all_ccbs, *ccb, *lastccb = NULL; in blogic_destroy_ccbs() local
286 struct blogic_ccb *ccb; in blogic_alloc_ccb() local
314 static void blogic_dealloc_ccb(struct blogic_ccb *ccb, int dma_unmap) in blogic_dealloc_ccb()
2600 static void blogic_qcompleted_ccb(struct blogic_ccb *ccb) in blogic_qcompleted_ccb()
2706 struct blogic_ccb *ccb = in blogic_scan_inbox() local
2748 struct blogic_ccb *ccb = adapter->firstccb; in blogic_process_ccbs() local
2970 enum blogic_action action, struct blogic_ccb *ccb) in blogic_write_outbox()
3038 struct blogic_ccb *ccb; in blogic_qcmd_lck() local
3330 struct blogic_ccb *ccb; local
Daha1542.c62 struct ccb ccb[AHA1542_MAILBOXES]; member
247 struct ccb *ccb = aha1542->ccb; in aha1542_interrupt() local
380 struct ccb *ccb = aha1542->ccb; in aha1542_queuecommand() local
499 struct ccb *ccb = aha1542->ccb; in setup_mailboxes() local
805 struct ccb *ccb = aha1542->ccb; in aha1542_dev_reset() local
Dncr53c8xx.c1512 struct ccb { struct
1520 struct dsb phys;
1528 struct launch start;
1536 struct launch restart;
1545 ncrcmd patch[8];
1574 u_long p_ccb; /* BUS address of this CCB */ argument
1582 struct ccb * link_ccb; /* Host adapter CCB chain */ argument
1583 struct list_head link_ccbq; /* Link to unit CCB queue */ argument
1588 #define CCB_PHYS(cp,lbl) (cp->p_ccb + offsetof(struct ccb, lbl)) argument
1756 struct ccb *ccb; /* Global CCB */ member
/kernel/linux/linux-5.10/drivers/scsi/
Daha1542.h81 struct ccb { /* Command Control Block 5.3 */ struct
82 u8 op; /* Command Control Block Operation Code */
83 u8 idlun; /* op=0,2:Target Id, op=1:Initiator Id */
87 u8 cdblen; /* SCSI Command Length */
88 u8 rsalen; /* Request Sense Allocation Length/Disable */
89 u8 datalen[3]; /* Data Length (msb, .., lsb) */
90 u8 dataptr[3]; /* Data Pointer */
91 u8 linkptr[3]; /* Link Pointer */
92 u8 commlinkid; /* Command Linking Identifier */
93 u8 hastat; /* Host Adapter Status (HASTAT) */
[all …]
DBusLogic.c163 struct blogic_ccb *ccb = (struct blogic_ccb *) blk_pointer; in blogic_init_ccbs() local
217 struct blogic_ccb *next_ccb = adapter->all_ccbs, *ccb, *lastccb = NULL; in blogic_destroy_ccbs() local
281 struct blogic_ccb *ccb; in blogic_alloc_ccb() local
309 static void blogic_dealloc_ccb(struct blogic_ccb *ccb, int dma_unmap) in blogic_dealloc_ccb()
2596 static void blogic_qcompleted_ccb(struct blogic_ccb *ccb) in blogic_qcompleted_ccb()
2703 struct blogic_ccb *ccb = in blogic_scan_inbox() local
2745 struct blogic_ccb *ccb = adapter->firstccb; in blogic_process_ccbs() local
2967 enum blogic_action action, struct blogic_ccb *ccb) in blogic_write_outbox()
3035 struct blogic_ccb *ccb; in blogic_qcmd_lck() local
3327 struct blogic_ccb *ccb; local
Daha1542.c64 struct ccb *ccb; member
270 struct ccb *ccb = aha1542->ccb; in aha1542_interrupt() local
403 struct ccb *ccb = aha1542->ccb; in aha1542_queuecommand() local
861 struct ccb *ccb = aha1542->ccb; in aha1542_dev_reset() local
Dncr53c8xx.c1500 struct ccb { struct
1508 struct dsb phys;
1516 struct launch start;
1524 struct launch restart;
1533 ncrcmd patch[8];
1562 u_long p_ccb; /* BUS address of this CCB */ argument
1570 struct ccb * link_ccb; /* Host adapter CCB chain */ argument
1571 struct list_head link_ccbq; /* Link to unit CCB queue */ argument
1576 #define CCB_PHYS(cp,lbl) (cp->p_ccb + offsetof(struct ccb, lbl)) argument
1744 struct ccb *ccb; /* Global CCB */ member
Dstex.c329 struct st_ccb *ccb; member
426 struct req_msg *req, struct st_ccb *ccb) in stex_map_sg()
458 struct req_msg *req, struct st_ccb *ccb) in stex_ss_map_sg()
490 static void stex_controller_info(struct st_hba *hba, struct st_ccb *ccb) in stex_controller_info()
567 struct st_ccb *ccb; in return_abnormal_state() local
772 static void stex_copy_data(struct st_ccb *ccb, in stex_copy_data()
788 struct st_ccb *ccb, struct status_msg *resp) in stex_check_cmd()
800 struct st_ccb *ccb; in stex_mu_intr() local
914 struct st_ccb *ccb; in stex_ss_mu_intr() local
/kernel/linux/linux-5.10/drivers/misc/
Dhpilo.h78 struct ccb { struct
82 } ccb_u1; argument
86 } ccb_u2; argument
92 } ccb_u3; argument
96 } ccb_u4; argument
102 } ccb_u5; argument
109 /* ccb queue parameters */ argument
Dhpilo.c129 static int ilo_pkt_enqueue(struct ilo_hwinfo *hw, struct ccb *ccb, in ilo_pkt_enqueue()
144 static int ilo_pkt_dequeue(struct ilo_hwinfo *hw, struct ccb *ccb, in ilo_pkt_dequeue()
173 static int ilo_pkt_recv(struct ilo_hwinfo *hw, struct ccb *ccb) in ilo_pkt_recv()
180 static inline void doorbell_set(struct ccb *ccb) in doorbell_set()
185 static inline void doorbell_clr(struct ccb *ccb) in doorbell_clr()
200 static void ctrl_setup(struct ccb *ccb, int nr_desc, int l2desc_sz) in ctrl_setup()
373 static inline int is_channel_reset(struct ccb *ccb) in is_channel_reset()
379 static inline void set_channel_reset(struct ccb *ccb) in set_channel_reset()
/kernel/linux/linux-4.19/drivers/misc/
Dhpilo.h78 struct ccb { struct
82 } ccb_u1; argument
86 } ccb_u2; argument
92 } ccb_u3; argument
96 } ccb_u4; argument
102 } ccb_u5; argument
109 /* ccb queue parameters */ argument
Dhpilo.c122 static int ilo_pkt_enqueue(struct ilo_hwinfo *hw, struct ccb *ccb, in ilo_pkt_enqueue()
137 static int ilo_pkt_dequeue(struct ilo_hwinfo *hw, struct ccb *ccb, in ilo_pkt_dequeue()
166 static int ilo_pkt_recv(struct ilo_hwinfo *hw, struct ccb *ccb) in ilo_pkt_recv()
173 static inline void doorbell_set(struct ccb *ccb) in doorbell_set()
178 static inline void doorbell_clr(struct ccb *ccb) in doorbell_clr()
193 static void ctrl_setup(struct ccb *ccb, int nr_desc, int l2desc_sz) in ctrl_setup()
367 static inline int is_channel_reset(struct ccb *ccb) in is_channel_reset()
373 static inline void set_channel_reset(struct ccb *ccb) in set_channel_reset()
/kernel/linux/linux-4.19/drivers/bcma/
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()
45 int bcma_core_chipcommon_b_init(struct bcma_drv_cc_b *ccb) 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()
/kernel/linux/linux-5.10/drivers/bcma/
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()
45 int bcma_core_chipcommon_b_init(struct bcma_drv_cc_b *ccb) 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()
/kernel/linux/linux-5.10/drivers/scsi/pm8001/
Dpm8001_hwi.c1515 struct pm8001_ccb_info *ccb; in pm8001_work_fn() local
1573 struct pm8001_ccb_info *ccb; in pm8001_work_fn() local
1699 struct pm8001_ccb_info *ccb; in pm8001_send_abort_all() local
1749 struct pm8001_ccb_info *ccb; in pm8001_send_read_log() local
1832 struct pm8001_ccb_info *ccb; in mpi_ssp_completion() local
2066 struct pm8001_ccb_info *ccb; in mpi_ssp_event() local
2233 struct pm8001_ccb_info *ccb; in mpi_sata_completion() local
2632 struct pm8001_ccb_info *ccb; in mpi_sata_event() local
2830 struct pm8001_ccb_info *ccb; in mpi_smp_completion() local
3017 struct pm8001_ccb_info *ccb = &pm8001_ha->ccb_info[tag]; in pm8001_mpi_set_dev_state_resp() local
[all …]
Dpm8001_sas.c52 struct pm8001_ccb_info *ccb; in pm8001_find_tag() local
299 struct pm8001_ccb_info *ccb) in pm8001_task_prep_smp()
326 struct pm8001_ccb_info *ccb) in pm8001_task_prep_ata()
338 struct pm8001_ccb_info *ccb, struct pm8001_tmf_task *tmf) in pm8001_task_prep_ssp_tm()
349 struct pm8001_ccb_info *ccb) in pm8001_task_prep_ssp()
388 struct pm8001_ccb_info *ccb; in pm8001_task_exec() local
528 struct sas_task *task, struct pm8001_ccb_info *ccb, u32 ccb_idx) in pm8001_ccb_task_free()
803 struct pm8001_ccb_info *ccb; in pm8001_exec_internal_task_abort() local
935 struct pm8001_ccb_info *ccb = &pm8001_ha->ccb_info[i]; in pm8001_open_reject_retry() local
Dpm80xx_hwi.c1721 struct pm8001_ccb_info *ccb; in pm80xx_send_abort_all() local
1775 struct pm8001_ccb_info *ccb; in pm80xx_send_read_log() local
1861 struct pm8001_ccb_info *ccb; in mpi_ssp_completion() local
2153 struct pm8001_ccb_info *ccb; in mpi_ssp_event() local
2334 struct pm8001_ccb_info *ccb; in mpi_sata_completion() local
2743 struct pm8001_ccb_info *ccb; in mpi_sata_event() local
2961 struct pm8001_ccb_info *ccb; in mpi_smp_completion() local
4130 struct pm8001_ccb_info *ccb) in pm80xx_chip_smp_req()
4290 struct pm8001_ccb_info *ccb) in pm80xx_chip_ssp_io_req()
4438 struct pm8001_ccb_info *ccb) in pm80xx_chip_sata_req()
[all …]
/kernel/linux/linux-4.19/drivers/scsi/pm8001/
Dpm8001_hwi.c1524 struct pm8001_ccb_info *ccb; in pm8001_work_fn() local
1584 struct pm8001_ccb_info *ccb; in pm8001_work_fn() local
1721 struct pm8001_ccb_info *ccb; in pm8001_send_abort_all() local
1771 struct pm8001_ccb_info *ccb; in pm8001_send_read_log() local
1855 struct pm8001_ccb_info *ccb; in mpi_ssp_completion() local
2108 struct pm8001_ccb_info *ccb; in mpi_ssp_event() local
2295 struct pm8001_ccb_info *ccb; in mpi_sata_completion() local
2682 struct pm8001_ccb_info *ccb; in mpi_sata_event() local
2903 struct pm8001_ccb_info *ccb; in mpi_smp_completion() local
3105 struct pm8001_ccb_info *ccb = &pm8001_ha->ccb_info[tag]; in pm8001_mpi_set_dev_state_resp() local
[all …]
Dpm8001_sas.c52 struct pm8001_ccb_info *ccb; in pm8001_find_tag() local
273 struct pm8001_ccb_info *ccb) in pm8001_task_prep_smp()
300 struct pm8001_ccb_info *ccb) in pm8001_task_prep_ata()
312 struct pm8001_ccb_info *ccb, struct pm8001_tmf_task *tmf) in pm8001_task_prep_ssp_tm()
323 struct pm8001_ccb_info *ccb) in pm8001_task_prep_ssp()
364 struct pm8001_ccb_info *ccb; in pm8001_task_exec() local
502 struct sas_task *task, struct pm8001_ccb_info *ccb, u32 ccb_idx) in pm8001_ccb_task_free()
780 struct pm8001_ccb_info *ccb; in pm8001_exec_internal_task_abort() local
920 struct pm8001_ccb_info *ccb = &pm8001_ha->ccb_info[i]; in pm8001_open_reject_retry() local
Dpm80xx_hwi.c1406 struct pm8001_ccb_info *ccb; in pm80xx_send_abort_all() local
1459 struct pm8001_ccb_info *ccb; in pm80xx_send_read_log() local
1545 struct pm8001_ccb_info *ccb; in mpi_ssp_completion() local
1812 struct pm8001_ccb_info *ccb; in mpi_ssp_event() local
2008 struct pm8001_ccb_info *ccb; in mpi_sata_completion() local
2399 struct pm8001_ccb_info *ccb; in mpi_sata_event() local
2636 struct pm8001_ccb_info *ccb; in mpi_smp_completion() local
3885 struct pm8001_ccb_info *ccb) in pm80xx_chip_smp_req()
4048 struct pm8001_ccb_info *ccb) in pm80xx_chip_ssp_io_req()
4208 struct pm8001_ccb_info *ccb) in pm80xx_chip_sata_req()
[all …]
/kernel/linux/linux-4.19/drivers/scsi/megaraid/
Dmegaraid_mbox.c965 mbox_ccb_t *ccb; in megaraid_alloc_cmd_packets() local
1353 mbox_ccb_t *ccb; in megaraid_mbox_mksgl() local
1394 mbox_ccb_t *ccb; in mbox_post_cmd() local
1507 mbox_ccb_t *ccb; in DEF_SCSI_QCMD() local
1959 mbox_ccb_t *ccb; in megaraid_mbox_prepare_pthru() local
2008 mbox_ccb_t *ccb; in megaraid_mbox_prepare_epthru() local
2193 mbox_ccb_t *ccb; in megaraid_mbox_sync_scb() local
2228 mbox_ccb_t *ccb; in megaraid_mbox_dpc() local
3380 mbox_ccb_t *ccb; in megaraid_mbox_display_scb() local
3473 mbox_ccb_t *ccb; in megaraid_cmm_register() local
[all …]
/kernel/linux/linux-5.10/drivers/scsi/megaraid/
Dmegaraid_mbox.c952 mbox_ccb_t *ccb; in megaraid_alloc_cmd_packets() local
1338 mbox_ccb_t *ccb; in megaraid_mbox_mksgl() local
1379 mbox_ccb_t *ccb; in mbox_post_cmd() local
1486 mbox_ccb_t *ccb; in DEF_SCSI_QCMD() local
1938 mbox_ccb_t *ccb; in megaraid_mbox_prepare_pthru() local
1987 mbox_ccb_t *ccb; in megaraid_mbox_prepare_epthru() local
2182 mbox_ccb_t *ccb; in megaraid_mbox_dpc() local
3314 mbox_ccb_t *ccb; in megaraid_mbox_display_scb() local
3407 mbox_ccb_t *ccb; in megaraid_cmm_register() local
3567 mbox_ccb_t *ccb; in megaraid_mbox_mm_command() local
/kernel/linux/linux-4.19/drivers/scsi/arcmsr/
Darcmsr_hba.c1186 static void arcmsr_pci_unmap_dma(struct CommandControlBlock *ccb) in arcmsr_pci_unmap_dma()
1193 static void arcmsr_ccb_complete(struct CommandControlBlock *ccb) in arcmsr_ccb_complete()
1207 static void arcmsr_report_sense_info(struct CommandControlBlock *ccb) in arcmsr_report_sense_info()
1267 struct CommandControlBlock *ccb, bool error) in arcmsr_report_ccb_state()
1461 struct CommandControlBlock *ccb; in arcmsr_remove_scsi_devices() local
1555 struct CommandControlBlock *ccb = acb->pccb_pool[i]; in arcmsr_remove() local
1654 struct CommandControlBlock *ccb, struct scsi_cmnd *pcmd) in arcmsr_build_ccb()
1708 static void arcmsr_post_ccb(struct AdapterControlBlock *acb, struct CommandControlBlock *ccb) in arcmsr_post_ccb()
2337 struct CommandControlBlock *ccb; in arcmsr_hbaC_postqueue_isr() local
2372 struct CommandControlBlock *ccb; in arcmsr_hbaD_postqueue_isr() local
[all …]
/kernel/linux/linux-5.10/drivers/scsi/arcmsr/
Darcmsr_hba.c1308 static void arcmsr_pci_unmap_dma(struct CommandControlBlock *ccb) in arcmsr_pci_unmap_dma()
1315 static void arcmsr_ccb_complete(struct CommandControlBlock *ccb) in arcmsr_ccb_complete()
1329 static void arcmsr_report_sense_info(struct CommandControlBlock *ccb) in arcmsr_report_sense_info()
1390 struct CommandControlBlock *ccb, bool error) in arcmsr_report_ccb_state()
1596 struct CommandControlBlock *ccb; in arcmsr_remove_scsi_devices() local
1691 struct CommandControlBlock *ccb = acb->pccb_pool[i]; in arcmsr_remove() local
1792 struct CommandControlBlock *ccb, struct scsi_cmnd *pcmd) in arcmsr_build_ccb()
1846 static void arcmsr_post_ccb(struct AdapterControlBlock *acb, struct CommandControlBlock *ccb) in arcmsr_post_ccb()
2508 struct CommandControlBlock *ccb; in arcmsr_hbaC_postqueue_isr() local
2546 struct CommandControlBlock *ccb; in arcmsr_hbaD_postqueue_isr() local
[all …]

12