Home
last modified time | relevance | path

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

/hal_microchip-latest/mec5/drivers/
Dmec_i2c.c856 int mec_hal_i2c_nl_cm_cfg_start(struct mec_i2c_smb_ctx *ctx, uint16_t ntx, uint16_t nrx, in mec_hal_i2c_nl_cm_cfg_start() argument
867 if (!ntx) { /* Any I2C transaction requires transmit of target address! */ in mec_hal_i2c_nl_cm_cfg_start()
871 ctx->wrcnt = ntx; in mec_hal_i2c_nl_cm_cfg_start()
879 regs->EXTLEN = ((ntx >> 8) & 0xffu) | (nrx & 0xff00u); in mec_hal_i2c_nl_cm_cfg_start()
881 cmd = (uint32_t)(ntx & 0xffu) << MEC_I2C_SMB_CM_CMD_WRCNT_LSB_Pos; in mec_hal_i2c_nl_cm_cfg_start()
1165 int mec_hal_i2c_nl_tm_config(struct mec_i2c_smb_ctx *ctx, uint16_t ntx, uint16_t nrx, in mec_hal_i2c_nl_tm_config() argument
1180 ctx->wrcnt = ntx; in mec_hal_i2c_nl_tm_config()
1202 tm_cmd |= (((uint32_t)ntx << MEC_I2C_SMB_TM_CMD_WRCNT_LSB_Pos) in mec_hal_i2c_nl_tm_config()
1214 elen = (ntx & 0xff00u) >> 8; in mec_hal_i2c_nl_tm_config()
Dmec_i2c_api.h216 int mec_hal_i2c_nl_cm_cfg_start(struct mec_i2c_smb_ctx *ctx, uint16_t ntx, uint16_t nrx,
272 int mec_hal_i2c_nl_tm_config(struct mec_i2c_smb_ctx *ctx, uint16_t ntx, uint16_t nrx,