Home
last modified time | relevance | path

Searched refs:subchannel (Results 1 – 35 of 35) sorted by relevance

/linux-4.4.14/drivers/s390/cio/
Dcss.h62 struct subchannel;
84 void (*irq)(struct subchannel *);
85 int (*chp_event)(struct subchannel *, struct chp_link *, int);
86 int (*sch_event)(struct subchannel *, int);
87 int (*probe)(struct subchannel *);
88 int (*remove)(struct subchannel *);
89 void (*shutdown)(struct subchannel *);
90 int (*prepare) (struct subchannel *);
91 void (*complete) (struct subchannel *);
92 int (*freeze)(struct subchannel *);
[all …]
Dcio.h82 struct subchannel { struct
107 #define to_subchannel(n) container_of(n, struct subchannel, dev) argument
109 extern int cio_validate_subchannel (struct subchannel *, struct subchannel_id);
110 extern int cio_enable_subchannel(struct subchannel *, u32);
111 extern int cio_disable_subchannel (struct subchannel *);
112 extern int cio_cancel (struct subchannel *);
113 extern int cio_clear (struct subchannel *);
114 extern int cio_resume (struct subchannel *);
115 extern int cio_halt (struct subchannel *);
116 extern int cio_start (struct subchannel *, struct ccw1 *, __u8);
[all …]
Deadm_sch.c64 static int eadm_subchannel_start(struct subchannel *sch, struct aob *aob) in eadm_subchannel_start()
91 static int eadm_subchannel_clear(struct subchannel *sch) in eadm_subchannel_clear()
105 struct subchannel *sch = (struct subchannel *) data; in eadm_subchannel_timeout()
115 static void eadm_subchannel_set_timeout(struct subchannel *sch, int expires) in eadm_subchannel_set_timeout()
133 static void eadm_subchannel_irq(struct subchannel *sch) in eadm_subchannel_irq()
168 static struct subchannel *eadm_get_idle_sch(void) in eadm_get_idle_sch()
171 struct subchannel *sch; in eadm_get_idle_sch()
196 struct subchannel *sch; in eadm_start_aob()
223 static int eadm_subchannel_probe(struct subchannel *sch) in eadm_subchannel_probe()
261 static void eadm_quiesce(struct subchannel *sch) in eadm_quiesce()
[all …]
Dcss.c61 int (*fn_known_sch)(struct subchannel *, void *);
67 struct subchannel *sch = to_subchannel(dev); in call_fn_known_sch()
91 struct subchannel *sch; in call_fn_all_sch()
107 int for_each_subchannel_staged(int (*fn_known)(struct subchannel *, void *), in for_each_subchannel_staged() argument
147 static int css_sch_create_locks(struct subchannel *sch) in css_sch_create_locks()
161 struct subchannel *sch = to_subchannel(dev); in css_subchannel_release()
169 struct subchannel *css_alloc_subchannel(struct subchannel_id schid) in css_alloc_subchannel()
171 struct subchannel *sch; in css_alloc_subchannel()
196 static int css_sch_device_register(struct subchannel *sch) in css_sch_device_register()
212 void css_sch_device_unregister(struct subchannel *sch) in css_sch_device_unregister()
[all …]
Dcio.c90 int cio_set_options(struct subchannel *sch, int flags) in cio_set_options()
101 cio_start_handle_notoper(struct subchannel *sch, __u8 lpm) in cio_start_handle_notoper()
125 cio_start_key (struct subchannel *sch, /* subchannel structure */ in cio_start_key()
177 cio_start (struct subchannel *sch, struct ccw1 *cpa, __u8 lpm) in cio_start()
186 cio_resume (struct subchannel *sch) in cio_resume()
218 cio_halt(struct subchannel *sch) in cio_halt()
251 cio_clear(struct subchannel *sch) in cio_clear()
285 cio_cancel (struct subchannel *sch) in cio_cancel()
315 static void cio_apply_config(struct subchannel *sch, struct schib *schib) in cio_apply_config()
329 static int cio_check_config(struct subchannel *sch, struct schib *schib) in cio_check_config()
[all …]
Ddevice.c135 static void io_subchannel_irq(struct subchannel *);
136 static int io_subchannel_probe(struct subchannel *);
137 static int io_subchannel_remove(struct subchannel *);
138 static void io_subchannel_shutdown(struct subchannel *);
139 static int io_subchannel_sch_event(struct subchannel *, int);
140 static int io_subchannel_chp_event(struct subchannel *, struct chp_link *,
150 static int io_subchannel_prepare(struct subchannel *sch) in io_subchannel_prepare()
220 struct subchannel *sch = to_subchannel(dev); in chpids_show()
240 struct subchannel *sch = to_subchannel(dev); in pimpampom_show()
308 static void io_subchannel_quiesce(struct subchannel *);
[all …]
Ddevice_pgid.c34 struct subchannel *sch = to_subchannel(cdev->dev.parent); in verify_done()
73 struct subchannel *sch = to_subchannel(cdev->dev.parent); in nop_do()
105 struct subchannel *sch = to_subchannel(cdev->dev.parent); in nop_callback()
168 struct subchannel *sch = to_subchannel(cdev->dev.parent); in pgid_wipeout_start()
195 struct subchannel *sch = to_subchannel(cdev->dev.parent); in spid_do()
228 struct subchannel *sch = to_subchannel(cdev->dev.parent); in spid_callback()
333 struct subchannel *sch = to_subchannel(cdev->dev.parent); in pgid_to_donepm()
379 struct subchannel *sch = to_subchannel(cdev->dev.parent); in snid_done()
453 struct subchannel *sch = to_subchannel(cdev->dev.parent); in snid_do()
510 struct subchannel *sch = to_subchannel(cdev->dev.parent); in verify_start()
[all …]
Ddevice_ops.c140 struct subchannel *sch; in ccw_device_clear()
188 struct subchannel *sch; in ccw_device_start_key()
365 struct subchannel *sch; in ccw_device_halt()
400 struct subchannel *sch; in ccw_device_resume()
450 struct subchannel *sch; in ccw_device_get_path_mask()
470 struct subchannel *sch; in ccw_device_get_chp_desc()
504 struct subchannel *sch; in ccw_device_tm_start_key()
608 struct subchannel *sch = to_subchannel(cdev->dev.parent); in ccw_device_get_mdc()
653 struct subchannel *sch = to_subchannel(cdev->dev.parent); in ccw_device_tm_intrg()
673 struct subchannel *sch = to_subchannel(cdev->dev.parent); in ccw_device_get_schid()
Ddevice_fsm.c39 struct subchannel *sch; in ccw_timeout_log()
138 struct subchannel *sch; in ccw_device_cancel_halt_clear()
205 __recover_lost_chpids(struct subchannel *sch, int old_lpm) in __recover_lost_chpids()
229 struct subchannel *sch; in ccw_device_recog_done()
354 struct subchannel *sch = to_subchannel(cdev->dev.parent); in ccw_device_oper_notify()
374 struct subchannel *sch; in ccw_device_done()
433 struct subchannel *sch = to_subchannel(cdev->dev.parent); in ccw_device_recognition()
474 struct subchannel *sch = to_subchannel(cdev->dev.parent); in ccw_device_report_path_events()
519 struct subchannel *sch; in ccw_device_verify_done()
576 struct subchannel *sch; in ccw_device_online()
[all …]
Dio_sch.h26 static inline struct ccw_device *sch_get_cdev(struct subchannel *sch) in sch_get_cdev()
32 static inline void sch_set_cdev(struct subchannel *sch, in sch_set_cdev()
119 struct subchannel *sch;
Dchsc_sch.c57 static void chsc_subchannel_irq(struct subchannel *sch) in chsc_subchannel_irq()
80 static int chsc_subchannel_probe(struct subchannel *sch) in chsc_subchannel_probe()
107 static int chsc_subchannel_remove(struct subchannel *sch) in chsc_subchannel_remove()
122 static void chsc_subchannel_shutdown(struct subchannel *sch) in chsc_subchannel_shutdown()
127 static int chsc_subchannel_prepare(struct subchannel *sch) in chsc_subchannel_prepare()
142 static int chsc_subchannel_freeze(struct subchannel *sch) in chsc_subchannel_freeze()
147 static int chsc_subchannel_restore(struct subchannel *sch) in chsc_subchannel_restore()
213 struct subchannel *sch = to_subchannel(dev); in chsc_subchannel_match_next_free()
218 static struct subchannel *chsc_get_next_subchannel(struct subchannel *sch) in chsc_get_next_subchannel()
247 struct subchannel *sch = NULL; in chsc_async()
Dccwreq.c77 struct subchannel *sch = to_subchannel(cdev->dev.parent); in ccwreq_do()
152 struct subchannel *sch = to_subchannel(cdev->dev.parent); in ccw_request_cancel()
327 struct subchannel *sch = to_subchannel(cdev->dev.parent); in ccw_request_timeout()
Deadm_sch.h14 struct subchannel *sch;
Dchp.h61 u8 chp_get_sch_opm(struct subchannel *sch);
Ddevice.h87 void io_subchannel_init_config(struct subchannel *sch);
Dchsc.c209 static int s390_subchannel_remove_chpid(struct subchannel *sch, void *data) in s390_subchannel_remove_chpid()
242 static int __s390_process_res_acc(struct subchannel *sch, void *data) in __s390_process_res_acc()
710 static void __s390_subchannel_vary_chpid(struct subchannel *sch, in __s390_subchannel_vary_chpid()
725 static int s390_subchannel_vary_chpid_off(struct subchannel *sch, void *data) in s390_subchannel_vary_chpid_off()
733 static int s390_subchannel_vary_chpid_on(struct subchannel *sch, void *data) in s390_subchannel_vary_chpid_on()
Ddevice_status.c53 struct subchannel *sch; in ccw_device_path_notoper()
311 struct subchannel *sch; in ccw_device_do_sense()
Ddevice_id.c200 struct subchannel *sch = to_subchannel(cdev->dev.parent); in ccw_device_sense_id_start()
Dcmf.c187 struct subchannel *sch = to_subchannel(cdev->dev.parent); in set_schib()
303 struct subchannel *sch; in cmf_copy_block()
Dchp.c77 u8 chp_get_sch_opm(struct subchannel *sch) in chp_get_sch_opm()
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-bus-css5 Description: Contains the subchannel type, as reported by the hardware.
6 This attribute is present for all subchannel types.
14 subchannel types.
21 subchannel, as reported by the channel subsystem
22 during subchannel recognition.
23 Note: This is an I/O-subchannel specific attribute.
34 Note: This is an I/O-subchannel specific attribute.
/linux-4.4.14/Documentation/s390/
Ddriver-model.txt10 All ccw devices are accessed via a subchannel, this is reflected in the
23 In this example, device 0815 is accessed via subchannel 0 in subchannel set 0,
24 device 4711 via subchannel 1 in subchannel set 0, and subchannel 2 is a non-I/O
25 subchannel. Device 1234 is accessed via subchannel 0 in subchannel set 1.
27 The subchannel named 'defunct' does not represent any real subchannel on the
28 system; it is a pseudo subchannel where disconnected ccw devices are moved to
30 former subchannel. The ccw devices will be moved again to a proper subchannel
31 if they become operational again on that subchannel.
52 There is also some data exported on a per-subchannel basis (see under
185 distinct handlers (e.g. multi subchannel devices), this is a member of ccw_device
Dcds.txt42 * The functions use a ccw_device instead of an irq (subchannel).
114 single device is uniquely identified to the system by a so called subchannel,
128 Up to kernel 2.4, Linux/390 used to provide interfaces via the IRQ (subchannel).
133 of those devices is uniquely defined by a so called subchannel by the ESA/390
134 channel subsystem. While the subchannel numbers are system generated, each
135 subchannel also takes a user defined attribute, the so called device number.
136 Both subchannel number and device number cannot exceed 65535. During sysfs
308 The irb->scsw.cstat field provides the (accumulated) subchannel status :
398 -ENODEV - cdev invalid or not-operational subchannel
410 a halt subchannel (HSCH) I/O command. For those purposes the ccw_device_halt()
[all …]
DCommonIO16 and device sensing will be done on any of those devices. The subchannel to
119 which subchannel they were called for, as well as dumps of some data
DDASD19 number in ascending order of the subchannel number.
DDebugging390.txt1320 completed successfully) and HALT SUBCHANNEL (to kill IO). A subchannel can have
1334 command along with the subchannel number for the IO subsystem to process
1350 issue a subsequent SENSE CCW command after the test subchannel.
1358 operating characteristics of a subchannel (e.g. channel paths).
1549 D SCHIB <subchannel>
1550 This displays the subchannel information SCHIB block for the device.
1560 def vfb-<blocksize> <subchannel> <number blocks>
1563 format <subchannel> <driver letter e.g. x> (blksize <blocksize>
D3270.txt46 including the console 3270, changes subchannel identifier relative to
/linux-4.4.14/Documentation/virtual/kvm/
Ds390-diag.txt61 General register 2 contains a subchannel-identification word denoting
62 the subchannel of the virtio-ccw proxy device to be notified.
Dapi.txt1614 to a subchannel/virtqueue tuple instead.
1627 For virtio-ccw devices, addr contains the subchannel id and datamatch the
2407 I/O interrupt (ai - adapter interrupt; cssid,ssid,schid - subchannel);
2408 I/O interruption parameters in parm (subchannel) and parm64 (intparm,
3270 interrupt for the target subchannel has been dequeued and subchannel_id,
/linux-4.4.14/arch/s390/kernel/
Dhead.S100 c %r1,0xb8 # compare subchannel number
158 lh %r1,0xb8 # test if subchannel number
160 l %r1,0xb8 # load ipl subchannel number
241 c %r1,0xb8 # compare subchannel number
/linux-4.4.14/drivers/media/dvb-frontends/
Dmb86a20s.c47 u32 subchannel; member
1796 if (state->subchannel) { in mb86a20s_initfe()
1797 rc = mb86a20s_writereg(state, 0x44, state->subchannel); in mb86a20s_initfe()
1902 state->subchannel = 0; in mb86a20s_set_frontend()
1907 state->subchannel = mb86a20s_subchannel[c->isdbt_sb_subchannel]; in mb86a20s_set_frontend()
Ddib8000.c116 u8 subchannel; member
2116 static u16 dib8000_get_init_prbs(struct dib8000_state *state, u16 subchannel) in dib8000_get_init_prbs() argument
2120 sub_channel_prbs_group = (subchannel / 3) + 1; in dib8000_get_init_prbs()
2121 …bs_group = %d , subchannel =%d prbs = 0x%04x", sub_channel_prbs_group, subchannel, lut_prbs_8k[sub… in dib8000_get_init_prbs()
2727 state->subchannel = c->isdbt_sb_subchannel; in dib8000_set_frequency_offset()
3223 state->subchannel = 0; in dib8000_tune()
3282 state->subchannel += 3; in dib8000_tune()
3301 if (state->subchannel <= 41) { in dib8000_tune()
3302 dib8000_set_subchannel_prbs(state, dib8000_get_init_prbs(state, state->subchannel)); in dib8000_tune()
/linux-4.4.14/Documentation/ioctl/
Dcdrom.txt25 CDROMSUBCHNL Read subchannel data (struct cdrom_subchnl)
325 CDROMSUBCHNL Read subchannel data (struct cdrom_subchnl)
/linux-4.4.14/arch/s390/
DKconfig640 This driver allows usage of CHSC subchannels. A CHSC subchannel
/linux-4.4.14/Documentation/video4linux/
Dvivid.txt333 will cycle through the possible audio subchannel combinations. This allows