Home
last modified time | relevance | path

Searched refs:io_handle (Results 1 – 21 of 21) sorted by relevance

/titanic_50/usr/src/uts/intel/io/dnet/
H A Ddnet.c447 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 Ddnet.h381 ddi_acc_handle_t io_handle; /* ddi I/O handle */ member
/titanic_50/usr/src/uts/common/io/bge/
H A Dbge_chip2.c610 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 Dbge_main2.c554 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 Dbge_kstats.c460 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 Dbge_recv2.c330 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 Dbge_mii.c1819 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 Dbge_impl.h749 ddi_acc_handle_t io_handle; /* DDI I/O handle */ member
/titanic_50/usr/src/uts/common/io/
H A Di8042.c165 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 Drge_chip.c61 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 Drge_main.c1488 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 Drge.h382 ddi_acc_handle_t io_handle; /* DDI I/O handle */ member
/titanic_50/usr/src/uts/common/io/nge/
H A Dnge_chip.c47 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 Dnge.h698 ddi_acc_handle_t io_handle; /* DDI I/O handle */ member
H A Dnge_main.c2288 ddi_regs_map_free(&ngep->io_handle); in nge_unattach()
2448 &regs, 0, 0, &nge_reg_accattr, &ngep->io_handle); in nge_attach()
/titanic_50/usr/src/uts/common/io/rtls/
H A Drtls.c235 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 Drtls.h162 ddi_acc_handle_t io_handle; /* ddi I/O handle */ member
/titanic_50/usr/src/uts/common/io/dmfe/
H A Ddmfe_impl.h163 ddi_acc_handle_t io_handle; /* DDI I/O handle */ member
H A Ddmfe_main.c280 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 Dmyri10ge_var.h414 ddi_acc_handle_t io_handle; member
H A Dmyri10ge.c5900 &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()