ccwdev.h (688d794c4c3f8b08c814381ee2edd3ede5856056) ccwdev.h (188561a462d3b82451d6ba09e2e32c9ba2c9938c)
1/*
2 * Copyright IBM Corp. 2002, 2009
3 *
4 * Author(s): Arnd Bergmann <arndb@de.ibm.com>
5 *
6 * Interface for CCW device drivers
7 */
8#ifndef _S390_CCWDEV_H_

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

215extern void ccw_device_get_id(struct ccw_device *, struct ccw_dev_id *);
216
217#define get_ccwdev_lock(x) (x)->ccwlock
218
219#define to_ccwdev(n) container_of(n, struct ccw_device, dev)
220#define to_ccwdrv(n) container_of(n, struct ccw_driver, driver)
221
222extern struct ccw_device *ccw_device_probe_console(void);
1/*
2 * Copyright IBM Corp. 2002, 2009
3 *
4 * Author(s): Arnd Bergmann <arndb@de.ibm.com>
5 *
6 * Interface for CCW device drivers
7 */
8#ifndef _S390_CCWDEV_H_

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

215extern void ccw_device_get_id(struct ccw_device *, struct ccw_dev_id *);
216
217#define get_ccwdev_lock(x) (x)->ccwlock
218
219#define to_ccwdev(n) container_of(n, struct ccw_device, dev)
220#define to_ccwdrv(n) container_of(n, struct ccw_driver, driver)
221
222extern struct ccw_device *ccw_device_probe_console(void);
223extern void ccw_device_wait_idle(struct ccw_device *);
223extern int ccw_device_force_console(void);
224
225int ccw_device_siosl(struct ccw_device *);
226
227extern void ccw_device_get_schid(struct ccw_device *, struct subchannel_id *);
228
229extern void *ccw_device_get_chp_desc(struct ccw_device *, int);
230#endif /* _S390_CCWDEV_H_ */
224extern int ccw_device_force_console(void);
225
226int ccw_device_siosl(struct ccw_device *);
227
228extern void ccw_device_get_schid(struct ccw_device *, struct subchannel_id *);
229
230extern void *ccw_device_get_chp_desc(struct ccw_device *, int);
231#endif /* _S390_CCWDEV_H_ */