Lines Matching refs:pres
198 struct resource *pres; in softingcs_probe_config() local
202 pres = pcmcia->resource[PCMCIA_IOMEM_0]; in softingcs_probe_config()
203 if (resource_size(pres) < 0x1000) in softingcs_probe_config()
206 pres->flags |= WIN_MEMORY_TYPE_CM | WIN_ENABLE; in softingcs_probe_config()
208 pres->flags |= WIN_USE_WAIT | WIN_DATA_WIDTH_8; in softingcs_probe_config()
211 pres->flags |= WIN_DATA_WIDTH_16; in softingcs_probe_config()
213 return pcmcia_request_window(pcmcia, pres, memspeed); in softingcs_probe_config()
241 struct resource *pres; in softingcs_probe() local
263 pres = pcmcia->resource[PCMCIA_IOMEM_0]; in softingcs_probe()
264 if (!pres) { in softingcs_probe()
286 pdev->resource[0].start = pres->start; in softingcs_probe()
287 pdev->resource[0].end = pres->end; in softingcs_probe()