/titanic_50/usr/src/uts/intel/io/dnet/ |
H A D | dnet.c | 447 ddi_acc_handle_t io_handle; in dnet_hack() local 467 &io_reg, 0, 0, &accattr, &io_handle) != DDI_SUCCESS) { in dnet_hack() 474 ddi_put32(io_handle, REG32(io_reg, BUS_MODE_REG), SW_RESET); in dnet_hack() 476 ddi_put32(io_handle, REG32(io_reg, BUS_MODE_REG), 0); in dnet_hack() 479 secondary = dnet_read_srom(devinfo, deviceid, io_handle, in dnet_hack() 494 ddi_regs_map_free(&io_handle); in dnet_hack() 581 0, 0, &accattr, &dnetp->io_handle) != DDI_SUCCESS) { in dnet_attach() 650 secondary = dnet_read_srom(devinfo, dnetp->board_type, dnetp->io_handle, in dnet_attach() 769 ddi_regs_map_free(&dnetp->io_handle); in dnet_attach() 827 ddi_regs_map_free(&dnetp->io_handle); in dnet_detach() [all …]
|
H A D | dnet.h | 381 ddi_acc_handle_t io_handle; /* ddi I/O handle */ member
|
/titanic_50/usr/src/uts/common/io/bge/ |
H A D | bge_chip2.c | 610 return (ddi_get32(bgep->io_handle, PIO_ADDR(bgep, regno))); in bge_reg_get32() 622 ddi_put32(bgep->io_handle, PIO_ADDR(bgep, regno), data); in bge_reg_put32() 671 regval = ddi_get32(bgep->io_handle, PIO_ADDR(bgep, regno + 4)); in bge_reg_get64() 673 regval |= ddi_get32(bgep->io_handle, PIO_ADDR(bgep, regno)); in bge_reg_get64() 675 regval = ddi_get64(bgep->io_handle, PIO_ADDR(bgep, regno)); in bge_reg_get64() 681 regval = ddi_get32(bgep->io_handle, PIO_ADDR(bgep, regno)); in bge_reg_get64() 683 regval |= ddi_get32(bgep->io_handle, PIO_ADDR(bgep, regno + 4)); in bge_reg_get64() 685 regval = ddi_get64(bgep->io_handle, PIO_ADDR(bgep, regno)); in bge_reg_get64() 688 regval = ddi_get64(bgep->io_handle, PIO_ADDR(bgep, regno)); in bge_reg_get64() 719 ddi_put32(bgep->io_handle, in bge_reg_put64() [all …]
|
H A D | bge_main2.c | 554 if (bge_check_acc_handle(bgep, bgep->io_handle) != DDI_FM_OK) in bge_m_stop() 598 (void) bge_check_acc_handle(bgep, bgep->io_handle); 605 (void) bge_check_acc_handle(bgep, bgep->io_handle); 619 if (bge_check_acc_handle(bgep, bgep->io_handle) != DDI_FM_OK) { 668 (void) bge_check_acc_handle(bgep, bgep->io_handle); 696 (void) bge_check_acc_handle(bgep, bgep->io_handle); 721 if (bge_check_acc_handle(bgep, bgep->io_handle) != DDI_FM_OK) { 1374 bgep->io_handle); 1392 bgep->io_handle); 1406 if (bge_check_acc_handle(bgep, bgep->io_handle) != DDI_FM_OK) { [all …]
|
H A D | bge_kstats.c | 460 if (bge_check_acc_handle(bgep, bgep->io_handle) != DDI_FM_OK) { in bge_driverinfo_update() 574 if (bge_check_acc_handle(bgep, bgep->io_handle) != DDI_FM_OK) { in bge_phydata_update() 756 if (bge_check_acc_handle(bgep, bgep->io_handle) != DDI_FM_OK) { in bge_m_stat() 965 if (bge_check_acc_handle(bgep, bgep->io_handle) != DDI_FM_OK) { in bge_m_stat() 1077 if (bge_check_acc_handle(bgep, bgep->io_handle) != in bge_m_stat() 1131 if (bge_check_acc_handle(bgep, bgep->io_handle) != in bge_m_stat()
|
H A D | bge_recv2.c | 330 if (bge_check_acc_handle(bgep, bgep->io_handle) != DDI_FM_OK) in bge_receive_ring() 401 if (bge_check_acc_handle(bgep, bgep->io_handle) != DDI_FM_OK) in bge_poll_ring()
|
H A D | bge_mii.c | 1819 if (bge_check_acc_handle(bgep, bgep->io_handle) != DDI_FM_OK) { in bge_phys_init() 1838 if (bge_check_acc_handle(bgep, bgep->io_handle) != DDI_FM_OK) in bge_phys_reset()
|
H A D | bge_impl.h | 749 ddi_acc_handle_t io_handle; /* DDI I/O handle */ member
|
/titanic_50/usr/src/uts/common/io/ |
H A D | i8042.c | 165 ddi_acc_handle_t io_handle; member 411 stat = ddi_get8(global->io_handle, in i8042_discard_junk_data() 415 (void) ddi_get8(global->io_handle, in i8042_discard_junk_data() 500 ddi_regs_map_free(&global->io_handle); in i8042_cleanup() 527 while (!(ddi_get8(global->io_handle, global->io_addr + I8042_STAT) & in i8042_wait_obf() 549 (void) ddi_get8(global->io_handle, in i8042_purge_outbuf() 607 (offset_t)0, (offset_t)0, &attr, &global->io_handle) in i8042_attach() 1014 stat = ddi_get8(global->io_handle, global->io_addr + I8042_STAT); in i8042_intr() 1022 byte = ddi_get8(global->io_handle, global->io_addr + I8042_DATA); in i8042_intr() 1092 stat = ddi_get8(global->io_handle, in i8042_send() [all …]
|
/titanic_50/usr/src/uts/common/io/rge/ |
H A D | rge_chip.c | 61 return (ddi_get32(rgep->io_handle, REG32(rgep, regno))); in rge_reg_get32() 73 ddi_put32(rgep->io_handle, REG32(rgep, regno), data); in rge_reg_put32() 117 return (ddi_get16(rgep->io_handle, REG16(rgep, regno))); in rge_reg_get16() 129 ddi_put16(rgep->io_handle, REG16(rgep, regno), data); in rge_reg_put16() 141 return (ddi_get8(rgep->io_handle, REG8(rgep, regno))); in rge_reg_get8() 153 ddi_put8(rgep->io_handle, REG8(rgep, regno), data); in rge_reg_put8() 1836 regval = ddi_get8(rgep->io_handle, regaddr); in rge_chip_peek_reg() 1840 regval = ddi_get16(rgep->io_handle, regaddr); in rge_chip_peek_reg() 1844 regval = ddi_get32(rgep->io_handle, regaddr); in rge_chip_peek_reg() 1848 regval = ddi_get64(rgep->io_handle, regaddr); in rge_chip_peek_reg() [all …]
|
H A D | rge_main.c | 1488 ddi_regs_map_free(&rgep->io_handle); in rge_unattach() 1643 0, 0, &rge_reg_accattr, &rgep->io_handle); in rge_attach() 1651 0, 0, &rge_reg_accattr, &rgep->io_handle); in rge_attach()
|
H A D | rge.h | 382 ddi_acc_handle_t io_handle; /* DDI I/O handle */ member
|
/titanic_50/usr/src/uts/common/io/nge/ |
H A D | nge_chip.c | 47 return (ddi_get8(ngep->io_handle, PIO_ADDR(ngep, regno))); in nge_reg_get8() 58 ddi_put8(ngep->io_handle, PIO_ADDR(ngep, regno), data); in nge_reg_put8() 69 return (ddi_get16(ngep->io_handle, PIO_ADDR(ngep, regno))); in nge_reg_get16() 80 ddi_put16(ngep->io_handle, PIO_ADDR(ngep, regno), data); in nge_reg_put16() 91 return (ddi_get32(ngep->io_handle, PIO_ADDR(ngep, regno))); in nge_reg_get32() 102 ddi_put32(ngep->io_handle, PIO_ADDR(ngep, regno), data); in nge_reg_put32() 199 regval = ddi_get8(ngep->io_handle, regaddr); in nge_chip_peek_reg() 203 regval = ddi_get16(ngep->io_handle, regaddr); in nge_chip_peek_reg() 207 regval = ddi_get32(ngep->io_handle, regaddr); in nge_chip_peek_reg() 211 regval = ddi_get64(ngep->io_handle, regaddr); in nge_chip_peek_reg() [all …]
|
H A D | nge.h | 698 ddi_acc_handle_t io_handle; /* DDI I/O handle */ member
|
H A D | nge_main.c | 2288 ddi_regs_map_free(&ngep->io_handle); in nge_unattach() 2448 ®s, 0, 0, &nge_reg_accattr, &ngep->io_handle); in nge_attach()
|
/titanic_50/usr/src/uts/common/io/rtls/ |
H A D | rtls.c | 235 return (ddi_get8(rtlsp->io_handle, addr)); in rtls_reg_get8() 246 return (ddi_get16(rtlsp->io_handle, addr)); in rtls_reg_get16() 257 return (ddi_get32(rtlsp->io_handle, addr)); in rtls_reg_get32() 268 ddi_put8(rtlsp->io_handle, addr, value); in rtls_reg_set8() 279 ddi_put16(rtlsp->io_handle, addr, value); in rtls_reg_set16() 290 ddi_put32(rtlsp->io_handle, addr, value); in rtls_reg_set32() 457 (offset_t)0, 0, &rtls_reg_accattr, &rtlsp->io_handle); in rtls_attach() 556 ddi_regs_map_free(&rtlsp->io_handle); in rtls_attach() 614 ddi_regs_map_free(&rtlsp->io_handle); in rtls_detach()
|
H A D | rtls.h | 162 ddi_acc_handle_t io_handle; /* ddi I/O handle */ member
|
/titanic_50/usr/src/uts/common/io/dmfe/ |
H A D | dmfe_impl.h | 163 ddi_acc_handle_t io_handle; /* DDI I/O handle */ member
|
H A D | dmfe_main.c | 280 return (ddi_get32(dmfep->io_handle, addr)); in dmfe_chip_get32() 289 ddi_put32(dmfep->io_handle, addr, value); in dmfe_chip_put32() 2435 if (dmfep->io_handle != NULL) in dmfe_unattach() 2436 ddi_regs_map_free(&dmfep->io_handle); in dmfe_unattach() 2630 &dmfep->io_reg, 0, 0, &dmfe_reg_accattr, &dmfep->io_handle); in dmfe_attach()
|
/titanic_50/usr/src/uts/common/io/myri10ge/drv/ |
H A D | myri10ge_var.h | 414 ddi_acc_handle_t io_handle; member
|
H A D | myri10ge.c | 5900 &mgp->io_handle); in myri10ge_attach() 6014 ddi_regs_map_free(&mgp->io_handle); in myri10ge_attach() 6086 ddi_regs_map_free(&mgp->io_handle); in myri10ge_detach()
|