Home
last modified time | relevance | path

Searched refs:rsrc (Results 1 - 25 of 163) sorted by relevance

1234567

/third_party/libsnd/src/
H A Dsd2.c92 static int parse_str_rsrc (SF_PRIVATE *psf, SD2_RSRC * rsrc) ;
112 { psf_log_printf (psf, "sd2_open : psf->rsrc.filedes < 0\n") ; in sd2_open()
132 { psf->rsrc.mode = psf->file.mode ; in sd2_open()
192 { SD2_RSRC rsrc ; in sd2_write_rsrc_fork() local
204 memset (&rsrc, 0, sizeof (rsrc)) ; in sd2_write_rsrc_fork()
206 rsrc.sample_rate = psf->sf.samplerate ; in sd2_write_rsrc_fork()
207 rsrc.sample_size = psf->bytewidth ; in sd2_write_rsrc_fork()
208 rsrc.channels = psf->sf.channels ; in sd2_write_rsrc_fork()
210 rsrc in sd2_write_rsrc_fork()
371 { SD2_RSRC rsrc ; sd2_parse_rsrc_fork() local
510 parse_str_rsrc(SF_PRIVATE *psf, SD2_RSRC * rsrc) parse_str_rsrc() argument
[all...]
H A Dfile_io.c159 if (psf->rsrc.filedes > 0) in psf_open_rsrc()
163 count = snprintf (psf->rsrc.path, sizeof (psf->rsrc.path), "%s/..namedfork/rsrc", psf->file.path) ; in psf_open_rsrc()
165 if (count < sizeof (psf->rsrc.path)) in psf_open_rsrc()
166 { if ((psf->rsrc.filedes = psf_open_fd (&psf->rsrc)) >= 0) in psf_open_rsrc()
167 { psf->rsrclength = psf_get_filelen_fd (psf->rsrc.filedes) ; in psf_open_rsrc()
168 if (psf->rsrclength > 0 || (psf->rsrc.mode & SFM_WRITE)) in psf_open_rsrc()
170 psf_close_fd (psf->rsrc in psf_open_rsrc()
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/
H A Dpuda.c34 * @rsrc: resource to use for buffer
36 struct irdma_puda_buf *irdma_puda_get_bufpool(struct irdma_puda_rsrc *rsrc) in irdma_puda_get_bufpool() argument
39 struct list_head *list = &rsrc->bufpool; in irdma_puda_get_bufpool()
42 spin_lock_irqsave(&rsrc->bufpool_lock, flags); in irdma_puda_get_bufpool()
45 rsrc->avail_buf_count--; in irdma_puda_get_bufpool()
46 buf->vsi = rsrc->vsi; in irdma_puda_get_bufpool()
48 rsrc->stats_buf_alloc_fail++; in irdma_puda_get_bufpool()
50 spin_unlock_irqrestore(&rsrc->bufpool_lock, flags); in irdma_puda_get_bufpool()
56 * irdma_puda_ret_bufpool - return buffer to rsrc list
57 * @rsrc
60 irdma_puda_ret_bufpool(struct irdma_puda_rsrc *rsrc, struct irdma_puda_buf *buf) irdma_puda_ret_bufpool() argument
79 irdma_puda_post_recvbuf(struct irdma_puda_rsrc *rsrc, u32 wqe_idx, struct irdma_puda_buf *buf, bool initial) irdma_puda_post_recvbuf() argument
116 irdma_puda_replenish_rq(struct irdma_puda_rsrc *rsrc, bool initial) irdma_puda_replenish_rq() argument
331 struct irdma_puda_rsrc *rsrc; irdma_puda_poll_cmpl() local
501 irdma_puda_send_buf(struct irdma_puda_rsrc *rsrc, struct irdma_puda_buf *buf) irdma_puda_send_buf() argument
566 irdma_puda_qp_setctx(struct irdma_puda_rsrc *rsrc) irdma_puda_qp_setctx() argument
644 irdma_puda_qp_create(struct irdma_puda_rsrc *rsrc) irdma_puda_qp_create() argument
775 irdma_puda_cq_create(struct irdma_puda_rsrc *rsrc) irdma_puda_cq_create() argument
831 irdma_puda_free_qp(struct irdma_puda_rsrc *rsrc) irdma_puda_free_qp() argument
863 irdma_puda_free_cq(struct irdma_puda_rsrc *rsrc) irdma_puda_free_cq() argument
896 struct irdma_puda_rsrc *rsrc; irdma_puda_dele_rsrc() local
967 irdma_puda_allocbufs(struct irdma_puda_rsrc *rsrc, u32 count) irdma_puda_allocbufs() argument
1005 struct irdma_puda_rsrc *rsrc; irdma_puda_create_rsrc() local
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
H A Di40iw_puda.c50 *rsrc, bool initial);
68 * @rsrc: resource to use for buffer
70 struct i40iw_puda_buf *i40iw_puda_get_bufpool(struct i40iw_puda_rsrc *rsrc) in i40iw_puda_get_bufpool() argument
73 struct list_head *list = &rsrc->bufpool; in i40iw_puda_get_bufpool()
76 spin_lock_irqsave(&rsrc->bufpool_lock, flags); in i40iw_puda_get_bufpool()
79 rsrc->avail_buf_count--; in i40iw_puda_get_bufpool()
81 rsrc->stats_buf_alloc_fail++; in i40iw_puda_get_bufpool()
82 spin_unlock_irqrestore(&rsrc->bufpool_lock, flags); in i40iw_puda_get_bufpool()
87 * i40iw_puda_ret_bufpool - return buffer to rsrc list
88 * @rsrc
91 i40iw_puda_ret_bufpool(struct i40iw_puda_rsrc *rsrc, struct i40iw_puda_buf *buf) i40iw_puda_ret_bufpool() argument
109 i40iw_puda_post_recvbuf(struct i40iw_puda_rsrc *rsrc, u32 wqe_idx, struct i40iw_puda_buf *buf, bool initial) i40iw_puda_post_recvbuf() argument
137 i40iw_puda_replenish_rq(struct i40iw_puda_rsrc *rsrc, bool initial) i40iw_puda_replenish_rq() argument
288 struct i40iw_puda_rsrc *rsrc; i40iw_puda_poll_completion() local
422 i40iw_puda_send_buf(struct i40iw_puda_rsrc *rsrc, struct i40iw_puda_buf *buf) i40iw_puda_send_buf() argument
478 i40iw_puda_qp_setctx(struct i40iw_puda_rsrc *rsrc) i40iw_puda_qp_setctx() argument
552 i40iw_puda_qp_create(struct i40iw_puda_rsrc *rsrc) i40iw_puda_qp_create() argument
672 i40iw_puda_cq_create(struct i40iw_puda_rsrc *rsrc) i40iw_puda_cq_create() argument
722 i40iw_puda_free_qp(struct i40iw_puda_rsrc *rsrc) i40iw_puda_free_qp() argument
755 i40iw_puda_free_cq(struct i40iw_puda_rsrc *rsrc) i40iw_puda_free_cq() argument
794 struct i40iw_puda_rsrc *rsrc; i40iw_puda_dele_resources() local
850 i40iw_puda_allocbufs(struct i40iw_puda_rsrc *rsrc, u32 count) i40iw_puda_allocbufs() argument
887 struct i40iw_puda_rsrc *rsrc; i40iw_puda_create_rsrc() local
[all...]
/kernel/linux/linux-6.6/sound/soc/amd/acp/
H A Dacp-i2s.c106 struct acp_resource *rsrc; in acp_i2s_hwparams() local
113 rsrc = adata->rsrc; in acp_i2s_hwparams()
189 if (rsrc->soc_mclk) { in acp_i2s_hwparams()
265 struct acp_resource *rsrc = adata->rsrc; in acp_i2s_trigger() local
331 if (rsrc->soc_mclk) in acp_i2s_trigger()
394 struct acp_resource *rsrc = adata->rsrc; in acp_i2s_prepare() local
404 acp_fifo_addr = rsrc in acp_i2s_prepare()
490 struct acp_resource *rsrc = adata->rsrc; acp_i2s_startup() local
546 struct acp_resource *rsrc = adata->rsrc; acp_i2s_probe() local
[all...]
H A Dacp-legacy-common.c21 struct acp_resource *rsrc = adata->rsrc; in acp_enable_interrupts() local
25 ext_intr_ctrl = readl(ACP_EXTERNAL_INTR_CNTL(adata, rsrc->irqp_used)); in acp_enable_interrupts()
27 writel(ext_intr_ctrl, ACP_EXTERNAL_INTR_CNTL(adata, rsrc->irqp_used)); in acp_enable_interrupts()
33 struct acp_resource *rsrc = adata->rsrc; in acp_disable_interrupts() local
35 writel(ACP_EXT_INTR_STAT_CLEAR_MASK, ACP_EXTERNAL_INTR_STAT(adata, rsrc->irqp_used)); in acp_disable_interrupts()
102 struct acp_resource *rsrc = adata->rsrc; in set_acp_i2s_dma_fifo() local
112 acp_fifo_addr = rsrc in set_acp_i2s_dma_fifo()
[all...]
H A Dacp-platform.c93 struct acp_resource *rsrc = adata->rsrc; in i2s_irq_handler() local
101 if (adata->rsrc->no_of_ctrls == 2) in i2s_irq_handler()
102 ext_intr_stat1 = readl(ACP_EXTERNAL_INTR_STAT(adata, (rsrc->irqp_used - 1))); in i2s_irq_handler()
104 ext_intr_stat = readl(ACP_EXTERNAL_INTR_STAT(adata, rsrc->irqp_used)); in i2s_irq_handler()
110 ACP_EXTERNAL_INTR_STAT(adata, rsrc->irqp_used)); in i2s_irq_handler()
114 if (adata->rsrc->no_of_ctrls == 2) { in i2s_irq_handler()
117 (rsrc->irqp_used - 1))); in i2s_irq_handler()
132 struct acp_resource *rsrc = adata->rsrc; in config_pte_for_stream() local
151 struct acp_resource *rsrc = adata->rsrc; config_acp_dma() local
[all...]
/third_party/mesa3d/src/gallium/drivers/panfrost/
H A Dpan_resource.c145 struct panfrost_resource *rsrc; in panfrost_resource_get_handle() local
158 rsrc = pan_resource(cur); in panfrost_resource_get_handle()
159 scanout = rsrc->scanout; in panfrost_resource_get_handle()
161 handle->modifier = rsrc->image.layout.modifier; in panfrost_resource_get_handle()
162 rsrc->modifier_constant = true; in panfrost_resource_get_handle()
167 handle->handle = rsrc->image.data.bo->gem_handle; in panfrost_resource_get_handle()
169 int fd = panfrost_bo_export(rsrc->image.data.bo); in panfrost_resource_get_handle()
180 handle->stride = panfrost_get_legacy_stride(&rsrc->image.layout, 0); in panfrost_resource_get_handle()
181 handle->offset = rsrc->image.layout.slices[0].offset; in panfrost_resource_get_handle()
192 struct panfrost_resource *rsrc in panfrost_resource_get_param() local
771 struct panfrost_resource *rsrc = (struct panfrost_resource *) pt; panfrost_resource_destroy() local
881 panfrost_load_tiled_images(struct panfrost_transfer *transfer, struct panfrost_resource *rsrc) panfrost_load_tiled_images() argument
914 panfrost_store_tiled_images(struct panfrost_transfer *transfer, struct panfrost_resource *rsrc) panfrost_store_tiled_images() argument
959 struct panfrost_resource *rsrc = pan_resource(resource); panfrost_ptr_map() local
1167 pan_resource_modifier_convert(struct panfrost_context *ctx, struct panfrost_resource *rsrc, uint64_t modifier, const char *reason) pan_resource_modifier_convert() argument
1222 pan_legalize_afbc_format(struct panfrost_context *ctx, struct panfrost_resource *rsrc, enum pipe_format format) pan_legalize_afbc_format() argument
1391 struct panfrost_resource *rsrc = pan_resource(prsrc); panfrost_invalidate_resource() local
1408 panfrost_resource_get_internal_format(struct pipe_resource *rsrc) panfrost_resource_get_internal_format() argument
1424 struct panfrost_resource *rsrc = pan_resource(prsrc); panfrost_generate_mipmap() local
[all...]
H A Dpan_helpers.c96 struct panfrost_resource *rsrc = pan_resource(info->index.resource); in panfrost_get_index_buffer() local
101 panfrost_batch_read_rsrc(batch, rsrc, PIPE_SHADER_VERTEX); in panfrost_get_index_buffer()
102 return rsrc->image.data.bo->ptr.gpu + offset; in panfrost_get_index_buffer()
129 struct panfrost_resource *rsrc = pan_resource(info->index.resource); in panfrost_get_index_buffer_bounded() local
139 needs_indices = !panfrost_minmax_cache_get(rsrc->index_cache, in panfrost_get_index_buffer_bounded()
151 panfrost_minmax_cache_add(rsrc->index_cache, in panfrost_get_index_buffer_bounded()
244 struct panfrost_resource *rsrc = pan_resource(image->resource); in panfrost_track_image_access() local
247 panfrost_batch_write_rsrc(batch, rsrc, stage); in panfrost_track_image_access()
249 bool is_buffer = rsrc->base.target == PIPE_BUFFER; in panfrost_track_image_access()
251 BITSET_SET(rsrc in panfrost_track_image_access()
[all...]
H A Dpan_job.c57 struct panfrost_resource *rsrc = pan_resource(surf->texture); in panfrost_batch_add_surface() local
58 panfrost_batch_write_rsrc(batch, rsrc, PIPE_SHADER_FRAGMENT); in panfrost_batch_add_surface()
126 struct panfrost_resource *rsrc = (void *) entry->key; in panfrost_batch_cleanup() local
128 if (_mesa_hash_table_search(ctx->writers, rsrc)) { in panfrost_batch_cleanup()
129 _mesa_hash_table_remove_key(ctx->writers, rsrc); in panfrost_batch_cleanup()
130 rsrc->track.nr_writers--; in panfrost_batch_cleanup()
133 rsrc->track.nr_users--; in panfrost_batch_cleanup()
135 pipe_resource_reference((struct pipe_resource **) &rsrc, NULL); in panfrost_batch_cleanup()
236 struct panfrost_resource *rsrc, bool writes) in panfrost_batch_update_access()
240 struct hash_entry *entry = _mesa_hash_table_search(ctx->writers, rsrc); in panfrost_batch_update_access()
235 panfrost_batch_update_access(struct panfrost_batch *batch, struct panfrost_resource *rsrc, bool writes) panfrost_batch_update_access() argument
330 panfrost_batch_read_rsrc(struct panfrost_batch *batch, struct panfrost_resource *rsrc, enum pipe_shader_type stage) panfrost_batch_read_rsrc() argument
349 panfrost_batch_write_rsrc(struct panfrost_batch *batch, struct panfrost_resource *rsrc, enum pipe_shader_type stage) panfrost_batch_write_rsrc() argument
368 panfrost_resource_swap_bo(struct panfrost_context *ctx, struct panfrost_resource *rsrc, struct panfrost_bo *newbo) panfrost_resource_swap_bo() argument
879 panfrost_flush_writer(struct panfrost_context *ctx, struct panfrost_resource *rsrc, const char *reason) panfrost_flush_writer() argument
892 panfrost_flush_batches_accessing_rsrc(struct panfrost_context *ctx, struct panfrost_resource *rsrc, const char *reason) panfrost_flush_batches_accessing_rsrc() argument
[all...]
/kernel/linux/linux-5.10/drivers/mtd/maps/
H A Dichxrom.c41 struct resource rsrc; member
49 struct resource rsrc; member
71 if (map->rsrc.parent) in ichxrom_cleanup()
72 release_resource(&map->rsrc); in ichxrom_cleanup()
78 if (window->rsrc.parent) in ichxrom_cleanup()
79 release_resource(&window->rsrc); in ichxrom_cleanup()
175 window->rsrc.name = MOD_NAME; in ichxrom_init_one()
176 window->rsrc.start = window->phys; in ichxrom_init_one()
177 window->rsrc.end = window->phys + window->size - 1; in ichxrom_init_one()
178 window->rsrc in ichxrom_init_one()
[all...]
H A Dck804xrom.c40 struct resource rsrc; member
48 struct resource rsrc; member
95 if (map->rsrc.parent) in ck804xrom_cleanup()
96 release_resource(&map->rsrc); in ck804xrom_cleanup()
103 if (window->rsrc.parent) in ck804xrom_cleanup()
104 release_resource(&window->rsrc); in ck804xrom_cleanup()
175 window->rsrc.name = MOD_NAME; in ck804xrom_init_one()
176 window->rsrc.start = window->phys; in ck804xrom_init_one()
177 window->rsrc.end = window->phys + window->size - 1; in ck804xrom_init_one()
178 window->rsrc in ck804xrom_init_one()
[all...]
H A Damd76xrom.c36 struct resource rsrc; member
44 struct resource rsrc; member
83 if (map->rsrc.parent) { in amd76xrom_cleanup()
84 release_resource(&map->rsrc); in amd76xrom_cleanup()
91 if (window->rsrc.parent) in amd76xrom_cleanup()
92 release_resource(&window->rsrc); in amd76xrom_cleanup()
146 window->rsrc.name = MOD_NAME; in amd76xrom_init_one()
147 window->rsrc.start = window->phys; in amd76xrom_init_one()
148 window->rsrc.end = window->phys + window->size - 1; in amd76xrom_init_one()
149 window->rsrc in amd76xrom_init_one()
[all...]
H A Desb2rom.c102 struct resource rsrc; member
110 struct resource rsrc; member
130 if (map->rsrc.parent) in esb2rom_cleanup()
131 release_resource(&map->rsrc); in esb2rom_cleanup()
137 if (window->rsrc.parent) in esb2rom_cleanup()
138 release_resource(&window->rsrc); in esb2rom_cleanup()
240 window->rsrc.name = MOD_NAME; in esb2rom_init_one()
241 window->rsrc.start = window->phys; in esb2rom_init_one()
242 window->rsrc.end = window->phys + window->size - 1; in esb2rom_init_one()
243 window->rsrc in esb2rom_init_one()
[all...]
/kernel/linux/linux-6.6/drivers/mtd/maps/
H A Dck804xrom.c40 struct resource rsrc; member
48 struct resource rsrc; member
95 if (map->rsrc.parent) in ck804xrom_cleanup()
96 release_resource(&map->rsrc); in ck804xrom_cleanup()
103 if (window->rsrc.parent) in ck804xrom_cleanup()
104 release_resource(&window->rsrc); in ck804xrom_cleanup()
175 window->rsrc.name = MOD_NAME; in ck804xrom_init_one()
176 window->rsrc.start = window->phys; in ck804xrom_init_one()
177 window->rsrc.end = window->phys + window->size - 1; in ck804xrom_init_one()
178 window->rsrc in ck804xrom_init_one()
[all...]
H A Dichxrom.c41 struct resource rsrc; member
49 struct resource rsrc; member
71 if (map->rsrc.parent) in ichxrom_cleanup()
72 release_resource(&map->rsrc); in ichxrom_cleanup()
78 if (window->rsrc.parent) in ichxrom_cleanup()
79 release_resource(&window->rsrc); in ichxrom_cleanup()
175 window->rsrc.name = MOD_NAME; in ichxrom_init_one()
176 window->rsrc.start = window->phys; in ichxrom_init_one()
177 window->rsrc.end = window->phys + window->size - 1; in ichxrom_init_one()
178 window->rsrc in ichxrom_init_one()
[all...]
H A Damd76xrom.c36 struct resource rsrc; member
44 struct resource rsrc; member
83 if (map->rsrc.parent) { in amd76xrom_cleanup()
84 release_resource(&map->rsrc); in amd76xrom_cleanup()
91 if (window->rsrc.parent) in amd76xrom_cleanup()
92 release_resource(&window->rsrc); in amd76xrom_cleanup()
146 window->rsrc.name = MOD_NAME; in amd76xrom_init_one()
147 window->rsrc.start = window->phys; in amd76xrom_init_one()
148 window->rsrc.end = window->phys + window->size - 1; in amd76xrom_init_one()
149 window->rsrc in amd76xrom_init_one()
[all...]
H A Desb2rom.c102 struct resource rsrc; member
110 struct resource rsrc; member
130 if (map->rsrc.parent) in esb2rom_cleanup()
131 release_resource(&map->rsrc); in esb2rom_cleanup()
137 if (window->rsrc.parent) in esb2rom_cleanup()
138 release_resource(&window->rsrc); in esb2rom_cleanup()
240 window->rsrc.name = MOD_NAME; in esb2rom_init_one()
241 window->rsrc.start = window->phys; in esb2rom_init_one()
242 window->rsrc.end = window->phys + window->size - 1; in esb2rom_init_one()
243 window->rsrc in esb2rom_init_one()
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dvgaarb.h77 extern int vga_get(struct pci_dev *pdev, unsigned int rsrc, int interruptible);
79 static inline int vga_get(struct pci_dev *pdev, unsigned int rsrc, int interruptible) { return 0; } in vga_get() argument
85 * @rsrc: bit mask of resources to acquire and lock
92 unsigned int rsrc) in vga_get_interruptible()
94 return vga_get(pdev, rsrc, 1); in vga_get_interruptible()
100 * @rsrc: bit mask of resources to acquire and lock
107 unsigned int rsrc) in vga_get_uninterruptible()
109 return vga_get(pdev, rsrc, 0); in vga_get_uninterruptible()
113 extern void vga_put(struct pci_dev *pdev, unsigned int rsrc);
115 #define vga_put(pdev, rsrc)
91 vga_get_interruptible(struct pci_dev *pdev, unsigned int rsrc) vga_get_interruptible() argument
106 vga_get_uninterruptible(struct pci_dev *pdev, unsigned int rsrc) vga_get_uninterruptible() argument
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dvgaarb.h30 int vga_get(struct pci_dev *pdev, unsigned int rsrc, int interruptible);
31 void vga_put(struct pci_dev *pdev, unsigned int rsrc);
42 static inline int vga_get(struct pci_dev *pdev, unsigned int rsrc, in vga_get() argument
47 static inline void vga_put(struct pci_dev *pdev, unsigned int rsrc) in vga_put() argument
71 * @rsrc: bit mask of resources to acquire and lock
78 unsigned int rsrc) in vga_get_interruptible()
80 return vga_get(pdev, rsrc, 1); in vga_get_interruptible()
86 * @rsrc: bit mask of resources to acquire and lock
93 unsigned int rsrc) in vga_get_uninterruptible()
95 return vga_get(pdev, rsrc, in vga_get_uninterruptible()
77 vga_get_interruptible(struct pci_dev *pdev, unsigned int rsrc) vga_get_interruptible() argument
92 vga_get_uninterruptible(struct pci_dev *pdev, unsigned int rsrc) vga_get_uninterruptible() argument
[all...]
/kernel/linux/linux-6.6/drivers/pmdomain/imx/
H A Dscu-pd.c54 #include <dt-bindings/firmware/imx/rsrc.h>
95 u32 rsrc; member
100 u32 rsrc; member
336 static int imx_sc_get_pd_power(struct device *dev, u32 rsrc) in imx_sc_get_pd_power() argument
347 msg.data.req.resource = rsrc; in imx_sc_get_pd_power()
352 rsrc, ret); in imx_sc_get_pd_power()
371 msg.resource = pd->rsrc; in imx_sc_pd_power()
375 if (imx_con_rsrc == pd->rsrc && !console_suspend_enabled && !power_on) in imx_sc_pd_power()
381 power_on ? "up" : "off", pd->rsrc, ret); in imx_sc_pd_power()
407 if (sc_pd->rsrc in imx_scu_pd_xlate()
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_resources.c139 static LLVMValueRef force_dcc_off(struct si_shader_context *ctx, LLVMValueRef rsrc) in force_dcc_off() argument
142 return rsrc; in force_dcc_off()
148 tmp = LLVMBuildExtractElement(ctx->ac.builder, rsrc, i32_6, ""); in force_dcc_off()
150 return LLVMBuildInsertElement(ctx->ac.builder, rsrc, tmp, i32_6, ""); in force_dcc_off()
154 static LLVMValueRef force_write_compress_off(struct si_shader_context *ctx, LLVMValueRef rsrc) in force_write_compress_off() argument
160 tmp = LLVMBuildExtractElement(ctx->ac.builder, rsrc, i32_6, ""); in force_write_compress_off()
162 return LLVMBuildInsertElement(ctx->ac.builder, rsrc, tmp, i32_6, ""); in force_write_compress_off()
165 static LLVMValueRef fixup_image_desc(struct si_shader_context *ctx, LLVMValueRef rsrc, in fixup_image_desc() argument
169 rsrc = force_dcc_off(ctx, rsrc); in fixup_image_desc()
185 LLVMValueRef rsrc; si_load_image_desc() local
315 LLVMValueRef rsrc = ac_get_arg(&ctx->ac, ctx->cs_image[const_index]); si_nir_load_sampler_desc() local
[all...]
/kernel/linux/linux-5.10/sound/soc/intel/atom/sst/
H A Dsst_acpi.c150 struct resource *rsrc; in sst_platform_get_resources() local
155 rsrc = platform_get_resource(pdev, IORESOURCE_MEM, in sst_platform_get_resources()
157 if (!rsrc) { in sst_platform_get_resources()
161 dev_info(ctx->dev, "LPE base: %#x size:%#x", (unsigned int) rsrc->start, in sst_platform_get_resources()
162 (unsigned int)resource_size(rsrc)); in sst_platform_get_resources()
164 ctx->iram_base = rsrc->start + ctx->pdata->res_info->iram_offset; in sst_platform_get_resources()
174 ctx->dram_base = rsrc->start + ctx->pdata->res_info->dram_offset; in sst_platform_get_resources()
184 ctx->shim_phy_add = rsrc->start + ctx->pdata->res_info->shim_offset; in sst_platform_get_resources()
197 ctx->mailbox_add = rsrc->start + ctx->pdata->res_info->mbox_offset; in sst_platform_get_resources()
209 rsrc in sst_platform_get_resources()
[all...]
/third_party/mesa3d/src/gallium/drivers/asahi/
H A Dmagic.c56 struct agx_resource *rsrc = agx_resource(prsrc); in asahi_size_resource() local
57 size_t size = rsrc->slices[level].size; in asahi_size_resource()
59 if (rsrc->separate_stencil) in asahi_size_resource()
60 size += asahi_size_resource(&rsrc->separate_stencil->base, level); in asahi_size_resource()
99 agx_map_surface_resource(struct pipe_surface *surf, struct agx_resource *rsrc) in agx_map_surface_resource() argument
101 return agx_map_texture_gpu(rsrc, surf->u.tex.level, surf->u.tex.first_layer); in agx_map_surface_resource()
111 asahi_pack_iogpu_attachment(void *out, struct agx_resource *rsrc, in asahi_pack_iogpu_attachment() argument
119 cfg.type = asahi_classify_attachment(rsrc->base.format); in asahi_pack_iogpu_attachment()
120 cfg.address = agx_map_surface_resource(surf, rsrc); in asahi_pack_iogpu_attachment()
121 cfg.size = rsrc in asahi_pack_iogpu_attachment()
141 struct agx_resource *rsrc = agx_resource(framebuffer->zsbuf->texture); asahi_pack_iogpu_attachments() local
[all...]
H A Dagx_state.h284 agx_texture_offset(struct agx_resource *rsrc, unsigned level, unsigned z) in agx_texture_offset() argument
286 return rsrc->slices[level].offset + (z * rsrc->array_stride); in agx_texture_offset()
290 agx_map_texture_cpu(struct agx_resource *rsrc, unsigned level, unsigned z) in agx_map_texture_cpu() argument
292 return ((uint8_t *) rsrc->bo->ptr.cpu) + agx_texture_offset(rsrc, level, z); in agx_map_texture_cpu()
296 agx_map_texture_gpu(struct agx_resource *rsrc, unsigned level, unsigned z) in agx_map_texture_gpu() argument
298 return rsrc->bo->ptr.gpu + (uint64_t) agx_texture_offset(rsrc, level, z); in agx_map_texture_gpu()
305 struct pipe_resource *rsrc; member
[all...]

Completed in 16 milliseconds

1234567