Lines Matching +full:s390 +full:- +full:ccw

2  * S390 virtio-ccw loading program
7 * your option) any later version. See the COPYING file in the top-level
15 #include "s390-arch.h"
16 #include "s390-ccw.h"
19 #include "virtio-scsi.h"
20 #include "dasd-ipl.h"
35 * Principles of Operations (SA22-7832-09) chapter 17 requires that
36 * a subsystem-identification is at 184-187 and bytes 188-191 are zero
37 * after list-directed-IPL and ccw-IPL.
42 lowcore->subchannel_id = net_schid.sch_id; in write_subsystem_identification()
43 lowcore->subchannel_nr = net_schid.sch_no; in write_subsystem_identification()
45 lowcore->subchannel_id = blk_schid.sch_id; in write_subsystem_identification()
46 lowcore->subchannel_nr = blk_schid.sch_no; in write_subsystem_identification()
48 lowcore->io_int_parm = 0; in write_subsystem_identification()
54 lowcore->ptr_iplb = ptr2u32(&iplb); in write_iplb_location()
77 if (r == 3 || r == -EIO) { in is_dev_possibly_bootable()
78 return -ENODEV; in is_dev_possibly_bootable()
87 return -EIO; in is_dev_possibly_bootable()
92 * sure that the vdev.senseid data gets pre-initialized correctly in is_dev_possibly_bootable()
132 * If the caller gives dev_no=-1 then the user did not specify a boot device.
209 * so we don't taint our decision-making process during a reboot. in boot_setup()
221 vdev->scsi_device_selected = false; in find_boot_device()
222 debug_print_int("device no. ", iplb.ccw.devno); in find_boot_device()
223 blk_schid.ssid = iplb.ccw.ssid & 0x3; in find_boot_device()
225 found = find_subch(iplb.ccw.devno); in find_boot_device()
228 vdev->scsi_device_selected = true; in find_boot_device()
229 vdev->selected_scsi_device.channel = iplb.scsi.channel; in find_boot_device()
230 vdev->selected_scsi_device.target = iplb.scsi.target; in find_boot_device()
231 vdev->selected_scsi_device.lun = iplb.scsi.lun; in find_boot_device()
245 vdev->is_cdrom = false; in virtio_setup()
248 switch (vdev->senseid.cu_model) { in virtio_setup()
260 return -1; in virtio_setup()
265 return -ENODEV; in virtio_setup()
299 ret = is_dev_possibly_bootable(-1, sch_no); in probe_boot_device()