Home
last modified time | relevance | path

Searched refs:pres (Results 1 – 7 of 7) sorted by relevance

/linux-2.6.39/drivers/net/can/softing/
Dsofting_cs.c200 struct resource *pres; in softingcs_probe_config() local
204 pres = pcmcia->resource[PCMCIA_IOMEM_0]; in softingcs_probe_config()
205 if (resource_size(pres) < 0x1000) in softingcs_probe_config()
208 pres->flags |= WIN_MEMORY_TYPE_CM | WIN_ENABLE; in softingcs_probe_config()
210 pres->flags |= WIN_USE_WAIT | WIN_DATA_WIDTH_8; in softingcs_probe_config()
213 pres->flags |= WIN_DATA_WIDTH_16; in softingcs_probe_config()
215 return pcmcia_request_window(pcmcia, pres, memspeed); in softingcs_probe_config()
243 struct resource *pres; in softingcs_probe() local
265 pres = pcmcia->resource[PCMCIA_IOMEM_0]; in softingcs_probe()
266 if (!pres) { in softingcs_probe()
[all …]
Dsofting_main.c775 struct resource *pres; in softing_pdev_probe() local
798 pres = platform_get_resource(pdev, IORESOURCE_MEM, 0); in softing_pdev_probe()
799 if (!pres) in softing_pdev_probe()
801 card->dpram_phys = pres->start; in softing_pdev_probe()
802 card->dpram_size = pres->end - pres->start + 1; in softing_pdev_probe()
809 pres = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in softing_pdev_probe()
810 if (pres) in softing_pdev_probe()
811 card->irq.nr = pres->start; in softing_pdev_probe()
/linux-2.6.39/sound/oss/
Dsb_card.c305 int pres = 0; in sb_init() local
323 pres = sb_pnp_devices; in sb_init()
330 if (pres == 0 && lres <= 0) { in sb_init()
/linux-2.6.39/drivers/char/mwave/
Dtp3780i.c242 struct resource *pres; in tp3780I_ClaimResources() local
247 pres = request_region(pSettings->usDspBaseIO, 16, "mwave_3780i"); in tp3780I_ClaimResources()
248 if ( pres == NULL ) retval = -EIO; in tp3780I_ClaimResources()
/linux-2.6.39/arch/powerpc/kernel/
Dpci-common.c1399 struct resource *res, *pres; in pcibios_reserve_legacy_regions() local
1427 pres = &hose->mem_resources[i]; in pcibios_reserve_legacy_regions()
1428 if (!(pres->flags & IORESOURCE_MEM)) in pcibios_reserve_legacy_regions()
1430 pr_debug("hose mem res: %pR\n", pres); in pcibios_reserve_legacy_regions()
1431 if ((pres->start - offset) <= 0xa0000 && in pcibios_reserve_legacy_regions()
1432 (pres->end - offset) >= 0xbffff) in pcibios_reserve_legacy_regions()
1444 if (request_resource(pres, res)) { in pcibios_reserve_legacy_regions()
/linux-2.6.39/arch/microblaze/pci/
Dpci-common.c1352 struct resource *res, *pres; in pcibios_reserve_legacy_regions() local
1381 pres = &hose->mem_resources[i]; in pcibios_reserve_legacy_regions()
1382 if (!(pres->flags & IORESOURCE_MEM)) in pcibios_reserve_legacy_regions()
1384 pr_debug("hose mem res: %pR\n", pres); in pcibios_reserve_legacy_regions()
1385 if ((pres->start - offset) <= 0xa0000 && in pcibios_reserve_legacy_regions()
1386 (pres->end - offset) >= 0xbffff) in pcibios_reserve_legacy_regions()
1398 if (request_resource(pres, res)) { in pcibios_reserve_legacy_regions()
/linux-2.6.39/drivers/input/keyboard/
Dtnetv107x-keypad.c49 u32 pres[3]; member
83 curr_keys[i] = keypad_read(kp, pres[i]); in keypad_irq()