Lines Matching refs:schid
23 static int __do_cio(SubChannelId schid, uint32_t ccw_addr, int fmt, Irb *irb);
42 void enable_subchannel(SubChannelId schid) in enable_subchannel() argument
46 stsch_err(schid, &schib); in enable_subchannel()
48 msch(schid, &schib); in enable_subchannel()
51 uint16_t cu_type(SubChannelId schid) in cu_type() argument
61 if (do_cio(schid, CU_TYPE_UNKNOWN, ptr2u32(&sense_id_ccw), CCW_FMT1)) { in cu_type()
69 int basic_sense(SubChannelId schid, uint16_t cutype, void *sense_data, in basic_sense() argument
79 return __do_cio(schid, ptr2u32(&senseCcw), CCW_FMT1, &irb); in basic_sense()
310 static int __do_cio(SubChannelId schid, uint32_t ccw_addr, int fmt, Irb *irb) in __do_cio() argument
332 rc = ssch(schid, &orb); in __do_cio()
335 tsch(schid, irb); in __do_cio()
346 rc = tsch(schid, irb); in __do_cio()
370 int do_cio(SubChannelId schid, uint16_t cutype, uint32_t ccw_addr, int fmt) in do_cio() argument
377 rc = __do_cio(schid, ccw_addr, fmt, &irb); in do_cio()
398 basic_sense(schid, cutype, &sd, sizeof(sd)); in do_cio()
405 printf(" ssid 0x%X\n", schid.ssid); in do_cio()
406 printf(" cssid 0x%X\n", schid.cssid); in do_cio()
407 printf(" sch_no 0x%X\n", schid.sch_no); in do_cio()
413 if (!basic_sense(schid, cutype, &sd, sizeof(sd))) { in do_cio()