| /components/drivers/core/ |
| A D | platform.c | 54 RT_ASSERT(pdrv != RT_NULL); in rt_platform_driver_register() 56 pdrv->parent.bus = &platform_bus; in rt_platform_driver_register() 58 rt_strcpy(pdrv->parent.parent.name, pdrv->name); in rt_platform_driver_register() 60 pdrv->parent.parent.name = pdrv->name; in rt_platform_driver_register() 98 if (pdev->name && pdrv->name) in platform_match() 100 if (pdev->name == pdrv->name) in platform_match() 137 err = pdrv->probe(pdev); in platform_probe() 166 if (pdrv && pdrv->remove) in platform_remove() 168 pdrv->remove(pdev); in platform_remove() 182 if (pdrv && pdrv->shutdown) in platform_shutdown() [all …]
|
| /components/dfs/dfs_v1/filesystems/elmfat/ |
| A D | diskio.h | 29 DSTATUS disk_initialize (BYTE pdrv); 30 DSTATUS disk_status (BYTE pdrv); 31 DRESULT disk_read (BYTE pdrv, BYTE* buff, LBA_t sector, UINT count); 32 DRESULT disk_write (BYTE pdrv, const BYTE* buff, LBA_t sector, UINT count); 33 DRESULT disk_ioctl (BYTE pdrv, BYTE cmd, void* buff);
|
| A D | ff.c | 1096 disk_write(fs->pdrv, fs->win, fs->winsect, 1); in sync_fs() 3362 stat = disk_status(fs->pdrv); 5829 BYTE fsopt, fsty, sys, *buf, *pte, pdrv, ipart; local 5845 pdrv = LD2PD(vol); /* Physical drive */ 5850 ds = disk_initialize(pdrv); 5965 disk_ioctl(pdrv, CTRL_TRIM, lba); 6194 disk_ioctl(pdrv, CTRL_TRIM, lba); 6302 fr = create_partition(pdrv, lba, sys, buf); 6321 BYTE pdrv, /* Physical drive number */ argument 6330 stat = disk_initialize(pdrv); [all …]
|
| A D | ff.h | 135 BYTE pdrv; /* Associated physical drive */ member 334 FRESULT f_fdisk (BYTE pdrv, const LBA_t ptbl[], void* work); /* Divide a physical drive into some …
|
| A D | dfs_elm.c | 311 rt_snprintf(driver, sizeof(driver), "%d:", f->pdrv); in dfs_elm_statfs()
|
| /components/dfs/dfs_v2/filesystems/elmfat/ |
| A D | diskio.h | 29 DSTATUS disk_initialize (BYTE pdrv); 30 DSTATUS disk_status (BYTE pdrv); 31 DRESULT disk_read (BYTE pdrv, BYTE* buff, LBA_t sector, UINT count); 32 DRESULT disk_write (BYTE pdrv, const BYTE* buff, LBA_t sector, UINT count); 33 DRESULT disk_ioctl (BYTE pdrv, BYTE cmd, void* buff);
|
| A D | ff.c | 1126 disk_write(fs->pdrv, fs->win, fs->winsect, 1); in sync_fs() 3415 stat = disk_status(fs->pdrv); 4105 disk_read(fs->pdrv, fp->buf, sect, 1) != RES_OK) { 5909 BYTE fsopt, fsty, sys, pdrv, ipart; local 5927 pdrv = LD2PD(vol); /* Hosting physical drive */ 5931 ds = disk_initialize(pdrv); 6050 disk_ioctl(pdrv, CTRL_TRIM, lba); 6279 disk_ioctl(pdrv, CTRL_TRIM, lba); 6385 res = create_partition(pdrv, lba, sys, buf); 6404 BYTE pdrv, /* Physical drive number */ argument [all …]
|
| A D | ff.h | 135 BYTE pdrv; /* Volume hosting physical drive */ member 334 FRESULT f_fdisk (BYTE pdrv, const LBA_t ptbl[], void* work); /* Divide a physical drive into some …
|
| A D | dfs_elm.c | 350 rt_snprintf(driver, sizeof(driver), "%d:", f->pdrv); in dfs_elm_statfs()
|
| /components/drivers/phy/ |
| A D | phy.c | 520 rt_err_t rt_phy_driver_register(struct rt_phy_driver *pdrv) in rt_phy_driver_register() argument 522 RT_ASSERT(pdrv != RT_NULL); in rt_phy_driver_register() 524 pdrv->parent.bus = &rt_phy_bus; in rt_phy_driver_register() 526 rt_strcpy(pdrv->parent.parent.name, pdrv->name); in rt_phy_driver_register() 528 pdrv->parent.parent.name = pdrv->name; in rt_phy_driver_register() 531 return rt_driver_register(&pdrv->parent); in rt_phy_driver_register() 537 struct rt_phy_driver *pdrv = rt_container_of(drv, struct rt_phy_driver, parent); in phy_match() local 538 if ((pdrv->uid & pdrv->mask) == (pdev->phy_id & pdrv->mask)) in phy_match() 550 pdev->drv = pdrv; in phy_probe() 555 if(pdrv->probe) in phy_probe() [all …]
|
| /components/drivers/pci/ |
| A D | pci.c | 896 RT_ASSERT(pdrv != RT_NULL); in rt_pci_driver_register() 898 pdrv->parent.bus = &pci_bus; in rt_pci_driver_register() 900 rt_strcpy(pdrv->parent.parent.name, pdrv->name); in rt_pci_driver_register() 902 pdrv->parent.parent.name = pdrv->name; in rt_pci_driver_register() 905 return rt_driver_register(&pdrv->parent); in rt_pci_driver_register() 927 if (pdrv->name && pdev->name) in pci_match() 951 err = pdrv->probe(pdev); in pci_probe() 968 if (pdrv && pdrv->remove) in pci_remove() 970 if ((err = pdrv->remove(pdev))) in pci_remove() 992 if (pdrv && pdrv->shutdown) in pci_shutdown() [all …]
|
| A D | procfs.c | 291 struct rt_pci_driver *pdrv; in pci_single_show() local 326 pdrv = rt_container_of(dev->drv, struct rt_pci_driver, parent); in pci_single_show() 328 dfs_seq_puts(seq, pdrv->name); in pci_single_show()
|
| /components/drivers/include/drivers/ |
| A D | platform.h | 44 rt_err_t rt_platform_driver_register(struct rt_platform_driver *pdrv);
|
| A D | phy.h | 128 rt_err_t rt_phy_driver_register(struct rt_phy_driver *pdrv);
|
| A D | pci.h | 600 rt_err_t rt_pci_driver_register(struct rt_pci_driver *pdrv);
|