| /linux/include/linux/ |
| H A D | percpu_counter.h | 33 int __percpu_counter_init_many(struct percpu_counter *fbc, s64 amount, 37 #define percpu_counter_init_many(fbc, value, gfp, nr_counters) \ argument 41 __percpu_counter_init_many(fbc, value, gfp, nr_counters,\ 46 #define percpu_counter_init(fbc, value, gfp) \ argument 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, s64 amount, [all …]
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_fbc.c | 70 for_each_if((__fbc) = (__display)->fbc.instances[(__fbc_id)]) 75 void (*activate)(struct intel_fbc *fbc); 76 void (*deactivate)(struct intel_fbc *fbc); 77 bool (*is_active)(struct intel_fbc *fbc); 78 bool (*is_compressing)(struct intel_fbc *fbc); 79 void (*nuke)(struct intel_fbc *fbc); 80 void (*program_cfb)(struct intel_fbc *fbc); 81 void (*set_false_color)(struct intel_fbc *fbc, bool enable); 140 return primary->fbc; in intel_fbc_for_pipe() 284 static u32 i8xx_fbc_ctl(struct intel_fbc *fbc) in i8xx_fbc_ctl() argument [all …]
|
| H A D | intel_wm_types.h | 28 u16 fbc; member 34 u16 fbc; member
|
| H A D | intel_plane.c | 859 if (plane->fbc) in intel_plane_update_noarm()
|
| H A D | intel_fb.c | 1293 (plane->fbc && !plane_state->no_fbc_reason && in intel_plane_uses_fence()
|
| /linux/lib/ |
| H A 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/drivers/video/fbdev/ |
| H A 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 …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H 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()
|
| H A D | eq.c | 282 mlx5_init_fbc(eq->frag_buf.frags, log_eq_stride, log_eq_size, &eq->fbc); in create_map_eq() 309 MLX5_SET(eqc, eqc, log_eq_size, eq->fbc.log_sz); in create_map_eq()
|
| H A D | en_rx.c | 165 title->op_own |= 0x01 & (cqcc >> wq->fbc.log_sz); in mlx5e_decompress_cqe()
|
| /linux/include/linux/mlx5/ |
| H A 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/drivers/infiniband/hw/mlx5/ |
| H 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()
|
| H A D | srq.c | 15 return mlx5_frag_buf_get_wqe(&srq->fbc, n); in get_wqe() 126 &srq->fbc); in create_srq_kernel()
|
| H A D | cq.c | 74 return mlx5_frag_buf_get_wqe(&cq->buf.fbc, n); in get_cqe() 688 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in alloc_cq_frag_buf() 881 cqe = mlx5_frag_buf_get_wqe(&buf->fbc, i); in init_cq_frag_buf() 1260 dcqe = mlx5_frag_buf_get_wqe(&cq->resize_buf->fbc, in copy_resize_cqes()
|
| H 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()
|
| H A D | qp.c | 155 wqe_index = wqe_index & qp->sq.fbc.sz_m1; in mlx5_ib_read_kernel_wqe_sq() 158 p = mlx5_frag_buf_get_wqe(&qp->sq.fbc, wqe_index); in mlx5_ib_read_kernel_wqe_sq() 174 wqe_index = (wqe_index + 1) & qp->sq.fbc.sz_m1; in mlx5_ib_read_kernel_wqe_sq() 175 p = mlx5_frag_buf_get_wqe(&qp->sq.fbc, wqe_index); in mlx5_ib_read_kernel_wqe_sq() 1138 ilog2(qp->rq.wqe_cnt), &qp->rq.fbc); in _create_kernel_qp() 1147 sq_strides_offset, &qp->sq.fbc); in _create_kernel_qp()
|
| /linux/drivers/vfio/pci/mlx5/ |
| H A D | cmd.h | 117 struct mlx5_frag_buf_ctrl fbc; member 151 struct mlx5_frag_buf_ctrl fbc; member
|
| H A D | cmd.c | 1067 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in alloc_cq_frag_buf() 1080 cqe = mlx5_frag_buf_get_wqe(&buf->fbc, i); in init_cq_frag_buf() 1253 mlx5_init_fbc(qp->buf.frags, log_rq_stride, log_rq_sz, &qp->rq.fbc); in mlx5vf_create_rc_qp() 1316 data = mlx5_frag_buf_get_wqe(&qp->rq.fbc, ix); in mlx5vf_post_recv() 1678 return mlx5_frag_buf_get_wqe(&cq->buf.fbc, n); in get_cqe()
|
| /linux/drivers/vdpa/mlx5/net/ |
| H A D | mlx5_vnet.c | 64 struct mlx5_frag_buf_ctrl fbc; member 78 struct mlx5_frag_buf_ctrl fbc; member 317 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in cq_frag_buf_alloc() 340 return mlx5_frag_buf_get_wqe(&vcq->buf.fbc, n); in get_cqe()
|
| /linux/arch/m68k/ifpsp060/ |
| H A D | fplsp.sa | 1320 dc.l $06413fff,$6000fed2,$4a106bff,$00001fbc
|