/drivers/include/ddk.h |
---|
19,6 → 19,7 |
#define ENTER() dbgprintf("enter %s\n",__FUNCTION__) |
#define LEAVE() dbgprintf("leave %s\n",__FUNCTION__) |
#define FAIL() dbgprintf("fail %s\n",__FUNCTION__) |
typedef struct |
{ |
/drivers/include/drm/drm_pciids.h |
---|
210,6 → 210,7 |
{0x1002, 0x6798, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_TAHITI|RADEON_NEW_MEMMAP}, \ |
{0x1002, 0x6799, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_TAHITI|RADEON_NEW_MEMMAP}, \ |
{0x1002, 0x679A, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_TAHITI|RADEON_NEW_MEMMAP}, \ |
{0x1002, 0x679B, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_TAHITI|RADEON_NEW_MEMMAP}, \ |
{0x1002, 0x679E, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_TAHITI|RADEON_NEW_MEMMAP}, \ |
{0x1002, 0x679F, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_TAHITI|RADEON_NEW_MEMMAP}, \ |
{0x1002, 0x6800, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_PITCAIRN|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP}, \ |
/drivers/include/linux/backlight.h |
---|
0,0 → 1,10 |
/* |
* Backlight Lowlevel Control Abstraction |
* |
* Copyright (C) 2003,2004 Hewlett-Packard Company |
* |
*/ |
#ifndef _LINUX_BACKLIGHT_H |
#define _LINUX_BACKLIGHT_H |
#endif |
/drivers/include/linux/delay.h |
---|
0,0 → 1,9 |
#ifndef _LINUX_DELAY_H |
#define _LINUX_DELAY_H |
/* |
* Copyright (C) 1993 Linus Torvalds |
* |
* Delay routines, using a pre-computed "loops_per_jiffy" value. |
*/ |
#endif /* defined(_LINUX_DELAY_H) */ |
/drivers/include/linux/fb.h |
---|
566,6 → 566,7 |
u32 flags; |
}; |
extern int fb_notifier_call_chain(unsigned long val, void *v); |
/* |
* Pixmap structure definition |
* |
1085,9 → 1086,11 |
extern int fb_validate_mode(const struct fb_var_screeninfo *var, |
struct fb_info *info); |
extern int fb_parse_edid(unsigned char *edid, struct fb_var_screeninfo *var); |
//extern const unsigned char *fb_firmware_edid(struct device *device); |
extern const unsigned char *fb_firmware_edid(struct device *device); |
extern void fb_edid_to_monspecs(unsigned char *edid, |
struct fb_monspecs *specs); |
extern void fb_edid_add_monspecs(unsigned char *edid, |
struct fb_monspecs *specs); |
extern void fb_destroy_modedb(struct fb_videomode *modedb); |
extern int fb_find_mode_cvt(struct fb_videomode *mode, int margins, int rb); |
extern unsigned char *fb_ddc_read(struct i2c_adapter *adapter); |
/drivers/include/linux/lockdep.h |
---|
386,6 → 386,8 |
#define lockdep_assert_held(l) do { } while (0) |
#define lockdep_recursing(tsk) (0) |
#endif /* !LOCKDEP */ |
#ifdef CONFIG_LOCK_STAT |
/drivers/include/linux/mod_devicetable.h |
---|
118,6 → 118,9 |
__u8 bInterfaceSubClass; |
__u8 bInterfaceProtocol; |
/* Used for vendor-specific interface matches */ |
__u8 bInterfaceNumber; |
/* not matched against */ |
kernel_ulong_t driver_info; |
}; |
/drivers/include/linux/stddef.h |
---|
4,14 → 4,8 |
#include <linux/compiler.h> |
#undef NULL |
#if defined(__cplusplus) |
#define NULL 0 |
#else |
#define NULL ((void *)0) |
#endif |
#ifdef __KERNEL__ |
enum { |
false = 0, |
true = 1 |
23,6 → 17,4 |
#else |
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) |
#endif |
#endif /* __KERNEL__ */ |
#endif |
/drivers/include/linux/string.h |
---|
1,12 → 1,7 |
#ifndef _LINUX_STRING_H_ |
#define _LINUX_STRING_H_ |
/* We don't want strings.h stuff being used by user stuff by accident */ |
#ifndef __KERNEL__ |
#include <string.h> |
#else |
#include <linux/compiler.h> /* for inline */ |
#include <linux/types.h> /* for size_t */ |
#include <linux/stddef.h> /* for NULL */ |
144,5 → 139,7 |
{ |
return strncmp(str, prefix, strlen(prefix)) == 0; |
} |
#endif |
extern size_t memweight(const void *ptr, size_t bytes); |
#endif /* _LINUX_STRING_H_ */ |