/kernel/linux/linux-6.6/arch/powerpc/sysdev/ |
H A D | mpic_msgr.c | 171 struct resource rsrc; in mpic_msgr_probe() local 202 of_address_to_resource(np, 0, &rsrc); in mpic_msgr_probe() 203 msgr_block_addr = devm_ioremap(&dev->dev, rsrc.start, resource_size(&rsrc)); in mpic_msgr_probe()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/52xx/ |
H A D | mpc52xx_pci.c | 370 struct resource rsrc; in mpc52xx_add_bridge() local 376 if (of_address_to_resource(node, 0, &rsrc) != 0) { in mpc52xx_add_bridge() 405 pci_regs = ioremap(rsrc.start, resource_size(&rsrc)); in mpc52xx_add_bridge() 413 mpc52xx_pci_setup(hose, pci_regs, rsrc.start); in mpc52xx_add_bridge()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/52xx/ |
H A D | mpc52xx_pci.c | 361 struct resource rsrc; in mpc52xx_add_bridge() local 367 if (of_address_to_resource(node, 0, &rsrc) != 0) { in mpc52xx_add_bridge() 396 pci_regs = ioremap(rsrc.start, resource_size(&rsrc)); in mpc52xx_add_bridge() 404 mpc52xx_pci_setup(hose, pci_regs, rsrc.start); in mpc52xx_add_bridge()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu.h | 210 struct rsrc_bmap rsrc; member 431 int rvu_alloc_bitmap(struct rsrc_bmap *rsrc); 432 int rvu_alloc_rsrc(struct rsrc_bmap *rsrc); 433 void rvu_free_rsrc(struct rsrc_bmap *rsrc, int id); 434 int rvu_rsrc_free_count(struct rsrc_bmap *rsrc); 435 int rvu_alloc_rsrc_contig(struct rsrc_bmap *rsrc, int nrsrc); 436 bool rvu_rsrc_check_contig(struct rsrc_bmap *rsrc, int nrsrc);
|
/kernel/linux/linux-6.6/drivers/clk/imx/ |
H A D | clk-imx8qm-rsrc.c | 7 #include <dt-bindings/firmware/imx/rsrc.h> 114 .rsrc = imx8qm_clk_scu_rsrc_table,
|
H A D | clk-imx8qxp-rsrc.c | 7 #include <dt-bindings/firmware/imx/rsrc.h> 87 .rsrc = imx8qxp_clk_scu_rsrc_table,
|
/third_party/mesa3d/src/amd/llvm/ |
H A D | ac_llvm_build.h | 257 void ac_build_buffer_store_dword(struct ac_llvm_context *ctx, LLVMValueRef rsrc, LLVMValueRef vdata, 261 void ac_build_buffer_store_format(struct ac_llvm_context *ctx, LLVMValueRef rsrc, LLVMValueRef data, 264 LLVMValueRef ac_build_buffer_load(struct ac_llvm_context *ctx, LLVMValueRef rsrc, int num_channels, 269 LLVMValueRef ac_build_buffer_load_format(struct ac_llvm_context *ctx, LLVMValueRef rsrc, 274 LLVMValueRef ac_build_buffer_load_short(struct ac_llvm_context *ctx, LLVMValueRef rsrc, 278 LLVMValueRef ac_build_buffer_load_byte(struct ac_llvm_context *ctx, LLVMValueRef rsrc, 282 LLVMValueRef ac_build_struct_tbuffer_load(struct ac_llvm_context *ctx, LLVMValueRef rsrc, 290 bool known_aligned, LLVMValueRef rsrc, 295 void ac_build_buffer_store_short(struct ac_llvm_context *ctx, LLVMValueRef rsrc, 299 void ac_build_buffer_store_byte(struct ac_llvm_context *ctx, LLVMValueRef rsrc, LLVMValueRe [all...] |
/kernel/linux/linux-5.10/sound/ppc/ |
H A D | pmac.c | 842 release_mem_region(chip->rsrc[i].start, in snd_pmac_free() 843 resource_size(&chip->rsrc[i])); in snd_pmac_free() 1181 &chip->rsrc[i])) { in snd_pmac_new() 1182 printk(KERN_ERR "snd: can't translate rsrc " in snd_pmac_new() 1187 if (request_mem_region(chip->rsrc[i].start, in snd_pmac_new() 1188 resource_size(&chip->rsrc[i]), in snd_pmac_new() 1190 printk(KERN_ERR "snd: can't request rsrc " in snd_pmac_new() 1192 i, rnames[i], &chip->rsrc[i]); in snd_pmac_new() 1198 ctrl_addr = chip->rsrc[0].start; in snd_pmac_new() 1199 txdma_addr = chip->rsrc[ in snd_pmac_new() [all...] |
/kernel/linux/linux-6.6/sound/ppc/ |
H A D | pmac.c | 842 release_mem_region(chip->rsrc[i].start, in snd_pmac_free() 843 resource_size(&chip->rsrc[i])); in snd_pmac_free() 1182 &chip->rsrc[i])) { in snd_pmac_new() 1183 printk(KERN_ERR "snd: can't translate rsrc " in snd_pmac_new() 1188 if (request_mem_region(chip->rsrc[i].start, in snd_pmac_new() 1189 resource_size(&chip->rsrc[i]), in snd_pmac_new() 1191 printk(KERN_ERR "snd: can't request rsrc " in snd_pmac_new() 1193 i, rnames[i], &chip->rsrc[i]); in snd_pmac_new() 1199 ctrl_addr = chip->rsrc[0].start; in snd_pmac_new() 1200 txdma_addr = chip->rsrc[ in snd_pmac_new() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu.c | 128 int rvu_alloc_rsrc(struct rsrc_bmap *rsrc) in rvu_alloc_rsrc() argument 132 if (!rsrc->bmap) in rvu_alloc_rsrc() 135 id = find_first_zero_bit(rsrc->bmap, rsrc->max); in rvu_alloc_rsrc() 136 if (id >= rsrc->max) in rvu_alloc_rsrc() 139 __set_bit(id, rsrc->bmap); in rvu_alloc_rsrc() 144 int rvu_alloc_rsrc_contig(struct rsrc_bmap *rsrc, int nrsrc) in rvu_alloc_rsrc_contig() argument 148 if (!rsrc->bmap) in rvu_alloc_rsrc_contig() 151 start = bitmap_find_next_zero_area(rsrc->bmap, rsrc in rvu_alloc_rsrc_contig() 159 rvu_free_rsrc_contig(struct rsrc_bmap *rsrc, int nrsrc, int start) rvu_free_rsrc_contig() argument 169 rvu_rsrc_check_contig(struct rsrc_bmap *rsrc, int nrsrc) rvu_rsrc_check_contig() argument 183 rvu_free_rsrc(struct rsrc_bmap *rsrc, int id) rvu_free_rsrc() argument 191 rvu_rsrc_free_count(struct rsrc_bmap *rsrc) rvu_rsrc_free_count() argument 202 is_rsrc_free(struct rsrc_bmap *rsrc, int id) is_rsrc_free() argument 210 rvu_alloc_bitmap(struct rsrc_bmap *rsrc) rvu_alloc_bitmap() argument 219 rvu_free_bitmap(struct rsrc_bmap *rsrc) rvu_free_bitmap() argument [all...] |
H A D | rvu.h | 308 struct rsrc_bmap rsrc; member 325 struct rsrc_bmap rsrc; member 740 int rvu_alloc_bitmap(struct rsrc_bmap *rsrc); 741 void rvu_free_bitmap(struct rsrc_bmap *rsrc); 742 int rvu_alloc_rsrc(struct rsrc_bmap *rsrc); 743 void rvu_free_rsrc(struct rsrc_bmap *rsrc, int id); 744 bool is_rsrc_free(struct rsrc_bmap *rsrc, int id); 745 int rvu_rsrc_free_count(struct rsrc_bmap *rsrc); 746 int rvu_alloc_rsrc_contig(struct rsrc_bmap *rsrc, int nrsrc); 747 bool rvu_rsrc_check_contig(struct rsrc_bmap *rsrc, in [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/ |
H A D | i40iw_puda.h | 82 struct i40iw_puda_buf *next; /* for alloclist in rsrc struct */ 157 struct i40iw_puda_buf *i40iw_puda_get_bufpool(struct i40iw_puda_rsrc *rsrc); 158 void i40iw_puda_ret_bufpool(struct i40iw_puda_rsrc *rsrc, 160 void i40iw_puda_send_buf(struct i40iw_puda_rsrc *rsrc,
|
/kernel/linux/linux-6.6/sound/soc/amd/acp/ |
H A D | acp-renoir.c | 28 static struct acp_resource rsrc = { variable 183 adata->rsrc = &rsrc; in renoir_audio_probe()
|
H A D | acp-rembrandt.c | 34 static struct acp_resource rsrc = { variable 228 adata->rsrc = &rsrc; in rembrandt_audio_probe()
|
H A D | chip_offset_byte.h | 24 (adata->acp_base + adata->rsrc->irq_reg_offset + offset + (ctrl * 0x04)) 29 (0x4 + (adata->rsrc->no_of_ctrls * 0x04)), ctrl)
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_virtualbass.c | 100 const double *rsrc = (const double *)in->extended_data[1]; in vb_stereo() local 115 memcpy(rdst, rsrc, in->nb_samples * sizeof(double)); in vb_stereo() 118 const double center = (lsrc[n] + rsrc[n]) * 0.5; in vb_stereo()
|
/kernel/linux/linux-5.10/drivers/vfio/pci/ |
H A D | vfio_pci_rdwr.c | 297 unsigned int rsrc; in vfio_pci_vga_rw() local 312 rsrc = VGA_RSRC_LEGACY_MEM; in vfio_pci_vga_rw() 319 rsrc = VGA_RSRC_LEGACY_IO; in vfio_pci_vga_rw() 326 rsrc = VGA_RSRC_LEGACY_IO; in vfio_pci_vga_rw() 336 ret = vga_get_interruptible(vdev->pdev, rsrc); in vfio_pci_vga_rw() 349 vga_put(vdev->pdev, rsrc); in vfio_pci_vga_rw()
|
/kernel/linux/linux-6.6/drivers/vfio/pci/ |
H A D | vfio_pci_rdwr.c | 298 unsigned int rsrc; in vfio_pci_vga_rw() local 313 rsrc = VGA_RSRC_LEGACY_MEM; in vfio_pci_vga_rw() 320 rsrc = VGA_RSRC_LEGACY_IO; in vfio_pci_vga_rw() 327 rsrc = VGA_RSRC_LEGACY_IO; in vfio_pci_vga_rw() 337 ret = vga_get_interruptible(vdev->pdev, rsrc); in vfio_pci_vga_rw() 350 vga_put(vdev->pdev, rsrc); in vfio_pci_vga_rw()
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
H A D | pan_context.c | 272 struct panfrost_resource *rsrc = pan_resource(image->resource); in panfrost_set_shader_images() local 275 if (drm_is_afbc(rsrc->image.layout.modifier)) { in panfrost_set_shader_images() 276 pan_resource_modifier_convert(ctx, rsrc, in panfrost_set_shader_images() 865 if (query->rsrc) in panfrost_destroy_query() 866 pipe_resource_reference(&query->rsrc, NULL); in panfrost_destroy_query() 885 if (!query->rsrc) { in panfrost_begin_query() 886 query->rsrc = pipe_buffer_create(ctx->base.screen, in panfrost_begin_query() 893 pipe_buffer_write(pipe, query->rsrc, 0, size, zeroes); in panfrost_begin_query() 952 struct panfrost_resource *rsrc = pan_resource(query->rsrc); in panfrost_get_query_result() local [all...] |
/kernel/linux/linux-5.10/drivers/ptp/ |
H A D | ptp_qoriq.c | 579 ptp_qoriq->rsrc = platform_get_resource(dev, IORESOURCE_MEM, 0); in ptp_qoriq_probe() 580 if (!ptp_qoriq->rsrc) { in ptp_qoriq_probe() 584 if (request_resource(&iomem_resource, ptp_qoriq->rsrc)) { in ptp_qoriq_probe() 589 base = ioremap(ptp_qoriq->rsrc->start, in ptp_qoriq_probe() 590 resource_size(ptp_qoriq->rsrc)); in ptp_qoriq_probe() 606 release_resource(ptp_qoriq->rsrc); in ptp_qoriq_probe() 620 release_resource(ptp_qoriq->rsrc); in ptp_qoriq_remove()
|
/kernel/linux/linux-6.6/drivers/ptp/ |
H A D | ptp_qoriq.c | 615 ptp_qoriq->rsrc = platform_get_resource(dev, IORESOURCE_MEM, 0); in ptp_qoriq_probe() 616 if (!ptp_qoriq->rsrc) { in ptp_qoriq_probe() 620 if (request_resource(&iomem_resource, ptp_qoriq->rsrc)) { in ptp_qoriq_probe() 625 base = ioremap(ptp_qoriq->rsrc->start, in ptp_qoriq_probe() 626 resource_size(ptp_qoriq->rsrc)); in ptp_qoriq_probe() 642 release_resource(ptp_qoriq->rsrc); in ptp_qoriq_probe() 656 release_resource(ptp_qoriq->rsrc); in ptp_qoriq_remove()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/ |
H A D | puda.h | 59 struct irdma_puda_buf *next; /* for alloclist in rsrc struct */ 149 struct irdma_puda_buf *irdma_puda_get_bufpool(struct irdma_puda_rsrc *rsrc); 150 void irdma_puda_ret_bufpool(struct irdma_puda_rsrc *rsrc, 152 void irdma_puda_send_buf(struct irdma_puda_rsrc *rsrc,
|
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_nir_analyze_ubo_ranges.c | 64 nir_intrinsic_instr *rsrc = ir3_bindless_resource(instr->src[0]); in get_ubo_info() local 65 if (rsrc && nir_src_is_const(rsrc->src[0])) { in get_ubo_info() 66 ubo->block = nir_src_as_uint(rsrc->src[0]); in get_ubo_info() 67 ubo->bindless_base = nir_intrinsic_desc_set(rsrc); in get_ubo_info()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_test_dma.c | 208 struct r600_texture *rsrc; in r600_test_dma() local 278 rsrc = (struct r600_texture*)src; in r600_test_dma() 287 array_mode_to_string(rscreen, &rsrc->surface), bpp); in r600_test_dma() 324 if (!rsrc->surface.is_linear && in r600_test_dma() 352 if (rsrc->surface.is_linear && in r600_test_dma()
|
/kernel/linux/linux-6.6/io_uring/ |
H A D | rsrc.h | 23 void *rsrc; member 63 int io_queue_rsrc_removal(struct io_rsrc_data *data, unsigned idx, void *rsrc);
|