/Linux-v6.1/drivers/gpu/drm/i915/display/ |
D | intel_fbc.c | 62 for_each_if((__fbc) = (__dev_priv)->display.fbc[(__fbc_id)]) 65 void (*activate)(struct intel_fbc *fbc); 66 void (*deactivate)(struct intel_fbc *fbc); 67 bool (*is_active)(struct intel_fbc *fbc); 68 bool (*is_compressing)(struct intel_fbc *fbc); 69 void (*nuke)(struct intel_fbc *fbc); 70 void (*program_cfb)(struct intel_fbc *fbc); 71 void (*set_false_color)(struct intel_fbc *fbc, bool enable); 225 static u32 i8xx_fbc_ctl(struct intel_fbc *fbc) in i8xx_fbc_ctl() argument 227 const struct intel_fbc_state *fbc_state = &fbc->state; in i8xx_fbc_ctl() [all …]
|
D | intel_fbc.h | 43 void intel_fbc_add_plane(struct intel_fbc *fbc, struct intel_plane *plane);
|
D | intel_display_trace.h | 190 __field(bool, fbc) 202 __entry->sr_fbc = wm->sr.fbc; 205 __entry->hpll_fbc = wm->hpll.fbc; 208 __entry->fbc = wm->fbc_en; 216 str_yes_no(__entry->fbc))
|
D | intel_display_core.h | 417 struct intel_fbc *fbc[I915_MAX_FBCS]; member
|
/Linux-v6.1/include/linux/ |
D | percpu_counter.h | 34 int __percpu_counter_init(struct percpu_counter *fbc, s64 amount, gfp_t gfp, 37 #define percpu_counter_init(fbc, value, gfp) \ argument 41 __percpu_counter_init(fbc, value, gfp, &__key); \ 44 void percpu_counter_destroy(struct percpu_counter *fbc); 45 void percpu_counter_set(struct percpu_counter *fbc, s64 amount); 46 void percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount, 48 s64 __percpu_counter_sum(struct percpu_counter *fbc); 49 int __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch); 50 void percpu_counter_sync(struct percpu_counter *fbc); 52 static inline int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs) in percpu_counter_compare() argument [all …]
|
/Linux-v6.1/lib/ |
D | percpu_counter.c | 24 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-v6.1/drivers/video/fbdev/ |
D | cg6.c | 258 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->s); in cg6_fillrect() 334 sbus_writel(0, &fbc->clip); in cg6_fillrect() 335 sbus_writel(~(u32)0, &fbc->pm); in cg6_fillrect() [all …]
|
D | ffb.c | 242 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->ucsr) & FFB_UCSR_ALL_BUSY) == 0) in FFBWait() 400 if ((upa_readl(&fbc->ucsr) & FFB_UCSR_ALL_ERRORS) != 0) { in FFBWait() 401 upa_writel(FFB_UCSR_ALL_ERRORS, &fbc->ucsr); in FFBWait() [all …]
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | wq.h | 52 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.sz_m1; in mlx5_cqwq_ctr2ix() [all …]
|
D | wq.c | 43 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 = &wq->fbc; in mlx5_wq_ll_create() local 234 mlx5_init_fbc(wq_ctrl->buf.frags, log_wq_stride, log_wq_sz, fbc); in mlx5_wq_ll_create()
|
D | eq.c | 290 mlx5_init_fbc(eq->frag_buf.frags, log_eq_stride, log_eq_size, &eq->fbc); in create_map_eq() 317 MLX5_SET(eqc, eqc, log_eq_size, eq->fbc.log_sz); in create_map_eq()
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | eq.h | 25 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()
|
/Linux-v6.1/include/linux/mlx5/ |
D | driver.h | 925 struct mlx5_frag_buf_ctrl *fbc) in mlx5_init_fbc_offset() argument 927 fbc->frags = frags; in mlx5_init_fbc_offset() 928 fbc->log_stride = log_stride; in mlx5_init_fbc_offset() 929 fbc->log_sz = log_sz; in mlx5_init_fbc_offset() 930 fbc->sz_m1 = (1 << fbc->log_sz) - 1; in mlx5_init_fbc_offset() 931 fbc->log_frag_strides = PAGE_SHIFT - fbc->log_stride; in mlx5_init_fbc_offset() 932 fbc->frag_sz_m1 = (1 << fbc->log_frag_strides) - 1; in mlx5_init_fbc_offset() 933 fbc->strides_offset = strides_offset; in mlx5_init_fbc_offset() 938 struct mlx5_frag_buf_ctrl *fbc) in mlx5_init_fbc() argument 940 mlx5_init_fbc_offset(frags, log_stride, log_sz, 0, fbc); in mlx5_init_fbc() [all …]
|
/Linux-v6.1/drivers/infiniband/hw/mlx5/ |
D | wr.h | 38 (&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()
|
D | srq.c | 15 return mlx5_frag_buf_get_wqe(&srq->fbc, n); in get_wqe() 126 &srq->fbc); in create_srq_kernel()
|
D | mem.c | 119 ctrl = mlx5_frag_buf_get_wqe(&qp->sq.fbc, idx); in post_send_nop()
|
D | cq.c | 71 return mlx5_frag_buf_get_wqe(&cq->buf.fbc, n); in get_cqe() 682 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in alloc_cq_frag_buf() 870 cqe = mlx5_frag_buf_get_wqe(&buf->fbc, i); in init_cq_frag_buf() 1234 dcqe = mlx5_frag_buf_get_wqe(&cq->resize_buf->fbc, in copy_resize_cqes()
|
D | mlx5_ib.h | 340 struct mlx5_frag_buf_ctrl fbc; member 531 struct mlx5_frag_buf_ctrl fbc; member 578 struct mlx5_frag_buf_ctrl fbc; member
|
D | wr.c | 713 p = mlx5_frag_buf_get_wqe(&qp->sq.fbc, idx); in dump_wqe() 733 *seg = mlx5_frag_buf_get_wqe(&qp->sq.fbc, *idx); in mlx5r_begin_wqe() 1246 scat = mlx5_frag_buf_get_wqe(&qp->rq.fbc, ind); in mlx5_ib_post_recv()
|
/Linux-v6.1/drivers/gpu/drm/i915/ |
D | intel_pm_types.h | 28 u16 fbc; member 34 u16 fbc; member
|
D | intel_pm.c | 960 FW_WM(wm->sr.fbc, FBC_SR) | in g4x_write_wm_values() 961 FW_WM(wm->hpll.fbc, FBC_HPLL_SR) | in g4x_write_wm_values() 1191 dirty |= raw->fbc != value; in g4x_raw_fbc_wm_set() 1192 raw->fbc = value; in g4x_raw_fbc_wm_set() 1247 dirty |= raw->fbc != wm; in g4x_raw_plane_wm_compute() 1248 raw->fbc = wm; in g4x_raw_plane_wm_compute() 1269 crtc_state->wm.g4x.raw[G4X_WM_LEVEL_SR].fbc, in g4x_raw_plane_wm_compute() 1270 crtc_state->wm.g4x.raw[G4X_WM_LEVEL_HPLL].fbc); in g4x_raw_plane_wm_compute() 1312 wm_state->sr.fbc = USHRT_MAX; in g4x_invalidate_wms() 1319 wm_state->hpll.fbc = USHRT_MAX; in g4x_invalidate_wms() [all …]
|
/Linux-v6.1/drivers/vfio/pci/mlx5/ |
D | cmd.h | 45 struct mlx5_frag_buf_ctrl fbc; member 78 struct mlx5_frag_buf_ctrl fbc; member
|
D | cmd.c | 607 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in alloc_cq_frag_buf() 620 cqe = mlx5_frag_buf_get_wqe(&buf->fbc, i); in init_cq_frag_buf() 785 mlx5_init_fbc(qp->buf.frags, log_rq_stride, log_rq_sz, &qp->rq.fbc); in mlx5vf_create_rc_qp() 848 data = mlx5_frag_buf_get_wqe(&qp->rq.fbc, ix); in mlx5vf_post_recv() 1259 return mlx5_frag_buf_get_wqe(&cq->buf.fbc, n); in get_cqe()
|
/Linux-v6.1/tools/lib/traceevent/Documentation/ |
D | libtraceevent-reg_print_func.txt | 68 print fmt: "pipe %c, frame=%u, scanline=%u, wm %d/%d/%d, sr %s/%d/%d/%d, hpll %s/%d/%d/%d, fbc %s", 72 REC->hpll_cursor, REC->hpll_fbc, yesno(REC->fbc)
|
/Linux-v6.1/drivers/vdpa/mlx5/net/ |
D | mlx5_vnet.c | 62 struct mlx5_frag_buf_ctrl fbc; member 76 struct mlx5_frag_buf_ctrl fbc; member 340 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in cq_frag_buf_alloc() 363 return mlx5_frag_buf_get_wqe(&vcq->buf.fbc, n); in get_cqe()
|