Lines Matching refs:mystat
268 int mystat; in e1000g_alloc_tx_descriptors() local
310 mystat = ddi_dma_alloc_handle(devinfo, &dma_attr, in e1000g_alloc_tx_descriptors()
314 if (mystat != DDI_SUCCESS) { in e1000g_alloc_tx_descriptors()
316 "Could not allocate tbd dma handle: %d", mystat); in e1000g_alloc_tx_descriptors()
325 mystat = ddi_dma_mem_alloc(tx_ring->tbd_dma_handle, in e1000g_alloc_tx_descriptors()
332 if ((mystat != DDI_SUCCESS) || in e1000g_alloc_tx_descriptors()
334 if (mystat == DDI_SUCCESS) { in e1000g_alloc_tx_descriptors()
371 mystat = ddi_dma_alloc_handle(devinfo, &dma_attr, in e1000g_alloc_tx_descriptors()
375 if (mystat != DDI_SUCCESS) { in e1000g_alloc_tx_descriptors()
377 "Could not re-allocate tbd dma handle: %d", mystat); in e1000g_alloc_tx_descriptors()
386 mystat = ddi_dma_mem_alloc(tx_ring->tbd_dma_handle, in e1000g_alloc_tx_descriptors()
393 if (mystat != DDI_SUCCESS) { in e1000g_alloc_tx_descriptors()
395 "Could not allocate tbd dma memory: %d", mystat); in e1000g_alloc_tx_descriptors()
432 mystat = ddi_dma_addr_bind_handle(tx_ring->tbd_dma_handle, in e1000g_alloc_tx_descriptors()
437 if (mystat != DDI_SUCCESS) { in e1000g_alloc_tx_descriptors()
439 "Could not bind tbd dma resource: %d", mystat); in e1000g_alloc_tx_descriptors()
473 int mystat; in e1000g_alloc_rx_descriptors() local
504 mystat = ddi_dma_alloc_handle(devinfo, &dma_attr, in e1000g_alloc_rx_descriptors()
508 if (mystat != DDI_SUCCESS) { in e1000g_alloc_rx_descriptors()
510 "Could not allocate rbd dma handle: %d", mystat); in e1000g_alloc_rx_descriptors()
518 mystat = ddi_dma_mem_alloc(rx_data->rbd_dma_handle, in e1000g_alloc_rx_descriptors()
529 if ((mystat != DDI_SUCCESS) || in e1000g_alloc_rx_descriptors()
531 if (mystat == DDI_SUCCESS) { in e1000g_alloc_rx_descriptors()
560 mystat = ddi_dma_alloc_handle(devinfo, &dma_attr, in e1000g_alloc_rx_descriptors()
564 if (mystat != DDI_SUCCESS) { in e1000g_alloc_rx_descriptors()
566 "Could not re-allocate rbd dma handle: %d", mystat); in e1000g_alloc_rx_descriptors()
574 mystat = ddi_dma_mem_alloc(rx_data->rbd_dma_handle, in e1000g_alloc_rx_descriptors()
581 if (mystat != DDI_SUCCESS) { in e1000g_alloc_rx_descriptors()
583 "Could not allocate rbd dma memory: %d", mystat); in e1000g_alloc_rx_descriptors()
614 mystat = ddi_dma_addr_bind_handle(rx_data->rbd_dma_handle, in e1000g_alloc_rx_descriptors()
619 if (mystat != DDI_SUCCESS) { in e1000g_alloc_rx_descriptors()
621 "Could not bind rbd dma resource: %d", mystat); in e1000g_alloc_rx_descriptors()
781 int mystat; in e1000g_alloc_dvma_buffer() local
790 mystat = dvma_reserve(devinfo, in e1000g_alloc_dvma_buffer()
795 if (mystat != DDI_SUCCESS) { in e1000g_alloc_dvma_buffer()
798 "Could not allocate dvma buffer handle: %d\n", mystat); in e1000g_alloc_dvma_buffer()
854 int mystat; in e1000g_alloc_dma_buffer() local
865 mystat = ddi_dma_alloc_handle(devinfo, in e1000g_alloc_dma_buffer()
870 if (mystat != DDI_SUCCESS) { in e1000g_alloc_dma_buffer()
873 "Could not allocate dma buffer handle: %d\n", mystat); in e1000g_alloc_dma_buffer()
877 mystat = ddi_dma_mem_alloc(buf->dma_handle, in e1000g_alloc_dma_buffer()
883 if (mystat != DDI_SUCCESS) { in e1000g_alloc_dma_buffer()
891 "Could not allocate dma buffer memory: %d\n", mystat); in e1000g_alloc_dma_buffer()
895 mystat = ddi_dma_addr_bind_handle(buf->dma_handle, in e1000g_alloc_dma_buffer()
901 if (mystat != DDI_SUCCESS) { in e1000g_alloc_dma_buffer()
912 "Could not bind buffer dma handle: %d\n", mystat); in e1000g_alloc_dma_buffer()
952 int mystat; in e1000g_alloc_dma_buffer_82546() local
963 mystat = ddi_dma_alloc_handle(devinfo, in e1000g_alloc_dma_buffer_82546()
968 if (mystat != DDI_SUCCESS) { in e1000g_alloc_dma_buffer_82546()
971 "Could not allocate dma buffer handle: %d\n", mystat); in e1000g_alloc_dma_buffer_82546()
975 mystat = e1000g_dma_mem_alloc_82546(buf, size, &len); in e1000g_alloc_dma_buffer_82546()
976 if (mystat != DDI_SUCCESS) { in e1000g_alloc_dma_buffer_82546()
984 "Could not allocate dma buffer memory: %d\n", mystat); in e1000g_alloc_dma_buffer_82546()
988 mystat = ddi_dma_addr_bind_handle(buf->dma_handle, in e1000g_alloc_dma_buffer_82546()
994 if (mystat != DDI_SUCCESS) { in e1000g_alloc_dma_buffer_82546()
1005 "Could not bind buffer dma handle: %d\n", mystat); in e1000g_alloc_dma_buffer_82546()
1128 int mystat; in e1000g_alloc_tx_packets() local
1164 mystat = dvma_reserve(devinfo, in e1000g_alloc_tx_packets()
1171 mystat = ddi_dma_alloc_handle(devinfo, in e1000g_alloc_tx_packets()
1180 if (mystat != DDI_SUCCESS) { in e1000g_alloc_tx_packets()
1183 "Could not allocate tx dma handle: %d\n", mystat); in e1000g_alloc_tx_packets()
1199 mystat = e1000g_alloc_dvma_buffer(Adapter, in e1000g_alloc_tx_packets()
1204 mystat = e1000g_alloc_dma_buffer(Adapter, in e1000g_alloc_tx_packets()
1211 if (mystat != DDI_SUCCESS) { in e1000g_alloc_tx_packets()
1326 int mystat; in e1000g_alloc_rx_sw_packet() local
1345 mystat = e1000g_alloc_dvma_buffer(Adapter, in e1000g_alloc_rx_sw_packet()
1354 mystat = e1000g_alloc_dma_buffer_82546(Adapter, in e1000g_alloc_rx_sw_packet()
1357 mystat = e1000g_alloc_dma_buffer(Adapter, in e1000g_alloc_rx_sw_packet()
1366 if (mystat != DDI_SUCCESS) { in e1000g_alloc_rx_sw_packet()