Home
last modified time | relevance | path

Searched refs:TASDEVICE_BOOK_ID (Results 1 – 7 of 7) sorted by relevance

/linux-6.15/sound/soc/codecs/
H A Dtas2781-comlib.c126 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()
H A Dtas2781-i2c.c232 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()
H A Dtas2781-fmwlib.c1445 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()
/linux-6.15/sound/pci/hda/
H A Dtas2781-spi.h34 #define TASDEVICE_BOOK_ID(reg) (((reg) & GENMASK(24, 16)) >> 16) macro
H A Dtas2781_hda_spi.c109 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()
H A Dtas2781_spi_fwlib.c1284 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()
/linux-6.15/include/sound/
H A Dtas2781.h39 #define TASDEVICE_BOOK_ID(reg) (reg / (256 * 128)) macro