/linux-6.12.1/drivers/firmware/broadcom/ |
D | bcm47xx_nvram.c | 48 static void bcm47xx_nvram_copy(void __iomem *nvram_start, size_t res_size) in bcm47xx_nvram_copy() argument 54 if (copy_size > res_size) { in bcm47xx_nvram_copy() 56 copy_size = res_size; in bcm47xx_nvram_copy() 72 static int bcm47xx_nvram_find_and_copy(void __iomem *flash_start, size_t res_size) in bcm47xx_nvram_find_and_copy() argument 86 for (flash_size = FLASH_MIN; flash_size <= res_size; flash_size <<= 1) { in bcm47xx_nvram_find_and_copy() 108 bcm47xx_nvram_copy(flash_start + offset, res_size - offset); in bcm47xx_nvram_find_and_copy() 113 int bcm47xx_nvram_init_from_iomem(void __iomem *nvram_start, size_t res_size) in bcm47xx_nvram_init_from_iomem() argument 125 bcm47xx_nvram_copy(nvram_start, res_size); in bcm47xx_nvram_init_from_iomem()
|
/linux-6.12.1/drivers/nubus/ |
D | proc.c | 91 unsigned int res_size; member 104 pded->res_size = size; in nubus_proc_alloc_pde_data() 117 if (pded->res_size > m->size) in nubus_proc_rsrc_show() 120 if (pded->res_size) { in nubus_proc_rsrc_show() 130 nubus_seq_write_rsrc_mem(m, &ent, pded->res_size); in nubus_proc_rsrc_show()
|
/linux-6.12.1/sound/pci/asihpi/ |
D | hpimsginit.c | 20 static u16 res_size[HPI_OBJ_MAXINDEX + 1] = HPI_RESPONSE_SIZE_BY_OBJECT; variable 63 size = res_size[object]; in hpi_init_response() 115 struct hpi_response_header *phr, u16 res_size, u16 object, in hpi_init_message_responseV1() argument 119 hpi_init_responseV1(phr, res_size, object, function); in hpi_init_message_responseV1()
|
D | hpimsginit.h | 32 struct hpi_response_header *phr, u16 res_size, u16 object,
|
/linux-6.12.1/drivers/parisc/ |
D | sba_iommu.c | 236 u32 *rptr_end = (u32 *) &(ioc->res_map[ioc->res_size]); in sba_check_pdir() 345 unsigned long *res_end = (unsigned long *) &(ioc->res_map[ioc->res_size]); in sba_search_bitmap() 449 if (pide >= (ioc->res_size << 3)) { in sba_alloc_range() 451 if (pide >= (ioc->res_size << 3)) in sba_alloc_range() 1699 int res_size; in sba_common_init() local 1707 res_size = sba_dev->ioc[i].pdir_size/sizeof(u64); /* entries */ in sba_common_init() 1711 res_size -= (128*1024)/sizeof(u64); in sba_common_init() 1714 res_size >>= 3; /* convert bit count to byte count */ in sba_common_init() 1716 __func__, res_size); in sba_common_init() 1718 sba_dev->ioc[i].res_size = res_size; in sba_common_init() [all …]
|
D | ccio-dma.c | 221 u32 res_size; /* size of resource map in bytes */ member 300 u##size *res_end = (u##size *)&(ioc)->res_map[ioa->res_size]; \ 1035 unsigned int total_pages = ioc->res_size << 3; in ccio_proc_info() 1056 ioc->res_size, total_pages); in ccio_proc_info() 1102 ioc->res_size, false); in ccio_proc_bitmap_info() 1168 while (idx < ioc->res_size) { in ccio_cujo20_fixup() 1297 ioc->res_size = (ioc->pdir_size / sizeof(u64)) >> 3; in ccio_ioc_init() 1298 DBG_INIT("%s() res_size 0x%x\n", __func__, ioc->res_size); in ccio_ioc_init() 1301 get_order(ioc->res_size)); in ccio_ioc_init() 1305 memset(ioc->res_map, 0, ioc->res_size); in ccio_ioc_init()
|
/linux-6.12.1/include/linux/ |
D | bcm47xx_nvram.h | 14 int bcm47xx_nvram_init_from_iomem(void __iomem *nvram_start, size_t res_size); 25 size_t res_size) in bcm47xx_nvram_init_from_iomem() argument
|
/linux-6.12.1/arch/alpha/kernel/ |
D | pci-sysfs.c | 258 unsigned long res_size, int sparse) in __legacy_mmap_fits() argument 264 size = ((res_size - 1) >> PAGE_SHIFT) + 1; in __legacy_mmap_fits() 291 unsigned long res_size; in pci_mmap_legacy_page_range() local 293 res_size = (mmap_type == pci_mmap_mem) ? bus->legacy_mem->size : in pci_mmap_legacy_page_range() 295 if (!__legacy_mmap_fits(hose, vma, res_size, sparse)) in pci_mmap_legacy_page_range()
|
/linux-6.12.1/arch/arm64/kernel/ |
D | setup.c | 210 size_t res_size; in request_standard_resources() local 220 res_size = num_standard_resources * sizeof(*standard_resources); in request_standard_resources() 221 standard_resources = memblock_alloc(res_size, SMP_CACHE_BYTES); in request_standard_resources() 223 panic("%s: Failed to allocate %zu bytes\n", __func__, res_size); in request_standard_resources()
|
/linux-6.12.1/drivers/irqchip/ |
D | qcom-pdc.c | 315 resource_size_t res_size; in qcom_pdc_init() local 323 res_size = max_t(resource_size_t, resource_size(&res), QCOM_PDC_SIZE); in qcom_pdc_init() 324 if (res_size > resource_size(&res)) in qcom_pdc_init() 327 pdc_base = ioremap(res.start, res_size); in qcom_pdc_init()
|
/linux-6.12.1/arch/s390/boot/ |
D | physmem_info.c | 232 unsigned long res_addr, res_size; in __physmem_alloc_intersects() local 236 if (!get_physmem_reserved(t, &res_addr, &res_size)) in __physmem_alloc_intersects() 238 if (intersects(addr, size, res_addr, res_size)) { in __physmem_alloc_intersects()
|
/linux-6.12.1/arch/loongarch/kernel/ |
D | setup.c | 421 size_t res_size; in resource_init() local 433 res_size = num_standard_resources * sizeof(*standard_resources); in resource_init() 434 standard_resources = memblock_alloc(res_size, SMP_CACHE_BYTES); in resource_init()
|
/linux-6.12.1/drivers/video/fbdev/ |
D | offb.c | 396 unsigned long res_size = pitch * height; in offb_init_fb() local 403 if (!request_mem_region(res_start, res_size, "offb")) in offb_init_fb() 411 release_mem_region(res_start, res_size); in offb_init_fb() 417 release_mem_region(res_start, res_size); in offb_init_fb() 530 release_mem_region(res_start, res_size); in offb_init_fb()
|
/linux-6.12.1/sound/drivers/mpu401/ |
D | mpu401_uart.c | 554 int res_size = hardware == MPU401_HW_PC98II ? 4 : 2; in snd_mpu401_uart_new() local 555 mpu->res = request_region(port, res_size, "MPU401 UART"); in snd_mpu401_uart_new() 559 port, res_size); in snd_mpu401_uart_new()
|
/linux-6.12.1/drivers/video/fbdev/mb862xx/ |
D | mb862xxfbdrv.c | 676 resource_size_t res_size; in of_platform_mb862xx_probe() local 699 res_size = resource_size(&res); in of_platform_mb862xx_probe() 700 par->res = request_mem_region(res.start, res_size, DRV_NAME); in of_platform_mb862xx_probe() 776 release_mem_region(res.start, res_size); in of_platform_mb862xx_probe() 788 resource_size_t res_size = resource_size(par->res); in of_platform_mb862xx_remove() local 812 release_mem_region(par->res->start, res_size); in of_platform_mb862xx_remove()
|
/linux-6.12.1/drivers/nvdimm/ |
D | pfn_devs.c | 455 resource_size_t res_size; in nd_pfn_validate() local 589 res_size = resource_size(res); in nd_pfn_validate() 590 if (offset >= res_size) { in nd_pfn_validate() 614 if (offset >= (res_size - start_pad - end_trunc)) { in nd_pfn_validate()
|
/linux-6.12.1/drivers/net/wwan/iosm/ |
D | iosm_ipc_mux_codec.h | 280 size_t res_size, bool blocking, bool respond);
|
D | iosm_ipc_mux_codec.c | 147 size_t res_size, bool blocking, bool respond) in ipc_mux_dl_acb_send_cmds() argument 160 param, res_size); in ipc_mux_dl_acb_send_cmds() 169 res_size); in ipc_mux_dl_acb_send_cmds()
|
/linux-6.12.1/arch/parisc/include/asm/ |
D | ropes.h | 41 unsigned int res_size; /* size of resource map in bytes */ member
|
/linux-6.12.1/drivers/tty/serial/ |
D | pic32_uart.c | 707 unsigned int res_size; in pic32_uart_release_port() local 712 res_size = resource_size(res_mem); in pic32_uart_release_port() 714 release_mem_region(port->mapbase, res_size); in pic32_uart_release_port()
|
/linux-6.12.1/drivers/of/ |
D | of_reserved_mem.c | 257 const char *uname, phys_addr_t *res_base, phys_addr_t *res_size) in __reserved_mem_alloc_size() argument 338 *res_size = size; in __reserved_mem_alloc_size()
|
/linux-6.12.1/drivers/gpu/drm/arm/ |
D | malidp_drv.c | 636 resource_size_t res_size = resource_size(res); in malidp_has_sufficient_address_space() local 641 return res_size >= MALIDP550_ADDR_SPACE_SIZE; in malidp_has_sufficient_address_space() 642 else if (res_size < MALIDP500_ADDR_SPACE_SIZE) in malidp_has_sufficient_address_space()
|
/linux-6.12.1/drivers/video/fbdev/aty/ |
D | atyfb.h | 156 unsigned long res_size; member
|
D | atyfb_base.c | 2639 par->res_size); in aty_init() 3528 unsigned long addr, res_start, res_size; in atyfb_pci_probe() local 3554 res_size = resource_size(rp); in atyfb_pci_probe() 3555 if (!request_mem_region(res_start, res_size, "atyfb")) in atyfb_pci_probe() 3569 par->res_size = res_size; in atyfb_pci_probe() 3625 release_mem_region(par->res_start, par->res_size); in atyfb_pci_probe() 3752 release_mem_region(par->res_start, par->res_size); in atyfb_remove()
|
/linux-6.12.1/drivers/net/ethernet/smsc/ |
D | smsc911x.c | 2418 int res_size, irq; in smsc911x_drv_probe() local 2430 res_size = resource_size(res); in smsc911x_drv_probe() 2442 if (!request_mem_region(res->start, res_size, SMSC_CHIPNAME)) { in smsc911x_drv_probe() 2457 pdata->ioaddr = ioremap(res->start, res_size); in smsc911x_drv_probe()
|