Lines Matching defs:byteoff
1579 uint byteoff, uint nbytes, uint16 *buf, bool check_crc)
1586 if (byteoff & 1 || nbytes & 1 || (byteoff + nbytes) > SROM_MAX)
1589 off = byteoff / 2;
1619 if (bcmsdh_cis_read(NULL, SDIO_FUNC_1, (uint8 *)buf, byteoff + nbytes) != 0)
1643 rc = get_si_pcmcia_srom(sih, osh, regs, byteoff, buf, nbytes, check_crc);
1665 uint byteoff, uint nbytes, uint16 *buf)
1681 /* check input - 16-bit access only. use byteoff 0x55aa to indicate
1684 if ((byteoff != 0x55aa) && ((byteoff & 1) || (nbytes & 1)))
1687 if ((byteoff != 0x55aa) && ((byteoff + nbytes) > SROM_MAX))
1772 if (byteoff == 0x55aa) {
1780 bcopy((void *)buf, (void *)&new[byteoff / 2], nbytes);
1893 rc = set_si_pcmcia_srom(sih, osh, regs, byteoff, buf, nbytes);
1922 uint byteoff, uint16 value)
1930 if (byteoff & 1)
1978 byteoff/2, value);
1980 W_REG(osh, &srom[byteoff/2], value);
2007 sprom_write_pcmcia(osh, (uint16)(byteoff/2), value);
2029 rc = set_si_pcmcia_srom(sih, osh, regs, byteoff, &value, 2);