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;
546 struct subchannel *sch;
571 struct subchannel *sch = to_subchannel(dev);
576 pr_warn("Logging for subchannel 0.%x.%04x failed with errno=%d\n",
580 pr_notice("Logging for subchannel 0.%x.%04x was triggered\n",
588 struct subchannel *sch = to_subchannel(dev);
680 /* Release reference of parent subchannel. */
686 static struct ccw_device * io_subchannel_allocate_dev(struct subchannel *sch)
735 static int io_subchannel_initialize_dev(struct subchannel *sch,
781 static struct ccw_device * io_subchannel_create_ccwdev(struct subchannel *sch)
795 static void io_subchannel_recog(struct ccw_device *, struct subchannel *);
797 static void sch_create_and_recog_new_device(struct subchannel *sch)
817 struct subchannel *sch;
823 * Check if subchannel is still registered. It may have become
875 * subchannel recognition done. Called from the state machine.
904 static void io_subchannel_recog(struct ccw_device *cdev, struct subchannel *sch)
916 struct subchannel *sch)
918 struct subchannel *old_sch;
949 /* Try to re-enable the old subchannel. */
958 /* Clean up old subchannel. */
967 /* Initialize new subchannel. */
980 struct subchannel *sch = to_subchannel(cdev->dev.parent);
986 static void io_subchannel_irq(struct subchannel *sch)
1000 void io_subchannel_init_config(struct subchannel *sch)
1006 static void io_subchannel_init_fields(struct subchannel *sch)
1015 CIO_MSG_EVENT(6, "Detected device %04x on subchannel 0.%x.%04X"
1028 static int io_subchannel_probe(struct subchannel *sch)
1038 CIO_MSG_EVENT(0, "Failed to create io subchannel "
1039 "attributes for subchannel "
1043 * The console subchannel already has an associated ccw_device.
1065 /* Allocate I/O subchannel private data. */
1089 static void io_subchannel_remove(struct subchannel *sch)
1110 static void io_subchannel_verify(struct subchannel *sch)
1121 static void io_subchannel_terminate_path(struct subchannel *sch, u8 mask)
1148 static int io_subchannel_chp_event(struct subchannel *sch,
1204 static void io_subchannel_quiesce(struct subchannel *sch)
1237 static void io_subchannel_shutdown(struct subchannel *sch)
1253 struct subchannel *sch;
1325 struct subchannel *sch = to_subchannel(cdev->dev.parent);
1370 struct subchannel *sch = to_subchannel(cdev->dev.parent);
1392 static enum io_sch_action sch_get_action(struct subchannel *sch)
1428 * io_subchannel_sch_event - process subchannel event
1429 * @sch: subchannel
1432 * An unspecified event occurred for this subchannel. Adjust data according
1433 * to the current operational state of the subchannel and device. Return
1437 static int io_subchannel_sch_event(struct subchannel *sch, int process)
1522 /* Handle subchannel. */
1576 struct subchannel *sch = to_subchannel(cdev->dev.parent);
1617 struct subchannel *sch;
1654 struct subchannel *sch = to_subchannel(cdev->dev.parent);
1675 struct subchannel *sch = to_subchannel(cdev->dev.parent);
1740 struct subchannel *sch;
1823 struct subchannel *sch;
1899 struct subchannel *sch = to_subchannel(cdev->dev.parent);