/titanic_41/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_rx.c | 83 recycle_rcb->rx_buf.address, in ixgbe_rx_recycle() 84 recycle_rcb->rx_buf.size, in ixgbe_rx_recycle() 120 ixgbe_free_dma_buffer(&recycle_rcb->rx_buf); in ixgbe_rx_recycle() 154 DMA_SYNC(¤t_rcb->rx_buf, DDI_DMA_SYNC_FORKERNEL); in ixgbe_rx_copy() 156 if (ixgbe_check_dma_handle(current_rcb->rx_buf.dma_handle) != in ixgbe_rx_copy() 176 bcopy(current_rcb->rx_buf.address, mp->b_rptr, pkt_len); in ixgbe_rx_copy() 212 current_rcb->rx_buf.address, in ixgbe_rx_bind() 213 current_rcb->rx_buf.size, in ixgbe_rx_bind() 228 DMA_SYNC(¤t_rcb->rx_buf, DDI_DMA_SYNC_FORKERNEL); in ixgbe_rx_bind() 230 if (ixgbe_check_dma_handle(current_rcb->rx_buf.dma_handle) != in ixgbe_rx_bind() [all …]
|
H A D | ixgbe_buf.c | 829 dma_buffer_t *rx_buf; in ixgbe_alloc_rcb_lists() local 850 rx_buf = &rcb->rx_buf; in ixgbe_alloc_rcb_lists() 852 rx_buf, ixgbe->rx_buf_size); in ixgbe_alloc_rcb_lists() 859 rx_buf->size -= IPHDR_ALIGN_ROOM; in ixgbe_alloc_rcb_lists() 860 rx_buf->address += IPHDR_ALIGN_ROOM; in ixgbe_alloc_rcb_lists() 861 rx_buf->dma_address += IPHDR_ALIGN_ROOM; in ixgbe_alloc_rcb_lists() 871 rx_buf->address, in ixgbe_alloc_rcb_lists() 872 rx_buf->size, in ixgbe_alloc_rcb_lists() 912 ixgbe_free_dma_buffer(&rcb->rx_buf); in ixgbe_free_rcb_lists()
|
H A D | ixgbe_sw.h | 444 dma_buffer_t rx_buf; member
|
H A D | ixgbe_main.c | 2157 rbd->read.pkt_addr = rcb->rx_buf.dma_address; in ixgbe_setup_rx_ring()
|
/titanic_41/usr/src/uts/common/io/rge/ |
H A D | rge_main.c | 352 pbuf = &srbdp->rx_buf->pbuf; in rge_reinit_recv_ring() 417 if (srbdp->rx_buf) { in rge_fini_recv_ring() 418 if (srbdp->rx_buf->mp != NULL) { in rge_fini_recv_ring() 419 freemsg(srbdp->rx_buf->mp); in rge_fini_recv_ring() 420 srbdp->rx_buf->mp = NULL; in rge_fini_recv_ring() 422 rge_free_dma_mem(&srbdp->rx_buf->pbuf); in rge_fini_recv_ring() 423 kmem_free(srbdp->rx_buf, sizeof (dma_buf_t)); in rge_fini_recv_ring() 424 srbdp->rx_buf = NULL; in rge_fini_recv_ring() 445 if (srbdp->rx_buf != NULL) { in rge_fini_buf_ring() 446 if (srbdp->rx_buf->mp != NULL) { in rge_fini_buf_ring() [all …]
|
H A D | rge_rxtx.c | 84 dma_buf_t *rx_buf; in rge_rx_recycle() local 88 rx_buf = (dma_buf_t *)arg; in rge_rx_recycle() 89 rgep = (rge_t *)rx_buf->private; in rge_rx_recycle() 105 rx_buf->mp = desballoc(DMA_VPTR(rx_buf->pbuf), in rge_rx_recycle() 106 rgep->rxbuf_size, 0, &rx_buf->rx_recycle); in rge_rx_recycle() 107 if (rx_buf->mp == NULL) { in rge_rx_recycle() 115 ASSERT(free_srbdp->rx_buf == NULL); in rge_rx_recycle() 116 free_srbdp->rx_buf = rx_buf; in rge_rx_recycle() 140 free_buf = rgep->free_srbds[free_slot].rx_buf; in rge_rx_refill() 142 srbdp->rx_buf = free_buf; in rge_rx_refill() [all …]
|
H A D | rge_log.c | 222 srbdp->rx_buf->pbuf.cookie.dmac_laddress, in rge_pkt_dump() 223 srbdp->rx_buf->pbuf.alength, in rge_pkt_dump() 224 srbdp->rx_buf->pbuf.token); in rge_pkt_dump() 226 minidump(rgep, "packet data", srbdp->rx_buf->pbuf.mem_va, in rge_pkt_dump()
|
H A D | rge.h | 305 dma_buf_t *rx_buf; member
|
/titanic_41/usr/src/uts/common/io/igb/ |
H A D | igb_rx.c | 76 recycle_rcb->rx_buf.address, in igb_rx_recycle() 77 recycle_rcb->rx_buf.size, in igb_rx_recycle() 113 igb_free_dma_buffer(&recycle_rcb->rx_buf); in igb_rx_recycle() 146 DMA_SYNC(¤t_rcb->rx_buf, DDI_DMA_SYNC_FORKERNEL); in igb_rx_copy() 149 current_rcb->rx_buf.dma_handle) != DDI_FM_OK) { in igb_rx_copy() 168 bcopy(current_rcb->rx_buf.address, mp->b_rptr, pkt_len); in igb_rx_copy() 204 current_rcb->rx_buf.address, in igb_rx_bind() 205 current_rcb->rx_buf.size, in igb_rx_bind() 220 DMA_SYNC(¤t_rcb->rx_buf, DDI_DMA_SYNC_FORKERNEL); in igb_rx_bind() 223 current_rcb->rx_buf.dma_handle) != DDI_FM_OK) { in igb_rx_bind() [all …]
|
H A D | igb_buf.c | 833 dma_buffer_t *rx_buf; in igb_alloc_rcb_lists() local 854 rx_buf = &rcb->rx_buf; in igb_alloc_rcb_lists() 856 rx_buf, igb->rx_buf_size); in igb_alloc_rcb_lists() 863 rx_buf->size -= IPHDR_ALIGN_ROOM; in igb_alloc_rcb_lists() 864 rx_buf->address += IPHDR_ALIGN_ROOM; in igb_alloc_rcb_lists() 865 rx_buf->dma_address += IPHDR_ALIGN_ROOM; in igb_alloc_rcb_lists() 873 rx_buf->address, in igb_alloc_rcb_lists() 874 rx_buf->size, in igb_alloc_rcb_lists() 914 igb_free_dma_buffer(&rcb->rx_buf); in igb_free_rcb_lists()
|
H A D | igb_sw.h | 400 dma_buffer_t rx_buf; member
|
H A D | igb_main.c | 2110 rbd->read.pkt_addr = rcb->rx_buf.dma_address; in igb_setup_rx_ring()
|
/titanic_41/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_rx.c | 82 address = (unsigned char *)packet->rx_buf->address; in e1000g_rxfree_func() 85 address, packet->rx_buf->size, in e1000g_rxfree_func() 191 packet->rx_buf->dma_address; in e1000g_rx_setup() 219 packet->rx_buf->dma_address; in e1000g_rx_setup() 450 dma_buffer_t *rx_buf; in e1000g_receive() local 523 rx_buf = packet->rx_buf; in e1000g_receive() 529 dvma_sync(rx_buf->dma_handle, 0, in e1000g_receive() 532 (void) ddi_dma_sync(rx_buf->dma_handle, in e1000g_receive() 536 (void) ddi_dma_sync(rx_buf->dma_handle, in e1000g_receive() 542 rx_buf->dma_handle) != DDI_FM_OK) { in e1000g_receive() [all …]
|
H A D | e1000g_alloc.c | 1328 dma_buffer_t *rx_buf; in e1000g_alloc_rx_sw_packet() local 1340 rx_buf = packet->rx_buf; in e1000g_alloc_rx_sw_packet() 1346 rx_buf, Adapter->rx_buffer_size); in e1000g_alloc_rx_sw_packet() 1355 rx_buf, Adapter->rx_buffer_size, p_dma_attr); in e1000g_alloc_rx_sw_packet() 1358 rx_buf, Adapter->rx_buffer_size, p_dma_attr); in e1000g_alloc_rx_sw_packet() 1375 rx_buf->size -= E1000G_IPALIGNROOM; in e1000g_alloc_rx_sw_packet() 1376 rx_buf->address += E1000G_IPALIGNROOM; in e1000g_alloc_rx_sw_packet() 1377 rx_buf->dma_address += E1000G_IPALIGNROOM; in e1000g_alloc_rx_sw_packet() 1388 rx_buf->address, in e1000g_alloc_rx_sw_packet() 1389 rx_buf->size, in e1000g_alloc_rx_sw_packet() [all …]
|
H A D | e1000g_sw.h | 590 dma_buffer_t rx_buf[1]; member
|
/titanic_41/usr/src/uts/sun4u/io/ |
H A D | rmc_comm.c | 350 char *rx_buf = rcs->sd_state.serdev_rx_buf; in rmc_comm_serdev_receive() local 368 rx_buf[rx_buflen++] = data; in rmc_comm_serdev_receive() 374 DATASCOPE(rcs, 'R', rx_buf, rx_buflen) in rmc_comm_serdev_receive() 382 rmc_comm_dp_drecv(rcs, (uint8_t *)rx_buf, rx_buflen); in rmc_comm_serdev_receive()
|
/titanic_41/usr/src/uts/common/io/nge/ |
H A D | nge_main.c | 712 brp->nslots = ngep->rx_buf; in nge_init_buff_ring() 1021 ngep->rx_buf = NGE_RECV_JB2500_SLOTS_DESC * 2; in nge_get_props() 1028 ngep->rx_buf = NGE_RECV_JB4500_SLOTS_DESC * 2; in nge_get_props() 1035 ngep->rx_buf = NGE_RECV_JB9000_SLOTS_DESC * 2; in nge_get_props() 1042 ngep->rx_buf = NGE_RECV_JB9000_SLOTS_DESC * 2; in nge_get_props() 1049 ngep->rx_buf = NGE_RECV_LOWMEM_SLOTS_DESC * 2; in nge_get_props() 1056 ngep->rx_buf = dev_param_p->rx_desc_num * 2; in nge_get_props() 1638 ngep->rx_buf = NGE_RECV_JB2500_SLOTS_DESC * 2; in nge_m_setprop() 1645 ngep->rx_buf = NGE_RECV_JB4500_SLOTS_DESC * 2; in nge_m_setprop() 1652 ngep->rx_buf = NGE_RECV_JB9000_SLOTS_DESC * 2; in nge_m_setprop() [all …]
|
H A D | nge.h | 732 uint32_t rx_buf; member
|
/titanic_41/usr/src/uts/intel/io/amd8111s/ |
H A D | amd8111s_hw.c | 1772 (long)(pLayerPointers->pOdl->rx_buf.next->vir_addr); in milInitRxQ() 1775 = pLayerPointers->pOdl->rx_buf.next->phy_addr; in milInitRxQ() 1780 pLayerPointers->pOdl->rx_buf.next = in milInitRxQ() 1781 NEXT(pLayerPointers->pOdl->rx_buf, next); in milInitRxQ() 1788 pLayerPointers->pOdl->rx_buf.next = in milInitRxQ() 1789 pLayerPointers->pOdl->rx_buf.msg_buf; in milInitRxQ()
|
H A D | amd8111s_main.h | 329 struct amd8111s_dma_ringbuf rx_buf; member
|
H A D | amd8111s_main.c | 1088 if (amd8111s_alloc_dma_ringbuf(pLayerPointers, &pOdl->rx_buf, in amd8111s_allocate_buffers() 1132 amd8111s_free_dma_ringbuf(&pLayerPointers->pOdl->rx_buf); in amd8111s_free_buffers()
|
/titanic_41/usr/src/uts/common/io/elxl/ |
H A D | elxl.h | 450 caddr_t rx_buf; member
|