Searched refs:idkp (Results 1 – 2 of 2) sorted by relevance
36 struct ide_disk_obj *idkp = NULL; in ide_disk_get() local39 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() argument52 ide_drive_t *drive = idkp->drive; in ide_disk_put()55 put_device(&idkp->dev); in ide_disk_put()[all …]
654 struct ide_disk_obj *idkp = drive->driver_data; in ide_disk_setup() local661 ide_proc_register_driver(drive, idkp->driver); in ide_disk_setup()