Searched refs:mctrl (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/drivers/i3c/ |
D | i3c_mcux.c | 584 uint32_t mctrl; in mcux_i3c_request_emit_start() local 587 mctrl = is_i2c ? I3C_MCTRL_TYPE_I2C : I3C_MCTRL_TYPE_I3C; in mcux_i3c_request_emit_start() 588 mctrl |= I3C_MCTRL_IBIRESP_NACK; in mcux_i3c_request_emit_start() 591 mctrl |= I3C_MCTRL_DIR_READ; in mcux_i3c_request_emit_start() 594 mctrl |= I3C_MCTRL_RDTERM(read_sz); in mcux_i3c_request_emit_start() 596 mctrl |= I3C_MCTRL_DIR_WRITE; in mcux_i3c_request_emit_start() 599 mctrl |= I3C_MCTRL_REQUEST_EMIT_START_ADDR | I3C_MCTRL_ADDR(addr); in mcux_i3c_request_emit_start() 601 base->MCTRL = mctrl; in mcux_i3c_request_emit_start()
|
D | i3c_npcx.c | 482 uint32_t mctrl = 0; in npcx_i3c_request_emit_start() local 486 SET_FIELD(mctrl, NPCX_I3C_MCTRL_REQUEST, MCTRL_REQUEST_EMITSTARTADDR); in npcx_i3c_request_emit_start() 489 SET_FIELD(mctrl, NPCX_I3C_MCTRL_TYPE, op_type); in npcx_i3c_request_emit_start() 492 SET_FIELD(mctrl, NPCX_I3C_MCTRL_IBIRESP, MCTRL_IBIRESP_NACK); in npcx_i3c_request_emit_start() 495 SET_FIELD(mctrl, NPCX_I3C_MCTRL_ADDR, addr); in npcx_i3c_request_emit_start() 499 mctrl |= BIT(NPCX_I3C_MCTRL_DIR); in npcx_i3c_request_emit_start() 500 SET_FIELD(mctrl, NPCX_I3C_MCTRL_RDTERM, read_sz); /* Set read length */ in npcx_i3c_request_emit_start() 502 mctrl &= ~BIT(NPCX_I3C_MCTRL_DIR); in npcx_i3c_request_emit_start() 505 ret = npcx_i3c_send_request(inst, mctrl); in npcx_i3c_request_emit_start()
|
/Zephyr-latest/drivers/dma/ |
D | dma_mchp_xec.c | 99 volatile uint32_t mctrl; member 673 regs->mctrl |= BIT(XEC_DMA_MAIN_CTRL_EN_POS); in dmac_xec_pm_action() 761 regs->mctrl = BIT(XEC_DMA_MAIN_CTRL_SRST_POS); in dma_xec_init() 763 regs->mctrl = BIT(XEC_DMA_MAIN_CTRL_EN_POS); in dma_xec_init()
|