Lines Matching defs:book
1270 static bool check_inpage_yram(struct tas_crc *cd, unsigned char book,
1275 if (book == TAS2781_YRAM_BOOK1) {
1279 if (book == TAS2781_YRAM_BOOK2 && page == TAS2781_YRAM5_PAGE)
1316 static bool check_inblock_yram(struct tas_crc *cd, unsigned char book,
1321 if (book == TAS2781_YRAM_BOOK1 || book == TAS2781_YRAM_BOOK2)
1327 static bool check_yram(struct tas_crc *cd, unsigned char book,
1332 in = check_inpage_yram(cd, book, page, reg, len);
1335 in = check_inblock_yram(cd, book, page, reg, len);
1342 unsigned short chn, unsigned char book, unsigned char page,
1358 if ((book == TASDEVICE_BOOK_ID(TAS2781_SA_COEFF_SWAP_REG))
1367 in = check_yram(&crc_data, book, page, reg, len);
1378 TASDEVICE_REG(book, page, crc_data.offset),
1384 if ((book == TASDEVICE_BOOK_ID(TAS2781_SA_COEFF_SWAP_REG))
1406 unsigned short chl, unsigned char book, unsigned char page,
1414 if ((book == TASDEVICE_BOOK_ID(TAS2781_SA_COEFF_SWAP_REG))
1424 in = check_yram(&crc_data, book, page, reg, 1);
1428 TASDEVICE_REG(book, page, reg), &nData1);
1435 book, page, reg, val, nData1);
1458 struct tasdev_blk *block, int chn, unsigned char book,
1465 ret = tasdev_multibytes_chksum(tas_priv, chn, book, page, reg,
1468 ret = do_singlereg_checksum(tas_priv, chn, book, page, reg,
1490 struct tasdev_blk *block, int chn, unsigned char book,
1499 TASDEVICE_REG(book, page, reg), data + 3, len);
1504 book, page, reg, len, 0, crc_chksum);
1507 TASDEVICE_REG(book, page, reg), data[3]);
1511 ret = tasdev_bytes_chksum(tas_priv, block, chn, book,
1567 unsigned char book;
1588 book = data[0];
1597 TASDEVICE_REG(book, page, offset),
1603 block, chn, book, page, offset,
1612 /*book -- data[0] page -- data[1]*/
1613 sleep_time = ((book << 8) + page)*1000;
1620 len = (book << 8) + page;
1621 book = data[0];
1625 block, chn, book, page, offset, data,