Searched refs:mtp_address (Results 1 – 2 of 2) sorted by relevance
| /hal_nxp-latest/mcux/mcux-sdk/components/codec/tfa9xxx/vas_tfa_drv/ |
| D | tfa2_dev.h | 462 int tfa2_dev_mtp_readpair(struct tfa2_device *tfa, uint16_t mtp_address, uint16_t mtp_data[2]); 463 int tfa2_dev_mtp_read(struct tfa2_device *tfa, uint16_t mtp_address); 464 int tfa2_dev_mtp_write(struct tfa2_device *tfa, uint16_t mtp_address, uint16_t mtp_value); 564 int tfa2_dev_mtp_writepair(struct tfa2_device *tfa, uint16_t mtp_address, uint16_t mtp_data[2]); 565 int tfa2_dev_mtp_write(struct tfa2_device *tfa, uint16_t mtp_address, uint16_t mtp_value); 575 uint16_t mtp_address, 577 … int (*f)(struct tfa2_device *tfa, uint16_t mtp_address, uint16_t mtp_value));
|
| 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() argument 1642 tfa2_i2c_write_bf(tfa->i2c, TFA9XXX_BF_MTPADDR, mtp_address >> 1); in tfa2_dev_mtp_readpair() 1651 …dev_dbg(&tfa->i2c->dev, "%s MTP[%d]: 0x%04x 0x%04x\n", __func__, mtp_address & 0x0f, mtp_data[1],… in tfa2_dev_mtp_readpair() 1668 int tfa2_dev_mtp_read(struct tfa2_device *tfa, uint16_t mtp_address) in tfa2_dev_mtp_read() argument 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() argument 1694 tfa2_i2c_write_bf(tfa->i2c, TFA9XXX_BF_MTPADDR, mtp_address >> 1); in tfa2_dev_mtp_writepair() 1705 …dev_dbg(&tfa->i2c->dev, "%s MTP[%d]: 0x%04x 0x%04x\n", __func__, mtp_address & 0x0f, mtp_data[1], … in tfa2_dev_mtp_writepair() 1723 int tfa2_dev_mtp_write(struct tfa2_device *tfa, uint16_t mtp_address, uint16_t mtp_value) in tfa2_dev_mtp_write() argument [all …]
|