Home
last modified time | relevance | path

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

/drivers/net/phy/
Dspi_ks8995.c111 int regs_size; member
121 .regs_size = KS8995_REGS_SIZE,
129 .regs_size = KSZ8864_REGS_SIZE,
137 .regs_size = KSZ8795_REGS_SIZE,
495 ks->regs_attr.size = ks->chip->regs_size; in ks8995_probe()
/drivers/mtd/nand/
Dmpc5121_nfc.c636 unsigned long regs_paddr, regs_size; in mpc5121_nfc_probe() local
690 regs_size = resource_size(&res); in mpc5121_nfc_probe()
692 if (!devm_request_mem_region(dev, regs_paddr, regs_size, DRV_NAME)) { in mpc5121_nfc_probe()
697 prv->regs = devm_ioremap(dev, regs_paddr, regs_size); in mpc5121_nfc_probe()
/drivers/dma/
Dmpc512x_dma.c917 ulong regs_start, regs_size; in mpc_dma_probe() local
951 regs_size = resource_size(&res); in mpc_dma_probe()
953 if (!devm_request_mem_region(dev, regs_start, regs_size, DRV_NAME)) { in mpc_dma_probe()
959 mdma->regs = devm_ioremap(dev, regs_start, regs_size); in mpc_dma_probe()
Dsirf-dma.c849 ulong regs_start, regs_size; in sirfsoc_dma_probe() local
887 regs_size = resource_size(&res); in sirfsoc_dma_probe()
889 sdma->base = devm_ioremap(dev, regs_start, regs_size); in sirfsoc_dma_probe()
/drivers/gpu/drm/amd/amdgpu/
Dgmc_v6_0.c143 int i, regs_size, ucode_size; in gmc_v6_0_mc_load_microcode() local
154 regs_size = le32_to_cpu(hdr->io_debug_size_bytes) / (4 * 2); in gmc_v6_0_mc_load_microcode()
170 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()
Dgmc_v8_0.c266 int i, ucode_size, regs_size; in gmc_v8_0_mc_load_microcode() local
283 regs_size = le32_to_cpu(hdr->io_debug_size_bytes) / (4 * 2); in gmc_v8_0_mc_load_microcode()
298 for (i = 0; i < regs_size; i++) { in gmc_v8_0_mc_load_microcode()
/drivers/misc/lis3lv02d/
Dlis3lv02d.h284 int regs_size; member
Dlis3lv02d.c383 for (i = 0; i < lis3->regs_size; i++) in lis3_context_save()
392 for (i = 0; i < lis3->regs_size; i++) in lis3_context_restore()
1135 lis3->regs_size = ARRAY_SIZE(lis3_wai12_regs); in lis3lv02d_init_device()
1146 lis3->regs_size = ARRAY_SIZE(lis3_wai8_regs); in lis3lv02d_init_device()
/drivers/media/platform/marvell-ccic/
Dmcam-core.h106 unsigned regs_size; /* size in bytes of the register space */ member
Dmmp-driver.c383 mcam->regs_size = resource_size(res); in mmpcam_probe()
Dcafe-driver.c510 mcam->regs_size = pci_resource_len(pdev, 0); in cafe_pci_probe()
Dmcam-core.c1541 if (reg->reg > cam->regs_size - 4) in mcam_vidioc_g_register()
1553 if (reg->reg > cam->regs_size - 4) in mcam_vidioc_s_register()
/drivers/gpu/drm/radeon/
Dni.c639 int i, ucode_size, regs_size; in ni_mc_load_microcode() local
648 regs_size = BTC_IO_MC_REGS_SIZE; in ni_mc_load_microcode()
653 regs_size = BTC_IO_MC_REGS_SIZE; in ni_mc_load_microcode()
659 regs_size = BTC_IO_MC_REGS_SIZE; in ni_mc_load_microcode()
664 regs_size = BTC_IO_MC_REGS_SIZE; in ni_mc_load_microcode()
682 for (i = 0; i < regs_size; i++) { in ni_mc_load_microcode()
Dsi.c1554 int i, regs_size, ucode_size; in si_mc_load_microcode() local
1564 regs_size = le32_to_cpu(hdr->io_debug_size_bytes) / (4 * 2); in si_mc_load_microcode()
1576 regs_size = TAHITI_IO_MC_REGS_SIZE; in si_mc_load_microcode()
1580 regs_size = TAHITI_IO_MC_REGS_SIZE; in si_mc_load_microcode()
1585 regs_size = TAHITI_IO_MC_REGS_SIZE; in si_mc_load_microcode()
1589 regs_size = TAHITI_IO_MC_REGS_SIZE; in si_mc_load_microcode()
1593 regs_size = TAHITI_IO_MC_REGS_SIZE; in si_mc_load_microcode()
1607 for (i = 0; i < regs_size; i++) { in si_mc_load_microcode()
Dcik.c1877 int i, regs_size, ucode_size; in ci_mc_load_microcode() local
1888 regs_size = le32_to_cpu(hdr->io_debug_size_bytes) / (4 * 2); in ci_mc_load_microcode()
1900 regs_size = BONAIRE_IO_MC_REGS_SIZE; in ci_mc_load_microcode()
1904 regs_size = HAWAII_IO_MC_REGS_SIZE; in ci_mc_load_microcode()
1920 for (i = 0; i < regs_size; i++) { in ci_mc_load_microcode()
/drivers/usb/dwc3/
Dcore.h872 size_t regs_size; member
Dcore.c977 dwc->regs_size = resource_size(res); in dwc3_probe()