Home
last modified time | relevance | path

Searched refs:dmac (Results 1 – 20 of 20) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_mac.c395 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()
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()
1468 dmac &= dmac_mask; in eib_vnic_make_vhub_mgid()
1775 uint8_t bkt = (dmac[ETHERADDRL-1]) % EIB_TB_NBUCKETS; in eib_vnic_lookup_dest()
1783 if (EIB_UNICAST_MAC(dmac)) { in eib_vnic_lookup_dest()
1795 if (bcmp(elem->mp_mac, dmac, ETHERADDRL) == 0) in eib_vnic_lookup_dest()
[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()
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()
734 stmp->stm_addr[n++] = dmac.dmac_laddress; in sfxge_tx_msgb_bind()
735 DTRACE_PROBE1(addr, uint64_t, dmac.dmac_laddress); in sfxge_tx_msgb_bind()
737 size = MIN(SFXGE_TX_DESCSIZE, dmac.dmac_size); in sfxge_tx_msgb_bind()
738 dmac.dmac_laddress += size; in sfxge_tx_msgb_bind()
[all …]
H A Dsfxge_rx.c604 ddi_dma_cookie_t dmac; in sfxge_rx_qpacket_create() local
656 DDI_DMA_DONTWAIT, NULL, &dmac, &ncookies); in sfxge_rx_qpacket_create()
688 srpp->srp_addr = dmac.dmac_laddress; in sfxge_rx_qpacket_create()
/illumos-gate/usr/src/uts/common/sys/
H A Decppvar.h69 struct cheerio_dma_reg *dmac; /* ebus dmac registers */ member
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)
494 ((uint32_t *)&pp->uh.ebus.dmac->bcr), \
498 ((uint32_t *)&pp->uh.ebus.dmac->bcr))
/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()
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()
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()
1695 dmac_addr = dmac->dmac_address; in scsa1394_cmd_dmac2seg()
1722 ddi_dma_nextcookie(cmd->sc_buf_dma_hdl, dmac); in scsa1394_cmd_dmac2seg()
1885 ddi_dma_cookie_t dmac; in scsa1394_cmd_buf_dma_move() local
1916 cmd->sc_buf_seg_mem.ss_len = dmac.dmac_size; in scsa1394_cmd_buf_dma_move()
[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
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
1741 &dmac, &ncookies); in afe_alloctxring()
[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/cxgbe/t4nex/
H A Dt4_l2t.h59 uint8_t dmac[ETHERADDRL]; /* next hop's MAC address */ member
H A Dt4_l2t.c210 (void) memcpy(req->dst_mac, e->dmac, sizeof (req->dst_mac)); in write_l2e()
543 bcopy(cp, e->dmac, 6); in t4_l2t_update()
/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/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
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
2087 &dmac, &ncookies); in mxfe_alloctxring()
[all …]
/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/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/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()
/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/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/common/io/
H A Decpp.c5406 if (ddi_regs_map_setup(pp->dip, 2, (caddr_t *)&pp->uh.ebus.dmac, 0, in pc87332_map_regs()
5656 &pp->uh.ebus.dmac->csr, ~DCSR_INT_EN); in cheerio_mask_intr()
5664 &pp->uh.ebus.dmac->csr, DCSR_INT_EN | DCSR_TCI_DIS); in cheerio_unmask_intr()
5694 AND_SET_LONG_R(pp->uh.ebus.d_handle, &pp->uh.ebus.dmac->csr, in cheerio_dma_stop()
5698 OR_SET_LONG_R(pp->uh.ebus.d_handle, &pp->uh.ebus.dmac->csr, in cheerio_dma_stop()