Lines Matching defs:cbc
1794 struct thunderx_l2c *cbc = container_of(msix, struct thunderx_l2c,
1797 unsigned long head = ring_pos(cbc->ring_head, ARRAY_SIZE(cbc->err_ctx));
1798 struct l2c_err_ctx *ctx = &cbc->err_ctx[head];
1800 ctx->reg_int = readq(cbc->regs + L2C_CBC_INT_W1C);
1804 ctx->reg_ext = readq(cbc->regs + L2C_CBC_RSDERR);
1807 ctx->reg_ext = readq(cbc->regs + L2C_CBC_MIBERR);
1810 ctx->reg_ext = readq(cbc->regs + L2C_CBC_IODISOCIERR);
1813 writeq(ctx->reg_int, cbc->regs + L2C_CBC_INT_W1C);
1815 cbc->ring_head++;