Lines Matching refs:subchannel

65 	int (*fn_known_sch)(struct subchannel *, void *);
71 struct subchannel *sch = to_subchannel(dev);
95 struct subchannel *sch;
111 int for_each_subchannel_staged(int (*fn_known)(struct subchannel *, void *),
151 static void css_sch_create_locks(struct subchannel *sch)
159 struct subchannel *sch = to_subchannel(dev);
179 "at devno %04X, subchannel set %x\n",
191 CIO_MSG_EVENT(4, "Subchannel 0.%x.%04x reports subchannel type %04X\n",
197 struct subchannel *css_alloc_subchannel(struct subchannel_id schid,
200 struct subchannel *sch;
223 * belong to a subchannel need to fit 31 bit width (e.g. ccw).
243 static int css_sch_device_register(struct subchannel *sch)
256 * css_sch_device_unregister - unregister a subchannel
257 * @sch: subchannel to be unregistered
259 void css_sch_device_unregister(struct subchannel *sch)
296 void css_update_ssd_info(struct subchannel *sch)
310 struct subchannel *sch = to_subchannel(dev);
320 struct subchannel *sch = to_subchannel(dev);
331 struct subchannel *sch = to_subchannel(dev);
344 struct subchannel *sch = to_subchannel(dev);
374 struct subchannel *sch = to_subchannel(dev);
396 struct subchannel *sch = to_subchannel(dev);
408 struct subchannel *sch = to_subchannel(dev);
432 int css_register_subchannel(struct subchannel *sch)
436 /* Initialize the subchannel structure */
457 struct subchannel *sch;
474 struct subchannel *sch;
481 struct subchannel *
493 * css_sch_is_valid() - check if a subchannel is valid
494 * @schib: subchannel information block for the subchannel
516 * The first subchannel that is not-operational (ccode==3)
518 * If stsch gets an exception, it means the current subchannel set
528 static int css_evaluate_known_subchannel(struct subchannel *sch, int slow)
537 "Got subchannel machine check but "
549 struct subchannel *sch;
563 * css_sched_sch_todo - schedule a subchannel operation
564 * @sch: subchannel
569 * scheduled. Needs to be called with subchannel lock held.
571 void css_sched_sch_todo(struct subchannel *sch, enum sch_todo todo)
590 struct subchannel *sch;
594 sch = container_of(work, struct subchannel, todo_work);
632 CIO_MSG_EVENT(0, "could not allocate slow subchannel set\n");
638 static int slow_eval_known_fn(struct subchannel *sch, void *data)
737 struct subchannel *sch = to_subchannel(dev);
755 struct subchannel *sch = to_subchannel(dev);
810 * Called from the machine check handler for subchannel report words.
815 struct subchannel *sch;
844 * use stsch() to find out if the subchannel in question has come
1173 * The struct subchannel's are created during probing.
1272 /* Start initial subchannel evaluation. */
1303 /* Wait for the subchannel type specific initialization to finish */
1350 int sch_is_pseudo_sch(struct subchannel *sch)
1359 struct subchannel *sch = to_subchannel(dev);
1377 struct subchannel *sch;
1390 struct subchannel *sch;
1400 struct subchannel *sch;
1409 const struct subchannel *sch = to_subchannel(dev);