Home
last modified time | relevance | path

Searched full:dmac (Results 1 – 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/uts/common/sys/
H A Decppvar.h65 /* NSC 87332/97317 and EBus DMAC */
69 struct cheerio_dma_reg *dmac; /* ebus dmac registers */ member
70 ddi_acc_handle_t d_handle; /* handle for dmac registers */
75 /* Southbridge SuperIO and 8237 DMAC */
327 #define ECPP_ISR_MAX_DELAY 30 /* DMAC slow PENDING status */
478 * Macros for Cheerio/RIO DMAC programming
481 ((uint32_t *)&pp->uh.ebus.dmac->csr), \
484 (uint32_t *)&(pp->uh.ebus.dmac->csr))
487 ((uint32_t *)&pp->uh.ebus.dmac->acr), \
491 (uint32_t *)&pp->uh.ebus.dmac->acr)
[all …]
H A Decppreg.h203 /* Cheerio Ebus DMAC */
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_mac.c342 * Determine dmac, smac and vlan information in eib_mac_tx()
386 * We'll try to setup the destination in the swqe for this dmac in eib_mac_tx()
395 uint8_t *dmac; in eib_mac_tx() local
397 dmac = evh.eh_dmac; in eib_mac_tx()
400 "vlan=0x%x, dropping pkt", dmac[0], dmac[1], dmac[2], in eib_mac_tx()
401 dmac[3], dmac[4], dmac[5]); in eib_mac_tx()
H A Deib_vnic.c584 eib_vnic_setup_dest(eib_vnic_t *vnic, eib_wqe_t *swqe, uint8_t *dmac, in eib_vnic_setup_dest() argument
599 rv = eib_vnic_lookup_dest(vnic, dmac, vlan, &ucast, &mcast, &dtype); in eib_vnic_setup_dest()
602 "eib_vnic_lookup_dest(dmac=%x:%x:%x:%x:%x:%x, vlan=0x%x) " in eib_vnic_setup_dest()
603 "failed", dmac[0], dmac[1], dmac[2], dmac[3], dmac[4], in eib_vnic_setup_dest()
604 dmac[5], vlan); in eib_vnic_setup_dest()
1451 uint64_t dmac = 0; in eib_vnic_make_vhub_mgid() local
1452 uint8_t *dmac_str = (uint8_t *)&dmac; in eib_vnic_make_vhub_mgid()
1463 * Take n_mac bits from mcast_mac and copy dmac in eib_vnic_make_vhub_mgid()
1468 dmac &= dmac_mask; in eib_vnic_make_vhub_mgid()
1765 eib_vnic_lookup_dest(eib_vnic_t *vnic, uint8_t *dmac, uint16_t vlan, in eib_vnic_lookup_dest() argument
[all …]
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_dma.c75 ddi_dma_cookie_t dmac; in sfxge_dma_buffer_create() local
122 sdbap->sdba_callback, NULL, &dmac, &ncookies); in sfxge_dma_buffer_create()
150 esmp->esm_addr = dmac.dmac_laddress; in sfxge_dma_buffer_create()
151 esmp->esm_size = dmac.dmac_size; in sfxge_dma_buffer_create()
H A Dsfxge_tx.c684 ddi_dma_cookie_t dmac; in sfxge_tx_msgb_bind() local
702 DDI_DMA_DONTWAIT, NULL, &dmac, &ncookies); in sfxge_tx_msgb_bind()
713 stmp->stm_addr[n++] = dmac.dmac_laddress & SFXGE_TX_DESCMASK; in sfxge_tx_msgb_bind()
714 DTRACE_PROBE1(addr, uint64_t, dmac.dmac_laddress & SFXGE_TX_DESCMASK); in sfxge_tx_msgb_bind()
716 stmp->stm_off = dmac.dmac_laddress & SFXGE_TX_DESCOFFSET; in sfxge_tx_msgb_bind()
718 size = MIN(SFXGE_TX_DESCSIZE - stmp->stm_off, dmac.dmac_size); in sfxge_tx_msgb_bind()
719 dmac.dmac_laddress += size; in sfxge_tx_msgb_bind()
720 dmac.dmac_size -= size; in sfxge_tx_msgb_bind()
725 if (dmac.dmac_size == 0) { in sfxge_tx_msgb_bind()
729 ddi_dma_nextcookie(stmp->stm_dma_handle, &dmac); in sfxge_tx_msgb_bind()
[all …]
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dhba.c1520 ddi_dma_cookie_t dmac; in scsa1394_cmd_buf_dma_alloc() local
1549 callback, arg, &dmac, &ccount); in scsa1394_cmd_buf_dma_alloc()
1565 &cmd->sc_win_offset, &cmd->sc_win_len, &dmac, &ccount) != in scsa1394_cmd_buf_dma_alloc()
1597 if ((ccount == 1) && (dmac.dmac_size <= SBP2_PT_SEGSIZE_MAX) && in scsa1394_cmd_buf_dma_alloc()
1599 (dmac.dmac_size <= scsa1394_symbios_page_size))) { in scsa1394_cmd_buf_dma_alloc()
1601 cmd->sc_buf_seg_mem.ss_len = dmac.dmac_size; in scsa1394_cmd_buf_dma_alloc()
1602 cmd->sc_buf_seg_mem.ss_daddr = dmac.dmac_address; in scsa1394_cmd_buf_dma_alloc()
1606 if (scsa1394_cmd_dmac2seg(sp, cmd, &dmac, ccount, kf) != in scsa1394_cmd_buf_dma_alloc()
1653 ddi_dma_cookie_t *dmac, uint_t ccount, int kf) in scsa1394_cmd_dmac2seg() argument
1694 dmac_resid = dmac->dmac_size; in scsa1394_cmd_dmac2seg()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Ddma_engine.c33 * AT Class machines using Intel 8237A DMAC.
74 * purpose: called to initialize the dma interface, the DMAC, and any
329 * from the DMAC. i_dmae_prog() should have been called prior
371 * purpose: Obtain the current channel status from the DMAC
H A Di8237A.c182 * purpose: Prevent the DMAC from responding to external hardware
199 * purpose: Enable to DMAC to respond to hardware requests for DMA
547 * DMAC for a subsequent hardware-initiated transfer.
H A Decpp.c277 /* M1553 Southbridge DMAC 8237 support routines */
2575 * gains the mutex, ecpp_isr() will have a _reset_ DMAC. Most in ecpp_flush()
2576 * significantly, the DMAC will be reset after ecpp_isr() was in ecpp_flush()
2579 * ecpp_isr() notes a dma_cancelled, it will ignore the DMAC csr in ecpp_flush()
2932 /* prepare DMAC for a transfer */ in ecpp_init_dma_xfer()
3165 ecpp_error(pp->dip, "ecpp_isr: DMAC ERROR bcr=%d\n", bcr); in ecpp_isr()
3540 * shut down the DMAC
3661 * If DMAC fails to shut off, continue anyways and attempt in ecpp_xfer_timeout()
4528 * on Grover, we can`t access DMAC registers while DMA is in flight, in ecp_peripheral2host()
5406 if (ddi_regs_map_setup(pp->dip, 2, (caddr_t *)&pp->uh.ebus.dmac, 0, in pc87332_map_regs()
[all …]
/illumos-gate/usr/src/uts/common/io/virtio/
H A Dvirtio_dma.c179 ddi_dma_cookie_t dmac; in virtio_dma_bind() local
190 &dmac, &vidma->vidma_dma_ncookies)) != DDI_DMA_MAPPED) { in virtio_dma_bind()
205 vidma->vidma_dma_cookies[0] = dmac; in virtio_dma_bind()
/illumos-gate/usr/src/uts/common/io/afe/
H A Dafe.c1555 ddi_dma_cookie_t dmac; in afe_alloctxbuf() local
1574 &dmac, &ncookies) != DDI_DMA_MAPPED) { in afe_alloctxbuf()
1577 txb->txb_paddr = dmac.dmac_address; in afe_alloctxbuf()
1602 ddi_dma_cookie_t dmac; in afe_allocrxbuf() local
1619 DDI_DMA_READ | DDI_DMA_STREAMING, DDI_DMA_SLEEP, NULL, &dmac, in afe_allocrxbuf()
1626 rxb->rxb_paddr = dmac.dmac_address; in afe_allocrxbuf()
1652 ddi_dma_cookie_t dmac; in afe_allocrxring() local
1677 &dmac, &ncookies); in afe_allocrxring()
1688 afep->afe_rxdesc_paddr = dmac.dmac_address; in afe_allocrxring()
1716 ddi_dma_cookie_t dmac; in afe_alloctxring() local
[all …]
/illumos-gate/usr/src/uts/common/io/pcn/
H A Dpcn.c1546 ddi_dma_cookie_t dmac; in pcn_allocbuf() local
1564 DDI_DMA_READ | DDI_DMA_STREAMING, DDI_DMA_SLEEP, NULL, &dmac, in pcn_allocbuf()
1569 buf->pb_paddr = dmac.dmac_address; in pcn_allocbuf()
1581 ddi_dma_cookie_t dmac; in pcn_alloctxring() local
1605 size, DDI_DMA_RDWR | DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, &dmac, in pcn_alloctxring()
1615 pcnp->pcn_txdesc_paddr = dmac.dmac_address; in pcn_alloctxring()
1638 ddi_dma_cookie_t dmac; in pcn_allocrxring() local
1662 size, DDI_DMA_RDWR | DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, &dmac, in pcn_allocrxring()
1672 pcnp->pcn_rxdesc_paddr = dmac.dmac_address; in pcn_allocrxring()
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_api.c1154 * Configure DMA coalescing. If enabling dmac, dmac is activated.
1155 * When disabling dmac, dmac enable dmac bit is cleared.
1167 * Disables dmac, updates per TC settings, and then enable dmac.
1180 * FCOE TC. The dmac enable bit must be cleared before configuring.
H A Dixgbe_x550.c881 * Configure DMA coalescing. If enabling dmac, dmac is activated.
882 * When disabling dmac, dmac enable dmac bit is cleared.
929 * Configure DMA coalescing threshold per TC. The dmac enable bit must
985 * Disables dmac, updates per TC settings, and then enables dmac.
/illumos-gate/usr/src/uts/common/io/mxfe/
H A Dmxfe.c1901 ddi_dma_cookie_t dmac; in mxfe_alloctxbuf() local
1920 &dmac, &ncookies) != DDI_DMA_MAPPED) { in mxfe_alloctxbuf()
1923 txb->txb_paddr = dmac.dmac_address; in mxfe_alloctxbuf()
1948 ddi_dma_cookie_t dmac; in mxfe_allocrxbuf() local
1965 DDI_DMA_READ | DDI_DMA_STREAMING, DDI_DMA_SLEEP, NULL, &dmac, in mxfe_allocrxbuf()
1972 rxb->rxb_paddr = dmac.dmac_address; in mxfe_allocrxbuf()
1998 ddi_dma_cookie_t dmac; in mxfe_allocrxring() local
2023 &dmac, &ncookies); in mxfe_allocrxring()
2034 mxfep->mxfe_rxdesc_paddr = dmac.dmac_address; in mxfe_allocrxring()
2062 ddi_dma_cookie_t dmac; in mxfe_alloctxring() local
[all …]
/illumos-gate/usr/src/uts/common/io/vioblk/
H A Dvioblk.c434 ddi_dma_cookie_t dmac; in vioblk_request() local
440 dmac = xfer->x_dmac; in vioblk_request()
442 ddi_dma_nextcookie(xfer->x_dmah, &dmac); in vioblk_request()
445 if (virtio_chain_append(vic, dmac.dmac_laddress, in vioblk_request()
446 dmac.dmac_size, dir) != DDI_SUCCESS) { in vioblk_request()
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_l2t.h59 uint8_t dmac[ETHERADDRL]; /* next hop's MAC address */ member
/illumos-gate/usr/src/uts/common/io/elxl/
H A Delxl.c352 ddi_dma_cookie_t dmac; in ex_alloc_ring() local
376 DDI_DMA_DONTWAIT, NULL, &dmac, &ndmac); in ex_alloc_ring()
381 r->r_paddr = dmac.dmac_address; in ex_alloc_ring()
412 DDI_DMA_DONTWAIT, NULL, &dmac, &ndmac); in ex_alloc_ring()
417 ed->ed_bufaddr = dmac.dmac_address; in ex_alloc_ring()
/illumos-gate/usr/src/uts/common/io/hme/
H A Dhme.c2817 ddi_dma_cookie_t dmac; in hmeallocbuf() local
2838 &dmac, &ccnt) != DDI_DMA_MAPPED) { in hmeallocbuf()
2843 buf->paddr = dmac.dmac_address; in hmeallocbuf()
2954 ddi_dma_cookie_t dmac; in hmeallocthings() local
2980 DDI_DMA_DONTWAIT, NULL, &dmac, &cookiec); in hmeallocthings()
2986 hmep->hme_rmd_paddr = dmac.dmac_address; in hmeallocthings()
3012 DDI_DMA_DONTWAIT, NULL, &dmac, &cookiec); in hmeallocthings()
3018 hmep->hme_tmd_paddr = dmac.dmac_address; in hmeallocthings()
/illumos-gate/usr/src/uts/common/io/yge/
H A Dyge.c1471 ddi_dma_cookie_t dmac; in yge_alloc_ring() local
1501 &dmac, &ndmac); in yge_alloc_ring()
1507 ring->r_paddr = dmac.dmac_address; in yge_alloc_ring()
1534 ddi_dma_cookie_t dmac; in yge_alloc_buf() local
1555 DDI_DMA_DONTWAIT, NULL, &dmac, &ndmac); in yge_alloc_buf()
1561 b->b_paddr = dmac.dmac_address; in yge_alloc_buf()
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_impl.h367 EFX_SIENA_FILTER_RX_MAC_FULL, /* Ethernet {dMAC,VLAN} */
368 EFX_SIENA_FILTER_RX_MAC_WILD, /* Ethernet {dMAC, -} */
/illumos-gate/usr/src/uts/common/io/igc/core/
H A Digc_i225.c882 * Set the LTR thresholds based on the link speed (Mbps), EEE, and DMAC
925 /* Calculations vary based on DMAC settings. */ in igc_set_ltr_i225()
/illumos-gate/usr/src/uts/common/io/iprb/
H A Diprb.c457 ddi_dma_cookie_t dmac; in iprb_dma_alloc() local
473 &dmac, &ndmac) != DDI_DMA_MAPPED) { in iprb_dma_alloc()
477 h->paddr = dmac.dmac_address; in iprb_dma_alloc()
/illumos-gate/usr/src/uts/sun/io/audio/drv/audiocs/
H A Daudio_4231.c1960 ddi_dma_cookie_t dmac; in audiocs_alloc_engine() local
2016 DDI_DMA_SLEEP, NULL, &dmac, &ccnt); in audiocs_alloc_engine()
2023 eng->ce_paddr = dmac.dmac_address; in audiocs_alloc_engine()

12