hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/s390/include/asm/ccwdev.h
....@@ -11,6 +11,7 @@
1111
1212 #include <linux/device.h>
1313 #include <linux/mod_devicetable.h>
14
+#include <asm/chsc.h>
1415 #include <asm/fcx.h>
1516 #include <asm/irq.h>
1617 #include <asm/schid.h>
....@@ -226,10 +227,21 @@
226227 extern void ccw_device_wait_idle(struct ccw_device *);
227228 extern int ccw_device_force_console(struct ccw_device *);
228229
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
+
229234 int ccw_device_siosl(struct ccw_device *);
230235
231236 extern void ccw_device_get_schid(struct ccw_device *, struct subchannel_id *);
232237
233238 struct channel_path_desc_fmt0 *ccw_device_get_chp_desc(struct ccw_device *, int);
234239 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);
235247 #endif /* _S390_CCWDEV_H_ */