Home
last modified time | relevance | path

Searched refs:i2cTransferParam (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/drivers/hdf_core/framework/model/audio/common/src/
H A Daudio_codec_base.c505 msgs[0].addr = i2cTransferParam->i2cDevAddr; in CodecI2cMsgFill()
507 msgs[0].len = i2cTransferParam->i2cRegDataLen + 1; in CodecI2cMsgFill()
537 msgs[1].addr = i2cTransferParam->i2cDevAddr; in CodecI2cMsgFill()
601 struct I2cTransferParam *i2cTransferParam = NULL; in CodecDeviceRegI2cRead() local
609 if (i2cTransferParam == NULL) { in CodecDeviceRegI2cRead()
630 struct I2cTransferParam *i2cTransferParam = NULL; in CodecDeviceRegI2cWrite() local
637 if (i2cTransferParam == NULL) { in CodecDeviceRegI2cWrite()
657 struct I2cTransferParam *i2cTransferParam = NULL; in CodecDaiRegI2cRead() local
665 if (i2cTransferParam == NULL) { in CodecDaiRegI2cRead()
686 struct I2cTransferParam *i2cTransferParam = NULL; in CodecDaiRegI2cWrite() local
[all …]
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-peripherals-audio-des.md713 struct I2cTransferParam *i2cTransferParam = NULL;
715 i2cTransferParam = (struct I2cTransferParam *)codec->devData->privateParam;
719 ret = CodecI2cTransfer(i2cTransferParam, &regAttr, I2C_FLAG_READ);
729 struct I2cTransferParam *i2cTransferParam = NULL;
731 i2cTransferParam = (struct I2cTransferParam *)codec->devData->privateParam;
735 ret = CodecI2cTransfer(i2cTransferParam, &regAttr, 0);
743 ret = CodecI2cTransfer(i2cTransferParam, &regAttr, I2C_FLAG_READ);
751 ret = CodecI2cTransfer(i2cTransferParam, &regAttr, 0);
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-peripherals-audio-des.md713 struct I2cTransferParam *i2cTransferParam = NULL;
715 i2cTransferParam = (struct I2cTransferParam *)codec->devData->privateParam;
719 ret = CodecI2cTransfer(i2cTransferParam, &regAttr, I2C_FLAG_READ);
729 struct I2cTransferParam *i2cTransferParam = NULL;
731 i2cTransferParam = (struct I2cTransferParam *)codec->devData->privateParam;
735 ret = CodecI2cTransfer(i2cTransferParam, &regAttr, 0);
743 ret = CodecI2cTransfer(i2cTransferParam, &regAttr, I2C_FLAG_READ);
751 ret = CodecI2cTransfer(i2cTransferParam, &regAttr, 0);