Home
last modified time | relevance | path

Searched refs:regs_size (Results 1 – 23 of 23) sorted by relevance

/Linux-v5.10/drivers/net/phy/
Dspi_ks8995.c108 int regs_size; member
118 .regs_size = KS8995_REGS_SIZE,
126 .regs_size = KSZ8864_REGS_SIZE,
134 .regs_size = KSZ8795_REGS_SIZE,
500 ks->regs_attr.size = ks->chip->regs_size; in ks8995_probe()
/Linux-v5.10/sound/soc/intel/catpt/
Ddsp.c495 size_t dump_size, regs_size; in catpt_coredump() local
501 regs_size = CATPT_SHIM_REGS_SIZE; in catpt_coredump()
502 regs_size += CATPT_DMA_COUNT * CATPT_DMA_REGS_SIZE; in catpt_coredump()
503 regs_size += CATPT_SSP_COUNT * CATPT_SSP_REGS_SIZE; in catpt_coredump()
506 dump_size += regs_size; in catpt_coredump()
561 hdr->size = regs_size; in catpt_coredump()
/Linux-v5.10/arch/powerpc/platforms/512x/
Dmpc512x_lpbfifo.c36 resource_size_t regs_size; member
448 lpbfifo.regs_size = resource_size(&r); in mpc512x_lpbfifo_probe()
451 lpbfifo.regs_size, DRV_NAME)) { in mpc512x_lpbfifo_probe()
458 lpbfifo.regs_phys, lpbfifo.regs_size); in mpc512x_lpbfifo_probe()
/Linux-v5.10/drivers/mtd/nand/raw/
Dmpc5121_nfc.c629 unsigned long regs_paddr, regs_size; in mpc5121_nfc_probe() local
687 regs_size = resource_size(&res); in mpc5121_nfc_probe()
689 if (!devm_request_mem_region(dev, regs_paddr, regs_size, DRV_NAME)) { in mpc5121_nfc_probe()
694 prv->regs = devm_ioremap(dev, regs_paddr, regs_size); in mpc5121_nfc_probe()
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/
Dgmc_v8_0.c304 int i, ucode_size, regs_size; in gmc_v8_0_tonga_mc_load_microcode() local
321 regs_size = le32_to_cpu(hdr->io_debug_size_bytes) / (4 * 2); in gmc_v8_0_tonga_mc_load_microcode()
336 for (i = 0; i < regs_size; i++) { in gmc_v8_0_tonga_mc_load_microcode()
373 int i, ucode_size, regs_size; in gmc_v8_0_polaris_mc_load_microcode() local
390 regs_size = le32_to_cpu(hdr->io_debug_size_bytes) / (4 * 2); in gmc_v8_0_polaris_mc_load_microcode()
402 for (i = 0; i < regs_size; i++) { in gmc_v8_0_polaris_mc_load_microcode()
Dgmc_v6_0.c156 int i, regs_size, ucode_size; in gmc_v6_0_mc_load_microcode() local
167 regs_size = le32_to_cpu(hdr->io_debug_size_bytes) / (4 * 2); in gmc_v6_0_mc_load_microcode()
183 for (i = 0; i < regs_size; i++) { in gmc_v6_0_mc_load_microcode()
Dgmc_v7_0.c187 int i, ucode_size, regs_size; in gmc_v7_0_mc_load_microcode() local
196 regs_size = le32_to_cpu(hdr->io_debug_size_bytes) / (4 * 2); in gmc_v7_0_mc_load_microcode()
211 for (i = 0; i < regs_size; i++) { in gmc_v7_0_mc_load_microcode()
/Linux-v5.10/drivers/dma/
Dmpc512x_dma.c905 ulong regs_start, regs_size; in mpc_dma_probe() local
939 regs_size = resource_size(&res); in mpc_dma_probe()
941 if (!devm_request_mem_region(dev, regs_start, regs_size, DRV_NAME)) { in mpc_dma_probe()
947 mdma->regs = devm_ioremap(dev, regs_start, regs_size); in mpc_dma_probe()
Dsirf-dma.c848 ulong regs_start, regs_size; in sirfsoc_dma_probe() local
886 regs_size = resource_size(&res); in sirfsoc_dma_probe()
888 sdma->base = devm_ioremap(dev, regs_start, regs_size); in sirfsoc_dma_probe()
/Linux-v5.10/drivers/misc/lis3lv02d/
Dlis3lv02d.h271 int regs_size; member
Dlis3lv02d.c371 for (i = 0; i < lis3->regs_size; i++) in lis3_context_save()
380 for (i = 0; i < lis3->regs_size; i++) in lis3_context_restore()
1131 lis3->regs_size = ARRAY_SIZE(lis3_wai12_regs); in lis3lv02d_init_device()
1142 lis3->regs_size = ARRAY_SIZE(lis3_wai8_regs); in lis3lv02d_init_device()
/Linux-v5.10/drivers/media/platform/marvell-ccic/
Dmcam-core.h107 unsigned regs_size; /* size in bytes of the register space */ member
Dmmp-driver.c229 mcam->regs_size = resource_size(res); in mmpcam_probe()
Dcafe-driver.c530 mcam->regs_size = pci_resource_len(pdev, 0); in cafe_pci_probe()
Dmcam-core.c1547 if (reg->reg > cam->regs_size - 4) in mcam_vidioc_g_register()
1559 if (reg->reg > cam->regs_size - 4) in mcam_vidioc_s_register()
/Linux-v5.10/drivers/gpu/drm/radeon/
Dni.c642 int i, ucode_size, regs_size; in ni_mc_load_microcode() local
651 regs_size = BTC_IO_MC_REGS_SIZE; in ni_mc_load_microcode()
656 regs_size = BTC_IO_MC_REGS_SIZE; in ni_mc_load_microcode()
662 regs_size = BTC_IO_MC_REGS_SIZE; in ni_mc_load_microcode()
667 regs_size = BTC_IO_MC_REGS_SIZE; in ni_mc_load_microcode()
685 for (i = 0; i < regs_size; i++) { in ni_mc_load_microcode()
Dsi.c1583 int i, regs_size, ucode_size; in si_mc_load_microcode() local
1593 regs_size = le32_to_cpu(hdr->io_debug_size_bytes) / (4 * 2); in si_mc_load_microcode()
1605 regs_size = TAHITI_IO_MC_REGS_SIZE; in si_mc_load_microcode()
1609 regs_size = TAHITI_IO_MC_REGS_SIZE; in si_mc_load_microcode()
1614 regs_size = TAHITI_IO_MC_REGS_SIZE; in si_mc_load_microcode()
1618 regs_size = TAHITI_IO_MC_REGS_SIZE; in si_mc_load_microcode()
1622 regs_size = TAHITI_IO_MC_REGS_SIZE; in si_mc_load_microcode()
1636 for (i = 0; i < regs_size; i++) { in si_mc_load_microcode()
Dcik.c1876 int i, regs_size, ucode_size; in ci_mc_load_microcode() local
1887 regs_size = le32_to_cpu(hdr->io_debug_size_bytes) / (4 * 2); in ci_mc_load_microcode()
1899 regs_size = BONAIRE_IO_MC_REGS_SIZE; in ci_mc_load_microcode()
1903 regs_size = HAWAII_IO_MC_REGS_SIZE; in ci_mc_load_microcode()
1919 for (i = 0; i < regs_size; i++) { in ci_mc_load_microcode()
/Linux-v5.10/sound/sparc/
Ddbri.c303 int regs_size, irq; /* Needed for unload */ member
2541 dbri->regs_size = resource_size(&op->resource[0]); in snd_dbri_create()
2543 dbri->regs_size, "DBRI Registers"); in snd_dbri_create()
2555 of_iounmap(&op->resource[0], dbri->regs, dbri->regs_size); in snd_dbri_create()
2581 of_iounmap(&dbri->op->resource[0], dbri->regs, dbri->regs_size); in snd_dbri_free()
Dcs4231.c117 unsigned int regs_size; member
1762 of_iounmap(&op->resource[0], chip->port, chip->regs_size); in snd_cs4231_sbus_free()
1791 chip->regs_size = resource_size(&op->resource[0]); in snd_cs4231_sbus_create()
1796 chip->regs_size, "cs4231"); in snd_cs4231_sbus_create()
/Linux-v5.10/drivers/net/dsa/microchip/
Dksz_common.h77 u32 regs_size; member
/Linux-v5.10/drivers/usb/dwc3/
Dcore.h1108 size_t regs_size; member
Dcore.c1489 dwc->regs_size = resource_size(&dwc_res); in dwc3_probe()