Home
last modified time | relevance | path

Searched refs:INB (Results 1 – 19 of 19) sorted by relevance

/illumos-gate/usr/src/uts/intel/io/ipmi/
H A Dipmi_kcs.c59 status = INB(sc, KCS_CTL_STS); in kcs_wait_for_ibf()
65 status = INB(sc, KCS_CTL_STS); in kcs_wait_for_ibf()
72 status = INB(sc, KCS_CTL_STS); in kcs_wait_for_ibf()
84 status = INB(sc, KCS_CTL_STS); in kcs_wait_for_obf()
90 status = INB(sc, KCS_CTL_STS); in kcs_wait_for_obf()
97 status = INB(sc, KCS_CTL_STS); in kcs_wait_for_obf()
108 (void) INB(sc, KCS_DATA); in kcs_clear_obf()
133 data = INB(sc, KCS_DATA); in kcs_error()
151 data = INB(sc, KCS_DATA); in kcs_error()
278 *data = INB(sc, KCS_DATA); in kcs_read_byte()
[all …]
H A Dipmivars.h183 #define INB(sc, x) \ macro
/illumos-gate/usr/src/uts/sun4/io/
H A Dsu_driver.c580 if (INB(ISR) & 0x20) { /* 82510 chip is present */ in asyattach()
602 if ((INB(ISR) & 0xc0) == 0xc0) in asyattach()
1010 mcr = INB(MCR); in asyopen()
1019 (INB(MSR) & DCD)) in asyopen()
1151 lcr = INB(LCR); in asyclose()
1217 OUTB(MCR, INB(MCR) & ~ ASY_LOOP); in asyclose()
1250 icr = INB(ICR); in asyclose()
1322 ((INB(LSR) & XSRE) == 0)); in asy_isbusy()
1418 (void) INB(DAT); in asy_program()
1419 (void) INB(ISR); in asy_program()
[all …]
/illumos-gate/usr/src/uts/common/io/audio/drv/audiocmihd/
H A Daudiocmihd.c243 while ((INB(devc, SPI_CONTROL) & 0x1) && count-- > 0) { in spi_write()
264 tmp = (INB(devc, SPI_CONTROL) & ~0x7E) | latch | 0x1; in spi_write()
687 OUTB(devc, INB(devc, CHAN_RESET)|0x10, CHAN_RESET); in cmediahd_reset_port()
689 OUTB(devc, INB(devc, CHAN_RESET) & ~0x10, CHAN_RESET); in cmediahd_reset_port()
713 OUTB(devc, (INB(devc, MULTICH_MODE) & ~0x3) | channels, in cmediahd_reset_port()
717 OUTB(devc, (INB(devc, PLAY_FORMAT) & ~0xC) | 0x0, PLAY_FORMAT); in cmediahd_reset_port()
721 OUTB(devc, INB(devc, CHAN_RESET) | (1 << devc->rec_eng.chan), in cmediahd_reset_port()
724 OUTB(devc, INB(devc, CHAN_RESET) & ~(1 << devc->rec_eng.chan), in cmediahd_reset_port()
752 OUTB(devc, (INB(devc, REC_MODE) & ~0x3) | channels, REC_MODE); in cmediahd_reset_port()
753 OUTB(devc, (INB(devc, REC_FORMAT) & ~0x3) | 0x0, REC_FORMAT); in cmediahd_reset_port()
[all …]
H A Daudiocmihd.h354 #define INB(devc, reg) ddi_get8(devc->regsh, (void *)(reg)) macro
/illumos-gate/usr/src/uts/common/io/upf/
H A Dupf_usbgem.c181 #define INB(dp, p, vp, errp, label) \ macro
232 INB(dp, EC1, &val, &err, usberr); in upf_reset_chip()
268 INB(dp, EC2, &lp->ec[2], &err, usberr); in upf_init_chip()
406 INB(dp, EC0, &reg0, &err, usberr); in upf_set_rx_filter()
407 INB(dp, EC1, &reg1, &err, usberr); in upf_set_rx_filter()
408 INB(dp, EC2, &reg2, &err, usberr); in upf_set_rx_filter()
685 INB(dp, PHYAC, &phyctrl, errp, usberr); in upf_mii_read()
723 INB(dp, PHYAC, &phyctrl, errp, usberr); in upf_mii_write()
752 INB(dp, IPHYC, &val, &err, usberr); in upf_enable_phy()
756 INB(dp, IPHYC, &val, &err, usberr); in upf_enable_phy()
[all …]
/illumos-gate/usr/src/uts/common/io/audio/drv/audiovia823x/
H A Daudiovia823x.h172 #define INB(devc, reg) ddi_get8(devc->regsh, (void *)(reg)) macro
/illumos-gate/usr/src/uts/common/io/audio/drv/audiop16x/
H A Daudiop16x.h92 #define INB(dev, reg) \ macro
H A Daudiop16x.c187 if (INB(dev, AC97A) & 0x80) in p16x_read_ac97()
201 if (INB(dev, AC97A) & 0x80) in p16x_write_ac97()
/illumos-gate/usr/src/uts/common/io/audio/drv/audiols/
H A Daudiols.h245 #define INB(dev, reg) \ macro
H A Daudiols.c197 if (INB(dev, AC97A) & 0x80) in audigyls_read_ac97()
219 if (INB(dev, AC97A) & 0x80) in audigyls_write_ac97()
/illumos-gate/usr/src/uts/common/io/atge/
H A Datge_main.c911 atgep->atge_ether_addr[5] = INB(atgep, ATGE_PAR0 + 0); in atge_get_macaddr()
912 atgep->atge_ether_addr[4] = INB(atgep, ATGE_PAR0 + 1); in atge_get_macaddr()
913 atgep->atge_ether_addr[3] = INB(atgep, ATGE_PAR0 + 2); in atge_get_macaddr()
914 atgep->atge_ether_addr[2] = INB(atgep, ATGE_PAR0 + 3); in atge_get_macaddr()
915 atgep->atge_ether_addr[1] = INB(atgep, ATGE_PAR1 + 0); in atge_get_macaddr()
916 atgep->atge_ether_addr[0] = INB(atgep, ATGE_PAR1 + 1); in atge_get_macaddr()
H A Datge.h111 #define INB(atge, p) \ macro
/illumos-gate/usr/src/uts/common/io/audio/drv/audioemu10k/
H A Daudioemu10k.h436 #define INB(devc, reg) ddi_get8(devc->regsh, (void *)(reg)) macro
H A Daudioemu10k.c185 if (INB(devc, devc->regs + 0x1e) & 0x80) in emu10k_read_ac97()
209 if (INB(devc, devc->regs + 0x1e) & 0x80) in emu10k_write_ac97()
/illumos-gate/usr/src/uts/common/io/bfe/
H A Dbfe.h72 #define INB(bfe, p) \ macro
H A Dbfe.c2556 INB(bfe, BFE_EEPROM_BASE + 79); in bfe_get_chip_config()
2559 INB(bfe, BFE_EEPROM_BASE + 78); in bfe_get_chip_config()
2562 INB(bfe, BFE_EEPROM_BASE + 81); in bfe_get_chip_config()
2565 INB(bfe, BFE_EEPROM_BASE + 80); in bfe_get_chip_config()
2568 INB(bfe, BFE_EEPROM_BASE + 83); in bfe_get_chip_config()
2571 INB(bfe, BFE_EEPROM_BASE + 82); in bfe_get_chip_config()
/illumos-gate/usr/src/uts/sun4/sys/
H A Dsudev.h63 #define INB(offset) ddi_get8(asy->asy_handle, asy->asy_ioaddr+offset) macro
/illumos-gate/usr/src/uts/common/io/sfe/
H A Dsfe_util.h79 #define INB(dp, p) \ macro