css.h (863fc8492734822b95671780db803cd9a4b7d923) css.h (14556b33f2a5d6a3bc75cd33b709452a31555b25)
1#ifndef _CSS_H
2#define _CSS_H
3
4#include <linux/mutex.h>
5#include <linux/wait.h>
6#include <linux/workqueue.h>
7#include <linux/device.h>
8#include <linux/types.h>

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

97
98#define to_cssdriver(n) container_of(n, struct css_driver, drv)
99
100extern int css_driver_register(struct css_driver *);
101extern void css_driver_unregister(struct css_driver *);
102
103extern void css_sch_device_unregister(struct subchannel *);
104extern int css_probe_device(struct subchannel_id);
1#ifndef _CSS_H
2#define _CSS_H
3
4#include <linux/mutex.h>
5#include <linux/wait.h>
6#include <linux/workqueue.h>
7#include <linux/device.h>
8#include <linux/types.h>

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

97
98#define to_cssdriver(n) container_of(n, struct css_driver, drv)
99
100extern int css_driver_register(struct css_driver *);
101extern void css_driver_unregister(struct css_driver *);
102
103extern void css_sch_device_unregister(struct subchannel *);
104extern int css_probe_device(struct subchannel_id);
105extern int css_register_subchannel(struct subchannel *);
105extern struct subchannel *css_alloc_subchannel(struct subchannel_id);
106extern struct subchannel *get_subchannel_by_schid(struct subchannel_id);
107extern int css_init_done;
108extern int max_ssid;
109int for_each_subchannel_staged(int (*fn_known)(struct subchannel *, void *),
110 int (*fn_unknown)(struct subchannel_id,
111 void *), void *data);
112extern int for_each_subchannel(int(*fn)(struct subchannel_id, void *), void *);

--- 36 unchanged lines hidden ---
106extern struct subchannel *css_alloc_subchannel(struct subchannel_id);
107extern struct subchannel *get_subchannel_by_schid(struct subchannel_id);
108extern int css_init_done;
109extern int max_ssid;
110int for_each_subchannel_staged(int (*fn_known)(struct subchannel *, void *),
111 int (*fn_unknown)(struct subchannel_id,
112 void *), void *data);
113extern int for_each_subchannel(int(*fn)(struct subchannel_id, void *), void *);

--- 36 unchanged lines hidden ---