Lines Matching full:leaf
27 tu102_vfn_intr_reset(struct nvkm_intr *intr, int leaf, u32 mask) in tu102_vfn_intr_reset() argument
31 nvkm_wr32(vfn->subdev.device, vfn->addr.priv + 0x1000 + (leaf * 4), mask); in tu102_vfn_intr_reset()
35 tu102_vfn_intr_allow(struct nvkm_intr *intr, int leaf, u32 mask) in tu102_vfn_intr_allow() argument
39 nvkm_wr32(vfn->subdev.device, vfn->addr.priv + 0x1200 + (leaf * 4), mask); in tu102_vfn_intr_allow()
43 tu102_vfn_intr_block(struct nvkm_intr *intr, int leaf, u32 mask) in tu102_vfn_intr_block() argument
47 nvkm_wr32(vfn->subdev.device, vfn->addr.priv + 0x1400 + (leaf * 4), mask); in tu102_vfn_intr_block()
72 int pending = 0, leaf; in tu102_vfn_intr_pending() local
74 for (leaf = 0; leaf < 8; leaf++) { in tu102_vfn_intr_pending()
75 if (intr_top & BIT(leaf / 2)) { in tu102_vfn_intr_pending()
76 intr->stat[leaf] = nvkm_rd32(device, vfn->addr.priv + 0x1000 + (leaf * 4)); in tu102_vfn_intr_pending()
77 if (intr->stat[leaf]) in tu102_vfn_intr_pending()
80 intr->stat[leaf] = 0; in tu102_vfn_intr_pending()