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 int css_sch_create_locks(struct subchannel *sch)
165 struct subchannel *sch = to_subchannel(dev);
186 "at devno %04X, subchannel set %x\n",
198 CIO_MSG_EVENT(4, "Subchannel 0.%x.%04x reports subchannel type %04X\n",
204 struct subchannel *css_alloc_subchannel(struct subchannel_id schid,
207 struct subchannel *sch;
232 * belong to a subchannel need to fit 31 bit width (e.g. ccw).
254 static int css_sch_device_register(struct subchannel *sch)
267 * css_sch_device_unregister - unregister a subchannel
268 * @sch: subchannel to be unregistered
270 void css_sch_device_unregister(struct subchannel *sch)
307 void css_update_ssd_info(struct subchannel *sch)
321 struct subchannel *sch = to_subchannel(dev);
331 struct subchannel *sch = to_subchannel(dev);
342 struct subchannel *sch = to_subchannel(dev);
355 struct subchannel *sch = to_subchannel(dev);
385 struct subchannel *sch = to_subchannel(dev);
407 struct subchannel *sch = to_subchannel(dev);
419 struct subchannel *sch = to_subchannel(dev);
443 int css_register_subchannel(struct subchannel *sch)
447 /* Initialize the subchannel structure */
468 struct subchannel *sch;
485 struct subchannel *sch;
492 struct subchannel *
504 * css_sch_is_valid() - check if a subchannel is valid
505 * @schib: subchannel information block for the subchannel
527 * The first subchannel that is not-operational (ccode==3)
529 * If stsch gets an exception, it means the current subchannel set
539 static int css_evaluate_known_subchannel(struct subchannel *sch, int slow)
548 "Got subchannel machine check but "
560 struct subchannel *sch;
574 * css_sched_sch_todo - schedule a subchannel operation
575 * @sch: subchannel
580 * scheduled. Needs to be called with subchannel lock held.
582 void css_sched_sch_todo(struct subchannel *sch, enum sch_todo todo)
601 struct subchannel *sch;
605 sch = container_of(work, struct subchannel, todo_work);
643 CIO_MSG_EVENT(0, "could not allocate slow subchannel set\n");
649 static int slow_eval_known_fn(struct subchannel *sch, void *data)
748 struct subchannel *sch = to_subchannel(dev);
766 struct subchannel *sch = to_subchannel(dev);
821 * Called from the machine check handler for subchannel report words.
826 struct subchannel *sch;
855 * use stsch() to find out if the subchannel in question has come
1182 * The struct subchannel's are created during probing.
1281 /* Start initial subchannel evaluation. */
1312 /* Wait for the subchannel type specific initialization to finish */
1359 int sch_is_pseudo_sch(struct subchannel *sch)
1368 struct subchannel *sch = to_subchannel(dev);
1386 struct subchannel *sch;
1399 struct subchannel *sch;
1409 struct subchannel *sch;
1418 const struct subchannel *sch = to_subchannel(dev);