Lines Matching refs:osh
77 OSL_PCMCIA_WRITE_ATTR(sii->osh, MEM_SEG, &tmp, 1); in sb_read_sbreg()
81 val = R_REG(sii->osh, sbr); in sb_read_sbreg()
85 OSL_PCMCIA_WRITE_ATTR(sii->osh, MEM_SEG, &tmp, 1); in sb_read_sbreg()
109 OSL_PCMCIA_WRITE_ATTR(sii->osh, MEM_SEG, &tmp, 1); in sb_write_sbreg()
115 dummy = R_REG(sii->osh, sbr); in sb_write_sbreg()
116 W_REG(sii->osh, ((volatile uint16 *)sbr + 1), (uint16)((v >> 16) & 0xffff)); in sb_write_sbreg()
117 dummy = R_REG(sii->osh, sbr); in sb_write_sbreg()
118 W_REG(sii->osh, (volatile uint16 *)sbr, (uint16)(v & 0xffff)); in sb_write_sbreg()
120 dummy = R_REG(sii->osh, sbr); in sb_write_sbreg()
121 W_REG(sii->osh, (volatile uint16 *)sbr, (uint16)(v & 0xffff)); in sb_write_sbreg()
122 dummy = R_REG(sii->osh, sbr); in sb_write_sbreg()
123 W_REG(sii->osh, ((volatile uint16 *)sbr + 1), (uint16)((v >> 16) & 0xffff)); in sb_write_sbreg()
126 W_REG(sii->osh, sbr, v); in sb_write_sbreg()
130 OSL_PCMCIA_WRITE_ATTR(sii->osh, MEM_SEG, &tmp, 1); in sb_write_sbreg()
203 sbaddr = OSL_PCI_READ_CONFIG(sii->osh, PCI_BAR0_WIN, sizeof(uint32)); in _sb_coresba()
208 OSL_PCMCIA_READ_ATTR(sii->osh, PCMCIA_ADDR0, &tmp, 1); in _sb_coresba()
210 OSL_PCMCIA_READ_ATTR(sii->osh, PCMCIA_ADDR1, &tmp, 1); in _sb_coresba()
212 OSL_PCMCIA_READ_ATTR(sii->osh, PCMCIA_ADDR2, &tmp, 1); in _sb_coresba()
420 w = (R_REG(sii->osh, r) & ~mask) | val; in sb_corereg()
421 W_REG(sii->osh, r, w); in sb_corereg()
434 w = R_REG(sii->osh, r); in sb_corereg()
496 numcores = (R_REG(sii->osh, &cc->chipid) & CID_CC_MASK) >> in _sb_scan()
612 OSL_PCI_WRITE_CONFIG(sii->osh, PCI_BAR0_WIN, 4, sbaddr); in _sb_setcoreidx()
618 OSL_PCMCIA_WRITE_ATTR(sii->osh, PCMCIA_ADDR0, &tmp, 1); in _sb_setcoreidx()
620 OSL_PCMCIA_WRITE_ATTR(sii->osh, PCMCIA_ADDR1, &tmp, 1); in _sb_setcoreidx()
622 OSL_PCMCIA_WRITE_ATTR(sii->osh, PCMCIA_ADDR2, &tmp, 1); in _sb_setcoreidx()
737 W_REG(sii->osh, &ccregs->broadcastaddress, SB_COMMIT); in sb_commit()
738 W_REG(sii->osh, &ccregs->broadcastdata, 0x0); in sb_commit()