/titanic_44/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 …]
|
/titanic_44/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))
|
/titanic_44/usr/src/uts/common/io/1394/targets/scsa1394/ |
H A D | hba.c | 1521 ddi_dma_cookie_t dmac; in scsa1394_cmd_buf_dma_alloc() local 1550 callback, arg, &dmac, &ccount); in scsa1394_cmd_buf_dma_alloc() 1566 &cmd->sc_win_offset, &cmd->sc_win_len, &dmac, &ccount) != in scsa1394_cmd_buf_dma_alloc() 1598 if ((ccount == 1) && (dmac.dmac_size <= SBP2_PT_SEGSIZE_MAX) && in scsa1394_cmd_buf_dma_alloc() 1600 (dmac.dmac_size <= scsa1394_symbios_page_size))) { in scsa1394_cmd_buf_dma_alloc() 1602 cmd->sc_buf_seg_mem.ss_len = dmac.dmac_size; in scsa1394_cmd_buf_dma_alloc() 1603 cmd->sc_buf_seg_mem.ss_daddr = dmac.dmac_address; in scsa1394_cmd_buf_dma_alloc() 1607 if (scsa1394_cmd_dmac2seg(sp, cmd, &dmac, ccount, kf) != in scsa1394_cmd_buf_dma_alloc() 1654 ddi_dma_cookie_t *dmac, uint_t ccount, int kf) in scsa1394_cmd_dmac2seg() argument 1695 dmac_resid = dmac->dmac_size; in scsa1394_cmd_dmac2seg() [all …]
|
/titanic_44/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 …]
|
/titanic_44/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_l2t.h | 59 uint8_t dmac[ETHERADDRL]; /* next hop's MAC address */ member
|
H A D | t4_l2t.c | 209 (void) memcpy(req->dst_mac, e->dmac, sizeof (req->dst_mac)); in write_l2e() 557 bcopy(cp, e->dmac, 6); in t4_l2t_update()
|
/titanic_44/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()
|
/titanic_44/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 …]
|
/titanic_44/usr/src/uts/common/io/vioblk/ |
H A D | vioblk.c | 113 ddi_dma_cookie_t dmac; member 292 virtio_ve_add_indirect_buf(ve_hdr, req->dmac.dmac_laddress, in vioblk_rw() 304 req->dmac.dmac_laddress + sizeof (struct vioblk_req_hdr), in vioblk_rw() 778 NULL, &req->dmac, &req->ndmac); in vioblk_alloc_reqs()
|
/titanic_44/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()
|
/titanic_44/usr/src/uts/common/io/elxl/ |
H A D | elxl.c | 351 ddi_dma_cookie_t dmac; in ex_alloc_ring() local 375 DDI_DMA_DONTWAIT, NULL, &dmac, &ndmac); in ex_alloc_ring() 380 r->r_paddr = dmac.dmac_address; in ex_alloc_ring() 411 DDI_DMA_DONTWAIT, NULL, &dmac, &ndmac); in ex_alloc_ring() 416 ed->ed_bufaddr = dmac.dmac_address; in ex_alloc_ring()
|
/titanic_44/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()
|
/titanic_44/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()
|
/titanic_44/usr/src/uts/common/io/iprb/ |
H A D | iprb.c | 455 ddi_dma_cookie_t dmac; in iprb_dma_alloc() local 471 &dmac, &ndmac) != DDI_DMA_MAPPED) { in iprb_dma_alloc() 475 h->paddr = dmac.dmac_address; in iprb_dma_alloc()
|
/titanic_44/usr/src/uts/common/io/ |
H A D | ecpp.c | 5404 if (ddi_regs_map_setup(pp->dip, 2, (caddr_t *)&pp->uh.ebus.dmac, 0, in pc87332_map_regs() 5654 &pp->uh.ebus.dmac->csr, ~DCSR_INT_EN); in cheerio_mask_intr() 5662 &pp->uh.ebus.dmac->csr, DCSR_INT_EN | DCSR_TCI_DIS); in cheerio_unmask_intr() 5692 AND_SET_LONG_R(pp->uh.ebus.d_handle, &pp->uh.ebus.dmac->csr, in cheerio_dma_stop() 5696 OR_SET_LONG_R(pp->uh.ebus.d_handle, &pp->uh.ebus.dmac->csr, in cheerio_dma_stop()
|