blob: 4be539cb9adcd01ad5f859a5378098c46f4ad726 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#ifndef S390_CIO_IOASM_H
3#define S390_CIO_IOASM_H
4
Peter Oberparleitere5854a52007-04-27 16:01:31 +02005#include <asm/chpid.h>
Cornelia Huck9d92a7e2008-07-14 09:59:05 +02006#include <asm/schid.h>
Peter Oberparleiter2ab59de2015-12-18 12:59:32 +01007#include <asm/crw.h>
Sebastian Ottdbda8ce2011-03-15 17:08:24 +01008#include "orb.h"
9#include "cio.h"
Peter Oberparleiter42248972015-12-18 12:59:36 +010010#include "trace.h"
Cornelia Hucka8237fc2006-01-06 00:19:21 -080011
Linus Torvalds1da177e2005-04-16 15:20:36 -070012/*
Peter Oberparleiter11b64c82015-12-18 12:59:40 +010013 * Some S390 specific IO instructions
Linus Torvalds1da177e2005-04-16 15:20:36 -070014 */
15
Peter Oberparleiter11b64c82015-12-18 12:59:40 +010016int stsch(struct subchannel_id schid, struct schib *addr);
17int msch(struct subchannel_id schid, struct schib *addr);
18int tsch(struct subchannel_id schid, struct irb *addr);
19int ssch(struct subchannel_id schid, union orb *addr);
20int csch(struct subchannel_id schid);
21int tpi(struct tpi_info *addr);
22int chsc(void *chsc_area);
Peter Oberparleiter11b64c82015-12-18 12:59:40 +010023int rsch(struct subchannel_id schid);
24int hsch(struct subchannel_id schid);
25int xsch(struct subchannel_id schid);
26int stcrw(struct crw *crw);
Peter Oberparleiter2ab59de2015-12-18 12:59:32 +010027
Linus Torvalds1da177e2005-04-16 15:20:36 -070028#endif