/kernel/linux/linux-5.10/arch/arm/common/ |
D | scoop.c | 177 struct scoop_dev *devptr; in scoop_probe() local 185 devptr = kzalloc(sizeof(struct scoop_dev), GFP_KERNEL); in scoop_probe() 186 if (!devptr) in scoop_probe() 189 spin_lock_init(&devptr->scoop_lock); in scoop_probe() 192 devptr->base = ioremap(mem->start, resource_size(mem)); in scoop_probe() 194 if (!devptr->base) { in scoop_probe() 199 platform_set_drvdata(pdev, devptr); in scoop_probe() 201 printk("Sharp Scoop Device found at 0x%08x -> 0x%8p\n",(unsigned int)mem->start, devptr->base); in scoop_probe() 203 iowrite16(0x0140, devptr->base + SCOOP_MCR); in scoop_probe() 205 iowrite16(0x0000, devptr->base + SCOOP_CPR); in scoop_probe() [all …]
|
/kernel/linux/linux-5.10/sound/drivers/ |
D | virmidi.c | 72 static int snd_virmidi_probe(struct platform_device *devptr) in snd_virmidi_probe() argument 77 int dev = devptr->id; in snd_virmidi_probe() 79 err = snd_card_new(&devptr->dev, index[dev], id[dev], THIS_MODULE, in snd_virmidi_probe() 111 platform_set_drvdata(devptr, card); in snd_virmidi_probe() 119 static int snd_virmidi_remove(struct platform_device *devptr) in snd_virmidi_remove() argument 121 snd_card_free(platform_get_drvdata(devptr)); in snd_virmidi_remove()
|
D | serial-u16550.c | 885 static int snd_serial_probe(struct platform_device *devptr) in snd_serial_probe() argument 890 int dev = devptr->id; in snd_serial_probe() 928 err = snd_card_new(&devptr->dev, index[dev], id[dev], THIS_MODULE, in snd_serial_probe() 959 platform_set_drvdata(devptr, card); in snd_serial_probe() 967 static int snd_serial_remove(struct platform_device *devptr) in snd_serial_remove() argument 969 snd_card_free(platform_get_drvdata(devptr)); in snd_serial_remove()
|
D | dummy.c | 1021 static int snd_dummy_probe(struct platform_device *devptr) in snd_dummy_probe() argument 1027 int dev = devptr->id; in snd_dummy_probe() 1029 err = snd_card_new(&devptr->dev, index[dev], id[dev], THIS_MODULE, in snd_dummy_probe() 1091 platform_set_drvdata(devptr, card); in snd_dummy_probe() 1099 static int snd_dummy_remove(struct platform_device *devptr) in snd_dummy_remove() argument 1101 snd_card_free(platform_get_drvdata(devptr)); in snd_dummy_remove()
|
D | aloop.c | 1709 static int loopback_probe(struct platform_device *devptr) in loopback_probe() argument 1713 int dev = devptr->id; in loopback_probe() 1716 err = snd_card_new(&devptr->dev, index[dev], id[dev], THIS_MODULE, in loopback_probe() 1749 platform_set_drvdata(devptr, card); in loopback_probe() 1757 static int loopback_remove(struct platform_device *devptr) in loopback_remove() argument 1759 snd_card_free(platform_get_drvdata(devptr)); in loopback_remove()
|
D | mtpav.c | 728 static int snd_mtpav_remove(struct platform_device *devptr) in snd_mtpav_remove() argument 730 snd_card_free(platform_get_drvdata(devptr)); in snd_mtpav_remove()
|
/kernel/linux/linux-5.10/sound/drivers/mpu401/ |
D | mpu401.c | 52 static int snd_mpu401_create(struct device *devptr, int dev, in snd_mpu401_create() argument 62 err = snd_card_new(devptr, index[dev], id[dev], THIS_MODULE, in snd_mpu401_create() 90 static int snd_mpu401_probe(struct platform_device *devptr) in snd_mpu401_probe() argument 92 int dev = devptr->id; in snd_mpu401_probe() 104 err = snd_mpu401_create(&devptr->dev, dev, &card); in snd_mpu401_probe() 111 platform_set_drvdata(devptr, card); in snd_mpu401_probe() 115 static int snd_mpu401_remove(struct platform_device *devptr) in snd_mpu401_remove() argument 117 snd_card_free(platform_get_drvdata(devptr)); in snd_mpu401_remove()
|
/kernel/linux/linux-5.10/sound/ppc/ |
D | powermac.c | 41 static int snd_pmac_probe(struct platform_device *devptr) in snd_pmac_probe() argument 48 err = snd_card_new(&devptr->dev, index, id, THIS_MODULE, 0, &card); in snd_pmac_probe() 119 platform_set_drvdata(devptr, card); in snd_pmac_probe() 128 static int snd_pmac_remove(struct platform_device *devptr) in snd_pmac_remove() argument 130 snd_card_free(platform_get_drvdata(devptr)); in snd_pmac_remove()
|
/kernel/linux/linux-5.10/sound/sh/ |
D | sh_dac_audio.c | 261 static int snd_sh_dac_remove(struct platform_device *devptr) in snd_sh_dac_remove() argument 263 snd_card_free(platform_get_drvdata(devptr)); in snd_sh_dac_remove() 319 struct platform_device *devptr, in snd_sh_dac_create() argument 344 chip->pdata = devptr->dev.platform_data; in snd_sh_dac_create() 364 static int snd_sh_dac_probe(struct platform_device *devptr) in snd_sh_dac_probe() argument 370 err = snd_card_new(&devptr->dev, index, id, THIS_MODULE, 0, &card); in snd_sh_dac_probe() 376 err = snd_sh_dac_create(card, devptr, &chip); in snd_sh_dac_probe() 394 platform_set_drvdata(devptr, card); in snd_sh_dac_probe()
|
D | aica.c | 543 static int snd_aica_remove(struct platform_device *devptr) in snd_aica_remove() argument 546 dreamcastcard = platform_get_drvdata(devptr); in snd_aica_remove() 554 static int snd_aica_probe(struct platform_device *devptr) in snd_aica_probe() argument 561 err = snd_card_new(&devptr->dev, index, SND_AICA_DRIVER, in snd_aica_probe() 586 platform_set_drvdata(devptr, dreamcastcard); in snd_aica_probe()
|
/kernel/linux/linux-5.10/sound/isa/sb/ |
D | jazz16.c | 186 static int snd_jazz16_match(struct device *devptr, unsigned int dev) in snd_jazz16_match() argument 221 static int snd_jazz16_probe(struct device *devptr, unsigned int dev) in snd_jazz16_probe() argument 232 err = snd_card_new(devptr, index[dev], id[dev], THIS_MODULE, in snd_jazz16_probe() 334 dev_set_drvdata(devptr, card); in snd_jazz16_probe() 342 static int snd_jazz16_remove(struct device *devptr, unsigned int dev) in snd_jazz16_remove() argument 344 struct snd_card *card = dev_get_drvdata(devptr); in snd_jazz16_remove()
|
D | sb16.c | 311 static int snd_sb16_card_new(struct device *devptr, int dev, in snd_sb16_card_new() argument 317 err = snd_card_new(devptr, index[dev], id[dev], THIS_MODULE, in snd_sb16_card_new()
|
/kernel/linux/linux-5.10/sound/isa/ |
D | sc6000.c | 492 static int snd_sc6000_match(struct device *devptr, unsigned int dev) in snd_sc6000_match() argument 535 static int snd_sc6000_probe(struct device *devptr, unsigned int dev) in snd_sc6000_probe() argument 549 err = snd_card_new(devptr, index[dev], id[dev], THIS_MODULE, in snd_sc6000_probe() 579 *vport = devm_ioport_map(devptr, port[dev], 0x10); in snd_sc6000_probe() 594 vmss_port = devm_ioport_map(devptr, mss_port[dev], 4); in snd_sc6000_probe() 662 dev_set_drvdata(devptr, card); in snd_sc6000_probe() 675 static int snd_sc6000_remove(struct device *devptr, unsigned int dev) in snd_sc6000_remove() argument 677 struct snd_card *card = dev_get_drvdata(devptr); in snd_sc6000_remove()
|
D | cmi8330.c | 634 static int snd_cmi8330_isa_remove(struct device *devptr, in snd_cmi8330_isa_remove() argument 637 snd_card_free(dev_get_drvdata(devptr)); in snd_cmi8330_isa_remove()
|
D | es18xx.c | 2157 static int snd_es18xx_isa_probe1(int dev, struct device *devptr) in snd_es18xx_isa_probe1() argument 2162 err = snd_es18xx_card_new(devptr, dev, &card); in snd_es18xx_isa_probe1() 2169 dev_set_drvdata(devptr, card); in snd_es18xx_isa_probe1() 2213 static int snd_es18xx_isa_remove(struct device *devptr, in snd_es18xx_isa_remove() argument 2216 snd_card_free(dev_get_drvdata(devptr)); in snd_es18xx_isa_remove()
|
/kernel/linux/linux-5.10/sound/isa/opti9xx/ |
D | opti92x-ad1848.c | 949 static int snd_opti9xx_isa_match(struct device *devptr, argument 961 static int snd_opti9xx_isa_probe(struct device *devptr, argument 1011 error = snd_opti9xx_card_new(devptr, &card); 1023 dev_set_drvdata(devptr, card); 1027 static int snd_opti9xx_isa_remove(struct device *devptr, argument 1030 snd_card_free(dev_get_drvdata(devptr));
|
D | miro.c | 1380 static int snd_miro_isa_match(struct device *devptr, unsigned int n) in snd_miro_isa_match() argument 1391 static int snd_miro_isa_probe(struct device *devptr, unsigned int n) in snd_miro_isa_probe() argument 1405 error = snd_card_new(devptr, index, id, THIS_MODULE, in snd_miro_isa_probe() 1479 dev_set_drvdata(devptr, card); in snd_miro_isa_probe() 1483 static int snd_miro_isa_remove(struct device *devptr, in snd_miro_isa_remove() argument 1486 snd_card_free(dev_get_drvdata(devptr)); in snd_miro_isa_remove()
|
/kernel/linux/linux-5.10/sound/isa/gus/ |
D | interwave.c | 758 static int snd_interwave_isa_probe1(int dev, struct device *devptr) in snd_interwave_isa_probe1() argument 763 err = snd_interwave_card_new(devptr, dev, &card); in snd_interwave_isa_probe1() 771 dev_set_drvdata(devptr, card); in snd_interwave_isa_probe1() 828 static int snd_interwave_isa_remove(struct device *devptr, unsigned int dev) in snd_interwave_isa_remove() argument 830 snd_card_free(dev_get_drvdata(devptr)); in snd_interwave_isa_remove()
|
D | gusmax.c | 341 static int snd_gusmax_remove(struct device *devptr, unsigned int dev) in snd_gusmax_remove() argument 343 snd_card_free(dev_get_drvdata(devptr)); in snd_gusmax_remove()
|
/kernel/linux/linux-5.10/drivers/sh/maple/ |
D | maple.c | 313 void *devptr) in maple_check_matching_driver() argument 318 mdev = devptr; in maple_check_matching_driver() 749 static int maple_match_bus_driver(struct device *devptr, in maple_match_bus_driver() argument 753 struct maple_device *maple_dev = to_maple_dev(devptr); in maple_match_bus_driver()
|
/kernel/linux/linux-5.10/drivers/of/ |
D | unittest.c | 1582 struct unittest_gpio_dev *devptr; in unittest_gpio_probe() local 1587 devptr = kzalloc(sizeof(*devptr), GFP_KERNEL); in unittest_gpio_probe() 1588 if (!devptr) in unittest_gpio_probe() 1591 platform_set_drvdata(pdev, devptr); in unittest_gpio_probe() 1593 devptr->chip.of_node = pdev->dev.of_node; in unittest_gpio_probe() 1594 devptr->chip.label = "of-unittest-gpio"; in unittest_gpio_probe() 1595 devptr->chip.base = -1; /* dynamic allocation */ in unittest_gpio_probe() 1596 devptr->chip.ngpio = 5; in unittest_gpio_probe() 1597 devptr->chip.request = unittest_gpio_chip_request; in unittest_gpio_probe() 1599 ret = gpiochip_add_data(&devptr->chip, NULL); in unittest_gpio_probe() [all …]
|
/kernel/linux/linux-5.10/include/sound/ |
D | core.h | 257 #define snd_card_set_dev(card, devptr) ((card)->dev = (devptr)) argument
|
/kernel/linux/linux-5.10/sound/isa/wavefront/ |
D | wavefront.c | 568 static int snd_wavefront_isa_remove(struct device *devptr, in snd_wavefront_isa_remove() argument 571 snd_card_free(dev_get_drvdata(devptr)); in snd_wavefront_isa_remove()
|
/kernel/linux/linux-5.10/drivers/cdrom/ |
D | gdrom.c | 743 static int probe_gdrom(struct platform_device *devptr) in probe_gdrom() argument 831 static int remove_gdrom(struct platform_device *devptr) in remove_gdrom() argument
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
D | vio.c | 1263 struct device *devptr; in vio_bus_remove() local 1270 devptr = get_device(dev); in vio_bus_remove() 1278 put_device(devptr); in vio_bus_remove()
|