Searched refs:mtp_data (Results 1 – 2 of 2) sorted by relevance
| /hal_nxp-latest/mcux/mcux-sdk/components/codec/tfa9xxx/vas_tfa_drv/ |
| D | tfa2_dev.c | 1637 int tfa2_dev_mtp_readpair(struct tfa2_device *tfa, uint16_t mtp_address, uint16_t mtp_data[2]) in tfa2_dev_mtp_readpair() 1649 mtp_data[0] = tfa2_i2c_read_bf(tfa->i2c, TFA9XXX_BF_MTPRDLSB); in tfa2_dev_mtp_readpair() 1650 mtp_data[1] = tfa2_i2c_read_bf(tfa->i2c, TFA9XXX_BF_MTPRDMSB); in tfa2_dev_mtp_readpair() 1651 …>i2c->dev, "%s MTP[%d]: 0x%04x 0x%04x\n", __func__, mtp_address & 0x0f, mtp_data[1], mtp_data[0]); in tfa2_dev_mtp_readpair() 1670 uint16_t mtp_data[2]; in tfa2_dev_mtp_read() local 1672 tfa2_dev_mtp_readpair(tfa, mtp_address, mtp_data); in tfa2_dev_mtp_read() 1673 return mtp_data[mtp_address & 0x1]; in tfa2_dev_mtp_read() 1689 int tfa2_dev_mtp_writepair(struct tfa2_device *tfa, uint16_t mtp_address, uint16_t mtp_data[2]) in tfa2_dev_mtp_writepair() 1696 tfa2_i2c_write_bf(tfa->i2c, TFA9XXX_BF_MTPWRLSB, mtp_data[0]); in tfa2_dev_mtp_writepair() 1697 tfa2_i2c_write_bf(tfa->i2c, TFA9XXX_BF_MTPWRMSB, mtp_data[1]); in tfa2_dev_mtp_writepair() [all …]
|
| D | tfa2_dev.h | 462 int tfa2_dev_mtp_readpair(struct tfa2_device *tfa, uint16_t mtp_address, uint16_t mtp_data[2]); 564 int tfa2_dev_mtp_writepair(struct tfa2_device *tfa, uint16_t mtp_address, uint16_t mtp_data[2]);
|