/illumos-gate/usr/src/uts/common/io/chxge/ |
H A D | sge.c | 142 memset(sge, 0, sizeof (*sge)); in t1_sge_create() 197 if ((is_T2(sge->obj)) && (sge->pskb)) in t1_sge_destroy() 228 pesge *sge = adapter->sge; in t1_espi_workaround() local 253 t1_sge_check_pause(sge, &sge->freelQ[0]); in t1_espi_workaround() 254 t1_sge_check_pause(sge, &sge->freelQ[1]); in t1_espi_workaround() 1338 sge->freelQ[sge->jumbo_fl].fq_rx_buffer_size = sge->obj->ch_bg_buf_sz; in alloc_rx_resources() 1483 sge->intrtimer[i] *= sge->intrtimer[0]; in configure_sge() 1497 sge->intrtimer[sge->currIndex]); in configure_sge() 1523 sge->respQ.rq_pa, sge->respQ.rq_dh, sge->respQ.rq_ah); in free_rx_resources() 1642 pesge *sge = adapter->sge; in t1_sge_set_ptimeout() local [all …]
|
H A D | pe.c | 134 if (sge_data_in(sa->sge)) { in pe_intr() 206 (void) sge_start(sa->sge); in pe_init() 242 (void) sge_stop(sa->sge); in pe_stop() 448 sa->sge->intr_cnt.tx_no_dma1++; in pe_start() 471 sa->sge->intr_cnt.tx_no_dma1++; in pe_start() 516 sa->sge->intr_cnt.tx_no_dvma2++; in pe_start() 521 sa->sge->intr_cnt.tx_no_dma2++; in pe_start() 534 sa->sge->intr_cnt.tx_no_dma2++; in pe_start() 547 sa->sge->intr_cnt.tx_no_dma2++; in pe_start() 1492 (void) sge_stop(sa->sge); in pe_detach() [all …]
|
H A D | sge.h | 55 #define doorbell_pio(sge, cmd) sge_ring_doorbell(sge, cmd) argument 443 extern int t1_sge_destroy(pesge* sge); 448 extern int t1_sge_configure(pesge *sge, struct sge_params *p);
|
H A D | glue.c | 297 sep = sge_get_stat(chp->sge); in pe_ioctl() 400 (void) sge_stop(adapter->sge); in t1_fatal_err()
|
H A D | ch.c | 770 t1_write_reg_4(chp->sge->obj, A_SG_CONTROL, 0x0); in ch_quiesce() 771 t1_write_reg_4(chp->sge->obj, A_SG_INT_CAUSE, 0x0); in ch_quiesce() 1751 chp->sge->intr_cnt.tx_msg_pullups++; in ch_send() 1758 chp->sge->intr_cnt.tx_hdr_pullups++; in ch_send() 1773 chp->sge->intr_cnt.tx_udp_ip_frag++; in ch_send() 1776 chp->sge->intr_cnt.tx_tcp_ip_frag++; in ch_send()
|
H A D | ch.h | 198 pesge *sge; member
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_sge.c | 277 sc->sge.rxbuf_cache = rxbuf_cache_create(&sc->sge.rxb_params); in t4_sge_init() 421 struct sge *s = &sc->sge; in port_intr_iq() 425 return (&sc->sge.fwq); in port_intr_iq() 927 q = sc->sge.iqmap[lq - sc->sge.iq_start]; in service_iq() 1278 struct sge *s = &sc->sge; in init_eq() 1334 if (iq == &sc->sge.fwq) in alloc_iq_fl() 1432 sc->sge.iqmap[cntxt_id] = iq; in alloc_iq_fl() 1578 sc->sge.fwq.cntxt_id); in alloc_mgmtq() 1691 sc->sge.eqmap[cntxt_id] = eq; in ctrl_eq_alloc() 1734 sc->sge.eqmap[cntxt_id] = eq; in eth_eq_alloc() [all …]
|
H A D | adapter.h | 404 struct sge { struct 526 struct sge sge; member 635 txq = &pi->adapter->sge.txq[pi->first_txq]; \ 638 rxq = &pi->adapter->sge.rxq[pi->first_rxq]; \ 641 ofld_txq = &pi->adapter->sge.ofld_txq[pi->first_ofld_txq]; \ 644 ofld_rxq = &pi->adapter->sge.ofld_rxq[pi->first_ofld_rxq]; \
|
H A D | t4_nexus.c | 302 struct sge *s; in t4_devo_attach() 599 s = &sc->sge; in t4_devo_attach() 830 struct sge *s; in t4_devo_detach() 871 s = &sc->sge; in t4_devo_detach() 1661 sc->sge.iq_start = val[0]; in get_params__post_init() 1662 sc->sge.eq_start = val[1]; in get_params__post_init() 1678 sc->sge.iqmap_sz = val[0] - sc->sge.iq_start + 1; in get_params__post_init() 1679 sc->sge.eqmap_sz = val[1] - sc->sge.eq_start + 1; in get_params__post_init()
|
H A D | t4_mac.c | 977 rxq = &pi->adapter->sge.rxq[pi->first_rxq + ring_index]; in t4_fill_ring() 994 struct sge_txq *txq = &pi->adapter->sge.txq[pi->first_txq + ring_index]; in t4_fill_ring() 1014 struct sge_txq *txq = &sc->sge.txq[pi->first_txq]; in t4_mc_tx()
|
/illumos-gate/usr/src/uts/common/sys/sata/adapters/si3124/ |
H A D | si3124reg.h | 52 #define SET_SGE_LNK(sge) (sge.sge_trm_lnk_drd_xcf_rsvd = 0x40000000) argument 53 #define SET_SGE_TRM(sge) (sge.sge_trm_lnk_drd_xcf_rsvd = 0x80000000) argument 54 #define IS_SGE_TRM_SET(sge) (sge.sge_trm_lnk_drd_xcf_rsvd & 0x80000000) argument
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | ib_send.c | 483 ibt_wr_ds_t *sge; in rdsv3_ib_xmit_populate_wr() local 513 sge = &wr->wr_sgl[ix++]; in rdsv3_ib_xmit_populate_wr() 514 sge->ds_va = sgl->ds_va + off; in rdsv3_ib_xmit_populate_wr() 516 sge->ds_len = assigned; in rdsv3_ib_xmit_populate_wr() 517 sge->ds_key = sgl->ds_key; in rdsv3_ib_xmit_populate_wr() 534 sge = &wr->wr_sgl[0]; in rdsv3_ib_xmit_populate_wr() 537 sge->ds_key = ic->i_mr->lkey; in rdsv3_ib_xmit_populate_wr() 999 ibt_wr_ds_t *sge; in rdsv3_ib_xmit_rdma() local 1068 sge = &wr->wr_sgl[j]; in rdsv3_ib_xmit_rdma() 1069 *sge = scat[i].swr.wr_sgl[idx]; in rdsv3_ib_xmit_rdma() [all …]
|
H A D | ib_recv.c | 389 ibt_wr_ds_t *sge = &ic->i_ack_sge; in rdsv3_ib_recv_init_ack() local 393 sge->ds_va = ic->i_ack_dma; in rdsv3_ib_recv_init_ack() 394 sge->ds_len = sizeof (struct rdsv3_header); in rdsv3_ib_recv_init_ack() 395 sge->ds_key = ic->i_mr->lkey; in rdsv3_ib_recv_init_ack() 397 wr->wr_sgl = sge; in rdsv3_ib_recv_init_ack()
|
/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | ch_subr.c | 228 (void) t1_sge_intr_error_handler(adapter->sge); in fpga_slow_intr() 977 (void) t1_sge_intr_enable(adapter->sge); in t1_interrupts_enable() 1028 (void) t1_sge_intr_disable(adapter->sge); in t1_interrupts_disable() 1065 (void) t1_sge_intr_clear(adapter->sge); in t1_interrupts_clear() 1110 (void) t1_sge_intr_error_handler(adapter->sge); in asic_slow_intr() 1268 err = t1_sge_configure(adapter->sge, &adapter->params.sge); in t1_init_hw_modules() 1274 min(adapter->params.sge.large_buf_capacity, in t1_init_hw_modules() 1314 if (adapter->sge) in t1_free_sw_modules() 1315 (void) t1_sge_destroy(adapter->sge); in t1_free_sw_modules() 1380 adapter->sge = t1_sge_create(adapter, &adapter->params.sge); in t1_init_sw_modules() [all …]
|
H A D | common.h | 126 struct sge_params sge; member
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_sli4.c | 2886 sge++; in emlxs_pkt_to_sgl() 2942 sge = emlxs_pkt_to_sgl(port, pkt, sge, in emlxs_sli4_bde_setup() 2949 sge = emlxs_pkt_to_sgl(port, pkt, sge, in emlxs_sli4_bde_setup() 2964 sge = emlxs_pkt_to_sgl(port, pkt, sge, in emlxs_sli4_bde_setup() 2982 sge = emlxs_pkt_to_sgl(port, pkt, sge, in emlxs_sli4_bde_setup() 2989 sge = emlxs_pkt_to_sgl(port, pkt, sge, in emlxs_sli4_bde_setup() 2996 sge = emlxs_pkt_to_sgl(port, pkt, sge, in emlxs_sli4_bde_setup() 3132 sge++; in emlxs_sli4_fct_bde_setup() 3144 sge++; in emlxs_sli4_fct_bde_setup() 3156 sge++; in emlxs_sli4_fct_bde_setup() [all …]
|
/illumos-gate/usr/src/uts/common/io/aac/ |
H A D | aac_ioctl.c | 449 struct aac_sge *sge, *sge0; in aac_send_raw_srb() local 580 if ((sge = kmem_zalloc(sizeof (struct aac_sge) * acp->left_cookien, in aac_send_raw_srb() 585 acp->sgt = sge; in aac_send_raw_srb() 589 sge0++, sge++) in aac_send_raw_srb() 590 *sge = *sge0; in aac_send_raw_srb()
|
H A D | aac.c | 5311 sge = &acp->sgt[0]; in aac_cmd_dma_alloc() 5316 for (sge++; sge < &acp->sgt[acp->left_cookien]; sge++) { in aac_cmd_dma_alloc() 5598 struct aac_sge *sge; in aac_cmd_fib_rawio() local 5621 sge < &acp->sgt[acp->left_cookien]; sge++, sgp++) { in aac_cmd_fib_rawio() 5639 struct aac_sge *sge; in aac_cmd_fib_brw64() local 5664 sge < &acp->sgt[acp->left_cookien]; sge++, sgp++) { in aac_cmd_fib_brw64() 5714 sge < &acp->sgt[acp->left_cookien]; sge++, sgp++) { in aac_cmd_fib_brw() 5818 struct aac_sge *sge; in aac_cmd_fib_scsi32() local 5833 sge < &acp->sgt[acp->left_cookien]; sge++, sgp++) { in aac_cmd_fib_scsi32() 5845 struct aac_sge *sge; in aac_cmd_fib_scsi64() local [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | tautological-compare.c | 8 int sge(int a) { return a >= a; } in sge() function
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas_impl.c | 204 pMpi2SGESimple64_t sge; in mptsas_start_config_page_access() local 1228 pMpi2SGESimple64_t sge; in mptsas_uflash2() local 1245 sge = (pMpi2SGESimple64_t)(tcsge + 1); in mptsas_uflash2() 1255 ddi_put32(acc_hdl, &sge->Address.Low, in mptsas_uflash2() 1257 ddi_put32(acc_hdl, &sge->Address.High, in mptsas_uflash2() 1269 pMpi2IeeeSgeSimple64_t sge; in mptsas_uflash25() local 1282 sge = (pMpi2IeeeSgeSimple64_t)&fwdownload->SGL; in mptsas_uflash25() 1286 ddi_put8(acc_hdl, &sge->Flags, flags); in mptsas_uflash25() 1287 ddi_put32(acc_hdl, &sge->Length, size); in mptsas_uflash25() 1288 ddi_put32(acc_hdl, &sge->Address.Low, in mptsas_uflash25() [all …]
|
/illumos-gate/usr/src/uts/intel/chxge/ |
H A D | Makefile | 91 $(OBJS_DIR)/sge.o := SMOFF += index_overflow
|
/illumos-gate/usr/src/tools/smatch/src/validation/optim/ |
H A D | canonical-cmp.c | 9 sint sge(sint p, sint a) { return (123 <= p) ? a : 0; } in sge() function
|
H A D | binops-same-args.c | 16 int sge(int a) { return a >= a; } in sge() function
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/hsi_repository/ |
H A D | storage_common.h | 94 struct scsi_sge sge[4] /* Cached SGEs section */; member
|
/illumos-gate/usr/src/cmd/cxgbetool/ |
H A D | cudbg_view.c | 2448 T6_MODREGS(sge), in dump_regs_t6() 2491 T5_MODREGS(sge), in dump_regs_t5() 4693 u32 tx, rx, cs, es, pcie, pcie1, sge; in view_full_t6() local 4721 sge = *(sp + 6); in view_full_t6() 4732 sge_rx_full = (sge >> 30) & 0x3; in view_full_t6() 4787 u32 tx, rx, cs, es, pcie, sge; in view_full_t5() local 4811 sge = *(sp + 5); in view_full_t5() 4819 sge_rsp_full = ((sge >> 26) & 0xf); in view_full_t5() 4821 sge_req_full = ((sge >> 22) & 0xf) | ((sge >> 18) & 0xf); in view_full_t5() 4822 sge_rx_full = (sge >> 30) & 0x3; in view_full_t5()
|