Lines Matching refs:sinfo
283 struct skt_dev_info *sinfo; in pxa2xx_drv_pcmcia_probe() local
305 sinfo = kzalloc(SKT_DEV_INFO_SIZE(ops->nr), GFP_KERNEL); in pxa2xx_drv_pcmcia_probe()
306 if (!sinfo) { in pxa2xx_drv_pcmcia_probe()
311 sinfo->nskt = ops->nr; in pxa2xx_drv_pcmcia_probe()
312 sinfo->clk = clk; in pxa2xx_drv_pcmcia_probe()
316 skt = &sinfo->skt[i]; in pxa2xx_drv_pcmcia_probe()
328 dev_set_drvdata(&dev->dev, sinfo); in pxa2xx_drv_pcmcia_probe()
334 soc_pcmcia_remove_one(&sinfo->skt[i]); in pxa2xx_drv_pcmcia_probe()
336 kfree(sinfo); in pxa2xx_drv_pcmcia_probe()
343 struct skt_dev_info *sinfo = platform_get_drvdata(dev); in pxa2xx_drv_pcmcia_remove() local
348 for (i = 0; i < sinfo->nskt; i++) in pxa2xx_drv_pcmcia_remove()
349 soc_pcmcia_remove_one(&sinfo->skt[i]); in pxa2xx_drv_pcmcia_remove()
351 clk_put(sinfo->clk); in pxa2xx_drv_pcmcia_remove()
352 kfree(sinfo); in pxa2xx_drv_pcmcia_remove()