Home
last modified time | relevance | path

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

123

/kernel/linux/linux-6.6/drivers/scsi/
Daha1542.h82 struct ccb { struct
83 u8 op; /* Command Control Block Operation Code: */
87 u8 idlun; /* Address and Direction Control: */
92 u8 cdblen; /* SCSI Command Length */
93 u8 rsalen; /* Request Sense Allocation Length/Disable Auto Sense */
94 u8 datalen[3]; /* Data Length (MSB, ..., LSB) */
95 u8 dataptr[3]; /* Data Pointer (MSB, ..., LSB) */
96 u8 linkptr[3]; /* Link Pointer (MSB, ..., LSB) */
97 u8 commlinkid; /* Command Linking Identifier */
98 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()
2442 static void blogic_qcompleted_ccb(struct blogic_ccb *ccb) in blogic_qcompleted_ccb()
2523 struct blogic_ccb *ccb; in blogic_inbox_to_ccb() local
2555 struct blogic_ccb *ccb = blogic_inbox_to_ccb(adapter, next_inbox); in blogic_scan_inbox() local
2602 struct blogic_ccb *ccb = adapter->firstccb; in blogic_process_ccbs() local
2824 enum blogic_action action, struct blogic_ccb *ccb) in blogic_write_outbox()
2892 struct blogic_ccb *ccb; in blogic_qcmd_lck() local
[all …]
Dncr53c8xx.c1497 struct ccb { struct
1505 struct dsb phys;
1513 struct launch start;
1521 struct launch restart;
1530 ncrcmd patch[8];
1559 u_long p_ccb; /* BUS address of this CCB */ argument
1567 struct ccb * link_ccb; /* Host adapter CCB chain */ argument
1568 struct list_head link_ccbq; /* Link to unit CCB queue */ argument
1573 #define CCB_PHYS(cp,lbl) (cp->p_ccb + offsetof(struct ccb, lbl)) argument
1741 struct ccb *ccb; /* Global CCB */ member
Daha1542.c64 struct ccb *ccb; member
288 struct ccb *ccb = aha1542->ccb; in aha1542_interrupt() local
425 struct ccb *ccb = aha1542->ccb; in aha1542_queuecommand() local
873 struct ccb *ccb = aha1542->ccb; in aha1542_dev_reset() local
/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.c333 struct st_ccb *ccb; member
430 struct req_msg *req, struct st_ccb *ccb) in stex_map_sg()
462 struct req_msg *req, struct st_ccb *ccb) in stex_ss_map_sg()
494 static void stex_controller_info(struct st_hba *hba, struct st_ccb *ccb) in stex_controller_info()
571 struct st_ccb *ccb; in return_abnormal_state() local
776 static void stex_copy_data(struct st_ccb *ccb, in stex_copy_data()
792 struct st_ccb *ccb, struct status_msg *resp) in stex_check_cmd()
804 struct st_ccb *ccb; in stex_mu_intr() local
918 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-6.6/drivers/misc/
Dhpilo.h81 struct ccb { struct
85 } ccb_u1; argument
89 } ccb_u2; argument
95 } ccb_u3; argument
99 } ccb_u4; argument
105 } ccb_u5; argument
112 /* ccb queue parameters */ argument
Dhpilo.c131 static int ilo_pkt_enqueue(struct ilo_hwinfo *hw, struct ccb *ccb, in ilo_pkt_enqueue()
146 static int ilo_pkt_dequeue(struct ilo_hwinfo *hw, struct ccb *ccb, in ilo_pkt_dequeue()
175 static int ilo_pkt_recv(struct ilo_hwinfo *hw, struct ccb *ccb) in ilo_pkt_recv()
182 static inline void doorbell_set(struct ccb *ccb) in doorbell_set()
187 static inline void doorbell_clr(struct ccb *ccb) in doorbell_clr()
202 static void ctrl_setup(struct ccb *ccb, int nr_desc, int l2desc_sz) in ctrl_setup()
375 static inline int is_channel_reset(struct ccb *ccb) in is_channel_reset()
381 static inline void set_channel_reset(struct ccb *ccb) in set_channel_reset()
/kernel/linux/linux-6.6/drivers/scsi/pm8001/
Dpm8001_sas.c53 struct pm8001_ccb_info *ccb; in pm8001_find_tag() local
314 struct pm8001_ccb_info *ccb) in pm8001_task_prep_smp()
337 struct pm8001_ccb_info *ccb) in pm8001_task_prep_ata()
349 struct pm8001_ccb_info *ccb) in pm8001_task_prep_internal_abort()
361 struct pm8001_ccb_info *ccb, struct sas_tmf_task *tmf) in pm8001_task_prep_ssp_tm()
372 struct pm8001_ccb_info *ccb) in pm8001_task_prep_ssp()
399 struct pm8001_ccb_info *ccb) in pm8001_deliver_command()
441 struct pm8001_ccb_info *ccb; in pm8001_queue_command() local
531 struct pm8001_ccb_info *ccb) in pm8001_ccb_task_free()
755 struct pm8001_ccb_info *ccb = &pm8001_ha->ccb_info[i]; in pm8001_open_reject_retry() local
[all …]
Dpm8001_hwi.c1528 struct pm8001_ccb_info *ccb; in pm8001_work_fn() local
1584 struct pm8001_ccb_info *ccb; in pm8001_work_fn() local
1685 struct pm8001_ccb_info *ccb; in pm8001_work_fn() local
1773 struct pm8001_ccb_info *ccb; in mpi_ssp_completion() local
2006 struct pm8001_ccb_info *ccb; in mpi_ssp_event() local
2172 struct pm8001_ccb_info *ccb; in mpi_sata_completion() local
2546 struct pm8001_ccb_info *ccb; in mpi_sata_event() local
2728 struct pm8001_ccb_info *ccb; in mpi_smp_completion() local
2912 struct pm8001_ccb_info *ccb = &pm8001_ha->ccb_info[tag]; in pm8001_mpi_set_dev_state_resp() local
2931 struct pm8001_ccb_info *ccb = &pm8001_ha->ccb_info[tag]; in pm8001_mpi_set_nvmd_resp() local
[all …]
Dpm80xx_hwi.c1796 struct pm8001_ccb_info *ccb; in mpi_ssp_completion() local
2085 struct pm8001_ccb_info *ccb; in mpi_ssp_event() local
2264 struct pm8001_ccb_info *ccb; in mpi_sata_completion() local
2675 struct pm8001_ccb_info *ccb; in mpi_sata_event() local
2876 struct pm8001_ccb_info *ccb; in mpi_smp_completion() local
4128 struct pm8001_ccb_info *ccb) in pm80xx_chip_smp_req()
4297 struct pm8001_ccb_info *ccb) in pm80xx_chip_ssp_io_req()
4447 struct pm8001_ccb_info *ccb) in pm80xx_chip_sata_req()
4714 struct pm8001_ccb_info *ccb; in pm80xx_chip_reg_dev_req() local
/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-6.6/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_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()
756 struct pm8001_ccb_info *ccb = task->lldd_task; in pm8001_exec_internal_tmf_task() local
808 struct pm8001_ccb_info *ccb; in pm8001_exec_internal_task_abort() local
940 struct pm8001_ccb_info *ccb = &pm8001_ha->ccb_info[i]; in pm8001_open_reject_retry() local
Dpm8001_hwi.c1517 struct pm8001_ccb_info *ccb; in pm8001_work_fn() local
1575 struct pm8001_ccb_info *ccb; in pm8001_work_fn() local
1701 struct pm8001_ccb_info *ccb; in pm8001_send_abort_all() local
1755 struct pm8001_ccb_info *ccb; in pm8001_send_read_log() local
1839 struct pm8001_ccb_info *ccb; in mpi_ssp_completion() local
2073 struct pm8001_ccb_info *ccb; in mpi_ssp_event() local
2240 struct pm8001_ccb_info *ccb; in mpi_sata_completion() local
2640 struct pm8001_ccb_info *ccb; in mpi_sata_event() local
2838 struct pm8001_ccb_info *ccb; in mpi_smp_completion() local
3025 struct pm8001_ccb_info *ccb = &pm8001_ha->ccb_info[tag]; in pm8001_mpi_set_dev_state_resp() local
[all …]
Dpm80xx_hwi.c1735 struct pm8001_ccb_info *ccb; in pm80xx_send_abort_all() local
1790 struct pm8001_ccb_info *ccb; in pm80xx_send_read_log() local
1876 struct pm8001_ccb_info *ccb; in mpi_ssp_completion() local
2168 struct pm8001_ccb_info *ccb; in mpi_ssp_event() local
2349 struct pm8001_ccb_info *ccb; in mpi_sata_completion() local
2759 struct pm8001_ccb_info *ccb; in mpi_sata_event() local
2977 struct pm8001_ccb_info *ccb; in mpi_smp_completion() local
4160 struct pm8001_ccb_info *ccb) in pm80xx_chip_smp_req()
4320 struct pm8001_ccb_info *ccb) in pm80xx_chip_ssp_io_req()
4477 struct pm8001_ccb_info *ccb) in pm80xx_chip_sata_req()
[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-6.6/drivers/scsi/megaraid/
Dmegaraid_mbox.c954 mbox_ccb_t *ccb; in megaraid_alloc_cmd_packets() local
1340 mbox_ccb_t *ccb; in megaraid_mbox_mksgl() local
1381 mbox_ccb_t *ccb; in mbox_post_cmd() local
1486 mbox_ccb_t *ccb; in DEF_SCSI_QCMD() local
1936 mbox_ccb_t *ccb; in megaraid_mbox_prepare_pthru() local
1985 mbox_ccb_t *ccb; in megaraid_mbox_prepare_epthru() local
2180 mbox_ccb_t *ccb; in megaraid_mbox_dpc() local
3305 mbox_ccb_t *ccb; in megaraid_mbox_display_scb() local
3398 mbox_ccb_t *ccb; in megaraid_cmm_register() local
3558 mbox_ccb_t *ccb; in megaraid_mbox_mm_command() local
/kernel/linux/linux-5.10/drivers/scsi/arcmsr/
Darcmsr_hba.c1312 static void arcmsr_pci_unmap_dma(struct CommandControlBlock *ccb) in arcmsr_pci_unmap_dma()
1319 static void arcmsr_ccb_complete(struct CommandControlBlock *ccb) in arcmsr_ccb_complete()
1333 static void arcmsr_report_sense_info(struct CommandControlBlock *ccb) in arcmsr_report_sense_info()
1394 struct CommandControlBlock *ccb, bool error) in arcmsr_report_ccb_state()
1600 struct CommandControlBlock *ccb; in arcmsr_remove_scsi_devices() local
1695 struct CommandControlBlock *ccb = acb->pccb_pool[i]; in arcmsr_remove() local
1796 struct CommandControlBlock *ccb, struct scsi_cmnd *pcmd) in arcmsr_build_ccb()
1850 static void arcmsr_post_ccb(struct AdapterControlBlock *acb, struct CommandControlBlock *ccb) in arcmsr_post_ccb()
2512 struct CommandControlBlock *ccb; in arcmsr_hbaC_postqueue_isr() local
2550 struct CommandControlBlock *ccb; in arcmsr_hbaD_postqueue_isr() local
[all …]
/kernel/linux/linux-6.6/drivers/scsi/arcmsr/
Darcmsr_hba.c1309 static void arcmsr_ccb_complete(struct CommandControlBlock *ccb) in arcmsr_ccb_complete()
1323 static void arcmsr_report_sense_info(struct CommandControlBlock *ccb) in arcmsr_report_sense_info()
1386 struct CommandControlBlock *ccb, bool error) in arcmsr_report_ccb_state()
1592 struct CommandControlBlock *ccb; in arcmsr_remove_scsi_devices() local
1687 struct CommandControlBlock *ccb = acb->pccb_pool[i]; in arcmsr_remove() local
1788 struct CommandControlBlock *ccb, struct scsi_cmnd *pcmd) in arcmsr_build_ccb()
1842 static void arcmsr_post_ccb(struct AdapterControlBlock *acb, struct CommandControlBlock *ccb) in arcmsr_post_ccb()
2507 struct CommandControlBlock *ccb; in arcmsr_hbaC_postqueue_isr() local
2545 struct CommandControlBlock *ccb; in arcmsr_hbaD_postqueue_isr() local
2588 struct CommandControlBlock *ccb; in arcmsr_hbaE_postqueue_isr() local
[all …]

123