/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_mon.c | 226 __in efsys_mem_t *esmp, 235 return (emop->emo_stats_update(enp, esmp, values)); 224 efx_mon_stats_update( __in efx_nic_t *enp, __in efsys_mem_t *esmp, __inout_ecount(EFX_MON_NSTATS) efx_mon_stat_value_t *values) argument
|
H A D | ef10_intr.c | 41 __in efsys_mem_t *esmp) 43 _NOTE(ARGUNUSED(enp, type, esmp)) 38 ef10_intr_init( __in efx_nic_t *enp, __in efx_intr_type_t type, __in efsys_mem_t *esmp) argument
|
H A D | siena_mac.c | 241 __in efsys_mem_t *esmp, 252 EFSYS_DMA_SYNC_FOR_KERNEL(esmp, 0, EFX_MAC_STATS_SIZE); 253 SIENA_MAC_STAT_READ(esmp, MC_CMD_MAC_GENERATION_END, 258 SIENA_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_PKTS, &value); 260 SIENA_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_CONTROL_PKTS, &value); 263 SIENA_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_PAUSE_PKTS, &value); 266 SIENA_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_UNICAST_PKTS, &value); 269 SIENA_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_MULTICAST_PKTS, &value); 272 SIENA_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_BROADCAST_PKTS, &value); 275 SIENA_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_BYTE 239 siena_mac_stats_update( __in efx_nic_t *enp, __in efsys_mem_t *esmp, __inout_ecount(EFX_MAC_NSTATS) efsys_stat_t *stat, __inout_opt uint32_t *generationp) argument [all...] |
H A D | ef10_mac.c | 426 __in efsys_mem_t *esmp, 437 EFSYS_DMA_SYNC_FOR_KERNEL(esmp, 0, EFX_MAC_STATS_SIZE); 438 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_GENERATION_END, 443 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_PKTS, &value); 446 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_CONTROL_PKTS, &value); 449 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_PAUSE_PKTS, &value); 452 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_UNICAST_PKTS, &value); 455 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_MULTICAST_PKTS, &value); 458 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_BROADCAST_PKTS, &value); 461 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_BYTE 424 ef10_mac_stats_update( __in efx_nic_t *enp, __in efsys_mem_t *esmp, __inout_ecount(EFX_MAC_NSTATS) efsys_stat_t *stat, __inout_opt uint32_t *generationp) argument [all...] |
H A D | ef10_mcdi.c | 50 efsys_mem_t *esmp = emtp->emt_dma_mem; local 66 if (esmp == NULL) { 76 if ((EFSYS_MEM_ADDR(esmp) & 0xFF) != 0) { 117 efsys_mem_t *esmp = emtp->emt_dma_mem; local 127 EFSYS_MEM_WRITED(esmp, pos, &dword); 133 EFSYS_MEM_WRITED(esmp, hdr_len + pos, &dword); 137 EFSYS_DMA_SYNC_FOR_DEVICE(esmp, 0, hdr_len + sdu_len); 142 EFSYS_MEM_ADDR(esmp) >> 32); 146 EFSYS_MEM_ADDR(esmp) & 0xffffffff); 155 efsys_mem_t *esmp local 170 efsys_mem_t *esmp = emtp->emt_dma_mem; local [all...] |
H A D | ef10_phy.c | 462 __in efsys_mem_t *esmp, 466 _NOTE(ARGUNUSED(enp, esmp)) 460 ef10_phy_stats_update( __in efx_nic_t *enp, __in efsys_mem_t *esmp, __inout_ecount(EFX_PHY_NSTATS) uint32_t *stat) argument
|
H A D | efx_intr.c | 41 __in efsys_mem_t *esmp); 120 __in efsys_mem_t *esmp) 134 eip->ei_esmp = esmp; 165 if ((rc = eiop->eio_init(enp, type, esmp)) != 0) 306 __in efsys_mem_t *esmp) 336 FRF_AZ_INT_ADR_KER_DW0, EFSYS_MEM_ADDR(esmp) & 0xffffffff, 337 FRF_AZ_INT_ADR_KER_DW1, EFSYS_MEM_ADDR(esmp) >> 32); 441 efsys_mem_t *esmp = eip->ei_esmp; local 445 EFSYS_MEM_READO(esmp, 0, &oword); 452 EFSYS_MEM_WRITEO(esmp, 117 efx_intr_init( __in efx_nic_t *enp, __in efx_intr_type_t type, __in efsys_mem_t *esmp) argument 303 siena_intr_init( __in efx_nic_t *enp, __in efx_intr_type_t type, __in efsys_mem_t *esmp) argument [all...] |
H A D | efx_sram.c | 38 __in efsys_mem_t *esmp, 74 addr = EFSYS_MEM_ADDR(esmp); 35 efx_sram_buf_tbl_set( __in efx_nic_t *enp, __in uint32_t id, __in efsys_mem_t *esmp, __in size_t n) argument
|
H A D | efx_phy.c | 405 __in efsys_mem_t *esmp, 414 return (epop->epo_stats_update(enp, esmp, stat)); 403 efx_phy_stats_update( __in efx_nic_t *enp, __in efsys_mem_t *esmp, __inout_ecount(EFX_PHY_NSTATS) uint32_t *stat) argument
|
H A D | mcdi_mon.c | 168 __in_opt efsys_mem_t *esmp, 233 if (stat != NULL && esmp != NULL && !EFSYS_MEM_IS_NULL(esmp)) { 237 EFSYS_MEM_READD(esmp, 4 * (idx - 1), &dword); 310 __in efsys_mem_t *esmp, 324 addr_lo = (uint32_t)(EFSYS_MEM_ADDR(esmp) & 0xffffffff); 325 addr_hi = (uint32_t)(EFSYS_MEM_ADDR(esmp) >> 32); 442 __in efsys_mem_t *esmp, 449 if ((rc = efx_mcdi_read_sensors(enp, esmp, size)) != 0) 452 EFSYS_DMA_SYNC_FOR_KERNEL(esmp, 164 mcdi_mon_decode_stats( __in efx_nic_t *enp, __in_ecount(sensor_mask_size) uint32_t *sensor_mask, __in size_t sensor_mask_size, __in_opt efsys_mem_t *esmp, __out_ecount_opt(sensor_mask_size) uint32_t *stat_maskp, __inout_ecount_opt(EFX_MON_NSTATS) efx_mon_stat_value_t *stat) argument 308 efx_mcdi_read_sensors( __in efx_nic_t *enp, __in efsys_mem_t *esmp, __in uint32_t size) argument 440 mcdi_mon_stats_update( __in efx_nic_t *enp, __in efsys_mem_t *esmp, __inout_ecount(EFX_MON_NSTATS) efx_mon_stat_value_t *values) argument [all...] |
H A D | siena_phy.c | 463 __in_opt efsys_mem_t *esmp, 471 SIENA_SIMPLE_STAT_SET2(vmask, esmp, smask, stat, OUI); 472 SIENA_SIMPLE_STAT_SET2(vmask, esmp, smask, stat, PMA_PMD_LINK_UP); 473 SIENA_SIMPLE_STAT_SET2(vmask, esmp, smask, stat, PMA_PMD_RX_FAULT); 474 SIENA_SIMPLE_STAT_SET2(vmask, esmp, smask, stat, PMA_PMD_TX_FAULT); 481 if (stat != NULL && esmp != NULL && !EFSYS_MEM_IS_NULL(esmp)) { 484 EFSYS_MEM_READD(esmp, 4 * MC_CMD_PMA_PMD_SIGNAL, 494 SIENA_SIMPLE_STAT_SET(vmask, esmp, smask, stat, MC_CMD_PMA_PMD_SNR_A, 496 SIENA_SIMPLE_STAT_SET(vmask, esmp, smas 460 siena_phy_decode_stats( __in efx_nic_t *enp, __in uint32_t vmask, __in_opt efsys_mem_t *esmp, __out_opt uint64_t *smaskp, __inout_ecount_opt(EFX_PHY_NSTATS) uint32_t *stat) argument 546 siena_phy_stats_update( __in efx_nic_t *enp, __in efsys_mem_t *esmp, __inout_ecount(EFX_PHY_NSTATS) uint32_t *stat) argument [all...] |
H A D | ef10_ev.c | 90 __in efsys_mem_t *esmp, 152 addr = EFSYS_MEM_ADDR(esmp); 245 __in efsys_mem_t *esmp, 280 if ((rc = efx_mcdi_init_evq(enp, index, esmp, n, irq, NULL)) != 0) 87 efx_mcdi_init_evq( __in efx_nic_t *enp, __in unsigned int instance, __in efsys_mem_t *esmp, __in size_t nevs, __in uint32_t irq, __out_opt uint32_t *irqp) argument 242 ef10_ev_qcreate( __in efx_nic_t *enp, __in unsigned int index, __in efsys_mem_t *esmp, __in size_t n, __in uint32_t id, __in efx_evq_t *eep) argument
|
H A D | ef10_rx.c | 45 __in efsys_mem_t *esmp, 84 addr = EFSYS_MEM_ADDR(esmp); 739 __in efsys_mem_t *esmp, 776 esmp, disable_scatter)) != 0) 39 efx_mcdi_init_rxq( __in efx_nic_t *enp, __in uint32_t size, __in uint32_t target_evq, __in uint32_t label, __in uint32_t instance, __in efsys_mem_t *esmp, __in boolean_t disable_scatter) argument 734 ef10_rx_qcreate( __in efx_nic_t *enp, __in unsigned int index, __in unsigned int label, __in efx_rxq_type_t type, __in efsys_mem_t *esmp, __in size_t n, __in uint32_t id, __in efx_evq_t *eep, __in efx_rxq_t *erp) argument
|
H A D | ef10_tx.c | 55 __in efsys_mem_t *esmp) 102 addr = EFSYS_MEM_ADDR(esmp); 184 __in efsys_mem_t *esmp, 198 esmp)) != 0) 48 efx_mcdi_init_txq( __in efx_nic_t *enp, __in uint32_t size, __in uint32_t target_evq, __in uint32_t label, __in uint32_t instance, __in uint16_t flags, __in efsys_mem_t *esmp) argument 180 ef10_tx_qcreate( __in efx_nic_t *enp, __in unsigned int index, __in unsigned int label, __in efsys_mem_t *esmp, __in size_t n, __in uint32_t id, __in uint16_t flags, __in efx_evq_t *eep, __in efx_txq_t *etp, __out unsigned int *addedp) argument
|
H A D | efx_ev.c | 67 __in efsys_mem_t *esmp, 223 __in efsys_mem_t *esmp, 249 eep->ee_esmp = esmp; 251 if ((rc = eevop->eevo_qcreate(enp, index, esmp, n, id, eep)) != 0) 1243 __in efsys_mem_t *esmp, 1253 _NOTE(ARGUNUSED(esmp)); 220 efx_ev_qcreate( __in efx_nic_t *enp, __in unsigned int index, __in efsys_mem_t *esmp, __in size_t n, __in uint32_t id, __deref_out efx_evq_t **eepp) argument 1240 siena_ev_qcreate( __in efx_nic_t *enp, __in unsigned int index, __in efsys_mem_t *esmp, __in size_t n, __in uint32_t id, __in efx_evq_t *eep) argument
|
H A D | efx_mac.c | 597 __in efsys_mem_t *esmp) 612 if ((rc = emop->emo_stats_upload(enp, esmp)) != 0) 628 __in efsys_mem_t *esmp, 646 if ((rc = emop->emo_stats_periodic(enp, esmp, period_ms, events)) != 0) 663 __in efsys_mem_t *esmp, 675 rc = emop->emo_stats_update(enp, esmp, essp, generationp); 595 efx_mac_stats_upload( __in efx_nic_t *enp, __in efsys_mem_t *esmp) argument 626 efx_mac_stats_periodic( __in efx_nic_t *enp, __in efsys_mem_t *esmp, __in uint16_t period_ms, __in boolean_t events) argument 661 efx_mac_stats_update( __in efx_nic_t *enp, __in efsys_mem_t *esmp, __inout_ecount(EFX_MAC_NSTATS) efsys_stat_t *essp, __inout_opt uint32_t *generationp) argument
|
H A D | efx_rx.c | 115 __in efsys_mem_t *esmp, 481 __in efsys_mem_t *esmp, 506 erp->er_esmp = esmp; 508 if ((rc = erxop->erxo_qcreate(enp, index, label, type, esmp, n, id, 1113 __in efsys_mem_t *esmp, 1125 _NOTE(ARGUNUSED(esmp)); 476 efx_rx_qcreate( __in efx_nic_t *enp, __in unsigned int index, __in unsigned int label, __in efx_rxq_type_t type, __in efsys_mem_t *esmp, __in size_t n, __in uint32_t id, __in efx_evq_t *eep, __deref_out efx_rxq_t **erpp) argument 1108 siena_rx_qcreate( __in efx_nic_t *enp, __in unsigned int index, __in unsigned int label, __in efx_rxq_type_t type, __in efsys_mem_t *esmp, __in size_t n, __in uint32_t id, __in efx_evq_t *eep, __in efx_rxq_t *erp) argument
|
H A D | efx_tx.c | 59 __in efsys_mem_t *esmp, 292 __in efsys_mem_t *esmp, 322 etp->et_esmp = esmp; 327 if ((rc = etxop->etxo_qcreate(enp, index, label, esmp, 887 __in efsys_mem_t *esmp, 900 _NOTE(ARGUNUSED(esmp)); 288 efx_tx_qcreate( __in efx_nic_t *enp, __in unsigned int index, __in unsigned int label, __in efsys_mem_t *esmp, __in size_t n, __in uint32_t id, __in uint16_t flags, __in efx_evq_t *eep, __deref_out efx_txq_t **etpp, __out unsigned int *addedp) argument 883 siena_tx_qcreate( __in efx_nic_t *enp, __in unsigned int index, __in unsigned int label, __in efsys_mem_t *esmp, __in size_t n, __in uint32_t id, __in uint16_t flags, __in efx_evq_t *eep, __in efx_txq_t *etp, __out unsigned int *addedp) argument
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_dma.c | 37 sfxge_dma_buffer_unbind_handle(efsys_mem_t *esmp) argument 41 esmp->esm_addr = 0; 42 rc = ddi_dma_unbind_handle(esmp->esm_dma_handle); 55 sfxge_dma_buffer_mem_free(efsys_mem_t *esmp) argument 57 esmp->esm_base = NULL; 58 ddi_dma_mem_free(&(esmp->esm_acc_handle)); 59 esmp->esm_acc_handle = NULL; 70 sfxge_dma_buffer_create(efsys_mem_t *esmp, const sfxge_dma_buffer_attr_t *sdbap) argument 80 sdbap->sdba_callback, NULL, &(esmp->esm_dma_handle)); 99 err = ddi_dma_mem_alloc(esmp 174 sfxge_dma_buffer_destroy(efsys_mem_t *esmp) argument [all...] |
H A D | sfxge_sram.c | 101 sfxge_sram_buf_tbl_set(sfxge_t *sp, uint32_t id, efsys_mem_t *esmp, argument 111 if ((rc = efx_sram_buf_tbl_set(sp->s_enp, id, esmp, n)) != 0)
|
H A D | sfxge_mon.c | 69 efsys_mem_t *esmp = &(smp->sm_mem); local 86 rc = efx_mon_stats_update(enp, esmp, smp->sm_statbuf); 212 efsys_mem_t *esmp = &(smp->sm_mem); local 235 if ((rc = sfxge_dma_buffer_create(esmp, &dma_attr)) != 0) 254 sfxge_dma_buffer_destroy(esmp); 314 efsys_mem_t *esmp = &(smp->sm_mem); local 328 sfxge_dma_buffer_destroy(esmp);
|
H A D | sfxge_intr.c | 396 efsys_mem_t *esmp = &(sip->si_mem); local 404 bzero(esmp->esm_base, EFX_INTR_SIZE); 407 if ((rc = efx_intr_init(enp, sip->si_type, esmp)) != 0) 500 efsys_mem_t *esmp = &(sip->si_mem); local 653 if ((rc = sfxge_dma_buffer_create(esmp, &dma_attr)) != 0) 772 efsys_mem_t *esmp = &(sip->si_mem); local 781 sfxge_dma_buffer_destroy(esmp);
|
H A D | sfxge_phy.c | 201 efsys_mem_t *esmp = &(spp->sp_mem); local 215 if ((rc = sfxge_dma_buffer_create(esmp, &dma_attr)) != 0) 375 efsys_mem_t *esmp = &(spp->sp_mem); local 377 sfxge_dma_buffer_destroy(esmp);
|
H A D | sfxge_mcdi.c | 275 efsys_mem_t *esmp = &(smp->sm_mem); local 296 if ((rc = sfxge_dma_buffer_create(esmp, &dma_attr)) != 0) 304 emtp->emt_dma_mem = esmp; 325 sfxge_dma_buffer_destroy(esmp); 343 efsys_mem_t *esmp = &(smp->sm_mem); local 358 sfxge_dma_buffer_destroy(esmp);
|
H A D | sfxge_mac.c | 78 efsys_mem_t *esmp = &(smp->sm_mem); local 90 if (efx_mac_stats_update(sp->s_enp, esmp, smp->sm_stat, 275 efsys_mem_t *esmp = &(smp->sm_mem); local 296 bzero(esmp->esm_base, EFX_MAC_STATS_SIZE); 300 efx_mac_stats_upload(sp->s_enp, esmp) == 0) 354 efsys_mem_t *esmp = &(smp->sm_mem); local 397 if ((rc = sfxge_dma_buffer_create(esmp, &dma_attr)) != 0) 450 sfxge_dma_buffer_destroy(esmp); 517 efsys_mem_t *esmp = &(smp->sm_mem); local 553 if ((rc = efx_mac_stats_periodic(enp, esmp, 986 efsys_mem_t *esmp = &(smp->sm_mem); local 1020 efsys_mem_t *esmp = &(smp->sm_mem); local [all...] |