Home
last modified time | relevance | path

Searched refs:region_size (Results 1 – 19 of 19) sorted by relevance

/linux-4.19.296/drivers/char/tpm/
Dtpm_atmel.h26 int region_size; member
46 static void __iomem * atmel_get_base_addr(unsigned long *base, int *region_size) in atmel_get_base_addr() argument
84 *region_size = size; in atmel_get_base_addr()
85 return ioremap(*base, *region_size); in atmel_get_base_addr()
130 static void __iomem * atmel_get_base_addr(unsigned long *base, int *region_size) in atmel_get_base_addr() argument
141 *region_size = 2; in atmel_get_base_addr()
143 return ioport_map(*base, *region_size); in atmel_get_base_addr()
Dtpm_atmel.c149 atmel_release_region(priv->base, priv->region_size); in atml_plat_remove()
167 int have_region, region_size; in init_atmel() local
176 if ((iobase = atmel_get_base_addr(&base, &region_size)) == NULL) { in init_atmel()
183 (base, region_size, "tpm_atmel0") == NULL) ? 0 : 1; in init_atmel()
200 priv->region_size = region_size; in init_atmel()
222 region_size); in init_atmel()
/linux-4.19.296/drivers/media/radio/
Dradio-isa.c208 int radio_nr, unsigned region_size) in radio_isa_common_probe() argument
215 if (!request_region(isa->io, region_size, v4l2_dev->name)) { in radio_isa_common_probe()
281 release_region(isa->io, region_size); in radio_isa_common_probe()
287 unsigned region_size) in radio_isa_common_remove() argument
295 release_region(isa->io, region_size); in radio_isa_common_remove()
320 if (request_region(io, drv->region_size, v4l2_dev->name)) { in radio_isa_probe()
323 release_region(io, drv->region_size); in radio_isa_probe()
347 drv->region_size); in radio_isa_probe()
355 return radio_isa_common_remove(isa, isa->drv->region_size); in radio_isa_remove()
Dradio-isa.h90 unsigned region_size; member
Dradio-rtrack2.c124 .region_size = 4,
Dradio-aztech.c142 .region_size = 8,
Dradio-terratec.c151 .region_size = 2,
Dradio-typhoon.c153 .region_size = 8,
Dradio-aimslab.c176 .region_size = 2,
Dradio-zoltrix.c229 .region_size = 2,
Dradio-trust.c225 .region_size = 2,
Dradio-gemtek.c314 .region_size = 1,
/linux-4.19.296/drivers/misc/sgi-xp/
Dxpc_partition.c415 int region_size; in xpc_discovery() local
439 region_size = xp_region_size; in xpc_discovery()
446 switch (region_size) { in xpc_discovery()
455 region_size = 16; in xpc_discovery()
467 for (nasid = (region * region_size * 2); in xpc_discovery()
468 nasid < ((region + 1) * region_size * 2); nasid += 2) { in xpc_discovery()
/linux-4.19.296/drivers/char/
Dsonypi.c484 u16 region_size; member
1237 sonypi_device.region_size, in sonypi_setup_ioports()
1244 release_region(check->port1, sonypi_device.region_size); in sonypi_setup_ioports()
1251 sonypi_device.region_size, in sonypi_setup_ioports()
1346 sonypi_device.region_size = SONYPI_TYPE1_REGION_SIZE; in sonypi_probe()
1351 sonypi_device.region_size = SONYPI_TYPE2_REGION_SIZE; in sonypi_probe()
1356 sonypi_device.region_size = SONYPI_TYPE3_REGION_SIZE; in sonypi_probe()
1415 release_region(sonypi_device.ioport1, sonypi_device.region_size); in sonypi_probe()
1442 release_region(sonypi_device.ioport1, sonypi_device.region_size); in sonypi_remove()
/linux-4.19.296/include/linux/
Ddm-region-hash.h41 struct dm_dirty_log *log, uint32_t region_size,
/linux-4.19.296/drivers/bus/fsl-mc/
Ddprc-driver.c591 size_t region_size; in dprc_probe() local
614 region_size = resource_size(mc_dev->regions); in dprc_probe()
618 region_size, in dprc_probe()
/linux-4.19.296/drivers/pci/controller/
Dpcie-iproc.c1114 resource_size_t region_size = in iproc_pcie_setup_ib() local
1117 if (size != region_size) in iproc_pcie_setup_ib()
1120 if (!IS_ALIGNED(axi_addr, region_size) || in iproc_pcie_setup_ib()
1121 !IS_ALIGNED(pci_addr, region_size)) { in iproc_pcie_setup_ib()
/linux-4.19.296/include/net/
Ddevlink.h561 u64 region_size);
804 u64 region_size) in devlink_region_create() argument
/linux-4.19.296/include/acpi/
Dactbl2.h1012 u64 region_size; member