Lines Matching refs:class
39 static void int_mask_and(struct spu *spu, int class, u64 mask) in int_mask_and() argument
43 old_mask = in_be64(&spu->priv1->int_mask_RW[class]); in int_mask_and()
44 out_be64(&spu->priv1->int_mask_RW[class], old_mask & mask); in int_mask_and()
47 static void int_mask_or(struct spu *spu, int class, u64 mask) in int_mask_or() argument
51 old_mask = in_be64(&spu->priv1->int_mask_RW[class]); in int_mask_or()
52 out_be64(&spu->priv1->int_mask_RW[class], old_mask | mask); in int_mask_or()
55 static void int_mask_set(struct spu *spu, int class, u64 mask) in int_mask_set() argument
57 out_be64(&spu->priv1->int_mask_RW[class], mask); in int_mask_set()
60 static u64 int_mask_get(struct spu *spu, int class) in int_mask_get() argument
62 return in_be64(&spu->priv1->int_mask_RW[class]); in int_mask_get()
65 static void int_stat_clear(struct spu *spu, int class, u64 stat) in int_stat_clear() argument
67 out_be64(&spu->priv1->int_stat_RW[class], stat); in int_stat_clear()
70 static u64 int_stat_get(struct spu *spu, int class) in int_stat_get() argument
72 return in_be64(&spu->priv1->int_stat_RW[class]); in int_stat_get()