Home
last modified time | relevance | path

Searched refs:ioreq (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/scsi/csiostor/
Dcsio_scsi.h207 csio_put_scsi_ioreq(struct csio_scsim *scm, struct csio_ioreq *ioreq) in csio_put_scsi_ioreq() argument
209 list_add_tail(&ioreq->sm.sm_list, &scm->ioreq_freelist); in csio_put_scsi_ioreq()
252 csio_scsi_completed(struct csio_ioreq *ioreq, struct list_head *cbfn_q) in csio_scsi_completed() argument
254 csio_post_event(&ioreq->sm, CSIO_SCSIE_COMPLETED); in csio_scsi_completed()
255 if (csio_list_deleted(&ioreq->sm.sm_list)) in csio_scsi_completed()
256 list_add_tail(&ioreq->sm.sm_list, cbfn_q); in csio_scsi_completed()
260 csio_scsi_aborted(struct csio_ioreq *ioreq, struct list_head *cbfn_q) in csio_scsi_aborted() argument
262 csio_post_event(&ioreq->sm, CSIO_SCSIE_ABORTED); in csio_scsi_aborted()
263 list_add_tail(&ioreq->sm.sm_list, cbfn_q); in csio_scsi_aborted()
267 csio_scsi_closed(struct csio_ioreq *ioreq, struct list_head *cbfn_q) in csio_scsi_closed() argument
[all …]
Dcsio_scsi.c84 csio_scsi_match_io(struct csio_ioreq *ioreq, struct csio_scsi_level_data *sld) in csio_scsi_match_io() argument
86 struct scsi_cmnd *scmnd = csio_scsi_cmnd(ioreq); in csio_scsi_match_io()
93 return ((ioreq->lnode == sld->lnode) && in csio_scsi_match_io()
94 (ioreq->rnode == sld->rnode) && in csio_scsi_match_io()
98 return ((ioreq->lnode == sld->lnode) && in csio_scsi_match_io()
99 (ioreq->rnode == sld->rnode)); in csio_scsi_match_io()
101 return (ioreq->lnode == sld->lnode); in csio_scsi_match_io()
1105 struct csio_ioreq *ioreq = NULL; in csio_scsi_cmpl_handler() local
1128 ioreq = (struct csio_ioreq *)((uintptr_t) in csio_scsi_cmpl_handler()
1130 CSIO_DB_ASSERT(virt_addr_valid(ioreq)); in csio_scsi_cmpl_handler()
[all …]
Dcsio_isr.c149 struct csio_ioreq *ioreq; in csio_process_scsi_cmpl() local
155 ioreq = csio_scsi_cmpl_handler(hw, wr, len, flb, NULL, &scsiwr); in csio_process_scsi_cmpl()
156 if (likely(ioreq)) { in csio_process_scsi_cmpl()
164 ioreq, ioreq->wr_status); in csio_process_scsi_cmpl()
168 csio_scsi_closed(ioreq, in csio_process_scsi_cmpl()
171 csio_scsi_aborted(ioreq, in csio_process_scsi_cmpl()
184 cmnd = csio_scsi_cmnd(ioreq); in csio_process_scsi_cmpl()
186 list_del_init(&ioreq->sm.sm_list); in csio_process_scsi_cmpl()
192 csio_hw_to_scsim(hw), ioreq); in csio_process_scsi_cmpl()
195 csio_scsi_completed(ioreq, (struct list_head *)cbfn_q); in csio_process_scsi_cmpl()
[all …]
Dcsio_init.h91 struct csio_ioreq *ioreq; in csio_get_scsi_ioreq_lock() local
95 ioreq = csio_get_scsi_ioreq(scsim); in csio_get_scsi_ioreq_lock()
98 return ioreq; in csio_get_scsi_ioreq_lock()
103 struct csio_ioreq *ioreq) in csio_put_scsi_ioreq_lock() argument
108 csio_put_scsi_ioreq(scsim, ioreq); in csio_put_scsi_ioreq_lock()
/Linux-v5.10/drivers/net/wireless/zydas/zd1211rw/
Dzd_chip.h823 struct zd_ioreq16 ioreq; in zd_iowrite16_locked() local
826 ioreq.addr = addr; in zd_iowrite16_locked()
827 ioreq.value = value; in zd_iowrite16_locked()
829 return zd_usb_iowrite16v(&chip->usb, &ioreq, 1); in zd_iowrite16_locked()
841 struct zd_ioreq32 ioreq; in zd_iowrite32_locked() local
843 ioreq.addr = addr; in zd_iowrite32_locked()
844 ioreq.value = value; in zd_iowrite32_locked()
846 return _zd_iowrite32v_locked(chip, &ioreq, 1); in zd_iowrite32_locked()