Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/i3c/
Di3c_cdns.c2857 uint32_t thr_ctrl = sys_read32(config->base + SLV_DDR_TX_RX_THR_CTRL); in cdns_i3c_target_tx_ddr_write() local
2864 thr_ctrl &= ~TX_THR_MASK; in cdns_i3c_target_tx_ddr_write()
2865 thr_ctrl |= TX_THR(MIN((data->hw_cfg.tx_mem_depth / 4) / 2, len / 2)); in cdns_i3c_target_tx_ddr_write()
2867 sys_write32(thr_ctrl, config->base + SLV_DDR_TX_RX_THR_CTRL); in cdns_i3c_target_tx_ddr_write()
2946 uint32_t thr_ctrl = sys_read32(config->base + TX_RX_THR_CTRL); in cdns_i3c_target_tx_write() local
2953 thr_ctrl &= ~TX_THR_MASK; in cdns_i3c_target_tx_write()
2954 thr_ctrl |= TX_THR(MIN((data->hw_cfg.tx_mem_depth / 4) / 2, len / 2)); in cdns_i3c_target_tx_write()
2955 sys_write32(thr_ctrl, config->base + TX_RX_THR_CTRL); in cdns_i3c_target_tx_write()