Lines Matching refs:subchannel

66 	int (*fn_known_sch)(struct subchannel *, void *);
72 struct subchannel *sch = to_subchannel(dev);
96 struct subchannel *sch;
112 int for_each_subchannel_staged(int (*fn_known)(struct subchannel *, void *),
152 static int css_sch_create_locks(struct subchannel *sch)
166 struct subchannel *sch = to_subchannel(dev);
187 "at devno %04X, subchannel set %x\n",
199 CIO_MSG_EVENT(4, "Subchannel 0.%x.%04x reports subchannel type %04X\n",
205 struct subchannel *css_alloc_subchannel(struct subchannel_id schid,
208 struct subchannel *sch;
232 * belong to a subchannel need to fit 31 bit width (e.g. ccw).
248 static int css_sch_device_register(struct subchannel *sch)
261 * css_sch_device_unregister - unregister a subchannel
262 * @sch: subchannel to be unregistered
264 void css_sch_device_unregister(struct subchannel *sch)
301 void css_update_ssd_info(struct subchannel *sch)
315 struct subchannel *sch = to_subchannel(dev);
325 struct subchannel *sch = to_subchannel(dev);
336 struct subchannel *sch = to_subchannel(dev);
369 struct subchannel *sch = to_subchannel(dev);
399 struct subchannel *sch = to_subchannel(dev);
421 struct subchannel *sch = to_subchannel(dev);
433 struct subchannel *sch = to_subchannel(dev);
457 int css_register_subchannel(struct subchannel *sch)
461 /* Initialize the subchannel structure */
474 * Note that we suppress the uevent for all subchannel types;
475 * the subchannel driver can decide itself when it wants to inform
501 struct subchannel *sch;
518 struct subchannel *sch;
525 struct subchannel *
537 * css_sch_is_valid() - check if a subchannel is valid
538 * @schib: subchannel information block for the subchannel
560 * The first subchannel that is not-operational (ccode==3)
562 * If stsch gets an exception, it means the current subchannel set
572 static int css_evaluate_known_subchannel(struct subchannel *sch, int slow)
581 "Got subchannel machine check but "
593 struct subchannel *sch;
607 * css_sched_sch_todo - schedule a subchannel operation
608 * @sch: subchannel
613 * scheduled. Needs to be called with subchannel lock held.
615 void css_sched_sch_todo(struct subchannel *sch, enum sch_todo todo)
634 struct subchannel *sch;
638 sch = container_of(work, struct subchannel, todo_work);
678 CIO_MSG_EVENT(0, "could not allocate slow subchannel set\n");
684 static int slow_eval_known_fn(struct subchannel *sch, void *data)
783 struct subchannel *sch = to_subchannel(dev);
826 * Called from the machine check handler for subchannel report words.
831 struct subchannel *sch;
860 * use stsch() to find out if the subchannel in question has come
1224 * The struct subchannel's are created during probing.
1328 /* Start initial subchannel evaluation. */
1359 /* Wait for the subchannel type specific initialization to finish */
1406 int sch_is_pseudo_sch(struct subchannel *sch)
1415 struct subchannel *sch = to_subchannel(dev);
1433 struct subchannel *sch;
1446 struct subchannel *sch;
1457 struct subchannel *sch;
1466 struct subchannel *sch = to_subchannel(dev);
1478 struct subchannel *sch = to_subchannel(dev);
1492 struct subchannel *sch = to_subchannel(dev);
1504 struct subchannel *sch = to_subchannel(dev);
1515 struct subchannel *sch = to_subchannel(dev);
1526 struct subchannel *sch = to_subchannel(dev);