Lines Matching refs:byteoff
1123 uint byteoff, uint nbytes, uint16 *buf, bool check_crc) argument
1132 if (byteoff & 1 || nbytes & 1 || (byteoff + nbytes) > SROM_MAX)
1135 off = byteoff / 2;
1188 off = byteoff / 2;
1197 if (bcmsdh_cis_read(NULL, SDIO_FUNC_1, (uint8 *)buf, byteoff + nbytes) != 0)
1213 uint byteoff, uint nbytes, uint16 *buf) argument
1233 if ((byteoff != 0x55aa) && ((byteoff & 1) || (nbytes & 1)))
1236 if ((byteoff != 0x55aa) && ((byteoff + nbytes) > SROM_MAX))
1260 if (byteoff == 0x55aa) {
1450 if (byteoff == 0x55aa) {
1458 bcopy((void *)buf, (void *)&new[byteoff / 2], nbytes);
1598 uint byteoff, uint16 value) argument
1605 if (byteoff & 1)
1663 byteoff/2, value);
1665 W_REG(osh, &srom[byteoff/2], value);
1692 sprom_write_sdio(osh, (uint16)(byteoff/2), value);
4479 uint32 byteoff = 0, sprom_size = 0; local
4482 byteoff = wordoff * 2;
4492 if (byteoff >= sprom_size)
4497 W_REG(osh, &cc->chipcontrol, (byteoff & SROM16K_BANK_SEL_MASK) >>
4499 W_REG(osh, &cc->sromaddress, (byteoff & SROM16K_ADDR_SEL_MASK));