Searched refs:scsim (Results 1 – 3 of 3) sorted by relevance
/drivers/scsi/csiostor/ |
D | csio_init.h | 90 csio_get_scsi_ioreq_lock(struct csio_hw *hw, struct csio_scsim *scsim) in csio_get_scsi_ioreq_lock() argument 95 spin_lock_irqsave(&scsim->freelist_lock, flags); in csio_get_scsi_ioreq_lock() 96 ioreq = csio_get_scsi_ioreq(scsim); in csio_get_scsi_ioreq_lock() 97 spin_unlock_irqrestore(&scsim->freelist_lock, flags); in csio_get_scsi_ioreq_lock() 103 csio_put_scsi_ioreq_lock(struct csio_hw *hw, struct csio_scsim *scsim, in csio_put_scsi_ioreq_lock() argument 108 spin_lock_irqsave(&scsim->freelist_lock, flags); in csio_put_scsi_ioreq_lock() 109 csio_put_scsi_ioreq(scsim, ioreq); in csio_put_scsi_ioreq_lock() 110 spin_unlock_irqrestore(&scsim->freelist_lock, flags); in csio_put_scsi_ioreq_lock() 115 csio_put_scsi_ioreq_list_lock(struct csio_hw *hw, struct csio_scsim *scsim, in csio_put_scsi_ioreq_list_lock() argument 120 spin_lock_irqsave(&scsim->freelist_lock, flags); in csio_put_scsi_ioreq_list_lock() [all …]
|
D | csio_scsi.c | 283 struct csio_scsim *scsim = csio_hw_to_scsim(hw); in csio_scsi_cmd() local 284 uint32_t size = CSIO_SCSI_CMD_WR_SZ_16(scsim->proto_cmd_len); in csio_scsi_cmd() 508 struct csio_scsim *scsim = csio_hw_to_scsim(hw); in csio_scsi_read() local 510 CSIO_SCSI_DATA_WRSZ(req, read, size, scsim->proto_cmd_len); in csio_scsi_read() 545 struct csio_scsim *scsim = csio_hw_to_scsim(hw); in csio_scsi_write() local 547 CSIO_SCSI_DATA_WRSZ(req, write, size, scsim->proto_cmd_len); in csio_scsi_write() 577 csio_setup_ddp(struct csio_scsim *scsim, struct csio_ioreq *req) in csio_setup_ddp() argument 623 CSIO_INC_STATS(scsim, n_unaligned); in csio_setup_ddp() 637 dma_buf = csio_get_scsi_ddp(scsim); in csio_setup_ddp() 638 if (dma_buf == NULL || i > scsim->max_sge) { in csio_setup_ddp() [all …]
|
D | csio_hw.h | 443 struct csio_scsim scsim; /* SCSI module*/ member 587 #define csio_hw_to_scsim(hw) ((struct csio_scsim *)(&(hw)->scsim))
|