/linux-6.3-rc2/drivers/gpu/drm/i915/display/ |
A D | intel_fbc.c | 638 return fbc->funcs->is_active(fbc); in intel_fbc_hw_is_active() 648 fbc->funcs->activate(fbc); in intel_fbc_hw_activate() 657 fbc->funcs->deactivate(fbc); in intel_fbc_hw_deactivate() 674 fbc->funcs->nuke(fbc); in intel_fbc_nuke() 809 fbc->funcs->program_cfb(fbc); in intel_fbc_program_cfb() 978 struct intel_fbc *fbc = plane->fbc; in intel_fbc_update_state() local 1029 struct intel_fbc *fbc = plane->fbc; in intel_fbc_is_cfb_ok() local 1051 struct intel_fbc *fbc = plane->fbc; in intel_fbc_check_plane() local 1666 plane->fbc = fbc; in intel_fbc_add_plane() 1766 if (plane->fbc != fbc) in intel_fbc_debugfs_status_show() [all …]
|
A D | intel_fbc.h | 43 void intel_fbc_add_plane(struct intel_fbc *fbc, struct intel_plane *plane);
|
A D | intel_display_trace.h | 209 __field(bool, fbc) 222 __entry->sr_fbc = wm->sr.fbc; 225 __entry->hpll_fbc = wm->hpll.fbc; 228 __entry->fbc = wm->fbc_en; 237 str_yes_no(__entry->fbc))
|
A D | intel_display_core.h | 471 struct intel_fbc *fbc[I915_MAX_FBCS]; member
|
A D | i9xx_plane.c | 130 return dev_priv->display.fbc[INTEL_FBC_A]; in i9xx_plane_fbc()
|
/linux-6.3-rc2/include/linux/ |
A D | percpu_counter.h | 91 return fbc->count; in percpu_counter_read() 111 return (fbc->counters != NULL); in percpu_counter_initialized() 123 fbc->count = amount; in percpu_counter_init() 133 fbc->count = amount; in percpu_counter_set() 138 if (fbc->count > rhs) in percpu_counter_compare() 140 else if (fbc->count < rhs) in percpu_counter_compare() 158 fbc->count += amount; in percpu_counter_add() 177 return fbc->count; in percpu_counter_read() 186 return fbc->count; in percpu_counter_read_positive() 216 percpu_counter_add(fbc, 1); in percpu_counter_inc() [all …]
|
/linux-6.3-rc2/lib/ |
A D | percpu_counter.c | 28 percpu_counter_destroy(fbc); in percpu_counter_fixup_free() 70 fbc->count = amount; in percpu_counter_set() 96 fbc->count += count; in percpu_counter_add_batch() 119 fbc->count += count; in percpu_counter_sync() 133 ret = fbc->count; in __percpu_counter_sum_mask() 170 fbc->count = amount; in __percpu_counter_init() 172 if (!fbc->counters) in __percpu_counter_init() 191 if (!fbc->counters) in percpu_counter_destroy() 198 list_del(&fbc->list); in percpu_counter_destroy() 202 fbc->counters = NULL; in percpu_counter_destroy() [all …]
|
/linux-6.3-rc2/drivers/video/fbdev/ |
A D | cg6.c | 272 struct cg6_fbc __iomem *fbc = par->fbc; in cg6_sync() local 320 struct cg6_fbc __iomem *fbc = par->fbc; in cg6_fillrect() local 333 sbus_writel(0, &fbc->s); in cg6_fillrect() 334 sbus_writel(0, &fbc->clip); in cg6_fillrect() 359 struct cg6_fbc __iomem *fbc = par->fbc; in cg6_copyarea() local 371 sbus_writel(0, &fbc->s); in cg6_copyarea() 397 struct cg6_fbc __iomem *fbc = par->fbc; in cg6_imageblit() local 417 sbus_writel(0, &fbc->s); in cg6_imageblit() 671 struct cg6_fbc __iomem *fbc = par->fbc; in cg6_chip_init() local 701 i = sbus_readl(&fbc->s); in cg6_chip_init() [all …]
|
A D | ffb.c | 242 u32 fbc; member 382 fbc = par->fbc; in FFBFifo() 396 fbc = par->fbc; in FFBWait() 426 struct ffb_fbc __iomem *fbc = par->fbc; in ffb_switch_from_graph() local 436 &fbc->ppc); in ffb_switch_from_graph() 437 upa_writel(0x2000707f, &fbc->fbc); in ffb_switch_from_graph() 479 struct ffb_fbc __iomem *fbc = par->fbc; in ffb_fillrect() local 519 struct ffb_fbc __iomem *fbc = par->fbc; in ffb_copyarea() local 553 struct ffb_fbc __iomem *fbc = par->fbc; in ffb_imageblit() local 918 if (!par->fbc) in ffb_probe() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
A 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() 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() 205 cqe += wq->fbc.log_stride == 7; in mlx5_cqwq_get_wqe() 212 return ctr >> wq->fbc.log_sz; in mlx5_cqwq_get_ctr_wrap_cnt() [all …]
|
A 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()
|
A D | eq.c | 291 mlx5_init_fbc(eq->frag_buf.frags, log_eq_stride, log_eq_size, &eq->fbc); in create_map_eq() 318 MLX5_SET(eqc, eqc, log_eq_size, eq->fbc.log_sz); in create_map_eq()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
A 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-6.3-rc2/include/linux/mlx5/ |
A D | driver.h | 930 struct mlx5_frag_buf_ctrl *fbc) in mlx5_init_fbc_offset() argument 932 fbc->frags = frags; in mlx5_init_fbc_offset() 933 fbc->log_stride = log_stride; in mlx5_init_fbc_offset() 934 fbc->log_sz = log_sz; in mlx5_init_fbc_offset() 935 fbc->sz_m1 = (1 << fbc->log_sz) - 1; in mlx5_init_fbc_offset() 936 fbc->log_frag_strides = PAGE_SHIFT - fbc->log_stride; in mlx5_init_fbc_offset() 937 fbc->frag_sz_m1 = (1 << fbc->log_frag_strides) - 1; in mlx5_init_fbc_offset() 953 ix += fbc->strides_offset; in mlx5_frag_buf_get_wqe() 956 return fbc->frags[frag].buf + ((fbc->frag_sz_m1 & ix) << fbc->log_stride); in mlx5_frag_buf_get_wqe() 962 u32 last_frag_stride_idx = (ix + fbc->strides_offset) | fbc->frag_sz_m1; in mlx5_frag_buf_get_idx_last_contig_stride() [all …]
|
/linux-6.3-rc2/drivers/infiniband/hw/mlx5/ |
A 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()
|
A D | srq.c | 15 return mlx5_frag_buf_get_wqe(&srq->fbc, n); in get_wqe() 126 &srq->fbc); in create_srq_kernel()
|
A D | mem.c | 119 ctrl = mlx5_frag_buf_get_wqe(&qp->sq.fbc, idx); in post_send_nop()
|
A D | cq.c | 71 return mlx5_frag_buf_get_wqe(&cq->buf.fbc, n); in get_cqe() 685 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in alloc_cq_frag_buf() 873 cqe = mlx5_frag_buf_get_wqe(&buf->fbc, i); in init_cq_frag_buf() 1237 dcqe = mlx5_frag_buf_get_wqe(&cq->resize_buf->fbc, in copy_resize_cqes()
|
A D | mlx5_ib.h | 344 struct mlx5_frag_buf_ctrl fbc; member 535 struct mlx5_frag_buf_ctrl fbc; member 582 struct mlx5_frag_buf_ctrl fbc; member
|
A 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-6.3-rc2/drivers/gpu/drm/i915/ |
A D | intel_pm_types.h | 28 u16 fbc; member 34 u16 fbc; member
|
A D | intel_pm.c | 1180 raw->fbc = value; in g4x_raw_fbc_wm_set() 1236 raw->fbc = wm; in g4x_raw_plane_wm_compute() 1352 wm_state->sr.fbc = raw->fbc; in _g4x_compute_pipe_wm() 1363 wm_state->hpll.fbc = raw->fbc; in _g4x_compute_pipe_wm() 1457 intermediate->sr.fbc = max(optimal->sr.fbc, in g4x_compute_intermediate_wm() 1458 active->sr.fbc); in g4x_compute_intermediate_wm() 1464 intermediate->hpll.fbc = max(optimal->hpll.fbc, in g4x_compute_intermediate_wm() 2535 u16 fbc; member 3804 raw->fbc = active->sr.fbc; in g4x_wm_get_hw_state() 3814 raw->fbc = active->hpll.fbc; in g4x_wm_get_hw_state() [all …]
|
/linux-6.3-rc2/drivers/vfio/pci/mlx5/ |
A D | cmd.h | 110 struct mlx5_frag_buf_ctrl fbc; member 143 struct mlx5_frag_buf_ctrl fbc; member
|
A D | cmd.c | 914 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in alloc_cq_frag_buf() 927 cqe = mlx5_frag_buf_get_wqe(&buf->fbc, i); in init_cq_frag_buf() 1092 mlx5_init_fbc(qp->buf.frags, log_rq_stride, log_rq_sz, &qp->rq.fbc); in mlx5vf_create_rc_qp() 1155 data = mlx5_frag_buf_get_wqe(&qp->rq.fbc, ix); in mlx5vf_post_recv() 1567 return mlx5_frag_buf_get_wqe(&cq->buf.fbc, n); in get_cqe()
|
/linux-6.3-rc2/drivers/vdpa/mlx5/net/ |
A D | mlx5_vnet.c | 51 struct mlx5_frag_buf_ctrl fbc; member 65 struct mlx5_frag_buf_ctrl fbc; member 297 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in cq_frag_buf_alloc() 320 return mlx5_frag_buf_get_wqe(&vcq->buf.fbc, n); in get_cqe()
|