Lines Matching refs:subchannel

138 static void io_subchannel_irq(struct subchannel *);
139 static int io_subchannel_probe(struct subchannel *);
140 static int 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 *,
152 static int io_subchannel_prepare(struct subchannel *sch)
272 static void io_subchannel_quiesce(struct subchannel *);
287 struct subchannel *sch;
554 struct subchannel *sch;
579 struct subchannel *sch = to_subchannel(dev);
584 pr_warn("Logging for subchannel 0.%x.%04x failed with errno=%d\n",
588 pr_notice("Logging for subchannel 0.%x.%04x was triggered\n",
596 struct subchannel *sch = to_subchannel(dev);
694 /* Release reference of parent subchannel. */
700 static struct ccw_device * io_subchannel_allocate_dev(struct subchannel *sch)
735 static int io_subchannel_initialize_dev(struct subchannel *sch,
779 static struct ccw_device * io_subchannel_create_ccwdev(struct subchannel *sch)
793 static void io_subchannel_recog(struct ccw_device *, struct subchannel *);
795 static void sch_create_and_recog_new_device(struct subchannel *sch)
815 struct subchannel *sch;
821 * Check if subchannel is still registered. It may have become
849 * Now we know this subchannel will stay, we can throw
879 struct subchannel *sch;
881 /* Get subchannel reference for local processing. */
886 /* Release subchannel reference for local processing. */
891 * subchannel recognition done. Called from the state machine.
920 static void io_subchannel_recog(struct ccw_device *cdev, struct subchannel *sch)
932 struct subchannel *sch)
934 struct subchannel *old_sch;
965 /* Try to reenable the old subchannel. */
974 /* Clean up old subchannel. */
983 /* Initialize new subchannel. */
996 struct subchannel *sch = to_subchannel(cdev->dev.parent);
1002 static void io_subchannel_irq(struct subchannel *sch)
1016 void io_subchannel_init_config(struct subchannel *sch)
1022 static void io_subchannel_init_fields(struct subchannel *sch)
1031 CIO_MSG_EVENT(6, "Detected device %04x on subchannel 0.%x.%04X"
1044 static int io_subchannel_probe(struct subchannel *sch)
1054 CIO_MSG_EVENT(0, "Failed to create io subchannel "
1055 "attributes for subchannel "
1059 * The console subchannel already has an associated ccw_device.
1060 * Throw the delayed uevent for the subchannel, register
1087 /* Allocate I/O subchannel private data. */
1111 static int io_subchannel_remove(struct subchannel *sch)
1133 static void io_subchannel_verify(struct subchannel *sch)
1142 static void io_subchannel_terminate_path(struct subchannel *sch, u8 mask)
1169 static int io_subchannel_chp_event(struct subchannel *sch,
1212 static void io_subchannel_quiesce(struct subchannel *sch)
1245 static void io_subchannel_shutdown(struct subchannel *sch)
1261 struct subchannel *sch;
1376 struct subchannel *sch = to_subchannel(cdev->dev.parent);
1398 static enum io_sch_action sch_get_action(struct subchannel *sch)
1434 * io_subchannel_sch_event - process subchannel event
1435 * @sch: subchannel
1438 * An unspecified event occurred for this subchannel. Adjust data according
1439 * to the current operational state of the subchannel and device. Return
1443 static int io_subchannel_sch_event(struct subchannel *sch, int process)
1533 /* Handle subchannel. */
1588 struct subchannel *sch = to_subchannel(cdev->dev.parent);
1629 struct subchannel *sch;
1666 struct subchannel *sch = to_subchannel(cdev->dev.parent);
1687 struct subchannel *sch = to_subchannel(cdev->dev.parent);
1760 struct subchannel *sch;
1831 struct subchannel *sch = to_subchannel(cdev->dev.parent);
1865 struct subchannel *sch = to_subchannel(cdev->dev.parent);
1893 struct subchannel *sch = to_subchannel(cdev->dev.parent);
1910 /* cdev may have been moved to a different subchannel. */
1949 struct subchannel *sch;
2075 struct subchannel *sch;
2151 struct subchannel *sch = to_subchannel(cdev->dev.parent);