| /linux-6.15/include/sound/ |
| H A D | tas2781.h | 47 #define TASDEVICE_REG_SWRESET TASDEVICE_REG(0x0, 0x0, 0x01) 54 #define TASDEVICE_XM_A1_REG TASDEVICE_REG(0x64, 0x63, 0x3c) 56 #define TASDEVICE_XM_A2_REG TASDEVICE_REG(0x64, 0x63, 0x38) 59 #define TAS2563_DVC_LVL TASDEVICE_REG(0x00, 0x02, 0x0c) 60 #define TAS2781_DVC_LVL TASDEVICE_REG(0x0, 0x0, 0x1a) 61 #define TAS2781_AMP_LEVEL TASDEVICE_REG(0x0, 0x0, 0x03) 64 #define TAS2563_IDLE TASDEVICE_REG(0x00, 0x00, 0x3e) 65 #define TAS2563_PRM_R0_REG TASDEVICE_REG(0x00, 0x0f, 0x34) 76 #define TAS2563_TE_TA1_REG TASDEVICE_REG(0x00, 0x10, 0x0c) 82 #define TAS2563_TE_AT_REG TASDEVICE_REG(0x00, 0x0f, 0x68) [all …]
|
| /linux-6.15/sound/pci/hda/ |
| H A D | tas2781-spi.h | 38 #define TASDEVICE_REG(book, page, reg) \ macro 42 #define TAS2781_REG_SWRESET TASDEVICE_REG(0x0, 0x0, 0x01) 46 #define TAS2781_REG_CLK_CONFIG TASDEVICE_REG(0x0, 0x0, 0x5c) 51 #define TASDEVICE_CHECKSUM TASDEVICE_REG(0x0, 0x0, 0x7e) 54 #define TAS2781_DVC_LVL TASDEVICE_REG(0x0, 0x0, 0x1a) 55 #define TAS2781_AMP_LEVEL TASDEVICE_REG(0x0, 0x0, 0x03)
|
| H A D | tas2781_hda_i2c.c | 73 #define TAS2563_CAL_POWER TASDEVICE_REG(0, 0x0d, 0x3c) 74 #define TAS2563_CAL_R0 TASDEVICE_REG(0, 0x0f, 0x34) 75 #define TAS2563_CAL_INVR0 TASDEVICE_REG(0, 0x0f, 0x40) 76 #define TAS2563_CAL_R0_LOW TASDEVICE_REG(0, 0x0f, 0x48) 77 #define TAS2563_CAL_TLIM TASDEVICE_REG(0, 0x10, 0x14) 564 TASDEVICE_REG(0, 0x17, 0x74), in tas2781_apply_calib() 565 TASDEVICE_REG(0, 0x18, 0x0c), in tas2781_apply_calib() 566 TASDEVICE_REG(0, 0x18, 0x14), in tas2781_apply_calib() 567 TASDEVICE_REG(0, 0x13, 0x70), in tas2781_apply_calib() 568 TASDEVICE_REG(0, 0x18, 0x7c), in tas2781_apply_calib()
|
| H A D | tas2781_spi_fwlib.c | 30 #define TAS2781_SA_COEFF_SWAP_REG TASDEVICE_REG(0, 0x35, 0x2c) 646 TASDEVICE_REG(data[subblk_offset], in tasdevice_single_byte_wr() 690 TASDEVICE_REG(data[subblk_offset], in tasdevice_burst_wr() 747 TASDEVICE_REG(data[subblk_offset + 2], in tasdevice_field_wr() 1304 TASDEVICE_REG(book, page, crc_data.offset), in tasdev_multibytes_chksum() 1350 TASDEVICE_REG(book, page, reg), &nData1); in do_singlereg_checksum() 1421 TASDEVICE_REG(book, page, reg), data + 3, len); in tasdev_multibytes_wr() 1429 TASDEVICE_REG(book, page, reg), data[3]); in tasdev_multibytes_wr() 1512 TASDEVICE_REG(book, page, offset), in tasdev_load_blk()
|
| H A D | tas2781_hda_spi.c | 302 tas_priv->cali_reg_array[0] = TASDEVICE_REG(0, 0x17, 0x74); in tasdevice_spi_init() 303 tas_priv->cali_reg_array[1] = TASDEVICE_REG(0, 0x18, 0x0c); in tasdevice_spi_init() 304 tas_priv->cali_reg_array[2] = TASDEVICE_REG(0, 0x18, 0x14); in tasdevice_spi_init() 305 tas_priv->cali_reg_array[3] = TASDEVICE_REG(0, 0x13, 0x70); in tasdevice_spi_init() 306 tas_priv->cali_reg_array[4] = TASDEVICE_REG(0, 0x18, 0x7c); in tasdevice_spi_init() 862 TASDEVICE_REG(buf[1], buf[2], in tas2781_save_calibration()
|
| /linux-6.15/sound/soc/codecs/ |
| H A D | tas2781-i2c.c | 465 reg[i] = TASDEVICE_REG(dat[j], dat[j + 1], dat[j + 2]); in tas2781_calib_start_put() 625 p->r0_reg = TASDEVICE_REG(src[i], src[i + 1], src[i + 2]); in tasdev_cali_data_put() 629 p->invr0_reg = TASDEVICE_REG(src[i], src[i + 1], src[i + 2]); in tasdev_cali_data_put() 631 p->pow_reg = TASDEVICE_REG(src[i], src[i + 1], src[i + 2]); in tasdev_cali_data_put() 692 reg = TASDEVICE_REG(p->tf_reg[0], p->tf_reg[1], in tasdev_tf_data_get() 718 reg = TASDEVICE_REG(p->r0_reg[0], p->r0_reg[1], in tasdev_re_data_get() 1243 reg = TASDEVICE_REG(t->thr[0], t->thr[1], t->thr[2]); in cali_reg_update() 1246 reg = TASDEVICE_REG(t->plt_flg[0], t->plt_flg[1], in cali_reg_update() 1250 reg = TASDEVICE_REG(t->sin_gn[0], t->sin_gn[1], in cali_reg_update() 1254 reg = TASDEVICE_REG(t->sin_gn[0], t->sin_gn[1], in cali_reg_update() [all …]
|
| H A D | tas2781-fmwlib.c | 620 TASDEVICE_REG(dat[20], dat[21], dat[22]); in fct_param_address_parser() 624 TASDEVICE_REG(dat[20], dat[21], dat[22]); in fct_param_address_parser() 628 TASDEVICE_REG(dat[20], dat[21], dat[22]); in fct_param_address_parser() 831 TASDEVICE_REG(data[subblk_offset], in tasdevice_process_block() 863 TASDEVICE_REG(data[subblk_offset], in tasdevice_process_block() 900 TASDEVICE_REG(data[subblk_offset + 2], in tasdevice_process_block() 1465 TASDEVICE_REG(book, page, crc_data.offset), in tasdev_multibytes_chksum() 1515 TASDEVICE_REG(book, page, reg), &nData1); in do_singlereg_checksum() 1586 TASDEVICE_REG(book, page, reg), data + 3, len); in tasdev_multibytes_wr() 1594 TASDEVICE_REG(book, page, reg), data[3]); in tasdev_multibytes_wr() [all …]
|