device.h (736b5db895eb900c108fe9e9b1659c171481169e) device.h (e1f0fbd655539b0093738f58d57db83a0ac2dd6c)
1#ifndef S390_DEVICE_H
2#define S390_DEVICE_H
3
4#include <asm/ccwdev.h>
5#include <asm/atomic.h>
6#include <linux/wait.h>
7
8#include "io_sch.h"

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

93void ccw_device_sched_todo(struct ccw_device *cdev, enum cdev_todo todo);
94
95/* Function prototypes for device status and basic sense stuff. */
96void ccw_device_accumulate_irb(struct ccw_device *, struct irb *);
97void ccw_device_accumulate_basic_sense(struct ccw_device *, struct irb *);
98int ccw_device_accumulate_and_sense(struct ccw_device *, struct irb *);
99int ccw_device_do_sense(struct ccw_device *, struct irb *);
100
1#ifndef S390_DEVICE_H
2#define S390_DEVICE_H
3
4#include <asm/ccwdev.h>
5#include <asm/atomic.h>
6#include <linux/wait.h>
7
8#include "io_sch.h"

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

93void ccw_device_sched_todo(struct ccw_device *cdev, enum cdev_todo todo);
94
95/* Function prototypes for device status and basic sense stuff. */
96void ccw_device_accumulate_irb(struct ccw_device *, struct irb *);
97void ccw_device_accumulate_basic_sense(struct ccw_device *, struct irb *);
98int ccw_device_accumulate_and_sense(struct ccw_device *, struct irb *);
99int ccw_device_do_sense(struct ccw_device *, struct irb *);
100
101/* Function prototype for internal request handling. */
102int lpm_adjust(int lpm, int mask);
103void ccw_request_start(struct ccw_device *);
104int ccw_request_cancel(struct ccw_device *cdev);
105void ccw_request_handler(struct ccw_device *cdev);
106void ccw_request_timeout(struct ccw_device *cdev);
107void ccw_request_notoper(struct ccw_device *cdev);
108
101/* Function prototypes for sense id stuff. */
102void ccw_device_sense_id_start(struct ccw_device *);
103void ccw_device_sense_id_irq(struct ccw_device *, enum dev_event);
104void ccw_device_sense_id_done(struct ccw_device *, int);
105
106/* Function prototypes for path grouping stuff. */
107void ccw_device_sense_pgid_start(struct ccw_device *);
108void ccw_device_sense_pgid_irq(struct ccw_device *, enum dev_event);

--- 33 unchanged lines hidden ---
109/* Function prototypes for sense id stuff. */
110void ccw_device_sense_id_start(struct ccw_device *);
111void ccw_device_sense_id_irq(struct ccw_device *, enum dev_event);
112void ccw_device_sense_id_done(struct ccw_device *, int);
113
114/* Function prototypes for path grouping stuff. */
115void ccw_device_sense_pgid_start(struct ccw_device *);
116void ccw_device_sense_pgid_irq(struct ccw_device *, enum dev_event);

--- 33 unchanged lines hidden ---