-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 284708 b: refs/heads/master c: 7a5c3b8 h: refs/heads/master v: v3
- Loading branch information
Ralf Baechle
committed
Jan 11, 2012
1 parent
7f3a658
commit 7d948e0
Showing
72 changed files
with
1,113 additions
and
291 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 2af99920d56debcf879ac71a1934e8fcccdc713e | ||
refs/heads/master: 7a5c3b8c5c27211846efe7029a3d2ee7087425e3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
#include <linux/device.h> | ||
#include <linux/mod_devicetable.h> | ||
|
||
struct gio_device_id { | ||
__u8 id; | ||
}; | ||
|
||
struct gio_device { | ||
struct device dev; | ||
struct resource resource; | ||
unsigned int irq; | ||
unsigned int slotno; | ||
|
||
const char *name; | ||
struct gio_device_id id; | ||
unsigned id32:1; | ||
unsigned gio64:1; | ||
}; | ||
#define to_gio_device(d) container_of(d, struct gio_device, dev) | ||
|
||
struct gio_driver { | ||
const char *name; | ||
struct module *owner; | ||
const struct gio_device_id *id_table; | ||
|
||
int (*probe)(struct gio_device *, const struct gio_device_id *); | ||
void (*remove)(struct gio_device *); | ||
int (*suspend)(struct gio_device *, pm_message_t); | ||
int (*resume)(struct gio_device *); | ||
void (*shutdown)(struct gio_device *); | ||
|
||
struct device_driver driver; | ||
}; | ||
#define to_gio_driver(drv) container_of(drv, struct gio_driver, driver) | ||
|
||
extern const struct gio_device_id *gio_match_device(const struct gio_device_id *, | ||
const struct gio_device *); | ||
extern struct gio_device *gio_dev_get(struct gio_device *); | ||
extern void gio_dev_put(struct gio_device *); | ||
|
||
extern int gio_device_register(struct gio_device *); | ||
extern void gio_device_unregister(struct gio_device *); | ||
extern void gio_release_dev(struct device *); | ||
|
||
static inline void gio_device_free(struct gio_device *dev) | ||
{ | ||
gio_release_dev(&dev->dev); | ||
} | ||
|
||
extern int gio_register_driver(struct gio_driver *); | ||
extern void gio_unregister_driver(struct gio_driver *); | ||
|
||
#define gio_get_drvdata(_dev) drv_get_drvdata(&(_dev)->dev) | ||
#define gio_set_drvdata(_dev, data) drv_set_drvdata(&(_dev)->dev, (data)) | ||
|
||
extern void gio_set_master(struct gio_device *); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#ifndef __ASM_TLBMISC_H | ||
#define __ASM_TLBMISC_H | ||
|
||
/* | ||
* - add_wired_entry() add a fixed TLB entry, and move wired register | ||
*/ | ||
extern void add_wired_entry(unsigned long entrylo0, unsigned long entrylo1, | ||
unsigned long entryhi, unsigned long pagemask); | ||
|
||
#endif /* __ASM_TLBMISC_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.