Searched refs:preg (Results 1 – 4 of 4) sorted by relevance
258 struct snd_minor *preg; in snd_register_device() local263 preg = kmalloc(sizeof *preg, GFP_KERNEL); in snd_register_device()264 if (preg == NULL) in snd_register_device()266 preg->type = type; in snd_register_device()267 preg->card = card ? card->number : -1; in snd_register_device()268 preg->device = dev; in snd_register_device()269 preg->f_ops = f_ops; in snd_register_device()270 preg->private_data = private_data; in snd_register_device()271 preg->card_ptr = card; in snd_register_device()279 preg->dev = device; in snd_register_device()[all …]
90 struct snd_minor *preg; in snd_register_oss_device() local100 preg = kmalloc(sizeof(struct snd_minor), GFP_KERNEL); in snd_register_oss_device()101 if (preg == NULL) in snd_register_oss_device()103 preg->type = type; in snd_register_oss_device()104 preg->card = card ? card->number : -1; in snd_register_oss_device()105 preg->device = dev; in snd_register_oss_device()106 preg->f_ops = f_ops; in snd_register_oss_device()107 preg->private_data = private_data; in snd_register_oss_device()108 preg->card_ptr = card; in snd_register_oss_device()110 snd_oss_minors[minor] = preg; in snd_register_oss_device()[all …]
255 void __iomem *preg; in uniphier_aiodma_soc_register_platform() local258 preg = devm_platform_ioremap_resource(pdev, 0); in uniphier_aiodma_soc_register_platform()259 if (IS_ERR(preg)) in uniphier_aiodma_soc_register_platform()260 return PTR_ERR(preg); in uniphier_aiodma_soc_register_platform()262 chip->regmap = devm_regmap_init_mmio(dev, preg, in uniphier_aiodma_soc_register_platform()
454 void __iomem *preg; in evea_probe() local477 preg = devm_platform_ioremap_resource(pdev, 0); in evea_probe()478 if (IS_ERR(preg)) in evea_probe()479 return PTR_ERR(preg); in evea_probe()481 evea->regmap = devm_regmap_init_mmio(&pdev->dev, preg, in evea_probe()