Lines Matching refs:stor_dev
34 struct blk_desc *stor_dev, unsigned long sector) in spl_sata_load_image_raw() argument
41 header = spl_get_load_buffer(-sizeof(*header), stor_dev->blksz); in spl_sata_load_image_raw()
42 count = blk_dread(stor_dev, sector, 1, header); in spl_sata_load_image_raw()
50 image_size_sectors = DIV_ROUND_UP(spl_image->size, stor_dev->blksz); in spl_sata_load_image_raw()
51 count = blk_dread(stor_dev, sector, image_size_sectors, in spl_sata_load_image_raw()
63 struct blk_desc *stor_dev; in spl_sata_load_image() local
76 stor_dev = blk_get_devnum_by_type(IF_TYPE_SCSI, 0); in spl_sata_load_image()
77 if (!stor_dev) in spl_sata_load_image()
83 spl_load_image_fat_os(spl_image, stor_dev, in spl_sata_load_image()
90 err = spl_load_image_fat(spl_image, stor_dev, in spl_sata_load_image()
94 err = spl_sata_load_image_raw(spl_image, stor_dev, in spl_sata_load_image()