Searched refs:res_count (Results 1 – 4 of 4) sorted by relevance
/arch/arm/mach-omap2/ |
D | omap_device.c | 372 int i, res_count; in omap_device_alloc() local 410 res_count = omap_device_count_resources(od, IORESOURCE_IRQ | in omap_device_alloc() 423 res_count = omap_device_count_resources(od, IORESOURCE_DMA); in omap_device_alloc() 425 if (!res_count) in omap_device_alloc() 428 res_count += pdev->num_resources; in omap_device_alloc() 432 res = kzalloc(sizeof(struct resource) * res_count, GFP_KERNEL); in omap_device_alloc() 438 __func__, res_count); in omap_device_alloc() 443 __func__, res_count - pdev->num_resources); in omap_device_alloc() 449 ret = platform_device_add_resources(pdev, res, res_count); in omap_device_alloc()
|
/arch/alpha/kernel/ |
D | pci-sysfs.c | 174 int retval, nlen1, nlen2 = 0, res_count = 1; in pci_create_attr() local 201 res_count = 2; in pci_create_attr() 205 attr = kzalloc(sizeof(*attr) * res_count + nlen1 + nlen2, GFP_ATOMIC); in pci_create_attr() 210 attr_name = (char *)(attr + res_count); in pci_create_attr() 214 if (retval || res_count == 1) in pci_create_attr()
|
/arch/arm/mach-omap1/ |
D | mcbsp.c | 388 static void omap_mcbsp_register_board_cfg(struct resource *res, int res_count, in omap_mcbsp_register_board_cfg() argument 407 platform_device_add_resources(new_mcbsp, &res[i * res_count], in omap_mcbsp_register_board_cfg() 408 res_count); in omap_mcbsp_register_board_cfg()
|
/arch/powerpc/include/asm/ |
D | dbdma.h | 49 unsigned short res_count; /* residual count after completion */ member
|