35 u32 subp_base = 0x141000 + (unit * 0x2000) + (subp * 0x400);
36 u32 stat = nv_rd32(priv, subp_base + 0x020);
39 nv_info(priv,
"LTC%d_LTS%d: 0x%08x\n", unit, subp, stat);
40 nv_wr32(priv, subp_base + 0x020, stat);
50 units = nv_rd32(priv, 0x00017c);
53 for (subp = 0; subp < priv->
subp_nr; subp++)
54 nvc0_ltcg_subp_isr(priv, unit, subp);
55 units &= ~(1 <<
unit);
61 nv_mask(priv, 0x000640, 0x02000000, 0x00000000);
73 *pobject = nv_object(priv);
77 priv->
subp_nr = nv_rd32(priv, 0x17e8dc) >> 24;
78 nv_mask(priv, 0x17e820, 0x00100000, 0x00000000);
80 nv_subdev(priv)->intr = nvc0_ltcg_intr;
88 .ctor = nvc0_ltcg_ctor,