/kernel/linux/linux-5.10/drivers/staging/kpc2000/kpc2000/ |
D | core.c | 37 struct kp2000_device *pcard = dev_get_drvdata(dev); in ssid_show() local 39 return sprintf(buf, "%016llx\n", pcard->ssid); in ssid_show() 46 struct kp2000_device *pcard = dev_get_drvdata(dev); in ddna_show() local 48 return sprintf(buf, "%016llx\n", pcard->ddna); in ddna_show() 55 struct kp2000_device *pcard = dev_get_drvdata(dev); in card_id_show() local 57 return sprintf(buf, "%08x\n", pcard->card_id); in card_id_show() 64 struct kp2000_device *pcard = dev_get_drvdata(dev); in hw_rev_show() local 66 return sprintf(buf, "%08x\n", pcard->hardware_revision); in hw_rev_show() 73 struct kp2000_device *pcard = dev_get_drvdata(dev); in build_show() local 75 return sprintf(buf, "%08x\n", pcard->build_version); in build_show() [all …]
|
D | cell_probe.c | 68 void dbg_cte(struct kp2000_device *pcard, struct core_table_entry *cte) in dbg_cte() argument 70 …dev_dbg(&pcard->pdev->dev, "CTE: type:%3d offset:%3d (%3d) length:%3d (%3d) s2c:%d c2s:%d irq… in dbg_cte() 96 static int probe_core_basic(unsigned int core_num, struct kp2000_device *pcard, in probe_core_basic() argument 103 .card_id = pcard->card_id, in probe_core_basic() 104 .build_version = pcard->build_version, in probe_core_basic() 105 .hardware_revision = pcard->hardware_revision, in probe_core_basic() 106 .ssid = pcard->ssid, in probe_core_basic() 107 .ddna = pcard->ddna, in probe_core_basic() 110 …dev_dbg(&pcard->pdev->dev, "Found Basic core: type = %02d dma = %02x / %02x offset = 0x%x lengt… in probe_core_basic() 122 resources[1].start = pcard->pdev->irq; in probe_core_basic() [all …]
|
D | pcie.h | 85 int kp2000_probe_cores(struct kp2000_device *pcard); 86 void kp2000_remove_cores(struct kp2000_device *pcard); 89 #define PCARD_TO_DEV(pcard) (&(pcard->pdev->dev)) argument
|
/kernel/linux/linux-5.10/sound/isa/ad1816a/ |
D | ad1816a.c | 126 static int snd_card_ad1816a_probe(int dev, struct pnp_card_link *pcard, in snd_card_ad1816a_probe() argument 134 error = snd_card_new(&pcard->card->dev, in snd_card_ad1816a_probe() 141 if ((error = snd_card_ad1816a_pnp(dev, pcard, pid))) { in snd_card_ad1816a_probe() 203 pnp_set_card_drvdata(pcard, card); in snd_card_ad1816a_probe() 228 static void snd_ad1816a_pnp_remove(struct pnp_card_link *pcard) in snd_ad1816a_pnp_remove() argument 230 snd_card_free(pnp_get_card_drvdata(pcard)); in snd_ad1816a_pnp_remove() 231 pnp_set_card_drvdata(pcard, NULL); in snd_ad1816a_pnp_remove() 235 static int snd_ad1816a_pnp_suspend(struct pnp_card_link *pcard, in snd_ad1816a_pnp_suspend() argument 238 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_ad1816a_pnp_suspend() 245 static int snd_ad1816a_pnp_resume(struct pnp_card_link *pcard) in snd_ad1816a_pnp_resume() argument [all …]
|
/kernel/linux/linux-5.10/sound/isa/es1688/ |
D | es1688.c | 218 struct pnp_card_link *pcard, in snd_card_es968_pnp() argument 225 pdev = pnp_request_card_device(pcard, pid->devs[0].id, NULL); in snd_card_es968_pnp() 242 static int snd_es968_pnp_detect(struct pnp_card_link *pcard, in snd_es968_pnp_detect() argument 258 error = snd_card_new(&pcard->card->dev, in snd_es968_pnp_detect() 264 error = snd_card_es968_pnp(card, dev, pcard, pid); in snd_es968_pnp_detect() 274 pnp_set_card_drvdata(pcard, card); in snd_es968_pnp_detect() 279 static void snd_es968_pnp_remove(struct pnp_card_link *pcard) in snd_es968_pnp_remove() argument 281 snd_card_free(pnp_get_card_drvdata(pcard)); in snd_es968_pnp_remove() 282 pnp_set_card_drvdata(pcard, NULL); in snd_es968_pnp_remove() 287 static int snd_es968_pnp_suspend(struct pnp_card_link *pcard, in snd_es968_pnp_suspend() argument [all …]
|
/kernel/linux/linux-5.10/sound/isa/ |
D | azt2320.c | 166 struct pnp_card_link *pcard, in snd_card_azt2320_probe() argument 175 error = snd_card_new(&pcard->card->dev, in snd_card_azt2320_probe() 182 if ((error = snd_card_azt2320_pnp(dev, acard, pcard, pid))) { in snd_card_azt2320_probe() 251 pnp_set_card_drvdata(pcard, card); in snd_card_azt2320_probe() 276 static void snd_azt2320_pnp_remove(struct pnp_card_link *pcard) in snd_azt2320_pnp_remove() argument 278 snd_card_free(pnp_get_card_drvdata(pcard)); in snd_azt2320_pnp_remove() 279 pnp_set_card_drvdata(pcard, NULL); in snd_azt2320_pnp_remove() 283 static int snd_azt2320_pnp_suspend(struct pnp_card_link *pcard, pm_message_t state) in snd_azt2320_pnp_suspend() argument 285 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_azt2320_pnp_suspend() 294 static int snd_azt2320_pnp_resume(struct pnp_card_link *pcard) in snd_azt2320_pnp_resume() argument [all …]
|
D | als100.c | 175 struct pnp_card_link *pcard, in snd_card_als100_probe() argument 184 error = snd_card_new(&pcard->card->dev, in snd_card_als100_probe() 191 if ((error = snd_card_als100_pnp(dev, acard, pcard, pid))) { in snd_card_als100_probe() 274 pnp_set_card_drvdata(pcard, card); in snd_card_als100_probe() 299 static void snd_als100_pnp_remove(struct pnp_card_link *pcard) in snd_als100_pnp_remove() argument 301 snd_card_free(pnp_get_card_drvdata(pcard)); in snd_als100_pnp_remove() 302 pnp_set_card_drvdata(pcard, NULL); in snd_als100_pnp_remove() 306 static int snd_als100_pnp_suspend(struct pnp_card_link *pcard, pm_message_t state) in snd_als100_pnp_suspend() argument 308 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_als100_pnp_suspend() 317 static int snd_als100_pnp_resume(struct pnp_card_link *pcard) in snd_als100_pnp_resume() argument [all …]
|
D | cmi8330.c | 671 static int snd_cmi8330_pnp_detect(struct pnp_card_link *pcard, in snd_cmi8330_pnp_detect() argument 685 res = snd_cmi8330_card_new(&pcard->card->dev, dev, &card); in snd_cmi8330_pnp_detect() 688 if ((res = snd_cmi8330_pnp(dev, card->private_data, pcard, pid)) < 0) { in snd_cmi8330_pnp_detect() 697 pnp_set_card_drvdata(pcard, card); in snd_cmi8330_pnp_detect() 702 static void snd_cmi8330_pnp_remove(struct pnp_card_link *pcard) in snd_cmi8330_pnp_remove() argument 704 snd_card_free(pnp_get_card_drvdata(pcard)); in snd_cmi8330_pnp_remove() 705 pnp_set_card_drvdata(pcard, NULL); in snd_cmi8330_pnp_remove() 709 static int snd_cmi8330_pnp_suspend(struct pnp_card_link *pcard, pm_message_t state) in snd_cmi8330_pnp_suspend() argument 711 return snd_cmi8330_suspend(pnp_get_card_drvdata(pcard)); in snd_cmi8330_pnp_suspend() 714 static int snd_cmi8330_pnp_resume(struct pnp_card_link *pcard) in snd_cmi8330_pnp_resume() argument [all …]
|
D | opl3sa2.c | 769 static int snd_opl3sa2_pnp_cdetect(struct pnp_card_link *pcard, in snd_opl3sa2_pnp_cdetect() argument 777 pdev = pnp_request_card_device(pcard, id->devs[0].id, NULL); in snd_opl3sa2_pnp_cdetect() 801 pnp_set_card_drvdata(pcard, card); in snd_opl3sa2_pnp_cdetect() 806 static void snd_opl3sa2_pnp_cremove(struct pnp_card_link *pcard) in snd_opl3sa2_pnp_cremove() argument 808 snd_card_free(pnp_get_card_drvdata(pcard)); in snd_opl3sa2_pnp_cremove() 809 pnp_set_card_drvdata(pcard, NULL); in snd_opl3sa2_pnp_cremove() 813 static int snd_opl3sa2_pnp_csuspend(struct pnp_card_link *pcard, pm_message_t state) in snd_opl3sa2_pnp_csuspend() argument 815 return snd_opl3sa2_suspend(pnp_get_card_drvdata(pcard), state); in snd_opl3sa2_pnp_csuspend() 817 static int snd_opl3sa2_pnp_cresume(struct pnp_card_link *pcard) in snd_opl3sa2_pnp_cresume() argument 819 return snd_opl3sa2_resume(pnp_get_card_drvdata(pcard)); in snd_opl3sa2_pnp_cresume()
|
D | sscape.c | 1213 static int sscape_pnp_detect(struct pnp_card_link *pcard, in sscape_pnp_detect() argument 1233 dev = pnp_request_card_device(pcard, pid->devs[0].id, NULL); in sscape_pnp_detect() 1248 ret = snd_card_new(&pcard->card->dev, in sscape_pnp_detect() 1289 pnp_set_card_drvdata(pcard, card); in sscape_pnp_detect() 1298 static void sscape_pnp_remove(struct pnp_card_link *pcard) in sscape_pnp_remove() argument 1300 snd_card_free(pnp_get_card_drvdata(pcard)); in sscape_pnp_remove() 1301 pnp_set_card_drvdata(pcard, NULL); in sscape_pnp_remove()
|
D | es18xx.c | 2309 static int snd_audiodrive_pnpc_detect(struct pnp_card_link *pcard, in snd_audiodrive_pnpc_detect() argument 2323 res = snd_es18xx_card_new(&pcard->card->dev, dev, &card); in snd_audiodrive_pnpc_detect() 2327 if ((res = snd_audiodrive_pnpc(dev, card->private_data, pcard, pid)) < 0) { in snd_audiodrive_pnpc_detect() 2336 pnp_set_card_drvdata(pcard, card); in snd_audiodrive_pnpc_detect() 2341 static void snd_audiodrive_pnpc_remove(struct pnp_card_link *pcard) in snd_audiodrive_pnpc_remove() argument 2343 snd_card_free(pnp_get_card_drvdata(pcard)); in snd_audiodrive_pnpc_remove() 2344 pnp_set_card_drvdata(pcard, NULL); in snd_audiodrive_pnpc_remove() 2348 static int snd_audiodrive_pnpc_suspend(struct pnp_card_link *pcard, pm_message_t state) in snd_audiodrive_pnpc_suspend() argument 2350 return snd_es18xx_suspend(pnp_get_card_drvdata(pcard), state); in snd_audiodrive_pnpc_suspend() 2353 static int snd_audiodrive_pnpc_resume(struct pnp_card_link *pcard) in snd_audiodrive_pnpc_resume() argument [all …]
|
/kernel/linux/linux-5.10/sound/isa/sb/ |
D | sb16.c | 590 static int snd_sb16_pnp_detect(struct pnp_card_link *pcard, in snd_sb16_pnp_detect() argument 600 res = snd_sb16_card_new(&pcard->card->dev, dev, &card); in snd_sb16_pnp_detect() 603 if ((res = snd_card_sb16_pnp(dev, card->private_data, pcard, pid)) < 0 || in snd_sb16_pnp_detect() 608 pnp_set_card_drvdata(pcard, card); in snd_sb16_pnp_detect() 616 static void snd_sb16_pnp_remove(struct pnp_card_link *pcard) in snd_sb16_pnp_remove() argument 618 snd_card_free(pnp_get_card_drvdata(pcard)); in snd_sb16_pnp_remove() 619 pnp_set_card_drvdata(pcard, NULL); in snd_sb16_pnp_remove() 623 static int snd_sb16_pnp_suspend(struct pnp_card_link *pcard, pm_message_t state) in snd_sb16_pnp_suspend() argument 625 return snd_sb16_suspend(pnp_get_card_drvdata(pcard), state); in snd_sb16_pnp_suspend() 627 static int snd_sb16_pnp_resume(struct pnp_card_link *pcard) in snd_sb16_pnp_resume() argument [all …]
|
/kernel/linux/linux-5.10/sound/isa/cs423x/ |
D | cs4236.c | 613 static int snd_cs423x_pnpc_detect(struct pnp_card_link *pcard, in snd_cs423x_pnpc_detect() argument 627 res = snd_cs423x_card_new(&pcard->card->dev, dev, &card); in snd_cs423x_pnpc_detect() 630 if ((res = snd_card_cs423x_pnpc(dev, card->private_data, pcard, pid)) < 0) { in snd_cs423x_pnpc_detect() 640 pnp_set_card_drvdata(pcard, card); in snd_cs423x_pnpc_detect() 645 static void snd_cs423x_pnpc_remove(struct pnp_card_link *pcard) in snd_cs423x_pnpc_remove() argument 647 snd_card_free(pnp_get_card_drvdata(pcard)); in snd_cs423x_pnpc_remove() 648 pnp_set_card_drvdata(pcard, NULL); in snd_cs423x_pnpc_remove() 652 static int snd_cs423x_pnpc_suspend(struct pnp_card_link *pcard, pm_message_t state) in snd_cs423x_pnpc_suspend() argument 654 return snd_cs423x_suspend(pnp_get_card_drvdata(pcard)); in snd_cs423x_pnpc_suspend() 657 static int snd_cs423x_pnpc_resume(struct pnp_card_link *pcard) in snd_cs423x_pnpc_resume() argument [all …]
|
/kernel/linux/linux-5.10/sound/isa/opti9xx/ |
D | opti92x-ad1848.c | 1089 static int snd_opti9xx_pnp_probe(struct pnp_card_link *pcard, argument 1100 error = snd_opti9xx_card_new(&pcard->card->dev, &card); 1105 hw = snd_card_opti9xx_pnp(chip, pcard, pid); 1135 pnp_set_card_drvdata(pcard, card); 1140 static void snd_opti9xx_pnp_remove(struct pnp_card_link *pcard) argument 1142 snd_card_free(pnp_get_card_drvdata(pcard)); 1143 pnp_set_card_drvdata(pcard, NULL); 1148 static int snd_opti9xx_pnp_suspend(struct pnp_card_link *pcard, argument 1151 return snd_opti9xx_suspend(pnp_get_card_drvdata(pcard)); 1154 static int snd_opti9xx_pnp_resume(struct pnp_card_link *pcard) argument [all …]
|
D | miro.c | 1565 static int snd_miro_pnp_probe(struct pnp_card_link *pcard, in snd_miro_pnp_probe() argument 1576 err = snd_card_new(&pcard->card->dev, index, id, THIS_MODULE, in snd_miro_pnp_probe() 1584 err = snd_card_miro_pnp(miro, pcard, pid); in snd_miro_pnp_probe() 1609 pnp_set_card_drvdata(pcard, card); in snd_miro_pnp_probe() 1614 static void snd_miro_pnp_remove(struct pnp_card_link *pcard) in snd_miro_pnp_remove() argument 1616 snd_card_free(pnp_get_card_drvdata(pcard)); in snd_miro_pnp_remove() 1617 pnp_set_card_drvdata(pcard, NULL); in snd_miro_pnp_remove()
|
/kernel/linux/linux-5.10/sound/isa/wavefront/ |
D | wavefront.c | 589 static int snd_wavefront_pnp_detect(struct pnp_card_link *pcard, in snd_wavefront_pnp_detect() argument 603 res = snd_wavefront_card_new(&pcard->card->dev, dev, &card); in snd_wavefront_pnp_detect() 607 if (snd_wavefront_pnp (dev, card->private_data, pcard, pid) < 0) { in snd_wavefront_pnp_detect() 618 pnp_set_card_drvdata(pcard, card); in snd_wavefront_pnp_detect() 623 static void snd_wavefront_pnp_remove(struct pnp_card_link *pcard) in snd_wavefront_pnp_remove() argument 625 snd_card_free(pnp_get_card_drvdata(pcard)); in snd_wavefront_pnp_remove() 626 pnp_set_card_drvdata(pcard, NULL); in snd_wavefront_pnp_remove()
|
/kernel/linux/linux-5.10/sound/isa/gus/ |
D | interwave.c | 845 static int snd_interwave_pnp_detect(struct pnp_card_link *pcard, in snd_interwave_pnp_detect() argument 859 res = snd_interwave_card_new(&pcard->card->dev, dev, &card); in snd_interwave_pnp_detect() 863 if ((res = snd_interwave_pnp(dev, card->private_data, pcard, pid)) < 0) { in snd_interwave_pnp_detect() 871 pnp_set_card_drvdata(pcard, card); in snd_interwave_pnp_detect() 876 static void snd_interwave_pnp_remove(struct pnp_card_link *pcard) in snd_interwave_pnp_remove() argument 878 snd_card_free(pnp_get_card_drvdata(pcard)); in snd_interwave_pnp_remove() 879 pnp_set_card_drvdata(pcard, NULL); in snd_interwave_pnp_remove()
|
/kernel/linux/linux-5.10/include/linux/ |
D | pnp.h | 233 static inline void *pnp_get_card_drvdata(struct pnp_card_link *pcard) in pnp_get_card_drvdata() argument 235 return pcard->driver_data; in pnp_get_card_drvdata() 238 static inline void pnp_set_card_drvdata(struct pnp_card_link *pcard, void *data) in pnp_set_card_drvdata() argument 240 pcard->driver_data = data; in pnp_set_card_drvdata()
|
/kernel/linux/linux-5.10/sound/isa/msnd/ |
D | msnd_pinnacle.c | 1069 static int snd_msnd_pnp_detect(struct pnp_card_link *pcard, in snd_msnd_pnp_detect() argument 1089 pnp_dev = pnp_request_card_device(pcard, pid->devs[0].id, NULL); in snd_msnd_pnp_detect() 1093 mpu_dev = pnp_request_card_device(pcard, pid->devs[1].id, NULL); in snd_msnd_pnp_detect() 1111 ret = snd_card_new(&pcard->card->dev, in snd_msnd_pnp_detect() 1164 pnp_set_card_drvdata(pcard, card); in snd_msnd_pnp_detect() 1173 static void snd_msnd_pnp_remove(struct pnp_card_link *pcard) in snd_msnd_pnp_remove() argument 1175 snd_msnd_unload(pnp_get_card_drvdata(pcard)); in snd_msnd_pnp_remove() 1176 pnp_set_card_drvdata(pcard, NULL); in snd_msnd_pnp_remove()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | FlashPoint.c | 1744 static int FlashPoint_HandleInterrupt(void *pcard) in FlashPoint_HandleInterrupt() argument 1750 struct sccb_card *pCurrCard = pcard; in FlashPoint_HandleInterrupt()
|