Home
last modified time | relevance | path

Searched refs:to_ide_device (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/drivers/ide/
Dide-sysfs.c25 ide_drive_t *drive = to_ide_device(dev); in media_show()
33 ide_drive_t *drive = to_ide_device(dev); in drivename_show()
41 ide_drive_t *drive = to_ide_device(dev); in modalias_show()
49 ide_drive_t *drive = to_ide_device(dev); in model_show()
57 ide_drive_t *drive = to_ide_device(dev); in firmware_show()
65 ide_drive_t *drive = to_ide_device(dev); in serial_show()
Dide.c117 ide_drive_t *drive = to_ide_device(dev); in ide_uevent()
127 ide_drive_t *drive = to_ide_device(dev); in generic_ide_probe()
135 ide_drive_t *drive = to_ide_device(dev); in generic_ide_remove()
146 ide_drive_t *drive = to_ide_device(dev); in generic_ide_shutdown()
Dide-park.c91 ide_drive_t *drive = to_ide_device(dev); in ide_park_show()
115 ide_drive_t *drive = to_ide_device(dev); in ide_park_store()
Dide-pm.c7 ide_drive_t *drive = to_ide_device(dev); in generic_ide_suspend()
43 ide_drive_t *drive = to_ide_device(dev); in generic_ide_resume()
/linux-4.1.27/include/linux/
Dide.h575 #define to_ide_device(dev) container_of(dev, ide_drive_t, gendev) macro