/titanic_44/usr/src/uts/common/io/audio/drv/audioens/ |
H A D | audioens.c | 158 #define GET32(dev, offset) \ macro 169 #define CLR32(dev, offset, v) PUT32(dev, offset, GET32(dev, offset) & ~(v)) 170 #define SET32(dev, offset, v) PUT32(dev, offset, GET32(dev, offset) | (v)) 181 dtemp = GET32(dev, CONC_dCODECCTL_OFF); in audioens_rd97() 184 dtemp = GET32(dev, CONC_dCODECCTL_OFF); in audioens_rd97() 194 dtemp = GET32(dev, CONC_dCODECCTL_OFF); in audioens_rd97() 198 dtemp = GET32(dev, CONC_dCODECCTL_OFF); in audioens_rd97() 213 dtemp = GET32(dev, CONC_dCODECCTL_OFF); in audioens_wr97() 228 dtemp = GET32(dev, CONC_dSRCIO_OFF); in SRCRegRead() 231 dtemp = GET32(dev, CONC_dSRCIO_OFF); in SRCRegRead() [all …]
|
/titanic_44/usr/src/uts/common/io/audio/drv/audio1575/ |
H A D | audio1575.c | 490 scr = GET32(M1575_SCR_REG); in audio1575_start() 1092 (void) GET32(M1575_INTRCR_REG); in audio1575_chip_init() 1094 intrsr = GET32(M1575_INTRSR_REG); in audio1575_chip_init() 1096 (void) GET32(M1575_INTRSR_REG); in audio1575_chip_init() 1118 ssr = GET32(M1575_SSR_REG); in audio1575_chip_init() 1126 ssr = GET32(M1575_SSR_REG); in audio1575_chip_init() 1140 if ((GET32(M1575_SCR_REG) & M1575_SCR_COLDRST) == 0) { in audio1575_chip_init() 1159 rtsr = GET32(M1575_RTSR_REG); in audio1575_chip_init() 1229 if (GET32(M1575_DMACR_REG) & M1575_DMACR_PAUSE_ALL) { in audio1575_dma_stop() 1276 (void) GET32(M1575_INTRCR_REG); in audio1575_dma_stop() [all …]
|
H A D | audio1575.h | 401 #define GET32(reg) \ macro 415 #define SET32(reg, bit) PUT32(reg, GET32(reg) | (bit)) 418 #define CLR32(reg, bit) PUT32(reg, GET32(reg) & ~(bit))
|
/titanic_44/usr/src/uts/common/io/audio/drv/audioixp/ |
H A D | audioixp.h | 263 #define GET32(reg) \ macro 269 #define SET32(reg, val) PUT32(reg, GET32(reg) | ((uint32_t)(val))) 271 #define CLR32(reg, val) PUT32(reg, GET32(reg) & ~((uint32_t)(val)))
|
H A D | audioixp.c | 518 uint32_t slot = GET32(IXP_AUDIO_OUT_DMA_SLOT_EN_THRESHOLD); in audioixp_start() 908 paddr = GET32(regoff); in audioixp_update_port() 1008 sr = GET32(IXP_AUDIO_INT); in audioixp_codec_ready() 1039 cmd = GET32(IXP_AUDIO_OUT_PHY_ADDR_DATA); in audioixp_codec_sync() 1083 result = GET32(IXP_AUDIO_IN_PHY_ADDR_DATA); in audioixp_rd97() 1151 (void) GET32(IXP_AUDIO_CMD); in audioixp_reset_ac97() 1158 cmd = GET32(IXP_AUDIO_CMD); in audioixp_reset_ac97() 1167 (void) GET32(IXP_AUDIO_CMD); in audioixp_reset_ac97()
|
/titanic_44/usr/src/uts/common/io/audio/drv/audiocmi/ |
H A D | audiocmi.h | 328 #define GET32(dev, offset) \ macro 341 #define CLR32(dev, offset, v) PUT32(dev, offset, GET32(dev, offset) & ~(v)) 342 #define SET32(dev, offset, v) PUT32(dev, offset, GET32(dev, offset) | (v))
|
H A D | audiocmi.c | 618 (void) GET32(dev, REG_MISC); in cmpci_reset() 931 val = GET32(dev, REG_INTCTRL) & INTCTRL_MDL_MASK; in cmpci_attach() 934 if (GET32(dev, REG_CHFORMAT & CHFORMAT_VER_MASK)) { in cmpci_attach()
|
/titanic_44/usr/src/cmd/hal/utils/ |
H A D | cdutils.c | 39 #define GET32(a) (((a)[0] << 24) | ((a)[1] << 16) | ((a)[2] << 8) | (a)[3]) macro 227 buflen = GET32(smallbuf) + 4; in get_current_profile() 259 buflen = GET32(smallbuf) + 4; in walk_profiles()
|
/titanic_44/usr/src/uts/common/io/sdcard/adapters/sdhost/ |
H A D | sdhost.c | 203 #define GET32(ss, reg) \ macro 231 #define GETDATA32(ss) sw32(GET32(ss, REG_DATA)) 240 ((GET32(ss, REG_PRS) & PRS_ ## nm) != 0) 1253 resp[0] = GET32(ss, REG_RESP1); in sdhost_get_response() 1254 resp[1] = GET32(ss, REG_RESP2); in sdhost_get_response() 1255 resp[2] = GET32(ss, REG_RESP3); in sdhost_get_response() 1256 resp[3] = GET32(ss, REG_RESP4); in sdhost_get_response()
|
/titanic_44/usr/src/uts/common/io/elxl/ |
H A D | elxl.c | 623 config = GET32(W3_INTERNAL_CONFIG); in elxl_probe_media() 769 PUT32(REG_DMACTRL, GET32(REG_DMACTRL) | DMACTRL_UPRXEAREN); in elxl_init() 899 configreg = GET32(W3_INTERNAL_CONFIG); in elxl_set_media() 1104 paddr = GET32(REG_DNLISTPTR); in elxl_m_tx() 1120 paddr = GET32(REG_DNLISTPTR); in elxl_m_tx() 1137 if ((r->r_avail < r->r_count) && (GET32(REG_DNLISTPTR) != 0)) { in elxl_m_tx() 1811 if (GET32(REG_UPLISTPTR) == 0) { in elxl_intr()
|
H A D | elxl.h | 541 #define GET32(off) \ macro
|
/titanic_44/usr/src/uts/common/io/iprb/ |
H A D | iprb.c | 935 (void) GET32(ip, CSR_PORT); in iprb_stop() 952 (void) GET32(ip, CSR_PORT); in iprb_start() 956 (void) GET32(ip, CSR_PORT); in iprb_start() 1561 mdi = GET32(ip, CSR_MDICTL); in iprb_mii_read() 1583 if (GET32(ip, CSR_MDICTL) & MDI_R) in iprb_mii_write()
|
H A D | iprb.h | 228 #define GET32(ip, offset) \ macro
|
/titanic_44/usr/src/uts/common/io/audio/drv/audiopci/ |
H A D | audiopci.c | 184 #define GET32(dev, offset) \ macro 257 return (GET32(dev, offs)); in audiopci_readmem()
|