Lines Matching refs:ops
219 struct pcmcia_low_level *ops = dev->platform_data; in pxa2xx_configure_sockets() local
227 if ((ops->first + ops->nr) > 1 || in pxa2xx_configure_sockets()
269 void pxa2xx_drv_pcmcia_ops(struct pcmcia_low_level *ops) in pxa2xx_drv_pcmcia_ops() argument
272 ops->set_timing = pxa2xx_pcmcia_set_timing; in pxa2xx_drv_pcmcia_ops()
274 ops->frequency_change = pxa2xx_pcmcia_frequency_change; in pxa2xx_drv_pcmcia_ops()
282 struct pcmcia_low_level *ops; in pxa2xx_drv_pcmcia_probe() local
287 ops = (struct pcmcia_low_level *)dev->dev.platform_data; in pxa2xx_drv_pcmcia_probe()
288 if (!ops) { in pxa2xx_drv_pcmcia_probe()
293 if (cpu_is_pxa320() && ops->nr > 1) { in pxa2xx_drv_pcmcia_probe()
303 pxa2xx_drv_pcmcia_ops(ops); in pxa2xx_drv_pcmcia_probe()
305 sinfo = devm_kzalloc(&dev->dev, SKT_DEV_INFO_SIZE(ops->nr), in pxa2xx_drv_pcmcia_probe()
310 sinfo->nskt = ops->nr; in pxa2xx_drv_pcmcia_probe()
313 for (i = 0; i < ops->nr; i++) { in pxa2xx_drv_pcmcia_probe()
316 skt->nr = ops->first + i; in pxa2xx_drv_pcmcia_probe()
318 soc_pcmcia_init_one(skt, ops, &dev->dev); in pxa2xx_drv_pcmcia_probe()