Home
last modified time | relevance | path

Searched refs:fbc (Results 1 – 5 of 5) sorted by relevance

/linux-3.4.99/include/linux/
Dpercpu_counter.h29 int __percpu_counter_init(struct percpu_counter *fbc, s64 amount,
32 #define percpu_counter_init(fbc, value) \ argument
36 __percpu_counter_init(fbc, value, &__key); \
39 void percpu_counter_destroy(struct percpu_counter *fbc);
40 void percpu_counter_set(struct percpu_counter *fbc, s64 amount);
41 void __percpu_counter_add(struct percpu_counter *fbc, s64 amount, s32 batch);
42 s64 __percpu_counter_sum(struct percpu_counter *fbc);
43 int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs);
45 static inline void percpu_counter_add(struct percpu_counter *fbc, s64 amount) in percpu_counter_add() argument
47 __percpu_counter_add(fbc, amount, percpu_counter_batch); in percpu_counter_add()
[all …]
/linux-3.4.99/lib/
Dpercpu_counter.c24 struct percpu_counter *fbc = addr; in percpu_counter_fixup_free() local
28 percpu_counter_destroy(fbc); in percpu_counter_fixup_free()
29 debug_object_free(fbc, &percpu_counter_debug_descr); in percpu_counter_fixup_free()
41 static inline void debug_percpu_counter_activate(struct percpu_counter *fbc) in debug_percpu_counter_activate() argument
43 debug_object_init(fbc, &percpu_counter_debug_descr); in debug_percpu_counter_activate()
44 debug_object_activate(fbc, &percpu_counter_debug_descr); in debug_percpu_counter_activate()
47 static inline void debug_percpu_counter_deactivate(struct percpu_counter *fbc) in debug_percpu_counter_deactivate() argument
49 debug_object_deactivate(fbc, &percpu_counter_debug_descr); in debug_percpu_counter_deactivate()
50 debug_object_free(fbc, &percpu_counter_debug_descr); in debug_percpu_counter_deactivate()
54 static inline void debug_percpu_counter_activate(struct percpu_counter *fbc) in debug_percpu_counter_activate() argument
[all …]
/linux-3.4.99/drivers/video/
Dcg6.c257 struct cg6_fbc __iomem *fbc; member
271 struct cg6_fbc __iomem *fbc = par->fbc; in cg6_sync() local
275 if (!(sbus_readl(&fbc->s) & 0x10000000)) in cg6_sync()
319 struct cg6_fbc __iomem *fbc = par->fbc; in cg6_fillrect() local
329 sbus_writel(rect->color, &fbc->fg); in cg6_fillrect()
330 sbus_writel(~(u32)0, &fbc->pixelm); in cg6_fillrect()
331 sbus_writel(0xea80ff00, &fbc->alu); in cg6_fillrect()
332 sbus_writel(0, &fbc->s); in cg6_fillrect()
333 sbus_writel(0, &fbc->clip); in cg6_fillrect()
334 sbus_writel(~(u32)0, &fbc->pm); in cg6_fillrect()
[all …]
Dffb.c241 u32 fbc; member
353 struct ffb_fbc __iomem *fbc; member
377 struct ffb_fbc __iomem *fbc; in FFBFifo() local
381 fbc = par->fbc; in FFBFifo()
383 cache = (upa_readl(&fbc->ucsr) & FFB_UCSR_FIFO_MASK); in FFBFifo()
392 struct ffb_fbc __iomem *fbc; in FFBWait() local
395 fbc = par->fbc; in FFBWait()
397 if ((upa_readl(&fbc->ucsr) & FFB_UCSR_ALL_BUSY) == 0) in FFBWait()
399 if ((upa_readl(&fbc->ucsr) & FFB_UCSR_ALL_ERRORS) != 0) { in FFBWait()
400 upa_writel(FFB_UCSR_ALL_ERRORS, &fbc->ucsr); in FFBWait()
[all …]
/linux-3.4.99/arch/m68k/ifpsp060/
Dfplsp.sa1320 dc.l $06413fff,$6000fed2,$4a106bff,$00001fbc