.. | .. |
---|
11 | 11 | |
---|
12 | 12 | #include <linux/device.h> |
---|
13 | 13 | #include <linux/mod_devicetable.h> |
---|
| 14 | +#include <asm/chsc.h> |
---|
14 | 15 | #include <asm/fcx.h> |
---|
15 | 16 | #include <asm/irq.h> |
---|
16 | 17 | #include <asm/schid.h> |
---|
.. | .. |
---|
226 | 227 | extern void ccw_device_wait_idle(struct ccw_device *); |
---|
227 | 228 | extern int ccw_device_force_console(struct ccw_device *); |
---|
228 | 229 | |
---|
| 230 | +extern void *ccw_device_dma_zalloc(struct ccw_device *cdev, size_t size); |
---|
| 231 | +extern void ccw_device_dma_free(struct ccw_device *cdev, |
---|
| 232 | + void *cpu_addr, size_t size); |
---|
| 233 | + |
---|
229 | 234 | int ccw_device_siosl(struct ccw_device *); |
---|
230 | 235 | |
---|
231 | 236 | extern void ccw_device_get_schid(struct ccw_device *, struct subchannel_id *); |
---|
232 | 237 | |
---|
233 | 238 | struct channel_path_desc_fmt0 *ccw_device_get_chp_desc(struct ccw_device *, int); |
---|
234 | 239 | u8 *ccw_device_get_util_str(struct ccw_device *cdev, int chp_idx); |
---|
| 240 | +int ccw_device_pnso(struct ccw_device *cdev, |
---|
| 241 | + struct chsc_pnso_area *pnso_area, u8 oc, |
---|
| 242 | + struct chsc_pnso_resume_token resume_token, int cnc); |
---|
| 243 | +int ccw_device_get_cssid(struct ccw_device *cdev, u8 *cssid); |
---|
| 244 | +int ccw_device_get_iid(struct ccw_device *cdev, u8 *iid); |
---|
| 245 | +int ccw_device_get_chpid(struct ccw_device *cdev, int chp_idx, u8 *chpid); |
---|
| 246 | +int ccw_device_get_chid(struct ccw_device *cdev, int chp_idx, u16 *chid); |
---|
235 | 247 | #endif /* _S390_CCWDEV_H_ */ |
---|