• Home
  • Raw
  • Download

Lines Matching refs:wrp

281 	struct csio_wr_pair wrp;  in csio_scsi_cmd()  local
286 req->drv_status = csio_wr_get(hw, req->eq_idx, size, &wrp); in csio_scsi_cmd()
290 if (wrp.size1 >= size) { in csio_scsi_cmd()
292 csio_scsi_init_cmd_wr(req, wrp.addr1, size); in csio_scsi_cmd()
301 memcpy(wrp.addr1, tmpwr, wrp.size1); in csio_scsi_cmd()
302 memcpy(wrp.addr2, tmpwr + wrp.size1, size - wrp.size1); in csio_scsi_cmd()
384 csio_scsi_init_read_wr(struct csio_ioreq *req, void *wrp, uint32_t size) in csio_scsi_init_read_wr() argument
388 struct fw_scsi_read_wr *wr = (struct fw_scsi_read_wr *)wrp; in csio_scsi_init_read_wr()
417 csio_scsi_fcp_cmnd(req, (void *)((uintptr_t)wrp + in csio_scsi_init_read_wr()
421 sgl = (struct ulptx_sgl *)((uintptr_t)wrp + in csio_scsi_init_read_wr()
437 csio_scsi_init_write_wr(struct csio_ioreq *req, void *wrp, uint32_t size) in csio_scsi_init_write_wr() argument
441 struct fw_scsi_write_wr *wr = (struct fw_scsi_write_wr *)wrp; in csio_scsi_init_write_wr()
470 csio_scsi_fcp_cmnd(req, (void *)((uintptr_t)wrp + in csio_scsi_init_write_wr()
474 sgl = (struct ulptx_sgl *)((uintptr_t)wrp + in csio_scsi_init_write_wr()
505 struct csio_wr_pair wrp; in csio_scsi_read() local
513 req->drv_status = csio_wr_get(hw, req->eq_idx, size, &wrp); in csio_scsi_read()
515 if (likely(wrp.size1 >= size)) { in csio_scsi_read()
517 csio_scsi_init_read_wr(req, wrp.addr1, size); in csio_scsi_read()
525 memcpy(wrp.addr1, tmpwr, wrp.size1); in csio_scsi_read()
526 memcpy(wrp.addr2, tmpwr + wrp.size1, size - wrp.size1); in csio_scsi_read()
542 struct csio_wr_pair wrp; in csio_scsi_write() local
550 req->drv_status = csio_wr_get(hw, req->eq_idx, size, &wrp); in csio_scsi_write()
552 if (likely(wrp.size1 >= size)) { in csio_scsi_write()
554 csio_scsi_init_write_wr(req, wrp.addr1, size); in csio_scsi_write()
562 memcpy(wrp.addr1, tmpwr, wrp.size1); in csio_scsi_write()
563 memcpy(wrp.addr2, tmpwr + wrp.size1, size - wrp.size1); in csio_scsi_write()
700 struct csio_wr_pair wrp; in csio_scsi_abrt_cls() local
704 req->drv_status = csio_wr_get(hw, req->eq_idx, size, &wrp); in csio_scsi_abrt_cls()
708 if (wrp.size1 >= size) { in csio_scsi_abrt_cls()
710 csio_scsi_init_abrt_cls_wr(req, wrp.addr1, size, abort); in csio_scsi_abrt_cls()
718 memcpy(wrp.addr1, tmpwr, wrp.size1); in csio_scsi_abrt_cls()
719 memcpy(wrp.addr2, tmpwr + wrp.size1, size - wrp.size1); in csio_scsi_abrt_cls()