/titanic_41/usr/src/uts/intel/io/ipmi/ |
H A D | ipmi_kcs.c | 59 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 D | ipmivars.h | 183 #define INB(sc, x) \ macro
|
/titanic_41/usr/src/uts/sun4/io/ |
H A D | su_driver.c | 578 if (INB(ISR) & 0x20) { /* 82510 chip is present */ in asyattach() 600 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 …]
|
/titanic_41/usr/src/uts/common/io/audio/drv/audiocmihd/ |
H A D | audiocmihd.c | 243 while ((INB(devc, SPI_CONTROL) & 0x1) && count-- > 0) { in spi_write() 264 tmp = (INB(devc, SPI_CONTROL) & ~0x7E) | latch | 0x1; in spi_write() 688 OUTB(devc, INB(devc, CHAN_RESET)|0x10, CHAN_RESET); in cmediahd_reset_port() 690 OUTB(devc, INB(devc, CHAN_RESET) & ~0x10, CHAN_RESET); in cmediahd_reset_port() 711 OUTB(devc, (INB(devc, MULTICH_MODE) & ~0x3) | channels, in cmediahd_reset_port() 715 OUTB(devc, (INB(devc, PLAY_FORMAT) & ~0xC) | 0x0, PLAY_FORMAT); in cmediahd_reset_port() 719 OUTB(devc, INB(devc, CHAN_RESET) | (1 << devc->rec_eng.chan), in cmediahd_reset_port() 722 OUTB(devc, INB(devc, CHAN_RESET) & ~(1 << devc->rec_eng.chan), in cmediahd_reset_port() 750 OUTB(devc, (INB(devc, REC_MODE) & ~0x3) | channels, REC_MODE); in cmediahd_reset_port() 751 OUTB(devc, (INB(devc, REC_FORMAT) & ~0x3) | 0x0, REC_FORMAT); in cmediahd_reset_port() [all …]
|
H A D | audiocmihd.h | 354 #define INB(devc, reg) ddi_get8(devc->regsh, (void *)(reg)) macro
|
/titanic_41/usr/src/uts/common/io/audio/drv/audiovia97/ |
H A D | audiovia97.h | 95 #define INB(devc, reg) ddi_get8(devc->regsh, (void *)(reg)) macro
|
H A D | audiovia97.c | 477 tmp = INB(devc, devc->base + 0x22); in via97_hwinit()
|
/titanic_41/usr/src/uts/common/io/audio/drv/audiovia823x/ |
H A D | audiovia823x.h | 172 #define INB(devc, reg) ddi_get8(devc->regsh, (void *)(reg)) macro
|
/titanic_41/usr/src/uts/common/io/audio/drv/audiop16x/ |
H A D | audiop16x.h | 92 #define INB(dev, reg) \ macro
|
H A D | audiop16x.c | 187 if (INB(dev, AC97A) & 0x80) in p16x_read_ac97() 201 if (INB(dev, AC97A) & 0x80) in p16x_write_ac97()
|
/titanic_41/usr/src/uts/common/io/audio/drv/audiols/ |
H A D | audiols.h | 245 #define INB(dev, reg) \ macro
|
H A D | audiols.c | 197 if (INB(dev, AC97A) & 0x80) in audigyls_read_ac97() 219 if (INB(dev, AC97A) & 0x80) in audigyls_write_ac97()
|
/titanic_41/usr/src/uts/common/io/audio/drv/audioemu10k/ |
H A D | audioemu10k.h | 436 #define INB(devc, reg) ddi_get8(devc->regsh, (void *)(reg)) macro
|
H A D | audioemu10k.c | 185 if (INB(devc, devc->regs + 0x1e) & 0x80) in emu10k_read_ac97() 209 if (INB(devc, devc->regs + 0x1e) & 0x80) in emu10k_write_ac97()
|
/titanic_41/usr/src/uts/common/io/bfe/ |
H A D | bfe.h | 72 #define INB(bfe, p) \ macro
|
H A D | bfe.c | 2565 INB(bfe, BFE_EEPROM_BASE + 79); in bfe_get_chip_config() 2568 INB(bfe, BFE_EEPROM_BASE + 78); in bfe_get_chip_config() 2571 INB(bfe, BFE_EEPROM_BASE + 81); in bfe_get_chip_config() 2574 INB(bfe, BFE_EEPROM_BASE + 80); in bfe_get_chip_config() 2577 INB(bfe, BFE_EEPROM_BASE + 83); in bfe_get_chip_config() 2580 INB(bfe, BFE_EEPROM_BASE + 82); in bfe_get_chip_config()
|
/titanic_41/usr/src/uts/common/io/atge/ |
H A D | atge_main.c | 909 atgep->atge_ether_addr[5] = INB(atgep, ATGE_PAR0 + 0); in atge_get_macaddr() 910 atgep->atge_ether_addr[4] = INB(atgep, ATGE_PAR0 + 1); in atge_get_macaddr() 911 atgep->atge_ether_addr[3] = INB(atgep, ATGE_PAR0 + 2); in atge_get_macaddr() 912 atgep->atge_ether_addr[2] = INB(atgep, ATGE_PAR0 + 3); in atge_get_macaddr() 913 atgep->atge_ether_addr[1] = INB(atgep, ATGE_PAR1 + 0); in atge_get_macaddr() 914 atgep->atge_ether_addr[0] = INB(atgep, ATGE_PAR1 + 1); in atge_get_macaddr()
|
H A D | atge.h | 111 #define INB(atge, p) \ macro
|
/titanic_41/usr/src/uts/sun4/sys/ |
H A D | sudev.h | 63 #define INB(offset) ddi_get8(asy->asy_handle, asy->asy_ioaddr+offset) macro
|
/titanic_41/usr/src/uts/common/io/sfe/ |
H A D | sfe_util.h | 79 #define INB(dp, p) \ macro
|