Lines Matching refs:thld_ctrl
397 u32 thld_ctrl; in dw_i3c_master_start_xfer_locked() local
408 thld_ctrl = readl(master->regs + QUEUE_THLD_CTRL); in dw_i3c_master_start_xfer_locked()
409 thld_ctrl &= ~QUEUE_THLD_CTRL_RESP_BUF_MASK; in dw_i3c_master_start_xfer_locked()
410 thld_ctrl |= QUEUE_THLD_CTRL_RESP_BUF(xfer->ncmds); in dw_i3c_master_start_xfer_locked()
411 writel(thld_ctrl, master->regs + QUEUE_THLD_CTRL); in dw_i3c_master_start_xfer_locked()
535 u32 thld_ctrl; in dw_i3c_master_set_intr_regs() local
537 thld_ctrl = readl(master->regs + QUEUE_THLD_CTRL); in dw_i3c_master_set_intr_regs()
538 thld_ctrl &= ~(QUEUE_THLD_CTRL_RESP_BUF_MASK | in dw_i3c_master_set_intr_regs()
541 thld_ctrl |= QUEUE_THLD_CTRL_IBI_STAT(1) | in dw_i3c_master_set_intr_regs()
543 writel(thld_ctrl, master->regs + QUEUE_THLD_CTRL); in dw_i3c_master_set_intr_regs()
545 thld_ctrl = readl(master->regs + DATA_BUFFER_THLD_CTRL); in dw_i3c_master_set_intr_regs()
546 thld_ctrl &= ~DATA_BUFFER_THLD_CTRL_RX_BUF; in dw_i3c_master_set_intr_regs()
547 writel(thld_ctrl, master->regs + DATA_BUFFER_THLD_CTRL); in dw_i3c_master_set_intr_regs()