Searched refs:TASDEVICE_BOOK_ID (Results 1 – 7 of 7) sorted by relevance
126 TASDEVICE_BOOK_ID(reg)); in tasdevice_dev_read()153 TASDEVICE_BOOK_ID(reg)); in tasdevice_dev_write()183 TASDEVICE_BOOK_ID(reg)); in tasdevice_dev_bulk_write()212 TASDEVICE_BOOK_ID(reg)); in tasdevice_dev_bulk_read()238 TASDEVICE_BOOK_ID(reg)); in tasdevice_dev_update_bits()
232 dst[i++] = TASDEVICE_BOOK_ID(p->r0_reg); in tasdev_cali_data_get()236 dst[i++] = TASDEVICE_BOOK_ID(p->r0_low_reg); in tasdev_cali_data_get()240 dst[i++] = TASDEVICE_BOOK_ID(p->invr0_reg); in tasdev_cali_data_get()244 dst[i++] = TASDEVICE_BOOK_ID(p->pow_reg); in tasdev_cali_data_get()248 dst[i++] = TASDEVICE_BOOK_ID(p->tlimit_reg); in tasdev_cali_data_get()
1445 if ((book == TASDEVICE_BOOK_ID(TAS2781_SA_COEFF_SWAP_REG)) in tasdev_multibytes_chksum()1471 if ((book == TASDEVICE_BOOK_ID(TAS2781_SA_COEFF_SWAP_REG)) in tasdev_multibytes_chksum()1501 if ((book == TASDEVICE_BOOK_ID(TAS2781_SA_COEFF_SWAP_REG)) in do_singlereg_checksum()
34 #define TASDEVICE_BOOK_ID(reg) (((reg) & GENMASK(24, 16)) >> 16) macro
109 if (tas_priv->cur_book != TASDEVICE_BOOK_ID(reg)) { in tasdevice_spi_switch_book()111 TASDEVICE_BOOK_ID(reg)); in tasdevice_spi_switch_book()116 tas_priv->cur_book = TASDEVICE_BOOK_ID(reg); in tasdevice_spi_switch_book()137 if ((TASDEVICE_BOOK_ID(reg) > 0) || (TASDEVICE_PAGE_ID(reg) > 1)) { in tasdevice_spi_dev_read()208 if ((TASDEVICE_BOOK_ID(reg) > 0) || (TASDEVICE_PAGE_ID(reg) > 1)) { in tasdevice_spi_dev_bulk_read()
1284 if ((book == TASDEVICE_BOOK_ID(TAS2781_SA_COEFF_SWAP_REG)) && in tasdev_multibytes_chksum()1310 if ((book == TASDEVICE_BOOK_ID(TAS2781_SA_COEFF_SWAP_REG)) && in tasdev_multibytes_chksum()1340 if ((book == TASDEVICE_BOOK_ID(TAS2781_SA_COEFF_SWAP_REG)) && in do_singlereg_checksum()
39 #define TASDEVICE_BOOK_ID(reg) (reg / (256 * 128)) macro