Home
last modified time | relevance | path

Searched refs:coeffs (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/drivers/i2c/i2c_bme688/src/
Dmain.c74 static void read_calibration_coeffs(struct calibration_coeffs *coeffs) in read_calibration_coeffs() argument
82 coeffs->par_h1 = (uint16_t)(((uint16_t)register_data[HUMI_PAR_H1_MSB_BUF_POSITION] << 4) | in read_calibration_coeffs()
85 coeffs->par_h2 = (uint16_t)(((uint16_t)register_data[HUMI_PAR_H2_MSB_BUF_POSITION] << 4) | in read_calibration_coeffs()
88 coeffs->par_h3 = (uint8_t)register_data[HUMI_PAR_H3_BUF_POSITION]; in read_calibration_coeffs()
89 coeffs->par_h4 = (uint8_t)register_data[HUMI_PAR_H4_BUF_POSITION]; in read_calibration_coeffs()
90 coeffs->par_h5 = (uint8_t)register_data[HUMI_PAR_H5_BUF_POSITION]; in read_calibration_coeffs()
91 coeffs->par_h6 = (uint8_t)register_data[HUMI_PAR_H6_BUF_POSITION]; in read_calibration_coeffs()
92 coeffs->par_h7 = (uint8_t)register_data[HUMI_PAR_H7_BUF_POSITION]; in read_calibration_coeffs()
97 coeffs->par_t1 = (uint16_t)(((uint16_t)register_data[1] << 8) | (uint16_t)register_data[0]); in read_calibration_coeffs()
99 coeffs->par_t2 = (uint16_t)(((uint16_t)register_data[1] << 8) | (uint16_t)register_data[0]); in read_calibration_coeffs()
[all …]
/Zephyr-latest/drivers/dai/intel/dmic/
Ddmic_nhlt.c92 const uint32_t *coeffs) in dai_dmic_configure_coeff() argument
106 if (*coeffs == FIR_COEFFS_PACKED_TO_24_BITS) { in dai_dmic_configure_coeff()
110 coeffs++; in dai_dmic_configure_coeff()
113 coeffs_b = dai_dmic_skip_coeff(coeffs, fir_length_a, packed); in dai_dmic_configure_coeff()
119 dai_dmic_write_coeff(dmic, pdm_base + PDM_COEFFICIENT_A, coeffs, fir_length_a, in dai_dmic_configure_coeff()