Home
last modified time | relevance | path

Searched refs:idkp (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/ide/
Dide-gd.c36 struct ide_disk_obj *idkp = NULL; in ide_disk_get() local
39 idkp = ide_drv_g(disk, ide_disk_obj); in ide_disk_get()
40 if (idkp) { in ide_disk_get()
41 if (ide_device_get(idkp->drive)) in ide_disk_get()
42 idkp = NULL; in ide_disk_get()
44 get_device(&idkp->dev); in ide_disk_get()
47 return idkp; in ide_disk_get()
50 static void ide_disk_put(struct ide_disk_obj *idkp) in ide_disk_put() argument
52 ide_drive_t *drive = idkp->drive; in ide_disk_put()
55 put_device(&idkp->dev); in ide_disk_put()
[all …]
Dide-disk.c654 struct ide_disk_obj *idkp = drive->driver_data; in ide_disk_setup() local
661 ide_proc_register_driver(drive, idkp->driver); in ide_disk_setup()