Home
last modified time | relevance | path

Searched refs:cutype (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/pc-bios/s390-ccw/
H A Ddasd-ipl.c76 static int run_dynamic_ccw_program(SubChannelId schid, uint16_t cutype, in run_dynamic_ccw_program() argument
88 rc = do_cio(schid, cutype, cpa, CCW_FMT0); in run_dynamic_ccw_program()
114 static int run_readipl(SubChannelId schid, uint16_t cutype) in run_readipl() argument
116 return do_cio(schid, cutype, 0x00, CCW_FMT0); in run_readipl()
182 static int run_ipl1(SubChannelId schid, uint16_t cutype) in run_ipl1() argument
186 return do_cio(schid, cutype, startAddr, CCW_FMT0); in run_ipl1()
189 static int run_ipl2(SubChannelId schid, uint16_t cutype, uint32_t addr) in run_ipl2() argument
191 return run_dynamic_ccw_program(schid, cutype, addr); in run_ipl2()
198 int dasd_ipl(SubChannelId schid, uint16_t cutype) in dasd_ipl() argument
205 if (run_readipl(schid, cutype)) { in dasd_ipl()
[all …]
H A Dmain.c27 static uint16_t cutype; variable
41 if (cutype == CU_TYPE_VIRTIO && virtio_get_device_type() == VIRTIO_ID_NET) { in write_subsystem_identification()
53 if (cutype == CU_TYPE_VIRTIO && virtio_get_device_type() != VIRTIO_ID_NET) { in write_iplb_location()
85 cutype = cu_type(blk_schid); in is_dev_possibly_bootable()
86 if (cutype == CU_TYPE_UNKNOWN) { in is_dev_possibly_bootable()
98 switch (cutype) { in is_dev_possibly_bootable()
273 switch (cutype) { in ipl_boot_device()
276 dasd_ipl(blk_schid, cutype); in ipl_boot_device()
284 printf("Attempting to boot from unexpected device type 0x%X\n", cutype); in ipl_boot_device()
H A Dcio.c69 int basic_sense(SubChannelId schid, uint16_t cutype, void *sense_data, in basic_sense() argument
370 int do_cio(SubChannelId schid, uint16_t cutype, uint32_t ccw_addr, int fmt) in do_cio() argument
398 basic_sense(schid, cutype, &sd, sizeof(sd)); in do_cio()
408 printf(" ctrl-unit type 0x%X\n", cutype); in do_cio()
411 if (cutype == CU_TYPE_DASD_3990 || cutype == CU_TYPE_DASD_2107 || in do_cio()
412 cutype == CU_TYPE_UNKNOWN) { in do_cio()
413 if (!basic_sense(schid, cutype, &sd, sizeof(sd))) { in do_cio()
H A Ddasd-ipl.h14 int dasd_ipl(SubChannelId schid, uint16_t cutype);
H A Dcio.h369 int basic_sense(SubChannelId schid, uint16_t cutype, void *sense_data,
371 int do_cio(SubChannelId schid, uint16_t cutype, uint32_t ccw_addr, int fmt);
/openbmc/linux/drivers/s390/char/
H A Dvmur.h110 #define CCWDEV_CU_DI(cutype, di) \ argument
111 CCW_DEVICE(cutype, 0x00), .driver_info = (di)
/openbmc/linux/Documentation/arch/s390/
H A Ddriver-model.rst39 cutype:
/openbmc/linux/drivers/s390/cio/
H A Ddevice.c594 static DEVICE_ATTR_RO(cutype);