Lines Matching refs:byteoff
2051 uint byteoff, uint nbytes, uint16 *buf, bool check_crc)
2058 if (byteoff & 1 || nbytes & 1 || (byteoff + nbytes) > SROM_MAX)
2061 off = byteoff / 2;
2100 if (bcmsdh_cis_read(NULL, SDIO_FUNC_1, (uint8 *)buf, byteoff + nbytes) != 0)
2124 rc = get_si_pcmcia_srom(sih, osh, regs, byteoff, buf, nbytes, check_crc);
2145 uint byteoff, uint nbytes, uint16 *buf)
2161 /* check input - 16-bit access only. use byteoff 0x55aa to indicate
2164 if ((byteoff != 0x55aa) && ((byteoff & 1) || (nbytes & 1)))
2167 if ((byteoff != 0x55aa) && ((byteoff + nbytes) > SROM_MAX))
2252 if (byteoff == 0x55aa) {
2260 bcopy((void *)buf, (void *)&new[byteoff / 2], nbytes);
2389 rc = set_si_pcmcia_srom(sih, osh, regs, byteoff, buf, nbytes);
2418 uint byteoff, uint16 value)
2426 if (byteoff & 1)
2487 byteoff/2, value);
2489 W_REG(osh, &srom[byteoff/2], value);
2519 sprom_write_pcmcia(osh, (uint16)(byteoff/2), value);
2541 rc = set_si_pcmcia_srom(sih, osh, regs, byteoff, &value, 2);