Lines Matching full:prb
10 * In addition, when the system enters suspend mode, IERB, PRB, and NETCMIX
81 void __iomem *prb; member
197 return !!(netc_reg_read(priv->prb, PRB_NETCRR) & NETCRR_LOCK); in netc_ierb_is_locked()
204 netc_reg_write(priv->prb, PRB_NETCRR, NETCRR_LOCK); in netc_lock_ierb()
207 100, 2000, false, priv->prb, PRB_NETCSR); in netc_lock_ierb()
214 netc_reg_write(priv->prb, PRB_NETCRR, 0); in netc_unlock_ierb_with_warm_reset()
217 1000, 100000, true, priv->prb, PRB_NETCRR); in netc_unlock_ierb_with_warm_reset()
285 val = netc_reg_read(priv->prb, PRB_NETCRR); in netc_prb_show()
286 seq_printf(s, "[PRB NETCRR] Lock:%d SR:%d\n", in netc_prb_show()
290 val = netc_reg_read(priv->prb, PRB_NETCSR); in netc_prb_show()
291 seq_printf(s, "[PRB NETCSR] State:%d Error:%d\n", in netc_prb_show()
309 debugfs_create_file("prb", 0444, root, priv, &netc_prb_fops); in netc_blk_ctrl_create_debugfs()
331 if (netc_reg_read(priv->prb, PRB_NETCSR) & NETCSR_ERROR) in netc_prb_check_error()
385 regs = devm_platform_ioremap_resource_byname(pdev, "prb"); in netc_blk_ctrl_probe()
388 "Missing PRB resource\n"); in netc_blk_ctrl_probe()
390 priv->prb = regs; in netc_blk_ctrl_probe()