Searched refs:ddi_status (Results 1 – 6 of 6) sorted by relevance
/titanic_41/usr/src/uts/common/io/nxge/ |
H A D | nxge_intr.c | 327 int ddi_status; /* The response to ddi_intr_add_handler */ in nxge_hio_intr_add() local 360 if ((ddi_status = ddi_intr_add_handler(interrupts->htable[vector], in nxge_hio_intr_add() 366 c, channel, vector, nxge_ddi_perror(ddi_status))); in nxge_hio_intr_add() 373 if ((ddi_status = ddi_intr_enable(interrupts->htable[vector])) in nxge_hio_intr_add() 378 c, channel, vector, nxge_ddi_perror(ddi_status))); in nxge_hio_intr_add() 528 int ddi_status = DDI_SUCCESS; in nxge_hio_intr_init() local 572 ddi_status = ddi_intr_get_supported_types( in nxge_hio_intr_init() 574 if (ddi_status != DDI_SUCCESS) { in nxge_hio_intr_init() 577 "types = 0x%x", ddi_status, interrupts->intr_types)); in nxge_hio_intr_init() 582 "returned 0x%x, types = 0x%x", ddi_status, interrupts->intr_types)); in nxge_hio_intr_init() [all …]
|
H A D | nxge_main.c | 1186 int ddi_status = DDI_SUCCESS; in nxge_map_regs() local 1247 ddi_status = DDI_FAILURE; in nxge_map_regs() 1270 ddi_status = ddi_regs_map_setup(nxgep->dip, 0, in nxge_map_regs() 1273 if (ddi_status != DDI_SUCCESS) { in nxge_map_regs() 1303 ddi_status = ddi_regs_map_setup(nxgep->dip, 1, in nxge_map_regs() 1306 if (ddi_status != DDI_SUCCESS) { in nxge_map_regs() 1316 ddi_status = ddi_regs_map_setup(nxgep->dip, 2, in nxge_map_regs() 1319 if (ddi_status != DDI_SUCCESS) { in nxge_map_regs() 1329 ddi_status = ddi_regs_map_setup(nxgep->dip, 3, in nxge_map_regs() 1333 if (ddi_status != DDI_SUCCESS) { in nxge_map_regs() [all …]
|
H A D | nxge_virtual.c | 401 int ddi_status; in nxge_update_rxdma_grp_properties() local 537 ddi_status = ddi_prop_update_string(DDI_DEV_T_NONE, s_dip[port], in nxge_update_rxdma_grp_properties() 539 if (ddi_status != DDI_PROP_SUCCESS) { in nxge_update_rxdma_grp_properties() 545 ddi_status = ddi_prop_update_int(DDI_DEV_T_NONE, s_dip[port], in nxge_update_rxdma_grp_properties() 548 if (ddi_status != DDI_PROP_SUCCESS) { in nxge_update_rxdma_grp_properties() 554 ddi_status = ddi_prop_update_int(DDI_DEV_T_NONE, s_dip[port], in nxge_update_rxdma_grp_properties() 557 if (ddi_status != DDI_PROP_SUCCESS) { in nxge_update_rxdma_grp_properties() 575 int ddi_status; in nxge_update_rxdma_properties() local 620 ddi_status = ddi_prop_lookup_int_array( in nxge_update_rxdma_properties() 626 if (ddi_status == DDI_SUCCESS) in nxge_update_rxdma_properties() [all …]
|
H A D | nxge_txdma.c | 2538 int ddi_status = DDI_SUCCESS; in nxge_map_txdma_channel_buf_ring() local 2594 ddi_status = ddi_dma_alloc_handle(nxgep->dip, &nxge_tx_dma_attr, in nxge_map_txdma_channel_buf_ring() 2597 if (ddi_status != DDI_SUCCESS) { in nxge_map_txdma_channel_buf_ring()
|
/titanic_41/usr/src/uts/common/io/hxge/ |
H A D | hxge_main.c | 745 int ddi_status = DDI_SUCCESS; in hxge_map_regs() local 773 ddi_status = ddi_regs_map_setup(hxgep->dip, 0, in hxge_map_regs() 776 if (ddi_status != DDI_SUCCESS) { in hxge_map_regs() 792 ddi_status = ddi_regs_map_setup(hxgep->dip, 1, in hxge_map_regs() 796 if (ddi_status != DDI_SUCCESS) { in hxge_map_regs() 807 ddi_status = ddi_regs_map_setup(hxgep->dip, 2, in hxge_map_regs() 811 if (ddi_status != DDI_SUCCESS) { in hxge_map_regs() 855 if (ddi_status != DDI_SUCCESS) in hxge_map_regs() 895 int ddi_status = DDI_SUCCESS; in hxge_setup_mutexes() local 903 ddi_status = ddi_get_iblock_cookie(hxgep->dip, 0, in hxge_setup_mutexes() [all …]
|
H A D | hxge_txdma.c | 1864 int ddi_status = DDI_SUCCESS; in hxge_map_txdma_channel_buf_ring() local 1914 ddi_status = ddi_dma_alloc_handle(hxgep->dip, &hxge_tx_dma_attr, in hxge_map_txdma_channel_buf_ring() 1916 if (ddi_status != DDI_SUCCESS) { in hxge_map_txdma_channel_buf_ring()
|