Home
last modified time | relevance | path

Searched refs:bf (Results 1 – 5 of 5) sorted by relevance

/hal_nxp-latest/mcux/mcux-sdk/components/codec/tfa9896/
Dfsl_hal_registers.c55 int tfa_read_reg(tfa9896_handle_t *handle, const uint16_t bf) in tfa_read_reg() argument
61 uint8_t address = (bf >> 8) & 0xff; in tfa_read_reg()
101 uint16_t TFA9896_GetBits(tfa9896_handle_t *handle, const uint16_t bf) in TFA9896_GetBits() argument
106 uint8_t len = bf & 0x0f; in TFA9896_GetBits()
107 uint8_t pos = (bf >> 4) & 0x0f; in TFA9896_GetBits()
108 uint8_t address = (bf >> 8) & 0xff; in TFA9896_GetBits()
126 status_t TFA9896_SetBits(tfa9896_handle_t *handle, const uint16_t bf, const uint16_t value) in TFA9896_SetBits() argument
130 uint8_t len = (bf & 0x0f) + 1; in TFA9896_SetBits()
131 uint8_t pos = (bf >> 4) & 0x0f; in TFA9896_SetBits()
132 uint8_t address = (bf >> 8) & 0xff; in TFA9896_SetBits()
[all …]
Dfsl_tfa9896.h371 uint16_t TFA9896_GetBits(tfa9896_handle_t *handle, const uint16_t bf);
380 status_t TFA9896_SetBits(tfa9896_handle_t *handle, const uint16_t bf, const uint16_t value);
/hal_nxp-latest/mcux/mcux-sdk/components/codec/tfa9xxx/vas_tfa_drv/
Dtfa2_dev.c1119 int tfa2_i2c_bf_poll(struct i2c_client *client, uint16_t bf, uint16_t wait_value, int loop) in tfa2_i2c_bf_poll() argument
1132 value = tfa2_i2c_read_bf(client, bf); /* read */ in tfa2_i2c_bf_poll()
1138 …dev_err(&client->dev, "timeout waiting for bitfield:0x%04x, value:%d, %d times\n", bf, wait_value,… in tfa2_i2c_bf_poll()
1226 uint16_t tfa2_i2c_get_bf_value(const uint16_t bf, const uint16_t reg_value) in tfa2_i2c_get_bf_value() argument
1236 uint8_t len = bf & 0x0f; in tfa2_i2c_get_bf_value()
1237 uint8_t pos = (bf >> 4) & 0x0f; in tfa2_i2c_get_bf_value()
1245 int tfa2_i2c_set_bf_value(const uint16_t bf, const uint16_t bf_value, uint16_t *p_reg_value) in tfa2_i2c_set_bf_value() argument
1255 uint8_t len = bf & 0x0f; in tfa2_i2c_set_bf_value()
1256 uint8_t pos = (bf >> 4) & 0x0f; in tfa2_i2c_set_bf_value()
1811 static int set_mtp(struct tfa2_device *tfa, uint16_t bf, uint16_t value) in set_mtp() argument
[all …]
Dtfa2_dev.h407 int tfa2_i2c_set_bf_value(const uint16_t bf, const uint16_t bf_value, uint16_t *p_reg_value);
408 uint16_t tfa2_i2c_get_bf_value(const uint16_t bf, const uint16_t reg_value);
470 int tfa2_i2c_bf_poll(struct i2c_client *client, uint16_t bf, uint16_t value, int loop);
Dtfa2_container.h336 int tfaRunWriteBitfield(struct tfa2_device *tfa, nxpTfaBitfield_t bf);
377 int tfaRunReadBitfield(struct tfa2_device *tfa, nxpTfaBitfield_t *bf);