Home
last modified time | relevance | path

Searched refs:amask (Results 1 – 3 of 3) sorted by relevance

/drivers/irqchip/
Dirq-sifive-plic.c116 struct cpumask amask; in plic_irq_unmask() local
120 cpumask_and(&amask, &priv->lmask, cpu_online_mask); in plic_irq_unmask()
122 &amask); in plic_irq_unmask()
140 struct cpumask amask; in plic_set_affinity() local
143 cpumask_and(&amask, &priv->lmask, mask_val); in plic_set_affinity()
146 cpu = cpumask_first(&amask); in plic_set_affinity()
148 cpu = cpumask_any_and(&amask, cpu_online_mask); in plic_set_affinity()
/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dctxgk104.c941 u64 amask = 0, bmask = 0; in gk104_grctx_generate_alpha_beta_tables() local
959 amask |= (u64)pmask << (gpc * 8); in gk104_grctx_generate_alpha_beta_tables()
971 for (j = 0; j < gr->gpc_nr; j += 4, amask >>= 32, bmask >>= 32) { in gk104_grctx_generate_alpha_beta_tables()
972 nvkm_wr32(device, 0x406800 + (i * 0x20) + j, amask); in gk104_grctx_generate_alpha_beta_tables()
Dctxgf100.c1279 u32 abits[GPC_MAX] = {}, amask = 0, bmask = 0; in gf100_grctx_generate_alpha_beta_tables() local
1297 amask |= ((1 << abits[gpc]) - 1) << (gpc * 8); in gf100_grctx_generate_alpha_beta_tables()
1301 nvkm_wr32(device, 0x406800 + (i * 0x20), amask); in gf100_grctx_generate_alpha_beta_tables()