Home
last modified time | relevance | path

Searched refs:nsge (Results 1 – 12 of 12) sorted by relevance

/drivers/infiniband/hw/bnxt_re/
Dib_verbs.h161 static inline u16 bnxt_re_get_swqe_size(int nsge) in bnxt_re_get_swqe_size() argument
163 return sizeof(struct sq_send_hdr) + nsge * sizeof(struct sq_sge); in bnxt_re_get_swqe_size()
166 static inline u16 bnxt_re_get_rwqe_size(int nsge) in bnxt_re_get_rwqe_size() argument
168 return sizeof(struct rq_wqe_hdr) + (nsge * sizeof(struct sq_sge)); in bnxt_re_get_rwqe_size()
Dqplib_fp.c981 u16 nsge; in bnxt_qplib_create_qp() local
1070 nsge = (qp->wqe_mode == BNXT_QPLIB_WQE_MODE_STATIC) ? in bnxt_qplib_create_qp()
1073 cpu_to_le16(((nsge & in bnxt_qplib_create_qp()
1709 u16 nsge, u16 *idx) in bnxt_qplib_put_sges() argument
1714 for (indx = 0; indx < nsge; indx++, (*idx)++) { in bnxt_qplib_put_sges()
1730 u16 nsge; in bnxt_qplib_required_slots() local
1733 nsge = wqe->num_sge; in bnxt_qplib_required_slots()
1735 bytes = sizeof(struct sq_send_hdr) + nsge * sizeof(struct sq_sge); in bnxt_qplib_required_slots()
Dib_verbs.c955 static u16 bnxt_re_get_wqe_size(int ilsize, int nsge) in bnxt_re_get_wqe_size() argument
959 wqe_size = bnxt_re_get_swqe_size(nsge); in bnxt_re_get_wqe_size()
/drivers/scsi/csiostor/
Dcsio_scsi.c178 if (req->nsge) in csio_scsi_fcp_cmnd()
302 ULPTX_NSGE_V(req->nsge)); in csio_scsi_init_ultptx_dsgl()
305 scsi_for_each_sg(scmnd, sgel, req->nsge, i) { in csio_scsi_init_ultptx_dsgl()
464 if (unlikely((req)->nsge > 1)) \
466 (ALIGN(((req)->nsge - 1), 2) / 2)); \
569 scsi_for_each_sg(scmnd, sgel, req->nsge, i) { in csio_setup_ddp()
583 if ((i != (req->nsge - 1)) && in csio_setup_ddp()
626 req->nsge = i; in csio_setup_ddp()
711 if (req->nsge) { in csio_scsis_uninit()
1720 if (req->nsge > 0) { in csio_scsi_err_handler()
[all …]
Dcsio_wr.h245 uint32_t nsge; /* Number of SG elements */ member
Dcsio_isr.c235 ioreq->nsge); in csio_scsi_isr_handler()
/drivers/net/ethernet/pensando/ionic/
Dionic_if.h879 u8 nsge, u64 addr) in encode_txq_desc_cmd() argument
885 cmd |= (nsge & IONIC_TXQ_DESC_NSGE_MASK) << IONIC_TXQ_DESC_NSGE_SHIFT; in encode_txq_desc_cmd()
892 u8 *nsge, u64 *addr) in decode_txq_desc_cmd() argument
896 *nsge = (cmd >> IONIC_TXQ_DESC_NSGE_SHIFT) & IONIC_TXQ_DESC_NSGE_MASK; in decode_txq_desc_cmd()
Dionic_txrx.c963 dma_addr_t addr, u8 nsge, u16 len, in ionic_tx_tso_post() argument
978 cmd = encode_txq_desc_cmd(IONIC_TXQ_DESC_OPCODE_TSO, flags, nsge, addr); in ionic_tx_tso_post()
/drivers/infiniband/hw/cxgb4/
Dt4fw_ri_api.h122 __be16 nsge; member
137 __be16 nsge; member
Dqp.c482 isglp->nsge = cpu_to_be16(num_sge); in build_isgl()
853 sglp->nsge = cpu_to_be16(1); in build_memreg()
/drivers/scsi/
Dmyrb.c1276 int nsge; in myrb_pthru_queuecommand() local
1282 nsge = scsi_dma_map(scmd); in myrb_pthru_queuecommand()
1283 if (nsge > 1) { in myrb_pthru_queuecommand()
1432 int nsge; in myrb_ldev_queuecommand() local
1558 nsge = scsi_dma_map(scmd); in myrb_ldev_queuecommand()
1559 if (nsge == 1) { in myrb_ldev_queuecommand()
1591 mbox->type5.sg_count = nsge; in myrb_ldev_queuecommand()
1593 scsi_for_each_sg(scmd, sgl, nsge, i) { in myrb_ldev_queuecommand()
Dmyrs.c1596 int nsge; in myrs_queuecommand() local
1718 nsge = scsi_dma_map(scmd); in myrs_queuecommand()
1719 if (nsge == 1) { in myrs_queuecommand()
1728 if (nsge > 2) { in myrs_queuecommand()
1752 hw_sge->ext.sge0_len = nsge; in myrs_queuecommand()
1757 scsi_for_each_sg(scmd, sgl, nsge, i) { in myrs_queuecommand()