Lines Matching refs:subchannel

138 static void io_subchannel_irq(struct subchannel *);
139 static int io_subchannel_probe(struct subchannel *);
140 static void io_subchannel_remove(struct subchannel *);
141 static void io_subchannel_shutdown(struct subchannel *);
142 static int io_subchannel_sch_event(struct subchannel *, int);
143 static int io_subchannel_chp_event(struct subchannel *, struct chp_link *,
261 static void io_subchannel_quiesce(struct subchannel *);
276 struct subchannel *sch;
543 struct subchannel *sch;
568 struct subchannel *sch = to_subchannel(dev);
573 pr_warn("Logging for subchannel 0.%x.%04x failed with errno=%d\n",
577 pr_notice("Logging for subchannel 0.%x.%04x was triggered\n",
585 struct subchannel *sch = to_subchannel(dev);
677 /* Release reference of parent subchannel. */
683 static struct ccw_device * io_subchannel_allocate_dev(struct subchannel *sch)
732 static int io_subchannel_initialize_dev(struct subchannel *sch,
778 static struct ccw_device * io_subchannel_create_ccwdev(struct subchannel *sch)
792 static void io_subchannel_recog(struct ccw_device *, struct subchannel *);
794 static void sch_create_and_recog_new_device(struct subchannel *sch)
814 struct subchannel *sch;
820 * Check if subchannel is still registered. It may have become
872 * subchannel recognition done. Called from the state machine.
901 static void io_subchannel_recog(struct ccw_device *cdev, struct subchannel *sch)
913 struct subchannel *sch)
915 struct subchannel *old_sch;
946 /* Try to re-enable the old subchannel. */
955 /* Clean up old subchannel. */
964 /* Initialize new subchannel. */
977 struct subchannel *sch = to_subchannel(cdev->dev.parent);
983 static void io_subchannel_irq(struct subchannel *sch)
997 void io_subchannel_init_config(struct subchannel *sch)
1003 static void io_subchannel_init_fields(struct subchannel *sch)
1012 CIO_MSG_EVENT(6, "Detected device %04x on subchannel 0.%x.%04X"
1025 static int io_subchannel_probe(struct subchannel *sch)
1035 CIO_MSG_EVENT(0, "Failed to create io subchannel "
1036 "attributes for subchannel "
1040 * The console subchannel already has an associated ccw_device.
1062 /* Allocate I/O subchannel private data. */
1086 static void io_subchannel_remove(struct subchannel *sch)
1107 static void io_subchannel_verify(struct subchannel *sch)
1118 static void io_subchannel_terminate_path(struct subchannel *sch, u8 mask)
1145 static int io_subchannel_chp_event(struct subchannel *sch,
1201 static void io_subchannel_quiesce(struct subchannel *sch)
1234 static void io_subchannel_shutdown(struct subchannel *sch)
1250 struct subchannel *sch;
1322 struct subchannel *sch = to_subchannel(cdev->dev.parent);
1367 struct subchannel *sch = to_subchannel(cdev->dev.parent);
1389 static enum io_sch_action sch_get_action(struct subchannel *sch)
1425 * io_subchannel_sch_event - process subchannel event
1426 * @sch: subchannel
1429 * An unspecified event occurred for this subchannel. Adjust data according
1430 * to the current operational state of the subchannel and device. Return
1434 static int io_subchannel_sch_event(struct subchannel *sch, int process)
1519 /* Handle subchannel. */
1573 struct subchannel *sch = to_subchannel(cdev->dev.parent);
1614 struct subchannel *sch;
1651 struct subchannel *sch = to_subchannel(cdev->dev.parent);
1672 struct subchannel *sch = to_subchannel(cdev->dev.parent);
1737 struct subchannel *sch;
1820 struct subchannel *sch;
1896 struct subchannel *sch = to_subchannel(cdev->dev.parent);