/kernel/linux/linux-5.10/arch/sh/drivers/ |
D | platform_early.c | 27 struct platform_driver *pdrv = to_platform_driver(drv); in platform_match() local 34 if (pdrv->id_table) in platform_match() 35 return platform_match_id(pdrv->id_table, pdev) != NULL; in platform_match() 85 n = strlen(epdrv->pdrv->driver.name); in sh_early_platform_driver_register() 86 if (buf && !strncmp(buf, epdrv->pdrv->driver.name, n)) { in sh_early_platform_driver_register() 180 if (platform_match(&pd->dev, &epdrv->pdrv->driver)) in sh_early_platform_match() 198 if (platform_match(&pd->dev, &epdrv->pdrv->driver)) in sh_early_platform_left() 248 class_str, epdrv->pdrv->driver.name); in sh_early_platform_driver_probe_id() 278 if (epdrv->pdrv->probe(match)) in sh_early_platform_driver_probe_id()
|
/kernel/linux/linux-5.10/drivers/hwtracing/stm/ |
D | policy.c | 232 const struct stm_protocol_driver *pdrv; in stp_policy_node_make() local 246 pdrv = policy->stm->pdrv; in stp_policy_node_make() 248 kzalloc(offsetof(struct stp_policy_node, priv[pdrv->priv_sz]), in stp_policy_node_make() 253 if (pdrv->policy_node_init) in stp_policy_node_make() 254 pdrv->policy_node_init((void *)policy_node->priv); in stp_policy_node_make() 317 policy->stm->pdrv->name : in stp_policy_protocol_show() 351 stm_put_protocol(stm->pdrv); in stp_policy_unbind() 352 stm->pdrv = NULL; in stp_policy_unbind() 391 const struct stm_protocol_driver *pdrv; in stp_policy_make() local 431 err = stm_lookup_protocol(proto, &pdrv, &pdrv_node_type); in stp_policy_make() [all …]
|
D | stm.h | 41 const struct stm_protocol_driver *pdrv; member 107 int stm_register_protocol(const struct stm_protocol_driver *pdrv); 108 void stm_unregister_protocol(const struct stm_protocol_driver *pdrv); 110 const struct stm_protocol_driver **pdrv, 112 void stm_put_protocol(const struct stm_protocol_driver *pdrv);
|
D | core.c | 314 if (stm->pdrv->output_open) { in stm_output_assign() 321 ret = stm->pdrv->output_open(priv, output); in stm_output_assign() 346 if (stm->pdrv && stm->pdrv->output_close) in stm_output_free() 347 stm->pdrv->output_close(output); in stm_output_free() 374 const struct stm_protocol_driver *pdrv; member 390 if (!strcmp(name, pe->pdrv->name)) in __stm_lookup_protocol() 397 int stm_register_protocol(const struct stm_protocol_driver *pdrv) in stm_register_protocol() argument 404 if (__stm_lookup_protocol(pdrv->name)) { in stm_register_protocol() 413 if (pdrv->policy_attr) { in stm_register_protocol() 414 pe->node_type = get_policy_node_type(pdrv->policy_attr); in stm_register_protocol() [all …]
|
/kernel/linux/linux-5.10/arch/sh/include/asm/ |
D | platform_early.h | 13 struct platform_driver *pdrv; member 45 .pdrv = platdrv, \
|
/kernel/liteos_a/fs/fat/virpart/src/ |
D | virpartff.c | 253 pfs->pdrv = fs->pdrv; in FatfsSetParentFs() 518 BYTE pdrv; in f_checkvirpart() local 523 if (fs == NULL || (disk_status(fs->pdrv) & STA_NOINIT)) { in f_checkvirpart() 539 pdrv = LD2PD(vol); /* Driver index */ in f_checkvirpart() 546 if (disk_read(pdrv, work, virSect, 1) != RES_OK) { in f_checkvirpart() 677 BYTE pdrv; in f_makevirpart() local 681 if (fs == NULL || (disk_status(fs->pdrv) & STA_NOINIT)) { in f_makevirpart() 698 pdrv = LD2PD(vol); /* Driver index */ in f_makevirpart() 758 if (disk_write(pdrv, work, virSect, 1) != RES_OK) { in f_makevirpart()
|
D | virpart.c | 384 part = get_part((int)fat->pdrv); in FatFsBindVirPart()
|
/kernel/linux/linux-5.10/drivers/base/ |
D | platform.c | 1173 struct platform_driver *pdrv = to_platform_driver(drv); in platform_match() local 1188 if (pdrv->id_table) in platform_match() 1189 return platform_match_id(pdrv->id_table, pdev) != NULL; in platform_match() 1199 struct platform_driver *pdrv = to_platform_driver(dev->driver); in platform_legacy_suspend() local 1203 if (dev->driver && pdrv->suspend) in platform_legacy_suspend() 1204 ret = pdrv->suspend(pdev, mesg); in platform_legacy_suspend() 1211 struct platform_driver *pdrv = to_platform_driver(dev->driver); in platform_legacy_resume() local 1215 if (dev->driver && pdrv->resume) in platform_legacy_resume() 1216 ret = pdrv->resume(pdev); in platform_legacy_resume()
|
/kernel/linux/linux-5.10/drivers/pci/ |
D | xen-pcifront.c | 589 struct pci_driver *pdrv; in pcifront_common_process() local 607 pdrv = pcidev->driver; in pcifront_common_process() 609 if (pdrv) { in pcifront_common_process() 610 if (pdrv->err_handler && pdrv->err_handler->error_detected) { in pcifront_common_process() 616 result = pdrv->err_handler-> in pcifront_common_process() 620 result = pdrv->err_handler-> in pcifront_common_process() 624 result = pdrv->err_handler-> in pcifront_common_process() 628 pdrv->err_handler->resume(pcidev); in pcifront_common_process()
|
D | pci-driver.c | 103 struct pci_driver *pdrv = to_pci_driver(driver); in new_id_store() local 104 const struct pci_device_id *ids = pdrv->id_table; in new_id_store() 128 if (pci_match_id(pdrv->id_table, pdev)) in new_id_store() 152 retval = pci_add_dynid(pdrv, vendor, device, subvendor, subdevice, in new_id_store() 172 struct pci_driver *pdrv = to_pci_driver(driver); in remove_id_store() local 184 spin_lock(&pdrv->dynids.lock); in remove_id_store() 185 list_for_each_entry_safe(dynid, n, &pdrv->dynids.list, node) { in remove_id_store() 198 spin_unlock(&pdrv->dynids.lock); in remove_id_store()
|
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/ |
D | adf_aer.c | 188 struct pci_driver *pdrv = pdev->driver; in adf_enable_aer() local 190 pdrv->err_handler = &adf_err_handler; in adf_enable_aer()
|
/kernel/linux/linux-5.10/drivers/scsi/megaraid/ |
D | mbox_defs.h | 707 phys_drive_t pdrv[MBOX_MAX_PHYSICAL_DRIVES]; member 724 phys_drive_t pdrv[MBOX_MAX_PHYSICAL_DRIVES]; member 741 phys_drive_t pdrv[MBOX_MAX_PHYSICAL_DRIVES]; member
|
/kernel/linux/linux-5.10/drivers/pinctrl/renesas/ |
D | core.c | 1049 static void __init sh_pfc_check_driver(const struct platform_driver *pdrv) in sh_pfc_check_driver() argument 1065 for (i = 0; pdrv->id_table[i].name[0]; i++) in sh_pfc_check_driver() 1066 sh_pfc_check_info((void *)pdrv->id_table[i].driver_data); in sh_pfc_check_driver() 1069 for (i = 0; pdrv->driver.of_match_table[i].compatible[0]; i++) in sh_pfc_check_driver() 1070 sh_pfc_check_info(pdrv->driver.of_match_table[i].data); in sh_pfc_check_driver() 1082 static inline void sh_pfc_check_driver(struct platform_driver *pdrv) {} in sh_pfc_check_driver() argument
|
/kernel/liteos_m/components/fs/fatfs/ |
D | fatfs.c | 909 int pdrv; in FatfsFdisk() local 917 pdrv = GetDevIdByDevName(dev); in FatfsFdisk() 918 if (pdrv < 0) { in FatfsFdisk() 923 res = f_fdisk(pdrv, (DWORD const *)partTbl, g_workBuffer); in FatfsFdisk()
|
/kernel/liteos_a/fs/fat/os_adapt/ |
D | fatfs.c | 197 part = get_part((INT)fs->pdrv); in fatfs_sync() 829 if (disk_read(fs->pdrv, entry->buf, entry->sect, 1) != RES_OK) { in update_filbuff() 1132 fs->pdrv = part->part_id; in fatfs_mount() 1135 if (disk_ioctl(fs->pdrv, GET_SECTOR_SIZE, &(fs->ssize)) != RES_OK) { in fatfs_mount() 1246 part = get_part(fs->pdrv); in fatfs_umount() 1432 sp->st_dev = fs->pdrv; in fatfs_stat() 1839 if (disk_ioctl(fs.pdrv, GET_SECTOR_SIZE, &(fs.ssize)) != RES_OK) { in fatfs_setlabel() 2147 part = get_part((INT)fs->pdrv); in fatfs_fscheck() 2277 if (disk_read(fs->pdrv, buf, sect, step) != RES_OK) { in fatfs_readpage() 2375 if (disk_write(fs->pdrv, buf, sect, step) != RES_OK) { in fatfs_writepage()
|
/kernel/linux/linux-5.10/drivers/pcmcia/ |
D | ds.c | 98 struct pcmcia_driver *pdrv = to_pcmcia_drv(driver); in new_id_store() local 123 mutex_lock(&pdrv->dynids.lock); in new_id_store() 124 list_add_tail(&dynid->node, &pdrv->dynids.list); in new_id_store() 125 mutex_unlock(&pdrv->dynids.lock); in new_id_store() 127 retval = driver_attach(&pdrv->drv); in new_id_store()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | megaraid.h | 447 phys_drv pdrv[MAX_PHYSICAL_DRIVES]; member 454 phys_drv pdrv[MAX_PHYSICAL_DRIVES]; member
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
D | asus-wmi.c | 50 #define to_asus_wmi_driver(pdrv) \ argument 51 (container_of((pdrv), struct asus_wmi_driver, platform_driver)) 2550 struct platform_driver *pdrv = to_platform_driver(pdev->dev.driver); in asus_wmi_add() local 2551 struct asus_wmi_driver *wdrv = to_asus_wmi_driver(pdrv); in asus_wmi_add() 2775 struct platform_driver *pdrv = to_platform_driver(pdev->dev.driver); in asus_wmi_probe() local 2776 struct asus_wmi_driver *wdrv = to_asus_wmi_driver(pdrv); in asus_wmi_probe()
|
/kernel/linux/linux-5.10/include/linux/ |
D | hid.h | 784 #define to_hid_driver(pdrv) \ argument 785 container_of(pdrv, struct hid_driver, driver)
|
/kernel/linux/linux-5.10/arch/powerpc/boot/dts/ |
D | ac14xx.dts | 85 compatible = "ifm,ac14xx-fram", "linux,uio-pdrv-genirq";
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0038_linux_drivers_mxc.patch | 159685 +int gckPLATFORM_Init(struct platform_driver *pdrv, gcsPLATFORM **platform); 161178 +int gckPLATFORM_Init(struct platform_driver *pdrv, 161182 + default_dev = platform_device_alloc(pdrv->driver.name, -1); 163100 +int gckPLATFORM_Init(struct platform_driver *pdrv, 163116 + pdrv->driver.of_match_table = gpu_match; 163122 + adjust_platform_driver(pdrv);
|