Searched refs:scsim (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/scsi/csiostor/ |
D | csio_init.h | 89 csio_get_scsi_ioreq_lock(struct csio_hw *hw, struct csio_scsim *scsim) in csio_get_scsi_ioreq_lock() argument 94 spin_lock_irqsave(&scsim->freelist_lock, flags); in csio_get_scsi_ioreq_lock() 95 ioreq = csio_get_scsi_ioreq(scsim); in csio_get_scsi_ioreq_lock() 96 spin_unlock_irqrestore(&scsim->freelist_lock, flags); in csio_get_scsi_ioreq_lock() 102 csio_put_scsi_ioreq_lock(struct csio_hw *hw, struct csio_scsim *scsim, in csio_put_scsi_ioreq_lock() argument 107 spin_lock_irqsave(&scsim->freelist_lock, flags); in csio_put_scsi_ioreq_lock() 108 csio_put_scsi_ioreq(scsim, ioreq); in csio_put_scsi_ioreq_lock() 109 spin_unlock_irqrestore(&scsim->freelist_lock, flags); in csio_put_scsi_ioreq_lock() 114 csio_put_scsi_ioreq_list_lock(struct csio_hw *hw, struct csio_scsim *scsim, in csio_put_scsi_ioreq_list_lock() argument 119 spin_lock_irqsave(&scsim->freelist_lock, flags); in csio_put_scsi_ioreq_list_lock() [all …]
|
D | csio_scsi.c | 259 struct csio_scsim *scsim = csio_hw_to_scsim(hw); in csio_scsi_cmd() local 260 uint32_t size = CSIO_SCSI_CMD_WR_SZ_16(scsim->proto_cmd_len); in csio_scsi_cmd() 484 struct csio_scsim *scsim = csio_hw_to_scsim(hw); in csio_scsi_read() local 486 CSIO_SCSI_DATA_WRSZ(req, read, size, scsim->proto_cmd_len); in csio_scsi_read() 521 struct csio_scsim *scsim = csio_hw_to_scsim(hw); in csio_scsi_write() local 523 CSIO_SCSI_DATA_WRSZ(req, write, size, scsim->proto_cmd_len); in csio_scsi_write() 553 csio_setup_ddp(struct csio_scsim *scsim, struct csio_ioreq *req) in csio_setup_ddp() argument 599 CSIO_INC_STATS(scsim, n_unaligned); in csio_setup_ddp() 613 dma_buf = csio_get_scsi_ddp(scsim); in csio_setup_ddp() 614 if (dma_buf == NULL || i > scsim->max_sge) { in csio_setup_ddp() [all …]
|
D | csio_hw.h | 455 struct csio_scsim scsim; /* SCSI module*/ member 594 #define csio_hw_to_scsim(hw) ((struct csio_scsim *)(&(hw)->scsim))
|