Lines Matching defs:book

1238 static bool check_inpage_yram(struct tas_crc *cd, unsigned char book,
1243 if (book == TAS2781_YRAM_BOOK1) {
1247 if (book == TAS2781_YRAM_BOOK2 && page == TAS2781_YRAM5_PAGE)
1284 static bool check_inblock_yram(struct tas_crc *cd, unsigned char book,
1289 if (book == TAS2781_YRAM_BOOK1 || book == TAS2781_YRAM_BOOK2)
1295 static bool check_yram(struct tas_crc *cd, unsigned char book,
1300 in = check_inpage_yram(cd, book, page, reg, len);
1303 in = check_inblock_yram(cd, book, page, reg, len);
1310 unsigned short chn, unsigned char book, unsigned char page,
1326 if ((book == TASDEVICE_BOOK_ID(TAS2781_SA_COEFF_SWAP_REG))
1335 in = check_yram(&crc_data, book, page, reg, len);
1346 TASDEVICE_REG(book, page, crc_data.offset),
1352 if ((book == TASDEVICE_BOOK_ID(TAS2781_SA_COEFF_SWAP_REG))
1374 unsigned short chl, unsigned char book, unsigned char page,
1382 if ((book == TASDEVICE_BOOK_ID(TAS2781_SA_COEFF_SWAP_REG))
1392 in = check_yram(&crc_data, book, page, reg, 1);
1396 TASDEVICE_REG(book, page, reg), &nData1);
1403 book, page, reg, val, nData1);
1426 struct tasdev_blk *block, int chn, unsigned char book,
1433 ret = tasdev_multibytes_chksum(tas_priv, chn, book, page, reg,
1436 ret = do_singlereg_checksum(tas_priv, chn, book, page, reg,
1458 struct tasdev_blk *block, int chn, unsigned char book,
1467 TASDEVICE_REG(book, page, reg), data + 3, len);
1472 book, page, reg, len, 0, crc_chksum);
1475 TASDEVICE_REG(book, page, reg), data[3]);
1479 ret = tasdev_bytes_chksum(tas_priv, block, chn, book,
1535 unsigned char book;
1556 book = data[0];
1565 TASDEVICE_REG(book, page, offset),
1571 block, chn, book, page, offset,
1580 /*book -- data[0] page -- data[1]*/
1581 sleep_time = ((book << 8) + page)*1000;
1588 len = (book << 8) + page;
1589 book = data[0];
1593 block, chn, book, page, offset, data,