Lines Matching refs:uint32
44 static uint _sb_coreidx(si_info_t *sii, uint32 sba);
45 static uint _sb_scan(si_info_t *sii, uint32 sba, void *regs, uint bus, uint32 sbba,
47 static uint32 _sb_coresba(si_info_t *sii);
63 static uint32
64 sb_read_sbreg(si_info_t *sii, volatile uint32 *sbr) in sb_read_sbreg()
67 uint32 val, intr_val = 0; in sb_read_sbreg()
80 sbr = (volatile uint32 *)((uintptr)sbr & ~(1 << 11)); /* mask out bit 11 */ in sb_read_sbreg()
95 sb_write_sbreg(si_info_t *sii, volatile uint32 *sbr, uint32 v) in sb_write_sbreg()
98 volatile uint32 dummy; in sb_write_sbreg()
99 uint32 intr_val = 0; in sb_write_sbreg()
112 sbr = (volatile uint32 *)((uintptr)sbr & ~(1 << 11)); /* mask out bit 11 */ in sb_write_sbreg()
183 uint32 vec; in sb_setint()
197 _sb_coreidx(si_info_t *sii, uint32 sba) in _sb_coreidx()
208 static uint32
211 uint32 sbaddr; in _sb_coresba()
222 sbaddr = OSL_PCI_READ_CONFIG(sii->osh, PCI_BAR0_WIN, sizeof(uint32)); in _sb_coresba()
228 sbaddr = (uint32)tmp << 12; in _sb_coresba()
230 sbaddr |= (uint32)tmp << 16; in _sb_coresba()
232 sbaddr |= (uint32)tmp << 24; in _sb_coresba()
238 sbaddr = (uint32)(uintptr)sii->curmap; in _sb_coresba()
278 sb_core_cflags_wo(si_t *sih, uint32 mask, uint32 val) in sb_core_cflags_wo()
282 uint32 w; in sb_core_cflags_wo()
296 uint32
297 sb_core_cflags(si_t *sih, uint32 mask, uint32 val) in sb_core_cflags()
301 uint32 w; in sb_core_cflags()
322 uint32
323 sb_core_sflags(si_t *sih, uint32 mask, uint32 val) in sb_core_sflags()
327 uint32 w; in sb_core_sflags()
373 uint32 *r = NULL; in sb_corereg()
397 r = (uint32 *)((uchar *)sii->regs[coreidx] + regoff); in sb_corereg()
405 r = (uint32 *)((char *)sii->curmap + PCI_16KB0_CCREGS_OFFSET + regoff); in sb_corereg()
412 r = (uint32 *)((char *)sii->curmap + in sb_corereg()
415 r = (uint32 *)((char *)sii->curmap + in sb_corereg()
429 r = (uint32*) ((uchar*)sb_setcoreidx(&sii->pub, coreidx) + regoff); in sb_corereg()
476 _sb_scan(si_info_t *sii, uint32 sba, void *regs, uint bus, uint32 sbba, uint numcores) in _sb_scan()
510 uint32 ccrev = sb_corerev(&sii->pub); in _sb_scan()
540 uint32 nsbba = R_SBREG(sii, &sb->sbadmatch1); in _sb_scan()
570 uint32 origsba; in sb_scan()
620 uint32 sbaddr = sii->coresba[coreidx]; in _sb_setcoreidx()
670 static volatile uint32 *
674 volatile uint32 *addrm; in sb_admatch()
718 uint32
729 uint32
772 sb_core_disable(si_t *sih, uint32 bits) in sb_core_disable()
775 volatile uint32 dummy; in sb_core_disable()
832 sb_core_reset(si_t *sih, uint32 bits, uint32 resetbits) in sb_core_reset()
836 volatile uint32 dummy; in sb_core_reset()
904 uint32
905 sb_set_initiator_to(si_t *sih, uint32 to, uint idx) in sb_set_initiator_to()
910 uint32 tmp, ret = 0xffffffff; in sb_set_initiator_to()
956 uint32
957 sb_base(uint32 admatch) in sb_base()
959 uint32 base; in sb_base()
980 uint32
981 sb_size(uint32 admatch) in sb_size()
983 uint32 size; in sb_size()