Searched refs:subchannel (Results 1 - 25 of 34) sorted by relevance

12

/linux-master/drivers/s390/cio/
H A Dcio.h40 u32 st : 3; /* subchannel type */
64 * subchannel information block
68 union scsw scsw; /* subchannel status word */
83 /* subchannel data structure used by I/O subroutines */
84 struct subchannel { struct
86 spinlock_t lock; /* subchannel lock */
93 } st; /* subchannel type */
97 struct schib schib; /* subchannel information block */
99 struct chsc_ssd_info ssd_info; /* subchannel description */
115 #define to_subchannel(n) container_of(n, struct subchannel, de
[all...]
H A Dcss.h71 struct subchannel;
75 * @subchannel_type: subchannel type supported by this driver
79 * @sch_event: called for events affecting the subchannel
88 void (*irq)(struct subchannel *);
89 int (*chp_event)(struct subchannel *, struct chp_link *, int);
90 int (*sch_event)(struct subchannel *, int);
91 int (*probe)(struct subchannel *);
92 void (*remove)(struct subchannel *);
93 void (*shutdown)(struct subchannel *);
102 extern void css_sch_device_unregister(struct subchannel *);
[all...]
H A Deadm_sch.c60 static int eadm_subchannel_start(struct subchannel *sch, struct aob *aob)
87 static int eadm_subchannel_clear(struct subchannel *sch)
102 struct subchannel *sch = private->sch;
112 static void eadm_subchannel_set_timeout(struct subchannel *sch, int expires)
122 static void eadm_subchannel_irq(struct subchannel *sch)
157 static struct subchannel *eadm_get_idle_sch(void)
160 struct subchannel *sch;
185 struct subchannel *sch;
199 /* Handle start subchannel failure. */
212 static int eadm_subchannel_probe(struct subchannel *sc
[all...]
H A Deadm_sch.h15 struct subchannel *sch;
H A Dvfio_ccw_cp.h46 union orb *cp_get_orb(struct channel_program *cp, struct subchannel *sch);
H A Dcio.c88 int cio_set_options(struct subchannel *sch, int flags)
99 cio_start_handle_notoper(struct subchannel *sch, __u8 lpm)
109 "subchannel 0.%x.%04x!\n", sch->schid.ssid,
123 cio_start_key (struct subchannel *sch, /* subchannel structure */
176 cio_start (struct subchannel *sch, struct ccw1 *cpa, __u8 lpm)
186 cio_resume (struct subchannel *sch)
219 cio_halt(struct subchannel *sch)
230 * Issue "Halt subchannel" and process condition code
253 cio_clear(struct subchannel *sc
[all...]
H A Dcss.c65 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 *sc
[all...]
H A Dio_sch.h32 static inline struct ccw_device *sch_get_cdev(struct subchannel *sch)
38 static inline void sch_set_cdev(struct subchannel *sch,
132 struct subchannel *sch;
H A Ddevice.c138 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 *sc
[all...]
H A Ddevice_pgid.c36 struct subchannel *sch = to_subchannel(cdev->dev.parent);
75 struct subchannel *sch = to_subchannel(cdev->dev.parent);
96 /* Only subchannel status might indicate a path error. */
107 struct subchannel *sch = to_subchannel(cdev->dev.parent);
170 struct subchannel *sch = to_subchannel(cdev->dev.parent);
197 struct subchannel *sch = to_subchannel(cdev->dev.parent);
230 struct subchannel *sch = to_subchannel(cdev->dev.parent);
335 struct subchannel *sch = to_subchannel(cdev->dev.parent);
382 struct subchannel *sch = to_subchannel(cdev->dev.parent);
456 struct subchannel *sc
[all...]
H A Dvfio_ccw_fsm.c21 struct subchannel *sch = to_subchannel(private->vdev.dev->parent);
81 struct subchannel *sch = to_subchannel(private->vdev.dev->parent);
120 struct subchannel *sch = to_subchannel(private->vdev.dev->parent);
157 struct subchannel *sch = to_subchannel(private->vdev.dev->parent);
225 struct subchannel *sch = to_subchannel(private->vdev.dev->parent);
235 struct subchannel *sch = to_subchannel(p->vdev.dev->parent);
359 struct subchannel *sch = to_subchannel(private->vdev.dev->parent);
376 struct subchannel *sch = to_subchannel(private->vdev.dev->parent);
397 struct subchannel *sch = to_subchannel(private->vdev.dev->parent);
H A Ddevice_ops.c129 * ccw_device_clear() calls csch on @cdev's subchannel.
139 struct subchannel *sch;
195 struct subchannel *sch;
362 * ccw_device_halt() calls hsch on @cdev's subchannel.
376 struct subchannel *sch;
400 * ccw_device_resume() calls rsch on @cdev's subchannel.
411 struct subchannel *sch;
456 * %0 if no subchannel for the device is available,
457 * else the mask of currently available paths for the ccw device's subchannel.
461 struct subchannel *sc
[all...]
H A Ddevice_fsm.c41 struct subchannel *sch;
58 printk(KERN_WARNING "cio: subchannel bus id: %s\n",
60 printk(KERN_WARNING "cio: subchannel lpm: %02x, opm: %02x, "
86 printk(KERN_WARNING "cio: store subchannel returned: cc=%d\n", cc);
126 struct subchannel *sch;
167 __recover_lost_chpids(struct subchannel *sch, int old_lpm)
191 struct subchannel *sch;
310 struct subchannel *sch = to_subchannel(cdev->dev.parent);
330 struct subchannel *sch;
346 CIO_MSG_EVENT(0, "Boxed device %04x on subchannel
[all...]
H A Dchp.h64 u8 chp_get_sch_opm(struct subchannel *sch);
H A Dvfio_ccw_drv.c37 int vfio_ccw_sch_quiesce(struct subchannel *sch)
58 pr_err("vfio_ccw: could not quiesce subchannel 0.%x.%04x!\n",
131 static void vfio_ccw_sch_irq(struct subchannel *sch)
137 * The subchannel should still be disabled at this point,
140 * disable the subchannel again.
162 static int vfio_ccw_sch_probe(struct subchannel *sch)
188 parent->mdev_type.pretty_name = "I/O subchannel (Non-QDIO)";
196 VFIO_CCW_MSG_EVENT(4, "bound to subchannel %x.%x.%04x\n",
209 static void vfio_ccw_sch_remove(struct subchannel *sch)
218 VFIO_CCW_MSG_EVENT(4, "unbound from subchannel
[all...]
H A Dvfio_ccw_private.h92 * @region: additional regions for other subchannel operations
130 int vfio_ccw_sch_quiesce(struct subchannel *sch);
172 struct subchannel *sch = to_subchannel(private->vdev.dev->parent);
H A Dccwreq.c78 struct subchannel *sch = to_subchannel(cdev->dev.parent);
153 struct subchannel *sch = to_subchannel(cdev->dev.parent);
329 struct subchannel *sch = to_subchannel(cdev->dev.parent);
H A Ddevice.h88 void io_subchannel_init_config(struct subchannel *sch);
H A Dvfio_ccw_chp.c19 struct subchannel *sch = to_subchannel(private->vdev.dev->parent);
H A Dchsc_sch.c54 static void chsc_subchannel_irq(struct subchannel *sch)
77 static int chsc_subchannel_probe(struct subchannel *sch)
82 CHSC_MSG(6, "Detected chsc subchannel 0.%x.%04x\n",
99 static void chsc_subchannel_remove(struct subchannel *sch)
113 static void chsc_subchannel_shutdown(struct subchannel *sch)
174 struct subchannel *sch = to_subchannel(dev);
179 static struct subchannel *chsc_get_next_subchannel(struct subchannel *sch)
208 struct subchannel *sch = NULL;
H A Ddevice_status.c31 struct subchannel *sch = to_subchannel(cdev->dev.parent);
40 " ... device %04x on subchannel 0.%x.%04x, dev_stat "
56 struct subchannel *sch;
127 /* Copy subchannel logout information if esw is of format 0. */
227 * status at the subchannel has been cleared and we must not pass
280 /* Accumulate subchannel status. */
293 * concurrent sense facility installed for the subchannel.
314 struct subchannel *sch;
H A Dchsc.c84 u16 f_sch; /* first subchannel */
86 u16 l_sch; /* last subchannel */
92 u8 st : 3; /* subchannel type */
98 u16 sch; /* subchannel */
161 * chsc_ssqd() - store subchannel QDIO data (SSQD)
162 * @schid: id of the subchannel on which SSQD is performed
185 * @schid: id of the subchannel on which SADC is performed
188 * @subchannel_indicator_addr: subchannel indicator address
189 * @isc: Interruption Subclass for this subchannel
220 static int s390_subchannel_remove_chpid(struct subchannel *sc
[all...]
H A Ddevice_id.c203 struct subchannel *sch = to_subchannel(cdev->dev.parent);
H A Dvfio_ccw_ops.c100 struct subchannel *sch = to_subchannel(mdev->dev.parent);
150 struct subchannel *sch = to_subchannel(mdev->dev.parent);
/linux-master/arch/s390/boot/
H A Dhead.S43 lgh %r1,__LC_SUBCHANNEL_ID # test if subchannel number
45 llgf %r1,__LC_SUBCHANNEL_ID # load ipl subchannel number
114 c %r1,__LC_SUBCHANNEL_ID # compare subchannel number
157 c %r1,__LC_SUBCHANNEL_ID # compare subchannel number

Completed in 514 milliseconds

12