Lines Matching refs:pres
187 struct resource *pres; in softingcs_probe_config() local
191 pres = pcmcia->resource[PCMCIA_IOMEM_0]; in softingcs_probe_config()
192 if (resource_size(pres) < 0x1000) in softingcs_probe_config()
195 pres->flags |= WIN_MEMORY_TYPE_CM | WIN_ENABLE; in softingcs_probe_config()
197 pres->flags |= WIN_USE_WAIT | WIN_DATA_WIDTH_8; in softingcs_probe_config()
200 pres->flags |= WIN_DATA_WIDTH_16; in softingcs_probe_config()
202 return pcmcia_request_window(pcmcia, pres, memspeed); in softingcs_probe_config()
230 struct resource *pres; in softingcs_probe() local
252 pres = pcmcia->resource[PCMCIA_IOMEM_0]; in softingcs_probe()
253 if (!pres) { in softingcs_probe()
275 pdev->resource[0].start = pres->start; in softingcs_probe()
276 pdev->resource[0].end = pres->end; in softingcs_probe()