Home
last modified time | relevance | path

Searched refs:fbc (Results 1 - 25 of 54) sorted by relevance

123

/kernel/linux/linux-6.6/include/linux/
H A Dpercpu_counter.h33 int __percpu_counter_init_many(struct percpu_counter *fbc, s64 amount,
37 #define percpu_counter_init_many(fbc, value, gfp, nr_counters) \
41 __percpu_counter_init_many(fbc, value, gfp, nr_counters,\
46 #define percpu_counter_init(fbc, value, gfp) \
47 percpu_counter_init_many(fbc, value, gfp, 1)
49 void percpu_counter_destroy_many(struct percpu_counter *fbc, u32 nr_counters);
50 static inline void percpu_counter_destroy(struct percpu_counter *fbc) in percpu_counter_destroy() argument
52 percpu_counter_destroy_many(fbc, 1); in percpu_counter_destroy()
55 void percpu_counter_set(struct percpu_counter *fbc, s64 amount);
56 void percpu_counter_add_batch(struct percpu_counter *fbc, s6
62 percpu_counter_compare(struct percpu_counter *fbc, s64 rhs) percpu_counter_compare() argument
67 percpu_counter_add(struct percpu_counter *fbc, s64 amount) percpu_counter_add() argument
83 percpu_counter_add_local(struct percpu_counter *fbc, s64 amount) percpu_counter_add_local() argument
88 percpu_counter_sum_positive(struct percpu_counter *fbc) percpu_counter_sum_positive() argument
94 percpu_counter_sum(struct percpu_counter *fbc) percpu_counter_sum() argument
99 percpu_counter_read(struct percpu_counter *fbc) percpu_counter_read() argument
109 percpu_counter_read_positive(struct percpu_counter *fbc) percpu_counter_read_positive() argument
119 percpu_counter_initialized(struct percpu_counter *fbc) percpu_counter_initialized() argument
130 percpu_counter_init_many(struct percpu_counter *fbc, s64 amount, gfp_t gfp, u32 nr_counters) percpu_counter_init_many() argument
142 percpu_counter_init(struct percpu_counter *fbc, s64 amount, gfp_t gfp) percpu_counter_init() argument
148 percpu_counter_destroy_many(struct percpu_counter *fbc, u32 nr_counters) percpu_counter_destroy_many() argument
153 percpu_counter_destroy(struct percpu_counter *fbc) percpu_counter_destroy() argument
157 percpu_counter_set(struct percpu_counter *fbc, s64 amount) percpu_counter_set() argument
162 percpu_counter_compare(struct percpu_counter *fbc, s64 rhs) percpu_counter_compare() argument
173 __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch) __percpu_counter_compare() argument
179 percpu_counter_add(struct percpu_counter *fbc, s64 amount) percpu_counter_add() argument
190 percpu_counter_add_local(struct percpu_counter *fbc, s64 amount) percpu_counter_add_local() argument
196 percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount, s32 batch) percpu_counter_add_batch() argument
201 percpu_counter_read(struct percpu_counter *fbc) percpu_counter_read() argument
210 percpu_counter_read_positive(struct percpu_counter *fbc) percpu_counter_read_positive() argument
215 percpu_counter_sum_positive(struct percpu_counter *fbc) percpu_counter_sum_positive() argument
220 percpu_counter_sum(struct percpu_counter *fbc) percpu_counter_sum() argument
225 percpu_counter_initialized(struct percpu_counter *fbc) percpu_counter_initialized() argument
230 percpu_counter_sync(struct percpu_counter *fbc) percpu_counter_sync() argument
235 percpu_counter_inc(struct percpu_counter *fbc) percpu_counter_inc() argument
240 percpu_counter_dec(struct percpu_counter *fbc) percpu_counter_dec() argument
245 percpu_counter_sub(struct percpu_counter *fbc, s64 amount) percpu_counter_sub() argument
251 percpu_counter_sub_local(struct percpu_counter *fbc, s64 amount) percpu_counter_sub_local() argument
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dpercpu_counter.h31 int __percpu_counter_init(struct percpu_counter *fbc, s64 amount, gfp_t gfp,
34 #define percpu_counter_init(fbc, value, gfp) \
38 __percpu_counter_init(fbc, value, gfp, &__key); \
41 void percpu_counter_destroy(struct percpu_counter *fbc);
42 void percpu_counter_set(struct percpu_counter *fbc, s64 amount);
43 void percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount,
45 s64 __percpu_counter_sum(struct percpu_counter *fbc);
46 int __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch);
47 void percpu_counter_sync(struct percpu_counter *fbc);
49 static inline int percpu_counter_compare(struct percpu_counter *fbc, s6 argument
54 percpu_counter_add(struct percpu_counter *fbc, s64 amount) percpu_counter_add() argument
59 percpu_counter_sum_positive(struct percpu_counter *fbc) percpu_counter_sum_positive() argument
65 percpu_counter_sum(struct percpu_counter *fbc) percpu_counter_sum() argument
70 percpu_counter_read(struct percpu_counter *fbc) percpu_counter_read() argument
80 percpu_counter_read_positive(struct percpu_counter *fbc) percpu_counter_read_positive() argument
90 percpu_counter_initialized(struct percpu_counter *fbc) percpu_counter_initialized() argument
101 percpu_counter_init(struct percpu_counter *fbc, s64 amount, gfp_t gfp) percpu_counter_init() argument
108 percpu_counter_destroy(struct percpu_counter *fbc) percpu_counter_destroy() argument
112 percpu_counter_set(struct percpu_counter *fbc, s64 amount) percpu_counter_set() argument
117 percpu_counter_compare(struct percpu_counter *fbc, s64 rhs) percpu_counter_compare() argument
128 __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch) __percpu_counter_compare() argument
134 percpu_counter_add(struct percpu_counter *fbc, s64 amount) percpu_counter_add() argument
142 percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount, s32 batch) percpu_counter_add_batch() argument
147 percpu_counter_read(struct percpu_counter *fbc) percpu_counter_read() argument
156 percpu_counter_read_positive(struct percpu_counter *fbc) percpu_counter_read_positive() argument
161 percpu_counter_sum_positive(struct percpu_counter *fbc) percpu_counter_sum_positive() argument
166 percpu_counter_sum(struct percpu_counter *fbc) percpu_counter_sum() argument
171 percpu_counter_initialized(struct percpu_counter *fbc) percpu_counter_initialized() argument
176 percpu_counter_sync(struct percpu_counter *fbc) percpu_counter_sync() argument
181 percpu_counter_inc(struct percpu_counter *fbc) percpu_counter_inc() argument
186 percpu_counter_dec(struct percpu_counter *fbc) percpu_counter_dec() argument
191 percpu_counter_sub(struct percpu_counter *fbc, s64 amount) percpu_counter_sub() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_fbc.c64 for_each_if((__fbc) = (__dev_priv)->display.fbc[(__fbc_id)])
67 void (*activate)(struct intel_fbc *fbc);
68 void (*deactivate)(struct intel_fbc *fbc);
69 bool (*is_active)(struct intel_fbc *fbc);
70 bool (*is_compressing)(struct intel_fbc *fbc);
71 void (*nuke)(struct intel_fbc *fbc);
72 void (*program_cfb)(struct intel_fbc *fbc);
73 void (*set_false_color)(struct intel_fbc *fbc, bool enable);
226 static u32 i8xx_fbc_ctl(struct intel_fbc *fbc) in i8xx_fbc_ctl() argument
228 const struct intel_fbc_state *fbc_state = &fbc in i8xx_fbc_ctl()
254 i965_fbc_ctl2(struct intel_fbc *fbc) i965_fbc_ctl2() argument
268 i8xx_fbc_deactivate(struct intel_fbc *fbc) i8xx_fbc_deactivate() argument
289 i8xx_fbc_activate(struct intel_fbc *fbc) i8xx_fbc_activate() argument
310 i8xx_fbc_is_active(struct intel_fbc *fbc) i8xx_fbc_is_active() argument
315 i8xx_fbc_is_compressing(struct intel_fbc *fbc) i8xx_fbc_is_compressing() argument
321 i8xx_fbc_nuke(struct intel_fbc *fbc) i8xx_fbc_nuke() argument
331 i8xx_fbc_program_cfb(struct intel_fbc *fbc) i8xx_fbc_program_cfb() argument
356 i965_fbc_nuke(struct intel_fbc *fbc) i965_fbc_nuke() argument
375 g4x_dpfc_ctl_limit(struct intel_fbc *fbc) g4x_dpfc_ctl_limit() argument
390 g4x_dpfc_ctl(struct intel_fbc *fbc) g4x_dpfc_ctl() argument
412 g4x_fbc_activate(struct intel_fbc *fbc) g4x_fbc_activate() argument
424 g4x_fbc_deactivate(struct intel_fbc *fbc) g4x_fbc_deactivate() argument
437 g4x_fbc_is_active(struct intel_fbc *fbc) g4x_fbc_is_active() argument
442 g4x_fbc_is_compressing(struct intel_fbc *fbc) g4x_fbc_is_compressing() argument
447 g4x_fbc_program_cfb(struct intel_fbc *fbc) g4x_fbc_program_cfb() argument
464 ilk_fbc_activate(struct intel_fbc *fbc) ilk_fbc_activate() argument
476 ilk_fbc_deactivate(struct intel_fbc *fbc) ilk_fbc_deactivate() argument
489 ilk_fbc_is_active(struct intel_fbc *fbc) ilk_fbc_is_active() argument
494 ilk_fbc_is_compressing(struct intel_fbc *fbc) ilk_fbc_is_compressing() argument
499 ilk_fbc_program_cfb(struct intel_fbc *fbc) ilk_fbc_program_cfb() argument
516 snb_fbc_program_fence(struct intel_fbc *fbc) snb_fbc_program_fence() argument
529 snb_fbc_activate(struct intel_fbc *fbc) snb_fbc_activate() argument
536 snb_fbc_nuke(struct intel_fbc *fbc) snb_fbc_nuke() argument
553 glk_fbc_program_cfb_stride(struct intel_fbc *fbc) glk_fbc_program_cfb_stride() argument
566 skl_fbc_program_cfb_stride(struct intel_fbc *fbc) skl_fbc_program_cfb_stride() argument
582 ivb_dpfc_ctl(struct intel_fbc *fbc) ivb_dpfc_ctl() argument
602 ivb_fbc_activate(struct intel_fbc *fbc) ivb_fbc_activate() argument
618 ivb_fbc_is_compressing(struct intel_fbc *fbc) ivb_fbc_is_compressing() argument
623 ivb_fbc_set_false_color(struct intel_fbc *fbc, bool enable) ivb_fbc_set_false_color() argument
640 intel_fbc_hw_is_active(struct intel_fbc *fbc) intel_fbc_hw_is_active() argument
645 intel_fbc_hw_activate(struct intel_fbc *fbc) intel_fbc_hw_activate() argument
655 intel_fbc_hw_deactivate(struct intel_fbc *fbc) intel_fbc_hw_deactivate() argument
664 intel_fbc_is_compressing(struct intel_fbc *fbc) intel_fbc_is_compressing() argument
669 intel_fbc_nuke(struct intel_fbc *fbc) intel_fbc_nuke() argument
681 intel_fbc_activate(struct intel_fbc *fbc) intel_fbc_activate() argument
691 intel_fbc_deactivate(struct intel_fbc *fbc, const char *reason) intel_fbc_deactivate() argument
744 find_compression_limit(struct intel_fbc *fbc, unsigned int size, int min_limit) find_compression_limit() argument
769 intel_fbc_alloc_cfb(struct intel_fbc *fbc, unsigned int size, int min_limit) intel_fbc_alloc_cfb() argument
810 intel_fbc_program_cfb(struct intel_fbc *fbc) intel_fbc_program_cfb() argument
815 intel_fbc_program_workarounds(struct intel_fbc *fbc) intel_fbc_program_workarounds() argument
823 __intel_fbc_cleanup_cfb(struct intel_fbc *fbc) __intel_fbc_cleanup_cfb() argument
838 struct intel_fbc *fbc; intel_fbc_cleanup() local
981 struct intel_fbc *fbc = plane->fbc; intel_fbc_update_state() local
1031 struct intel_fbc *fbc = plane->fbc; intel_fbc_is_cfb_ok() local
1054 struct intel_fbc *fbc = plane->fbc; intel_fbc_check_plane() local
1229 struct intel_fbc *fbc = plane->fbc; __intel_fbc_pre_update() local
1270 struct intel_fbc *fbc = plane->fbc; intel_fbc_pre_update() local
1286 __intel_fbc_disable(struct intel_fbc *fbc) __intel_fbc_disable() argument
1304 __intel_fbc_post_update(struct intel_fbc *fbc) __intel_fbc_post_update() argument
1324 struct intel_fbc *fbc = plane->fbc; intel_fbc_post_update() local
1338 intel_fbc_get_frontbuffer_bit(struct intel_fbc *fbc) intel_fbc_get_frontbuffer_bit() argument
1346 __intel_fbc_invalidate(struct intel_fbc *fbc, unsigned int frontbuffer_bits, enum fb_op_origin origin) __intel_fbc_invalidate() argument
1370 struct intel_fbc *fbc; intel_fbc_invalidate() local
1378 __intel_fbc_flush(struct intel_fbc *fbc, unsigned int frontbuffer_bits, enum fb_op_origin origin) __intel_fbc_flush() argument
1409 struct intel_fbc *fbc; intel_fbc_flush() local
1440 struct intel_fbc *fbc = plane->fbc; __intel_fbc_enable() local
1500 struct intel_fbc *fbc = plane->fbc; intel_fbc_disable() local
1522 struct intel_fbc *fbc = plane->fbc; intel_fbc_update() local
1543 struct intel_fbc *fbc = container_of(work, typeof(*fbc), underrun_work); intel_fbc_underrun_work_fn() local
1563 __intel_fbc_reset_underrun(struct intel_fbc *fbc) __intel_fbc_reset_underrun() argument
1590 struct intel_fbc *fbc; intel_fbc_reset_underrun() local
1597 __intel_fbc_handle_fifo_underrun_irq(struct intel_fbc *fbc) __intel_fbc_handle_fifo_underrun_irq() argument
1629 struct intel_fbc *fbc; intel_fbc_handle_fifo_underrun_irq() local
1672 intel_fbc_add_plane(struct intel_fbc *fbc, struct intel_plane *plane) intel_fbc_add_plane() argument
1680 struct intel_fbc *fbc; intel_fbc_create() local
1738 struct intel_fbc *fbc; intel_fbc_sanitize() local
1749 struct intel_fbc *fbc = m->private; intel_fbc_debugfs_status_show() local
1792 struct intel_fbc *fbc = data; intel_fbc_debugfs_false_color_get() local
1801 struct intel_fbc *fbc = data; intel_fbc_debugfs_false_color_set() local
1820 intel_fbc_debugfs_add(struct intel_fbc *fbc, struct dentry *parent) intel_fbc_debugfs_add() argument
1843 struct intel_fbc *fbc; intel_fbc_debugfs_register() local
[all...]
H A Dintel_wm_types.h28 u16 fbc; member
34 u16 fbc; member
H A Di9xx_wm.c726 FW_WM(wm->sr.fbc, FBC_SR) | in g4x_write_wm_values()
727 FW_WM(wm->hpll.fbc, FBC_HPLL_SR) | in g4x_write_wm_values()
957 dirty |= raw->fbc != value; in g4x_raw_fbc_wm_set()
958 raw->fbc = value; in g4x_raw_fbc_wm_set()
1012 dirty |= raw->fbc != wm; in g4x_raw_plane_wm_compute()
1013 raw->fbc = wm; in g4x_raw_plane_wm_compute()
1034 crtc_state->wm.g4x.raw[G4X_WM_LEVEL_SR].fbc, in g4x_raw_plane_wm_compute()
1035 crtc_state->wm.g4x.raw[G4X_WM_LEVEL_HPLL].fbc); in g4x_raw_plane_wm_compute()
1077 wm_state->sr.fbc = USHRT_MAX; in g4x_invalidate_wms()
1084 wm_state->hpll.fbc in g4x_invalidate_wms()
2310 u16 fbc; global() member
[all...]
H A Dintel_fbc.h43 void intel_fbc_add_plane(struct intel_fbc *fbc, struct intel_plane *plane);
H A Dintel_display_trace.h208 __field(bool, fbc)
221 __entry->sr_fbc = wm->sr.fbc;
224 __entry->hpll_fbc = wm->hpll.fbc;
227 __entry->fbc = wm->fbc_en;
230 TP_printk("dev %s, pipe %c, frame=%u, scanline=%u, wm %d/%d/%d, sr %s/%d/%d/%d, hpll %s/%d/%d/%d, fbc %s",
236 str_yes_no(__entry->fbc))
/kernel/linux/linux-6.6/lib/
H A 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
56 debug_percpu_counter_deactivate(struct percpu_counter *fbc) debug_percpu_counter_deactivate() argument
60 percpu_counter_set(struct percpu_counter *fbc, s64 amount) percpu_counter_set() argument
87 percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount, s32 batch) percpu_counter_add_batch() argument
112 percpu_counter_sync(struct percpu_counter *fbc) percpu_counter_sync() argument
137 __percpu_counter_sum(struct percpu_counter *fbc) __percpu_counter_sum() argument
154 __percpu_counter_init_many(struct percpu_counter *fbc, s64 amount, gfp_t gfp, u32 nr_counters, struct lock_class_key *key) __percpu_counter_init_many() argument
193 percpu_counter_destroy_many(struct percpu_counter *fbc, u32 nr_counters) percpu_counter_destroy_many() argument
235 struct percpu_counter *fbc; percpu_counter_cpu_dead() local
258 __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch) __percpu_counter_compare() argument
[all...]
/kernel/linux/linux-5.10/lib/
H A 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
56 debug_percpu_counter_deactivate(struct percpu_counter *fbc) debug_percpu_counter_deactivate() argument
60 percpu_counter_set(struct percpu_counter *fbc, s64 amount) percpu_counter_set() argument
82 percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount, s32 batch) percpu_counter_add_batch() argument
107 percpu_counter_sync(struct percpu_counter *fbc) percpu_counter_sync() argument
124 __percpu_counter_sum(struct percpu_counter *fbc) __percpu_counter_sum() argument
141 __percpu_counter_init(struct percpu_counter *fbc, s64 amount, gfp_t gfp, struct lock_class_key *key) __percpu_counter_init() argument
165 percpu_counter_destroy(struct percpu_counter *fbc) percpu_counter_destroy() argument
198 struct percpu_counter *fbc; percpu_counter_cpu_dead() local
221 __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch) __percpu_counter_compare() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
H A Dintel_fbc.c101 struct intel_fbc_reg_params *params = &dev_priv->fbc.params; in i8xx_fbc_activate()
106 /* Note: fbc.threshold == 1 for i8xx */ in i8xx_fbc_activate()
152 struct intel_fbc_reg_params *params = &dev_priv->fbc.params; in g4x_fbc_activate()
192 struct intel_fbc_reg_params *params = &dev_priv->fbc.params; in i8xx_fbc_recompress()
203 struct intel_fbc_reg_params *params = &dev_priv->fbc.params; in i965_fbc_recompress()
215 struct intel_fbc *fbc = &dev_priv->fbc; in snb_fbc_recompress() local
217 trace_intel_fbc_nuke(fbc->crtc); in snb_fbc_recompress()
235 struct intel_fbc_reg_params *params = &dev_priv->fbc.params; in ilk_fbc_activate()
237 int threshold = dev_priv->fbc in ilk_fbc_activate()
367 struct intel_fbc *fbc = &dev_priv->fbc; intel_fbc_hw_activate() local
386 struct intel_fbc *fbc = &dev_priv->fbc; intel_fbc_hw_deactivate() local
417 struct intel_fbc *fbc = &dev_priv->fbc; intel_fbc_deactivate() local
489 struct intel_fbc *fbc = &dev_priv->fbc; intel_fbc_alloc_cfb() local
554 struct intel_fbc *fbc = &dev_priv->fbc; __intel_fbc_cleanup_cfb() local
572 struct intel_fbc *fbc = &dev_priv->fbc; intel_fbc_cleanup_cfb() local
653 struct intel_fbc *fbc = &dev_priv->fbc; intel_fbc_hw_tracking_covers_screen() local
699 struct intel_fbc *fbc = &dev_priv->fbc; intel_fbc_update_state_cache() local
749 struct intel_fbc *fbc = &dev_priv->fbc; intel_fbc_cfb_size_changed() local
757 struct intel_fbc *fbc = &dev_priv->fbc; intel_fbc_gen9_wa_cfb_stride() local
769 struct intel_fbc *fbc = &dev_priv->fbc; intel_fbc_gen9_wa_cfb_stride_changed() local
776 struct intel_fbc *fbc = &dev_priv->fbc; intel_fbc_can_enable() local
799 struct intel_fbc *fbc = &dev_priv->fbc; intel_fbc_can_activate() local
917 struct intel_fbc *fbc = &dev_priv->fbc; intel_fbc_get_reg_params() local
948 const struct intel_fbc *fbc = &dev_priv->fbc; intel_fbc_can_flip_nuke() local
988 struct intel_fbc *fbc = &dev_priv->fbc; intel_fbc_pre_update() local
1039 struct intel_fbc *fbc = &dev_priv->fbc; __intel_fbc_disable() local
1057 struct intel_fbc *fbc = &dev_priv->fbc; __intel_fbc_post_update() local
1091 struct intel_fbc *fbc = &dev_priv->fbc; intel_fbc_post_update() local
1101 intel_fbc_get_frontbuffer_bit(struct intel_fbc *fbc) intel_fbc_get_frontbuffer_bit() argument
1113 struct intel_fbc *fbc = &dev_priv->fbc; intel_fbc_invalidate() local
1134 struct intel_fbc *fbc = &dev_priv->fbc; intel_fbc_flush() local
1181 struct intel_fbc *fbc = &dev_priv->fbc; intel_fbc_choose_crtc() local
1244 struct intel_fbc *fbc = &dev_priv->fbc; intel_fbc_enable() local
1298 struct intel_fbc *fbc = &dev_priv->fbc; intel_fbc_disable() local
1317 struct intel_fbc *fbc = &dev_priv->fbc; intel_fbc_global_disable() local
1334 struct intel_fbc *fbc = &dev_priv->fbc; intel_fbc_underrun_work_fn() local
1395 struct intel_fbc *fbc = &dev_priv->fbc; intel_fbc_handle_fifo_underrun_irq() local
1463 struct intel_fbc *fbc = &dev_priv->fbc; intel_fbc_init() local
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/
H A Dcg6.c258 struct cg6_fbc __iomem *fbc; member
272 struct cg6_fbc __iomem *fbc = par->fbc; in cg6_sync() local
276 if (!(sbus_readl(&fbc->s) & 0x10000000)) in cg6_sync()
320 struct cg6_fbc __iomem *fbc = par->fbc; in cg6_fillrect() local
330 sbus_writel(rect->color, &fbc->fg); in cg6_fillrect()
331 sbus_writel(~(u32)0, &fbc->pixelm); in cg6_fillrect()
332 sbus_writel(0xea80ff00, &fbc->alu); in cg6_fillrect()
333 sbus_writel(0, &fbc in cg6_fillrect()
359 struct cg6_fbc __iomem *fbc = par->fbc; cg6_copyarea() local
397 struct cg6_fbc __iomem *fbc = par->fbc; cg6_imageblit() local
671 struct cg6_fbc __iomem *fbc = par->fbc; cg6_chip_init() local
[all...]
H A Dffb.c242 u32 fbc; member
354 struct ffb_fbc __iomem *fbc; member
378 struct ffb_fbc __iomem *fbc; in FFBFifo() local
382 fbc = par->fbc; in FFBFifo()
384 cache = (upa_readl(&fbc->ucsr) & FFB_UCSR_FIFO_MASK); in FFBFifo()
393 struct ffb_fbc __iomem *fbc; in FFBWait() local
396 fbc = par->fbc; in FFBWait()
398 if ((upa_readl(&fbc in FFBWait()
426 struct ffb_fbc __iomem *fbc = par->fbc; ffb_switch_from_graph() local
479 struct ffb_fbc __iomem *fbc = par->fbc; ffb_fillrect() local
519 struct ffb_fbc __iomem *fbc = par->fbc; ffb_copyarea() local
553 struct ffb_fbc __iomem *fbc = par->fbc; ffb_imageblit() local
900 struct ffb_fbc __iomem *fbc; ffb_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/
H A Dcg6.c259 struct cg6_fbc __iomem *fbc; member
273 struct cg6_fbc __iomem *fbc = par->fbc; in cg6_sync() local
277 if (!(sbus_readl(&fbc->s) & 0x10000000)) in cg6_sync()
321 struct cg6_fbc __iomem *fbc = par->fbc; in cg6_fillrect() local
331 sbus_writel(rect->color, &fbc->fg); in cg6_fillrect()
332 sbus_writel(~(u32)0, &fbc->pixelm); in cg6_fillrect()
333 sbus_writel(0xea80ff00, &fbc->alu); in cg6_fillrect()
334 sbus_writel(0, &fbc in cg6_fillrect()
360 struct cg6_fbc __iomem *fbc = par->fbc; cg6_copyarea() local
398 struct cg6_fbc __iomem *fbc = par->fbc; cg6_imageblit() local
672 struct cg6_fbc __iomem *fbc = par->fbc; cg6_chip_init() local
[all...]
H A Dffb.c243 u32 fbc; member
355 struct ffb_fbc __iomem *fbc; member
379 struct ffb_fbc __iomem *fbc; in FFBFifo() local
383 fbc = par->fbc; in FFBFifo()
385 cache = (upa_readl(&fbc->ucsr) & FFB_UCSR_FIFO_MASK); in FFBFifo()
394 struct ffb_fbc __iomem *fbc; in FFBWait() local
397 fbc = par->fbc; in FFBWait()
399 if ((upa_readl(&fbc in FFBWait()
427 struct ffb_fbc __iomem *fbc = par->fbc; ffb_switch_from_graph() local
480 struct ffb_fbc __iomem *fbc = par->fbc; ffb_fillrect() local
520 struct ffb_fbc __iomem *fbc = par->fbc; ffb_copyarea() local
554 struct ffb_fbc __iomem *fbc = par->fbc; ffb_imageblit() local
901 struct ffb_fbc __iomem *fbc; ffb_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Dwq.h52 struct mlx5_frag_buf_ctrl fbc; member
65 struct mlx5_frag_buf_ctrl fbc; member
71 struct mlx5_frag_buf_ctrl fbc; member
102 return (u32)wq->fbc.sz_m1 + 1; in mlx5_wq_cyc_get_size()
144 return ctr & wq->fbc.sz_m1; in mlx5_wq_cyc_ctr2ix()
159 return mlx5_frag_buf_get_wqe(&wq->fbc, ix); in mlx5_wq_cyc_get_wqe()
164 return mlx5_frag_buf_get_idx_last_contig_stride(&wq->fbc, ix) - ix + 1; in mlx5_wq_cyc_get_contig_wqebbs()
182 return wq->fbc.sz_m1 + 1; in mlx5_cqwq_get_size()
187 return wq->fbc.log_stride; in mlx5_cqwq_get_log_stride_size()
192 return ctr & wq->fbc in mlx5_cqwq_ctr2ix()
[all...]
H A Dwq.c48 struct mlx5_frag_buf_ctrl *fbc = &wq->fbc; in mlx5_wq_cyc_create() local
66 mlx5_init_fbc(wq_ctrl->buf.frags, log_wq_stride, log_wq_sz, fbc); in mlx5_wq_cyc_create()
89 len = nstrides << wq->fbc.log_stride; in mlx5_wq_cyc_wqe_dump()
133 mlx5_init_fbc(wq_ctrl->buf.frags, log_rq_stride, log_rq_sz, &wq->rq.fbc); in mlx5_wq_qp_create()
143 &wq->sq.fbc); in mlx5_wq_qp_create()
148 log_sq_stride, log_sq_sz, &wq->sq.fbc); in mlx5_wq_qp_create()
190 mlx5_init_fbc(wq_ctrl->buf.frags, log_wq_stride, log_wq_sz, &wq->fbc); in mlx5_cqwq_create()
207 for (i = 0; i < wq->fbc.sz_m1; i++) { in mlx5_wq_ll_init_list()
221 struct mlx5_frag_buf_ctrl *fbc in mlx5_wq_ll_create() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Dwq.h52 struct mlx5_frag_buf_ctrl fbc; member
65 struct mlx5_frag_buf_ctrl fbc; member
71 struct mlx5_frag_buf_ctrl fbc; member
102 return (u32)wq->fbc.sz_m1 + 1; in mlx5_wq_cyc_get_size()
144 return ctr & wq->fbc.sz_m1; in mlx5_wq_cyc_ctr2ix()
159 return mlx5_frag_buf_get_wqe(&wq->fbc, ix); in mlx5_wq_cyc_get_wqe()
164 return mlx5_frag_buf_get_idx_last_contig_stride(&wq->fbc, ix) - ix + 1; in mlx5_wq_cyc_get_contig_wqebbs()
182 return wq->fbc.sz_m1 + 1; in mlx5_cqwq_get_size()
187 return wq->fbc.log_stride; in mlx5_cqwq_get_log_stride_size()
192 return ctr & wq->fbc in mlx5_cqwq_ctr2ix()
[all...]
H A Dwq.c43 struct mlx5_frag_buf_ctrl *fbc = &wq->fbc; in mlx5_wq_cyc_create() local
61 mlx5_init_fbc(wq_ctrl->buf.frags, log_wq_stride, log_wq_sz, fbc); in mlx5_wq_cyc_create()
84 len = nstrides << wq->fbc.log_stride; in mlx5_wq_cyc_wqe_dump()
128 mlx5_init_fbc(wq_ctrl->buf.frags, log_rq_stride, log_rq_sz, &wq->rq.fbc); in mlx5_wq_qp_create()
138 &wq->sq.fbc); in mlx5_wq_qp_create()
143 log_sq_stride, log_sq_sz, &wq->sq.fbc); in mlx5_wq_qp_create()
185 mlx5_init_fbc(wq_ctrl->buf.frags, log_wq_stride, log_wq_sz, &wq->fbc); in mlx5_cqwq_create()
202 for (i = 0; i < wq->fbc.sz_m1; i++) { in mlx5_wq_ll_init_list()
216 struct mlx5_frag_buf_ctrl *fbc in mlx5_wq_ll_create() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Deq.h25 struct mlx5_frag_buf_ctrl fbc; member
53 return eq->fbc.sz_m1 + 1; in eq_get_size()
58 return mlx5_frag_buf_get_wqe(&eq->fbc, entry); in get_eqe()
63 struct mlx5_eqe *eqe = get_eqe(eq, eq->cons_index & eq->fbc.sz_m1); in next_eqe_sw()
65 return (eqe->owner ^ (eq->cons_index >> eq->fbc.log_sz)) & 1 ? NULL : eqe; in next_eqe_sw()
/kernel/linux/linux-5.10/include/linux/mlx5/
H A Ddriver.h856 struct mlx5_frag_buf_ctrl *fbc) in mlx5_init_fbc_offset()
858 fbc->frags = frags; in mlx5_init_fbc_offset()
859 fbc->log_stride = log_stride; in mlx5_init_fbc_offset()
860 fbc->log_sz = log_sz; in mlx5_init_fbc_offset()
861 fbc->sz_m1 = (1 << fbc->log_sz) - 1; in mlx5_init_fbc_offset()
862 fbc->log_frag_strides = PAGE_SHIFT - fbc->log_stride; in mlx5_init_fbc_offset()
863 fbc->frag_sz_m1 = (1 << fbc in mlx5_init_fbc_offset()
853 mlx5_init_fbc_offset(struct mlx5_buf_list *frags, u8 log_stride, u8 log_sz, u16 strides_offset, struct mlx5_frag_buf_ctrl *fbc) mlx5_init_fbc_offset() argument
867 mlx5_init_fbc(struct mlx5_buf_list *frags, u8 log_stride, u8 log_sz, struct mlx5_frag_buf_ctrl *fbc) mlx5_init_fbc() argument
874 mlx5_frag_buf_get_wqe(struct mlx5_frag_buf_ctrl *fbc, u32 ix) mlx5_frag_buf_get_wqe() argument
886 mlx5_frag_buf_get_idx_last_contig_stride(struct mlx5_frag_buf_ctrl *fbc, u32 ix) mlx5_frag_buf_get_idx_last_contig_stride() argument
[all...]
/kernel/linux/linux-6.6/include/linux/mlx5/
H A Ddriver.h936 struct mlx5_frag_buf_ctrl *fbc) in mlx5_init_fbc_offset()
938 fbc->frags = frags; in mlx5_init_fbc_offset()
939 fbc->log_stride = log_stride; in mlx5_init_fbc_offset()
940 fbc->log_sz = log_sz; in mlx5_init_fbc_offset()
941 fbc->sz_m1 = (1 << fbc->log_sz) - 1; in mlx5_init_fbc_offset()
942 fbc->log_frag_strides = PAGE_SHIFT - fbc->log_stride; in mlx5_init_fbc_offset()
943 fbc->frag_sz_m1 = (1 << fbc in mlx5_init_fbc_offset()
933 mlx5_init_fbc_offset(struct mlx5_buf_list *frags, u8 log_stride, u8 log_sz, u16 strides_offset, struct mlx5_frag_buf_ctrl *fbc) mlx5_init_fbc_offset() argument
947 mlx5_init_fbc(struct mlx5_buf_list *frags, u8 log_stride, u8 log_sz, struct mlx5_frag_buf_ctrl *fbc) mlx5_init_fbc() argument
954 mlx5_frag_buf_get_wqe(struct mlx5_frag_buf_ctrl *fbc, u32 ix) mlx5_frag_buf_get_wqe() argument
966 mlx5_frag_buf_get_idx_last_contig_stride(struct mlx5_frag_buf_ctrl *fbc, u32 ix) mlx5_frag_buf_get_idx_last_contig_stride() argument
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
H A Dwr.h38 (&sq->fbc, in get_sq_edge()
39 mlx5_frag_buf_get_idx_last_contig_stride(&sq->fbc, idx)); in get_sq_edge()
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/
H A Dwr.h38 (&sq->fbc, in get_sq_edge()
39 mlx5_frag_buf_get_idx_last_contig_stride(&sq->fbc, idx)); in get_sq_edge()
62 *seg = mlx5_frag_buf_get_wqe(&sq->fbc, idx); in handle_post_send_edge()
/kernel/linux/linux-6.6/drivers/vfio/pci/mlx5/
H A Dcmd.h110 struct mlx5_frag_buf_ctrl fbc; member
143 struct mlx5_frag_buf_ctrl fbc; member
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
H A Dintel_pm.c985 FW_WM(wm->sr.fbc, FBC_SR) | in g4x_write_wm_values()
986 FW_WM(wm->hpll.fbc, FBC_HPLL_SR) | in g4x_write_wm_values()
1221 dirty |= raw->fbc != value; in g4x_raw_fbc_wm_set()
1222 raw->fbc = value; in g4x_raw_fbc_wm_set()
1277 dirty |= raw->fbc != wm; in g4x_raw_plane_wm_compute()
1278 raw->fbc = wm; in g4x_raw_plane_wm_compute()
1299 crtc_state->wm.g4x.raw[G4X_WM_LEVEL_SR].fbc, in g4x_raw_plane_wm_compute()
1300 crtc_state->wm.g4x.raw[G4X_WM_LEVEL_HPLL].fbc); in g4x_raw_plane_wm_compute()
1342 wm_state->sr.fbc = USHRT_MAX; in g4x_invalidate_wms()
1349 wm_state->hpll.fbc in g4x_invalidate_wms()
2548 u16 fbc; global() member
[all...]

Completed in 27 milliseconds

123