css.h (95a9457fd44ad97c518858a4e1586a5498f9773c) css.h (46ea3841edaff2a7657b8f6c7f474e5e3850cd62)
1/*
2 * Channel subsystem structures and definitions.
3 *
4 * Copyright 2012 IBM Corp.
5 * Author(s): Cornelia Huck <cornelia.huck@de.ibm.com>
6 *
7 * This work is licensed under the terms of the GNU GPL, version 2 or (at
8 * your option) any later version. See the COPYING file in the top-level

--- 204 unchanged lines hidden (view full) ---

213void css_generate_css_crws(uint8_t cssid);
214void css_clear_sei_pending(void);
215IOInstEnding s390_ccw_cmd_request(SubchDev *sch);
216IOInstEnding do_subchannel_work_virtual(SubchDev *sub);
217IOInstEnding do_subchannel_work_passthrough(SubchDev *sub);
218
219int s390_ccw_halt(SubchDev *sch);
220int s390_ccw_clear(SubchDev *sch);
1/*
2 * Channel subsystem structures and definitions.
3 *
4 * Copyright 2012 IBM Corp.
5 * Author(s): Cornelia Huck <cornelia.huck@de.ibm.com>
6 *
7 * This work is licensed under the terms of the GNU GPL, version 2 or (at
8 * your option) any later version. See the COPYING file in the top-level

--- 204 unchanged lines hidden (view full) ---

213void css_generate_css_crws(uint8_t cssid);
214void css_clear_sei_pending(void);
215IOInstEnding s390_ccw_cmd_request(SubchDev *sch);
216IOInstEnding do_subchannel_work_virtual(SubchDev *sub);
217IOInstEnding do_subchannel_work_passthrough(SubchDev *sub);
218
219int s390_ccw_halt(SubchDev *sch);
220int s390_ccw_clear(SubchDev *sch);
221IOInstEnding s390_ccw_store(SubchDev *sch);
221
222typedef enum {
223 CSS_IO_ADAPTER_VIRTIO = 0,
224 CSS_IO_ADAPTER_PCI = 1,
225 CSS_IO_ADAPTER_TYPE_NUMS,
226} CssIoAdapterType;
227
228void css_adapter_interrupt(CssIoAdapterType type, uint8_t isc);

--- 8 unchanged lines hidden (view full) ---

237#define S390_ADAPTER_SUPPRESSIBLE KVM_S390_ADAPTER_SUPPRESSIBLE
238#endif
239
240#ifndef CONFIG_USER_ONLY
241SubchDev *css_find_subch(uint8_t m, uint8_t cssid, uint8_t ssid,
242 uint16_t schid);
243bool css_subch_visible(SubchDev *sch);
244void css_conditional_io_interrupt(SubchDev *sch);
222
223typedef enum {
224 CSS_IO_ADAPTER_VIRTIO = 0,
225 CSS_IO_ADAPTER_PCI = 1,
226 CSS_IO_ADAPTER_TYPE_NUMS,
227} CssIoAdapterType;
228
229void css_adapter_interrupt(CssIoAdapterType type, uint8_t isc);

--- 8 unchanged lines hidden (view full) ---

238#define S390_ADAPTER_SUPPRESSIBLE KVM_S390_ADAPTER_SUPPRESSIBLE
239#endif
240
241#ifndef CONFIG_USER_ONLY
242SubchDev *css_find_subch(uint8_t m, uint8_t cssid, uint8_t ssid,
243 uint16_t schid);
244bool css_subch_visible(SubchDev *sch);
245void css_conditional_io_interrupt(SubchDev *sch);
245int css_do_stsch(SubchDev *sch, SCHIB *schib);
246IOInstEnding css_do_stsch(SubchDev *sch, SCHIB *schib);
246bool css_schid_final(int m, uint8_t cssid, uint8_t ssid, uint16_t schid);
247IOInstEnding css_do_msch(SubchDev *sch, const SCHIB *schib);
248IOInstEnding css_do_xsch(SubchDev *sch);
249IOInstEnding css_do_csch(SubchDev *sch);
250IOInstEnding css_do_hsch(SubchDev *sch);
251IOInstEnding css_do_ssch(SubchDev *sch, ORB *orb);
252int css_do_tsch_get_irb(SubchDev *sch, IRB *irb, int *irb_len);
253void css_do_tsch_update_subch(SubchDev *sch);

--- 82 unchanged lines hidden ---
247bool css_schid_final(int m, uint8_t cssid, uint8_t ssid, uint16_t schid);
248IOInstEnding css_do_msch(SubchDev *sch, const SCHIB *schib);
249IOInstEnding css_do_xsch(SubchDev *sch);
250IOInstEnding css_do_csch(SubchDev *sch);
251IOInstEnding css_do_hsch(SubchDev *sch);
252IOInstEnding css_do_ssch(SubchDev *sch, ORB *orb);
253int css_do_tsch_get_irb(SubchDev *sch, IRB *irb, int *irb_len);
254void css_do_tsch_update_subch(SubchDev *sch);

--- 82 unchanged lines hidden ---