Home
last modified time | relevance | path

Searched refs:rsc (Results 101 - 125 of 284) sorted by relevance

12345678910>>...12

/third_party/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_state.c176 struct fd_resource *rsc = fd_resource(buf->buffer); variable
177 util_range_add(&rsc->b.b, &rsc->valid_buffer_range,
221 struct fd_resource *rsc = fd_resource(buf->resource); variable
222 util_range_add(&rsc->b.b, &rsc->valid_buffer_range,
530 struct fd_resource *rsc = fd_resource(prsc); in fd_create_stream_output_target() local
546 assert(rsc->b.b.target == PIPE_BUFFER); in fd_create_stream_output_target()
547 util_range_add(&rsc->b.b, &rsc in fd_create_stream_output_target()
675 struct fd_resource *rsc = fd_resource(so->buf[n]); global() variable
[all...]
H A Dfreedreno_query_hw.c212 struct fd_resource *rsc = fd_resource(start->prsc); in fd_hw_get_query_result() local
225 fd_bc_flush_writer(ctx, rsc); in fd_hw_get_query_result()
230 if (!rsc->bo) in fd_hw_get_query_result()
235 ctx, rsc, FD_BO_PREP_READ | FD_BO_PREP_NOSYNC | FD_BO_PREP_FLUSH); in fd_hw_get_query_result()
239 fd_resource_wait(ctx, rsc, FD_BO_PREP_READ); in fd_hw_get_query_result()
242 void *ptr = fd_bo_map(rsc->bo); in fd_hw_get_query_result()
249 fd_bo_cpu_fini(rsc->bo); in fd_hw_get_query_result()
/third_party/mesa3d/src/gallium/drivers/panfrost/
H A Dpan_resource.c64 struct panfrost_resource *rsc; in panfrost_resource_from_handle() local
69 rsc = CALLOC_STRUCT(panfrost_resource); in panfrost_resource_from_handle()
70 if (!rsc) in panfrost_resource_from_handle()
73 prsc = &rsc->base; in panfrost_resource_from_handle()
85 panfrost_should_checksum(dev, rsc) ? in panfrost_resource_from_handle()
92 rsc->image.layout = (struct pan_image_layout) { in panfrost_resource_from_handle()
105 bool valid = pan_image_layout_init(&rsc->image.layout, &explicit_layout); in panfrost_resource_from_handle()
108 FREE(rsc); in panfrost_resource_from_handle()
112 rsc->image.data.bo = panfrost_bo_import(dev, whandle->handle); in panfrost_resource_from_handle()
116 if (!rsc in panfrost_resource_from_handle()
794 pan_alloc_staging(struct panfrost_context *ctx, struct panfrost_resource *rsc, unsigned level, const struct pipe_box *box) pan_alloc_staging() argument
1375 struct panfrost_resource *rsc = pan_resource(transfer->resource); panfrost_ptr_flush_region() local
[all...]
/kernel/linux/linux-6.6/drivers/net/hyperv/
H A Drndis_filter.c450 u32 cnt = nvchan->rsc.cnt; in rsc_add_data()
453 nvchan->rsc.pktlen += len; in rsc_add_data()
460 memcpy(&nvchan->rsc.vlan, vlan, sizeof(*vlan)); in rsc_add_data()
461 nvchan->rsc.ppi_flags |= NVSC_RSC_VLAN; in rsc_add_data()
463 nvchan->rsc.ppi_flags &= ~NVSC_RSC_VLAN; in rsc_add_data()
466 memcpy(&nvchan->rsc.csum_info, csum_info, sizeof(*csum_info)); in rsc_add_data()
467 nvchan->rsc.ppi_flags |= NVSC_RSC_CSUM_INFO; in rsc_add_data()
469 nvchan->rsc.ppi_flags &= ~NVSC_RSC_CSUM_INFO; in rsc_add_data()
471 nvchan->rsc.pktlen = len; in rsc_add_data()
473 nvchan->rsc in rsc_add_data()
[all...]
H A Dnetvsc_bpf.c28 void *data = nvchan->rsc.data[0]; in netvsc_run_xdp()
29 u32 len = nvchan->rsc.len[0]; in netvsc_run_xdp()
81 rx_stats->bytes += nvchan->rsc.pktlen; in netvsc_run_xdp()
/kernel/linux/linux-6.6/drivers/remoteproc/
H A Dpru_rproc.c513 struct pru_irq_rsc *rsc = pru->pru_interrupt_map; in pru_handle_intrmap() local
519 if (!rsc) in pru_handle_intrmap()
523 if (rsc->type != 0) { in pru_handle_intrmap()
524 dev_err(dev, "unsupported rsc type: %d\n", rsc->type); in pru_handle_intrmap()
528 if (rsc->num_evts > MAX_PRU_SYS_EVENTS) in pru_handle_intrmap()
531 if (sizeof(*rsc) + rsc->num_evts * sizeof(struct pruss_int_map) != in pru_handle_intrmap()
535 pru->evt_count = rsc->num_evts; in pru_handle_intrmap()
569 fwspec.param[0] = rsc in pru_handle_intrmap()
[all...]
H A Dremoteproc_debugfs.c294 void *rsc = (void *)hdr + sizeof(*hdr); in rproc_rsc_table_show() local
298 c = rsc; in rproc_rsc_table_show()
308 d = rsc; in rproc_rsc_table_show()
318 t = rsc; in rproc_rsc_table_show()
326 v = rsc; in rproc_rsc_table_show()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_query_acc_occlusion.c70 struct etna_resource *rsc = etna_resource(aq->prsc); in occlusion_resume() local
72 .bo = rsc->bo, in occlusion_resume()
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/
H A Dir3_const.h55 struct fd_resource *rsc = fd_resource(buffer); in emit_const_prsc() local
56 emit_const_bo(ring, v, regid, offset, size, rsc->bo); in emit_const_prsc()
270 struct fd_resource *rsc; in ir3_emit_image_dims() local
275 rsc = fd_resource(img->resource); in ir3_emit_image_dims()
279 struct fdl_slice *slice = fd_resource_slice(rsc, img->u.tex.level); in ir3_emit_image_dims()
285 dims[off + 1] = fd_resource_pitch(rsc, img->u.tex.level); in ir3_emit_image_dims()
287 if (rsc->layout.layer_first) { in ir3_emit_image_dims()
288 dims[off + 2] = rsc->layout.layer_size; in ir3_emit_image_dims()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_texture.c169 struct fd_resource *rsc = fd_resource(prsc); in fd2_sampler_view_create() local
183 A2XX_SQ_TEX_0_PITCH(fdl2_pitch_pixels(&rsc->layout, 0) * in fd2_sampler_view_create()
185 COND(rsc->layout.tile_mode, A2XX_SQ_TEX_0_TILED); in fd2_sampler_view_create()
/kernel/linux/linux-5.10/drivers/soc/qcom/
H A DMakefile2 CFLAGS_rpmh-rsc.o := -I$(src)
15 qcom_rpmh-y += rpmh-rsc.o
/kernel/linux/linux-6.6/drivers/soc/qcom/
H A DMakefile2 CFLAGS_rpmh-rsc.o := -I$(src)
18 qcom_rpmh-y += rpmh-rsc.o
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dreporter_rx.c394 key.rsc = MLX5_SGMT_TYPE_SX_SLICE_ALL; in mlx5e_rx_reporter_dump_icosq()
411 key.rsc = MLX5_SGMT_TYPE_FULL_QPC; in mlx5e_rx_reporter_dump_icosq()
427 key.rsc = MLX5_SGMT_TYPE_SND_BUFF; in mlx5e_rx_reporter_dump_icosq()
456 key.rsc = MLX5_SGMT_TYPE_RX_SLICE_ALL; in mlx5e_rx_reporter_dump_rq()
473 key.rsc = MLX5_SGMT_TYPE_FULL_QPC; in mlx5e_rx_reporter_dump_rq()
489 key.rsc = MLX5_SGMT_TYPE_RCV_BUFF; in mlx5e_rx_reporter_dump_rq()
516 key.rsc = MLX5_SGMT_TYPE_RX_SLICE_ALL; in mlx5e_rx_reporter_dump_all_rqs()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dreporter_rx.c532 key.rsc = MLX5_SGMT_TYPE_SX_SLICE_ALL; in mlx5e_rx_reporter_dump_icosq()
549 key.rsc = MLX5_SGMT_TYPE_FULL_QPC; in mlx5e_rx_reporter_dump_icosq()
565 key.rsc = MLX5_SGMT_TYPE_SND_BUFF; in mlx5e_rx_reporter_dump_icosq()
594 key.rsc = MLX5_SGMT_TYPE_RX_SLICE_ALL; in mlx5e_rx_reporter_dump_rq()
611 key.rsc = MLX5_SGMT_TYPE_FULL_QPC; in mlx5e_rx_reporter_dump_rq()
627 key.rsc = MLX5_SGMT_TYPE_RCV_BUFF; in mlx5e_rx_reporter_dump_rq()
655 key.rsc = MLX5_SGMT_TYPE_RX_SLICE_ALL; in mlx5e_rx_reporter_dump_all_rqs()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/iser/
H A Diser_verbs.c124 desc->rsc.mr = ib_alloc_mr(pd, mr_type, size); in iser_create_fastreg_desc()
125 if (IS_ERR(desc->rsc.mr)) { in iser_create_fastreg_desc()
126 ret = PTR_ERR(desc->rsc.mr); in iser_create_fastreg_desc()
132 desc->rsc.sig_mr = ib_alloc_mr_integrity(pd, size, size); in iser_create_fastreg_desc()
133 if (IS_ERR(desc->rsc.sig_mr)) { in iser_create_fastreg_desc()
134 ret = PTR_ERR(desc->rsc.sig_mr); in iser_create_fastreg_desc()
143 ib_dereg_mr(desc->rsc.mr); in iser_create_fastreg_desc()
152 struct iser_reg_resources *res = &desc->rsc; in iser_destroy_fastreg_desc()
938 ret = ib_check_mr_status(desc->rsc.sig_mr, in iser_check_task_pi_status()
/kernel/linux/linux-6.6/drivers/infiniband/ulp/iser/
H A Diser_verbs.c117 desc->rsc.mr = ib_alloc_mr(pd, mr_type, size); in iser_create_fastreg_desc()
118 if (IS_ERR(desc->rsc.mr)) { in iser_create_fastreg_desc()
119 ret = PTR_ERR(desc->rsc.mr); in iser_create_fastreg_desc()
125 desc->rsc.sig_mr = ib_alloc_mr_integrity(pd, size, size); in iser_create_fastreg_desc()
126 if (IS_ERR(desc->rsc.sig_mr)) { in iser_create_fastreg_desc()
127 ret = PTR_ERR(desc->rsc.sig_mr); in iser_create_fastreg_desc()
136 ib_dereg_mr(desc->rsc.mr); in iser_create_fastreg_desc()
145 struct iser_reg_resources *res = &desc->rsc; in iser_destroy_fastreg_desc()
900 ret = ib_check_mr_status(desc->rsc.sig_mr, in iser_check_task_pi_status()
/kernel/linux/linux-5.10/arch/ia64/kernel/
H A Dminstate.h50 mov r27=ar.rsc; /* M */ \
70 (pUStk) mov ar.rsc=0; /* set enforced lazy mode, pl 0, little-endian, loadrs=0 */ \
84 (pUStk) mov ar.rsc=0x3; /* set eager mode, pl 0, little-endian, loadrs=0 */ \
116 shl r18=r18,16; /* compute ar.rsc to be used for "loadrs" */ \
118 st8 [r16]=r27,16; /* save ar.rsc */ \
127 st8 [r17]=r18,16; /* save ar.rsc value for "loadrs" */ \
238 mov ar.rsc=r0 \
H A Dgate.S198 mov ar.rsc=0 // put RSE into enforced lazy mode
218 mov ar.rsc=0xf // set RSE into eager mode, pl 3
253 mov ar.rsc=r17 // put RSE into enforced lazy mode
295 mov ar.rsc=0xf // (will be restored later on from sc_ar_rsc)
357 mov r27=ar.rsc // M2 (12 cyc)
/kernel/linux/linux-6.6/arch/ia64/kernel/
H A Dminstate.h50 mov r27=ar.rsc; /* M */ \
70 (pUStk) mov ar.rsc=0; /* set enforced lazy mode, pl 0, little-endian, loadrs=0 */ \
84 (pUStk) mov ar.rsc=0x3; /* set eager mode, pl 0, little-endian, loadrs=0 */ \
116 shl r18=r18,16; /* compute ar.rsc to be used for "loadrs" */ \
118 st8 [r16]=r27,16; /* save ar.rsc */ \
127 st8 [r17]=r18,16; /* save ar.rsc value for "loadrs" */ \
238 mov ar.rsc=r0 \
H A Dgate.S198 mov ar.rsc=0 // put RSE into enforced lazy mode
218 mov ar.rsc=0xf // set RSE into eager mode, pl 3
253 mov ar.rsc=r17 // put RSE into enforced lazy mode
295 mov ar.rsc=0xf // (will be restored later on from sc_ar_rsc)
357 mov r27=ar.rsc // M2 (12 cyc)
/kernel/linux/linux-5.10/lib/reed_solomon/
H A Dreed_solomon.c318 * @rsc: the rs control structure
328 int encode_rs8(struct rs_control *rsc, uint8_t *data, int len, uint16_t *par, in encode_rs8() argument
339 * @rsc: the rs control structure
354 * Note: The rs_control struct @rsc contains buffers which are used for
361 int decode_rs8(struct rs_control *rsc, uint8_t *data, uint16_t *par, int len, in decode_rs8() argument
373 * @rsc: the rs control structure
381 int encode_rs16(struct rs_control *rsc, uint16_t *data, int len, uint16_t *par, in encode_rs16() argument
392 * @rsc: the rs control structure
405 * Note: The rc_control struct @rsc contains buffers which are used for
412 int decode_rs16(struct rs_control *rsc, uint16_ argument
[all...]
/kernel/linux/linux-6.6/lib/reed_solomon/
H A Dreed_solomon.c318 * @rsc: the rs control structure
328 int encode_rs8(struct rs_control *rsc, uint8_t *data, int len, uint16_t *par, in encode_rs8() argument
339 * @rsc: the rs control structure
354 * Note: The rs_control struct @rsc contains buffers which are used for
361 int decode_rs8(struct rs_control *rsc, uint8_t *data, uint16_t *par, int len, in decode_rs8() argument
373 * @rsc: the rs control structure
381 int encode_rs16(struct rs_control *rsc, uint16_t *data, int len, uint16_t *par, in encode_rs16() argument
392 * @rsc: the rs control structure
405 * Note: The rc_control struct @rsc contains buffers which are used for
412 int decode_rs16(struct rs_control *rsc, uint16_ argument
[all...]
/third_party/libunwind/libunwind/src/ia64/
H A Dgetcontext.S55 mov.m rRSC = ar.rsc // M2, 12 cyc.
110 mov.m ar.rsc = rTMP // put RSE into lazy mode // M2, ? cycles
164 mov.m ar.rsc = rRSC // restore RSE mode // M2
H A DGinstall_cursor.S64 mov.m r10 = ar.rsc // (ar.rsc: ~ 12 cycle latency)
142 and r11 = 0x1c, r10 // clear all but rsc.be and rsc.pl
242 mov.m ar.rsc = r11 // put RSE into enforced lazy mode
262 mov.m ar.rsc = r11 // 14 cycles latency to loadrs
289 mov.m ar.rsc = r10 // restore original ar.rsc
299 .next: mov.m ar.rsc = r10 // restore original ar.rsc
[all...]
/kernel/linux/linux-5.10/drivers/remoteproc/
H A Dremoteproc_debugfs.c294 void *rsc = (void *)hdr + sizeof(*hdr); in rproc_rsc_table_show() local
298 c = rsc; in rproc_rsc_table_show()
308 d = rsc; in rproc_rsc_table_show()
318 t = rsc; in rproc_rsc_table_show()
326 v = rsc; in rproc_rsc_table_show()

Completed in 18 milliseconds

12345678910>>...12