/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_mac.c | 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 D | eib_vnic.c | 584 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() 1765 eib_vnic_lookup_dest(eib_vnic_t *vnic, uint8_t *dmac, uint16_t vlan, in eib_vnic_lookup_dest() argument 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() [all …]
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_dma.c | 75 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 D | sfxge_tx.c | 684 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 …]
|
H A D | sfxge_rx.c | 604 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 D | ecppvar.h | 69 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 D | hba.c | 1520 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/virtio/ |
H A D | virtio_dma.c | 179 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 D | afe.c | 1555 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 D | pcn.c | 1546 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 D | t4_l2t.h | 59 uint8_t dmac[ETHERADDRL]; /* next hop's MAC address */ member
|
/illumos-gate/usr/src/uts/common/io/vioblk/ |
H A D | vioblk.c | 434 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 D | mxfe.c | 1901 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/hme/ |
H A D | hme.c | 2817 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 D | elxl.c | 352 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 D | audio_4231.c | 1960 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 D | yge.c | 1471 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 D | iprb.c | 457 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 D | ecpp.c | 5406 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()
|