Fix common misspellings
Fixes generated by 'codespell' and manually reviewed. Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
This commit is contained in:
@@ -136,7 +136,7 @@ struct clcd_board {
|
||||
int (*check)(struct clcd_fb *fb, struct fb_var_screeninfo *var);
|
||||
|
||||
/*
|
||||
* Compulsary. Decode fb->fb.var into regs->*. In the case of
|
||||
* Compulsory. Decode fb->fb.var into regs->*. In the case of
|
||||
* fixed timing, set regs->* to the register values required.
|
||||
*/
|
||||
void (*decode)(struct clcd_fb *fb, struct clcd_regs *regs);
|
||||
|
||||
@@ -30,15 +30,15 @@ struct dma_chan;
|
||||
* @cd_invert: true if the gpio_cd pin value is active low
|
||||
* @capabilities: the capabilities of the block as implemented in
|
||||
* this platform, signify anything MMC_CAP_* from mmc/host.h
|
||||
* @dma_filter: function used to select an apropriate RX and TX
|
||||
* @dma_filter: function used to select an appropriate RX and TX
|
||||
* DMA channel to be used for DMA, if and only if you're deploying the
|
||||
* generic DMA engine
|
||||
* @dma_rx_param: parameter passed to the DMA allocation
|
||||
* filter in order to select an apropriate RX channel. If
|
||||
* filter in order to select an appropriate RX channel. If
|
||||
* there is a bidirectional RX+TX channel, then just specify
|
||||
* this and leave dma_tx_param set to NULL
|
||||
* @dma_tx_param: parameter passed to the DMA allocation
|
||||
* filter in order to select an apropriate TX channel. If this
|
||||
* filter in order to select an appropriate TX channel. If this
|
||||
* is NULL the driver will attempt to use the RX channel as a
|
||||
* bidirectional channel
|
||||
*/
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
#define CAN_ERR_PROT_BIT1 0x10 /* unable to send recessive bit */
|
||||
#define CAN_ERR_PROT_OVERLOAD 0x20 /* bus overload */
|
||||
#define CAN_ERR_PROT_ACTIVE 0x40 /* active error announcement */
|
||||
#define CAN_ERR_PROT_TX 0x80 /* error occured on transmission */
|
||||
#define CAN_ERR_PROT_TX 0x80 /* error occurred on transmission */
|
||||
|
||||
/* error in CAN protocol (location) / data[3] */
|
||||
#define CAN_ERR_PROT_LOC_UNSPEC 0x00 /* unspecified */
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
/*
|
||||
* CAN bit-timing parameters
|
||||
*
|
||||
* For futher information, please read chapter "8 BIT TIMING
|
||||
* For further information, please read chapter "8 BIT TIMING
|
||||
* REQUIREMENTS" of the "Bosch CAN Specification version 2.0"
|
||||
* at http://www.semiconductors.bosch.de/pdf/can2spec.pdf.
|
||||
*/
|
||||
|
||||
@@ -149,7 +149,7 @@ typedef struct cdkhdr {
|
||||
/*
|
||||
* Define the memory mapping structure. This structure is pointed to by
|
||||
* the memp field in the stlcdkhdr struct. As many as these structures
|
||||
* as required are layed out in shared memory to define how the rest of
|
||||
* as required are laid out in shared memory to define how the rest of
|
||||
* shared memory is divided up. There will be one for each port.
|
||||
*/
|
||||
typedef struct cdkmem {
|
||||
|
||||
@@ -44,7 +44,7 @@ extern unsigned char * cfag12864b_buffer;
|
||||
/*
|
||||
* Get the refresh rate of the LCD
|
||||
*
|
||||
* Returns the refresh rate (hertzs).
|
||||
* Returns the refresh rate (hertz).
|
||||
*/
|
||||
extern unsigned int cfag12864b_getrate(void);
|
||||
|
||||
|
||||
@@ -240,7 +240,7 @@ struct cgroup {
|
||||
/* For RCU-protected deletion */
|
||||
struct rcu_head rcu_head;
|
||||
|
||||
/* List of events which userspace want to recieve */
|
||||
/* List of events which userspace want to receive */
|
||||
struct list_head event_list;
|
||||
spinlock_t event_list_lock;
|
||||
};
|
||||
|
||||
@@ -20,7 +20,7 @@ typedef struct atreq {
|
||||
} atreq_t;
|
||||
|
||||
|
||||
/* what is particularly stupid in the original driver is the arch-dependant
|
||||
/* what is particularly stupid in the original driver is the arch-dependent
|
||||
* member sizes. This leads to CONFIG_COMPAT breakage, since 32bit userspace
|
||||
* will lay out the structure members differently than the 64bit kernel.
|
||||
*
|
||||
|
||||
@@ -218,7 +218,7 @@ static ssize_t _item##_attr_store(struct config_item *item, \
|
||||
* group children. default_groups may coexist alongsize make_group() or
|
||||
* make_item(), but if the group wishes to have only default_groups
|
||||
* children (disallowing mkdir(2)), it need not provide either function.
|
||||
* If the group has commit(), it supports pending and commited (active)
|
||||
* If the group has commit(), it supports pending and committed (active)
|
||||
* items.
|
||||
*/
|
||||
struct configfs_item_operations {
|
||||
|
||||
@@ -310,7 +310,7 @@ struct cper_sec_proc_ia {
|
||||
__u8 cpuid[48];
|
||||
};
|
||||
|
||||
/* IA32/X64 Processor Error Infomation Structure */
|
||||
/* IA32/X64 Processor Error Information Structure */
|
||||
struct cper_ia_err_info {
|
||||
uuid_le err_type;
|
||||
__u64 validation_bits;
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
/*
|
||||
* Some architectures want to ensure there is no local data in their
|
||||
* pre-boot environment, so that data can arbitarily relocated (via
|
||||
* pre-boot environment, so that data can arbitrarily relocated (via
|
||||
* GOT references). This is achieved by defining STATIC_RW_DATA to
|
||||
* be null.
|
||||
*/
|
||||
|
||||
@@ -434,7 +434,7 @@ struct dma_tx_state {
|
||||
* zero or error code
|
||||
* @device_tx_status: poll for transaction completion, the optional
|
||||
* txstate parameter can be supplied with a pointer to get a
|
||||
* struct with auxilary transfer status information, otherwise the call
|
||||
* struct with auxiliary transfer status information, otherwise the call
|
||||
* will just return a simple status code
|
||||
* @device_issue_pending: push pending transactions to hardware
|
||||
*/
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include <sys/wait.h>
|
||||
#include <limits.h>
|
||||
|
||||
/* Altough the Linux source code makes a difference between
|
||||
/* Although the Linux source code makes a difference between
|
||||
generic endianness and the bitfields' endianness, there is no
|
||||
architecture as of Linux-2.6.24-rc4 where the bitfileds' endianness
|
||||
does not match the generic endianness. */
|
||||
@@ -184,7 +184,7 @@ enum drbd_conns {
|
||||
/* These temporal states are all used on the way
|
||||
* from >= C_CONNECTED to Unconnected.
|
||||
* The 'disconnect reason' states
|
||||
* I do not allow to change beween them. */
|
||||
* I do not allow to change between them. */
|
||||
C_TIMEOUT,
|
||||
C_BROKEN_PIPE,
|
||||
C_NETWORK_FAILURE,
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
|
||||
/* net { */
|
||||
/* timeout, unit centi seconds
|
||||
* more than one minute timeout is not usefull */
|
||||
* more than one minute timeout is not useful */
|
||||
#define DRBD_TIMEOUT_MIN 1
|
||||
#define DRBD_TIMEOUT_MAX 600
|
||||
#define DRBD_TIMEOUT_DEF 60 /* 6 seconds */
|
||||
@@ -68,7 +68,7 @@
|
||||
#define DRBD_MAX_EPOCH_SIZE_MAX 20000
|
||||
#define DRBD_MAX_EPOCH_SIZE_DEF 2048
|
||||
|
||||
/* I don't think that a tcp send buffer of more than 10M is usefull */
|
||||
/* I don't think that a tcp send buffer of more than 10M is useful */
|
||||
#define DRBD_SNDBUF_SIZE_MIN 0
|
||||
#define DRBD_SNDBUF_SIZE_MAX (10<<20)
|
||||
#define DRBD_SNDBUF_SIZE_DEF 0
|
||||
@@ -101,7 +101,7 @@
|
||||
#define DRBD_RATE_MAX (4 << 20)
|
||||
#define DRBD_RATE_DEF 250 /* kb/second */
|
||||
|
||||
/* less than 7 would hit performance unneccessarily.
|
||||
/* less than 7 would hit performance unnecessarily.
|
||||
* 3833 is the largest prime that still does fit
|
||||
* into 64 sectors of activity log */
|
||||
#define DRBD_AL_EXTENTS_MIN 7
|
||||
|
||||
@@ -614,7 +614,7 @@ struct ethtool_sfeatures {
|
||||
* values of corresponding bits in features[].requested. Bits in .requested
|
||||
* not set in .valid or not changeable are ignored.
|
||||
*
|
||||
* Returns %EINVAL when .valid contains undefined or never-changable bits
|
||||
* Returns %EINVAL when .valid contains undefined or never-changeable bits
|
||||
* or size is not equal to required number of features words (32-bit blocks).
|
||||
* Returns >= 0 if request was completed; bits set in the value mean:
|
||||
* %ETHTOOL_F_UNSUPPORTED - there were bits set in .valid that are not
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* include/linux/eventpoll.h ( Efficent event polling implementation )
|
||||
* include/linux/eventpoll.h ( Efficient event polling implementation )
|
||||
* Copyright (C) 2001,...,2006 Davide Libenzi
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
|
||||
@@ -120,7 +120,7 @@ struct fid {
|
||||
* encode_fh:
|
||||
* @encode_fh should store in the file handle fragment @fh (using at most
|
||||
* @max_len bytes) information that can be used by @decode_fh to recover the
|
||||
* file refered to by the &struct dentry @de. If the @connectable flag is
|
||||
* file referred to by the &struct dentry @de. If the @connectable flag is
|
||||
* set, the encode_fh() should store sufficient information so that a good
|
||||
* attempt can be made to find not only the file but also it's place in the
|
||||
* filesystem. This typically means storing a reference to de->d_parent in
|
||||
|
||||
@@ -534,14 +534,14 @@ struct fb_cursor_user {
|
||||
#define FB_EVENT_GET_CONSOLE_MAP 0x07
|
||||
/* CONSOLE-SPECIFIC: set console to framebuffer mapping */
|
||||
#define FB_EVENT_SET_CONSOLE_MAP 0x08
|
||||
/* A hardware display blank change occured */
|
||||
/* A hardware display blank change occurred */
|
||||
#define FB_EVENT_BLANK 0x09
|
||||
/* Private modelist is to be replaced */
|
||||
#define FB_EVENT_NEW_MODELIST 0x0A
|
||||
/* The resolution of the passed in fb_info about to change and
|
||||
all vc's should be changed */
|
||||
#define FB_EVENT_MODE_CHANGE_ALL 0x0B
|
||||
/* A software display blank change occured */
|
||||
/* A software display blank change occurred */
|
||||
#define FB_EVENT_CONBLANK 0x0C
|
||||
/* Get drawing requirements */
|
||||
#define FB_EVENT_GET_REQ 0x0D
|
||||
@@ -805,7 +805,7 @@ struct fb_tile_ops {
|
||||
/* A driver may set this flag to indicate that it does want a set_par to be
|
||||
* called every time when fbcon_switch is executed. The advantage is that with
|
||||
* this flag set you can really be sure that set_par is always called before
|
||||
* any of the functions dependant on the correct hardware state or altering
|
||||
* any of the functions dependent on the correct hardware state or altering
|
||||
* that state, even if you are using some broken X releases. The disadvantage
|
||||
* is that it introduces unwanted delays to every console switch if set_par
|
||||
* is slow. It is a good idea to try this flag in the drivers initialization
|
||||
@@ -877,7 +877,7 @@ struct fb_info {
|
||||
void *fbcon_par; /* fbcon use-only private area */
|
||||
/* From here on everything is device dependent */
|
||||
void *par;
|
||||
/* we need the PCI or similiar aperture base/size not
|
||||
/* we need the PCI or similar aperture base/size not
|
||||
smem_start/size as smem_start may just be an object
|
||||
allocated inside the aperture so may not actually overlap */
|
||||
struct apertures_struct {
|
||||
|
||||
@@ -900,7 +900,7 @@ struct fw_cdev_get_cycle_timer2 {
|
||||
|
||||
/**
|
||||
* struct fw_cdev_allocate_iso_resource - (De)allocate a channel or bandwidth
|
||||
* @closure: Passed back to userspace in correponding iso resource events
|
||||
* @closure: Passed back to userspace in corresponding iso resource events
|
||||
* @channels: Isochronous channels of which one is to be (de)allocated
|
||||
* @bandwidth: Isochronous bandwidth units to be (de)allocated
|
||||
* @handle: Handle to the allocation, written by the kernel (only valid in
|
||||
|
||||
@@ -465,7 +465,7 @@ struct iattr {
|
||||
struct timespec ia_ctime;
|
||||
|
||||
/*
|
||||
* Not an attribute, but an auxilary info for filesystems wanting to
|
||||
* Not an attribute, but an auxiliary info for filesystems wanting to
|
||||
* implement an ftruncate() like method. NOTE: filesystem should
|
||||
* check for (ia_valid & ATTR_FILE), and not for (ia_file != NULL).
|
||||
*/
|
||||
@@ -647,7 +647,7 @@ struct address_space {
|
||||
} __attribute__((aligned(sizeof(long))));
|
||||
/*
|
||||
* On most architectures that alignment is already the case; but
|
||||
* must be enforced here for CRIS, to let the least signficant bit
|
||||
* must be enforced here for CRIS, to let the least significant bit
|
||||
* of struct page's "mapping" pointer be used for PAGE_MAPPING_ANON.
|
||||
*/
|
||||
|
||||
|
||||
@@ -236,7 +236,7 @@ struct fscache_cache_ops {
|
||||
/* unpin an object in the cache */
|
||||
void (*unpin_object)(struct fscache_object *object);
|
||||
|
||||
/* store the updated auxilliary data on an object */
|
||||
/* store the updated auxiliary data on an object */
|
||||
void (*update_object)(struct fscache_object *object);
|
||||
|
||||
/* discard the resources pinned by an object and effect retirement if
|
||||
|
||||
@@ -102,9 +102,9 @@ struct fscache_cookie_def {
|
||||
*/
|
||||
void (*get_attr)(const void *cookie_netfs_data, uint64_t *size);
|
||||
|
||||
/* get the auxilliary data from netfs data
|
||||
/* get the auxiliary data from netfs data
|
||||
* - this function can be absent if the index carries no state data
|
||||
* - should store the auxilliary data in the buffer
|
||||
* - should store the auxiliary data in the buffer
|
||||
* - should return the amount of amount stored
|
||||
* - not permitted to return an error
|
||||
* - the netfs data from the cookie being used as the source is
|
||||
@@ -117,7 +117,7 @@ struct fscache_cookie_def {
|
||||
/* consult the netfs about the state of an object
|
||||
* - this function can be absent if the index carries no state data
|
||||
* - the netfs data from the cookie being used as the target is
|
||||
* presented, as is the auxilliary data
|
||||
* presented, as is the auxiliary data
|
||||
*/
|
||||
enum fscache_checkaux (*check_aux)(void *cookie_netfs_data,
|
||||
const void *data,
|
||||
|
||||
@@ -799,7 +799,7 @@ static inline int __must_check hid_parse(struct hid_device *hdev)
|
||||
*
|
||||
* Call this in probe function *after* hid_parse. This will setup HW buffers
|
||||
* and start the device (if not deffered to device open). hid_hw_stop must be
|
||||
* called if this was successfull.
|
||||
* called if this was successful.
|
||||
*/
|
||||
static inline int __must_check hid_hw_start(struct hid_device *hdev,
|
||||
unsigned int connect_mask)
|
||||
|
||||
@@ -101,7 +101,7 @@ int hp_sdc_dequeue_transaction(hp_sdc_transaction *this);
|
||||
#define HP_SDC_STATUS_REG 0x40 /* Data from an i8042 register */
|
||||
#define HP_SDC_STATUS_HILCMD 0x50 /* Command from HIL MLC */
|
||||
#define HP_SDC_STATUS_HILDATA 0x60 /* Data from HIL MLC */
|
||||
#define HP_SDC_STATUS_PUP 0x70 /* Sucessful power-up self test */
|
||||
#define HP_SDC_STATUS_PUP 0x70 /* Successful power-up self test */
|
||||
#define HP_SDC_STATUS_KCOOKED 0x80 /* Key from cooked kbd */
|
||||
#define HP_SDC_STATUS_KRPG 0xc0 /* Key from Repeat Gen */
|
||||
#define HP_SDC_STATUS_KMOD_SUP 0x10 /* Shift key is up */
|
||||
|
||||
@@ -826,7 +826,7 @@ static inline struct i2o_message __iomem *i2o_msg_in_to_virt(struct
|
||||
* @c: I2O controller
|
||||
*
|
||||
* This function tries to get a message frame. If no message frame is
|
||||
* available do not wait until one is availabe (see also i2o_msg_get_wait).
|
||||
* available do not wait until one is available (see also i2o_msg_get_wait).
|
||||
* The returned pointer to the message frame is not in I/O memory, it is
|
||||
* allocated from a mempool. But because a MFA is allocated from the
|
||||
* controller too it is guaranteed that i2o_msg_post() will never fail.
|
||||
|
||||
@@ -98,7 +98,7 @@ typedef irqreturn_t (*irq_handler_t)(int, void *);
|
||||
* @next: pointer to the next irqaction for shared interrupts
|
||||
* @irq: interrupt number
|
||||
* @dir: pointer to the proc/irq/NN/name entry
|
||||
* @thread_fn: interupt handler function for threaded interrupts
|
||||
* @thread_fn: interrupt handler function for threaded interrupts
|
||||
* @thread: thread pointer for threaded interrupts
|
||||
* @thread_flags: flags related to @thread
|
||||
* @thread_mask: bitmask for keeping track of @thread activity
|
||||
@@ -484,7 +484,7 @@ extern void __send_remote_softirq(struct call_single_data *cp, int cpu,
|
||||
Properties:
|
||||
* If tasklet_schedule() is called, then tasklet is guaranteed
|
||||
to be executed on some cpu at least once after this.
|
||||
* If the tasklet is already scheduled, but its excecution is still not
|
||||
* If the tasklet is already scheduled, but its execution is still not
|
||||
started, it will be executed only once.
|
||||
* If this tasklet is already running on another CPU (or schedule is called
|
||||
from tasklet itself), it is rescheduled for later.
|
||||
|
||||
@@ -111,7 +111,7 @@ struct ipmi_ipmb_addr {
|
||||
* A LAN Address. This is an address to/from a LAN interface bridged
|
||||
* by the BMC, not an address actually out on the LAN.
|
||||
*
|
||||
* A concious decision was made here to deviate slightly from the IPMI
|
||||
* A conscious decision was made here to deviate slightly from the IPMI
|
||||
* spec. We do not use rqSWID and rsSWID like it shows in the
|
||||
* message. Instead, we use remote_SWID and local_SWID. This means
|
||||
* that any message (a request or response) from another device will
|
||||
@@ -259,7 +259,7 @@ struct ipmi_recv_msg {
|
||||
void (*done)(struct ipmi_recv_msg *msg);
|
||||
|
||||
/* Place-holder for the data, don't make any assumptions about
|
||||
the size or existance of this, since it may change. */
|
||||
the size or existence of this, since it may change. */
|
||||
unsigned char msg_data[IPMI_MAX_MSG_LENGTH];
|
||||
};
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* hdlc.h -- General purpose ISDN HDLC decoder.
|
||||
*
|
||||
* Implementation of a HDLC decoder/encoder in software.
|
||||
* Neccessary because some ISDN devices don't have HDLC
|
||||
* Necessary because some ISDN devices don't have HDLC
|
||||
* controllers.
|
||||
*
|
||||
* Copyright (C)
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
* IOCTL's used for the Quicknet Telephony Cards
|
||||
*
|
||||
* If you use the IXJCTL_TESTRAM command, the card must be power cycled to
|
||||
* reset the SRAM values before futher use.
|
||||
* reset the SRAM values before further use.
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
/* LATCH is used in the interval timer and ftape setup. */
|
||||
#define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ) /* For divider */
|
||||
|
||||
/* Suppose we want to devide two numbers NOM and DEN: NOM/DEN, then we can
|
||||
/* Suppose we want to divide two numbers NOM and DEN: NOM/DEN, then we can
|
||||
* improve accuracy by shifting LSH bits, hence calculating:
|
||||
* (NOM << LSH) / DEN
|
||||
* This however means trouble for large NOM, because (NOM << LSH) may no
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
*
|
||||
* On 32-bit CPUs an optimized representation of the timespec structure
|
||||
* is used to avoid expensive conversions from and to timespecs. The
|
||||
* endian-aware order of the tv struct members is choosen to allow
|
||||
* endian-aware order of the tv struct members is chosen to allow
|
||||
* mathematical operations on the tv64 member of the union too, which
|
||||
* for certain operations produces better code.
|
||||
*
|
||||
@@ -158,7 +158,7 @@ static inline ktime_t ktime_set(const long secs, const unsigned long nsecs)
|
||||
* @lhs: minuend
|
||||
* @rhs: subtrahend
|
||||
*
|
||||
* Returns the remainder of the substraction
|
||||
* Returns the remainder of the subtraction
|
||||
*/
|
||||
static inline ktime_t ktime_sub(const ktime_t lhs, const ktime_t rhs)
|
||||
{
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
#define LM3530_RAMP_TIME_8s (7)
|
||||
|
||||
/* ALS Resistor Select */
|
||||
#define LM3530_ALS_IMPD_Z (0x00) /* ALS Impedence */
|
||||
#define LM3530_ALS_IMPD_Z (0x00) /* ALS Impedance */
|
||||
#define LM3530_ALS_IMPD_13_53kOhm (0x01)
|
||||
#define LM3530_ALS_IMPD_9_01kOhm (0x02)
|
||||
#define LM3530_ALS_IMPD_5_41kOhm (0x03)
|
||||
|
||||
@@ -364,7 +364,7 @@ enum {
|
||||
ATA_EH_CMD_TIMEOUT_TABLE_SIZE = 6,
|
||||
|
||||
/* Horkage types. May be set by libata or controller on drives
|
||||
(some horkage may be drive/controller pair dependant */
|
||||
(some horkage may be drive/controller pair dependent */
|
||||
|
||||
ATA_HORKAGE_DIAGNOSTIC = (1 << 0), /* Failed boot diag */
|
||||
ATA_HORKAGE_NODMA = (1 << 1), /* DMA problems */
|
||||
|
||||
@@ -148,7 +148,7 @@ write intent log information, three of which are mentioned here.
|
||||
*
|
||||
* DRBD currently (May 2009) only uses 61 elements on the resync lru_cache
|
||||
* (total memory usage 2 pages), and up to 3833 elements on the act_log
|
||||
* lru_cache, totalling ~215 kB for 64bit architechture, ~53 pages.
|
||||
* lru_cache, totalling ~215 kB for 64bit architecture, ~53 pages.
|
||||
*
|
||||
* We usually do not actually free these objects again, but only "recycle"
|
||||
* them, as the change "index: -old_label, +LC_FREE" would need a transaction
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* pmic.h -- Power Managment Driver for Wolfson WM8350 PMIC
|
||||
* pmic.h -- Power Management Driver for Wolfson WM8350 PMIC
|
||||
*
|
||||
* Copyright 2007 Wolfson Microelectronics PLC
|
||||
*
|
||||
|
||||
@@ -608,7 +608,7 @@ static inline pte_t maybe_mkwrite(pte_t pte, struct vm_area_struct *vma)
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Define the bit shifts to access each section. For non-existant
|
||||
* Define the bit shifts to access each section. For non-existent
|
||||
* sections we define the shift as 0; that plus a 0 mask ensures
|
||||
* the compiler will optimise away reference to them.
|
||||
*/
|
||||
|
||||
@@ -98,7 +98,7 @@ struct mmc_data;
|
||||
* EVENT_DATA_COMPLETE is set in @pending_events, all data-related
|
||||
* interrupts must be disabled and @data_status updated with a
|
||||
* snapshot of SR. Similarly, before EVENT_CMD_COMPLETE is set, the
|
||||
* CMDRDY interupt must be disabled and @cmd_status updated with a
|
||||
* CMDRDY interrupt must be disabled and @cmd_status updated with a
|
||||
* snapshot of SR, and before EVENT_XFER_COMPLETE can be set, the
|
||||
* bytes_xfered field of @data must be written. This is ensured by
|
||||
* using barriers.
|
||||
@@ -172,7 +172,7 @@ struct dw_mci_dma_ops {
|
||||
#define DW_MCI_QUIRK_IDMAC_DTO BIT(0)
|
||||
/* delay needed between retries on some 2.11a implementations */
|
||||
#define DW_MCI_QUIRK_RETRY_DELAY BIT(1)
|
||||
/* High Speed Capable - Supports HS cards (upto 50MHz) */
|
||||
/* High Speed Capable - Supports HS cards (up to 50MHz) */
|
||||
#define DW_MCI_QUIRK_HIGHSPEED BIT(2)
|
||||
/* Unreliable card detection */
|
||||
#define DW_MCI_QUIRK_BROKEN_CARD_DETECTION BIT(3)
|
||||
|
||||
@@ -249,7 +249,7 @@ static inline int ip6mr_sk_done(struct sock *sk)
|
||||
* Structure used to communicate from kernel to multicast router.
|
||||
* We'll overlay the structure onto an MLD header (not an IPv6 heder like igmpmsg{}
|
||||
* used for IPv4 implementation). This is because this structure will be passed via an
|
||||
* IPv6 raw socket, on wich an application will only receiver the payload i.e the data after
|
||||
* IPv6 raw socket, on which an application will only receiver the payload i.e the data after
|
||||
* the IPv6 header and all the extension headers. (See section 3 of RFC 3542)
|
||||
*/
|
||||
|
||||
|
||||
@@ -308,7 +308,7 @@ static inline uint32_t cfi_build_cmd_addr(uint32_t cmd_ofs,
|
||||
|
||||
addr = (cmd_ofs * type) * interleave;
|
||||
|
||||
/* Modify the unlock address if we are in compatiblity mode.
|
||||
/* Modify the unlock address if we are in compatibility mode.
|
||||
* For 16bit devices on 8 bit busses
|
||||
* and 32bit devices on 16 bit busses
|
||||
* set the low bit of the alternating bit sequence of the address.
|
||||
|
||||
@@ -416,9 +416,9 @@ struct nand_buffers {
|
||||
* @select_chip: [REPLACEABLE] select chip nr
|
||||
* @block_bad: [REPLACEABLE] check, if the block is bad
|
||||
* @block_markbad: [REPLACEABLE] mark the block bad
|
||||
* @cmd_ctrl: [BOARDSPECIFIC] hardwarespecific funtion for controlling
|
||||
* @cmd_ctrl: [BOARDSPECIFIC] hardwarespecific function for controlling
|
||||
* ALE/CLE/nCE. Also used to write command and address
|
||||
* @init_size: [BOARDSPECIFIC] hardwarespecific funtion for setting
|
||||
* @init_size: [BOARDSPECIFIC] hardwarespecific function for setting
|
||||
* mtd->oobsize, mtd->writesize and so on.
|
||||
* @id_data contains the 8 bytes values of NAND_CMD_READID.
|
||||
* Return with the bus width.
|
||||
@@ -437,7 +437,7 @@ struct nand_buffers {
|
||||
* @erase_cmd: [INTERN] erase command write function, selectable due
|
||||
* to AND support.
|
||||
* @scan_bbt: [REPLACEABLE] function to scan bad block table
|
||||
* @chip_delay: [BOARDSPECIFIC] chip dependent delay for transfering
|
||||
* @chip_delay: [BOARDSPECIFIC] chip dependent delay for transferring
|
||||
* data from array to read regs (tR).
|
||||
* @state: [INTERN] the current state of the NAND device
|
||||
* @oob_poi: poison value buffer
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
* return in usecs the elapsed timebetween now and the reference x as
|
||||
* returned by xip_currtime().
|
||||
*
|
||||
* note 1: convertion to usec can be approximated, as long as the
|
||||
* note 1: conversion to usec can be approximated, as long as the
|
||||
* returned value is <= the real elapsed time.
|
||||
* note 2: this should be able to cope with a few seconds without
|
||||
* overflowing.
|
||||
|
||||
@@ -60,7 +60,7 @@ struct gre_hdr_pptp {
|
||||
__be16 payload_len; /* size of ppp payload, not inc. gre header */
|
||||
__be16 call_id; /* peer's call_id for this session */
|
||||
__be32 seq; /* sequence number. Present if S==1 */
|
||||
__be32 ack; /* seq number of highest packet recieved by */
|
||||
__be32 ack; /* seq number of highest packet received by */
|
||||
/* sender in this session */
|
||||
};
|
||||
|
||||
|
||||
@@ -92,7 +92,7 @@ struct ebt_entries {
|
||||
|
||||
/* This is a hack to make a difference between an ebt_entry struct and an
|
||||
* ebt_entries struct when traversing the entries from start to end.
|
||||
* Using this simplifies the code alot, while still being able to use
|
||||
* Using this simplifies the code a lot, while still being able to use
|
||||
* ebt_entries.
|
||||
* Contrary, iptables doesn't use something like ebt_entries and therefore uses
|
||||
* different techniques for naming the policy and such. So, iptables doesn't
|
||||
|
||||
@@ -359,7 +359,7 @@ enum nfsstat4 {
|
||||
/* Error 10073 is unused. */
|
||||
NFS4ERR_CLIENTID_BUSY = 10074, /* clientid has state */
|
||||
NFS4ERR_PNFS_IO_HOLE = 10075, /* IO to _SPARSE file hole */
|
||||
NFS4ERR_SEQ_FALSE_RETRY = 10076, /* retry not origional */
|
||||
NFS4ERR_SEQ_FALSE_RETRY = 10076, /* retry not original */
|
||||
NFS4ERR_BAD_HIGH_SLOT = 10077, /* sequence arg bad */
|
||||
NFS4ERR_DEADSESSION = 10078, /* persistent session dead */
|
||||
NFS4ERR_ENCR_ALG_UNSUPP = 10079, /* SSV alg mismatch */
|
||||
|
||||
@@ -80,7 +80,7 @@ struct nfsd4_fs_locations {
|
||||
|
||||
/*
|
||||
* We keep an array of pseudoflavors with the export, in order from most
|
||||
* to least preferred. For the forseeable future, we don't expect more
|
||||
* to least preferred. For the foreseeable future, we don't expect more
|
||||
* than the eight pseudoflavors null, unix, krb5, krb5i, krb5p, skpm3,
|
||||
* spkm3i, and spkm3p (and using all 8 at once should be rare).
|
||||
*/
|
||||
|
||||
@@ -49,7 +49,7 @@ struct nfs_fhbase_old {
|
||||
*
|
||||
* The auth_type field specifies how the filehandle can be authenticated
|
||||
* This might allow a file to be confirmed to be in a writable part of a
|
||||
* filetree without checking the path from it upto the root.
|
||||
* filetree without checking the path from it up to the root.
|
||||
* Current values:
|
||||
* 0 - No authentication. fb_auth is 0 bytes long
|
||||
* Possible future values:
|
||||
|
||||
@@ -414,7 +414,7 @@
|
||||
* @__NL80211_CMD_AFTER_LAST: internal use
|
||||
*/
|
||||
enum nl80211_commands {
|
||||
/* don't change the order or add anything inbetween, this is ABI! */
|
||||
/* don't change the order or add anything between, this is ABI! */
|
||||
NL80211_CMD_UNSPEC,
|
||||
|
||||
NL80211_CMD_GET_WIPHY, /* can dump */
|
||||
@@ -860,7 +860,7 @@ enum nl80211_commands {
|
||||
* This can be used to mask out antennas which are not attached or should
|
||||
* not be used for receiving. If an antenna is not selected in this bitmap
|
||||
* the hardware should not be configured to receive on this antenna.
|
||||
* For a more detailed descripton see @NL80211_ATTR_WIPHY_ANTENNA_TX.
|
||||
* For a more detailed description see @NL80211_ATTR_WIPHY_ANTENNA_TX.
|
||||
*
|
||||
* @NL80211_ATTR_WIPHY_ANTENNA_AVAIL_TX: Bitmap of antennas which are available
|
||||
* for configuration as TX antennas via the above parameters.
|
||||
@@ -891,7 +891,7 @@ enum nl80211_commands {
|
||||
* @__NL80211_ATTR_AFTER_LAST: internal use
|
||||
*/
|
||||
enum nl80211_attrs {
|
||||
/* don't change the order or add anything inbetween, this is ABI! */
|
||||
/* don't change the order or add anything between, this is ABI! */
|
||||
NL80211_ATTR_UNSPEC,
|
||||
|
||||
NL80211_ATTR_WIPHY,
|
||||
@@ -1419,7 +1419,7 @@ enum nl80211_bitrate_attr {
|
||||
* 802.11 country information element with regulatory information it
|
||||
* thinks we should consider. cfg80211 only processes the country
|
||||
* code from the IE, and relies on the regulatory domain information
|
||||
* structure pased by userspace (CRDA) from our wireless-regdb.
|
||||
* structure passed by userspace (CRDA) from our wireless-regdb.
|
||||
* If a channel is enabled but the country code indicates it should
|
||||
* be disabled we disable the channel and re-enable it upon disassociation.
|
||||
*/
|
||||
@@ -1598,7 +1598,7 @@ enum nl80211_mntr_flags {
|
||||
* @NL80211_MESHCONF_RETRY_TIMEOUT: specifies the initial retry timeout in
|
||||
* millisecond units, used by the Peer Link Open message
|
||||
*
|
||||
* @NL80211_MESHCONF_CONFIRM_TIMEOUT: specifies the inital confirm timeout, in
|
||||
* @NL80211_MESHCONF_CONFIRM_TIMEOUT: specifies the initial confirm timeout, in
|
||||
* millisecond units, used by the peer link management to close a peer link
|
||||
*
|
||||
* @NL80211_MESHCONF_HOLDING_TIMEOUT: specifies the holding timeout, in
|
||||
|
||||
@@ -237,7 +237,7 @@ static inline int notifier_to_errno(int ret)
|
||||
* enabling interrupts. Must not sleep,
|
||||
* must not fail */
|
||||
|
||||
/* Used for CPU hotplug events occuring while tasks are frozen due to a suspend
|
||||
/* Used for CPU hotplug events occurring while tasks are frozen due to a suspend
|
||||
* operation in progress
|
||||
*/
|
||||
#define CPU_TASKS_FROZEN 0x0010
|
||||
|
||||
@@ -250,7 +250,7 @@ enum omap3isp_h3a_af_rgbpos {
|
||||
/* Contains the information regarding the Horizontal Median Filter */
|
||||
struct omap3isp_h3a_af_hmf {
|
||||
__u8 enable; /* Status of Horizontal Median Filter */
|
||||
__u8 threshold; /* Threshhold Value for Horizontal Median Filter */
|
||||
__u8 threshold; /* Threshold Value for Horizontal Median Filter */
|
||||
};
|
||||
|
||||
/* Contains the information regarding the IIR Filters */
|
||||
|
||||
@@ -138,7 +138,7 @@ static inline void move_unlock_page_cgroup(struct page_cgroup *pc,
|
||||
|
||||
#define PCG_ARRAYID_OFFSET (BITS_PER_LONG - PCG_ARRAYID_WIDTH)
|
||||
/*
|
||||
* Zero the shift count for non-existant fields, to prevent compiler
|
||||
* Zero the shift count for non-existent fields, to prevent compiler
|
||||
* warnings and ensure references are optimized away.
|
||||
*/
|
||||
#define PCG_ARRAYID_SHIFT (PCG_ARRAYID_OFFSET * (PCG_ARRAYID_WIDTH != 0))
|
||||
|
||||
@@ -223,7 +223,7 @@
|
||||
#define PCI_PM_CAP_PME_CLOCK 0x0008 /* PME clock required */
|
||||
#define PCI_PM_CAP_RESERVED 0x0010 /* Reserved field */
|
||||
#define PCI_PM_CAP_DSI 0x0020 /* Device specific initialization */
|
||||
#define PCI_PM_CAP_AUX_POWER 0x01C0 /* Auxilliary power support mask */
|
||||
#define PCI_PM_CAP_AUX_POWER 0x01C0 /* Auxiliary power support mask */
|
||||
#define PCI_PM_CAP_D1 0x0200 /* D1 power state support */
|
||||
#define PCI_PM_CAP_D2 0x0400 /* D2 power state support */
|
||||
#define PCI_PM_CAP_PME 0x0800 /* PME pin supported */
|
||||
@@ -435,7 +435,7 @@
|
||||
#define PCI_EXP_LNKCAP_L0SEL 0x00007000 /* L0s Exit Latency */
|
||||
#define PCI_EXP_LNKCAP_L1EL 0x00038000 /* L1 Exit Latency */
|
||||
#define PCI_EXP_LNKCAP_CLKPM 0x00040000 /* L1 Clock Power Management */
|
||||
#define PCI_EXP_LNKCAP_SDERC 0x00080000 /* Suprise Down Error Reporting Capable */
|
||||
#define PCI_EXP_LNKCAP_SDERC 0x00080000 /* Surprise Down Error Reporting Capable */
|
||||
#define PCI_EXP_LNKCAP_DLLLARC 0x00100000 /* Data Link Layer Link Active Reporting Capable */
|
||||
#define PCI_EXP_LNKCAP_LBNC 0x00200000 /* Link Bandwidth Notification Capability */
|
||||
#define PCI_EXP_LNKCAP_PN 0xff000000 /* Port Number */
|
||||
|
||||
@@ -662,7 +662,7 @@ struct pmu {
|
||||
int (*commit_txn) (struct pmu *pmu); /* optional */
|
||||
/*
|
||||
* Will cancel the transaction, assumes ->del() is called
|
||||
* for each successfull ->add() during the transaction.
|
||||
* for each successful ->add() during the transaction.
|
||||
*/
|
||||
void (*cancel_txn) (struct pmu *pmu); /* optional */
|
||||
};
|
||||
|
||||
@@ -21,7 +21,7 @@ enum pid_type
|
||||
* quickly from the numeric pid value. The attached processes may be
|
||||
* quickly accessed by following pointers from struct pid.
|
||||
*
|
||||
* Storing pid_t values in the kernel and refering to them later has a
|
||||
* Storing pid_t values in the kernel and referring to them later has a
|
||||
* problem. The process originally with that pid may have exited and the
|
||||
* pid allocator wrapped, and another process could have come along
|
||||
* and been assigned that pid.
|
||||
|
||||
@@ -223,7 +223,7 @@ struct tc_gred_qopt {
|
||||
__u32 limit; /* HARD maximal queue length (bytes) */
|
||||
__u32 qth_min; /* Min average length threshold (bytes) */
|
||||
__u32 qth_max; /* Max average length threshold (bytes) */
|
||||
__u32 DP; /* upto 2^32 DPs */
|
||||
__u32 DP; /* up to 2^32 DPs */
|
||||
__u32 backlog;
|
||||
__u32 qave;
|
||||
__u32 forced;
|
||||
|
||||
@@ -82,7 +82,7 @@ static inline int poll_schedule(struct poll_wqueues *pwq, int state)
|
||||
}
|
||||
|
||||
/*
|
||||
* Scaleable version of the fd_set.
|
||||
* Scalable version of the fd_set.
|
||||
*/
|
||||
|
||||
typedef struct {
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
prefetchw(x) - prefetches the cacheline at "x" for write
|
||||
spin_lock_prefetch(x) - prefetches the spinlock *x for taking
|
||||
|
||||
there is also PREFETCH_STRIDE which is the architecure-prefered
|
||||
there is also PREFETCH_STRIDE which is the architecure-preferred
|
||||
"lookahead" size for prefetching streamed operations.
|
||||
|
||||
*/
|
||||
|
||||
@@ -122,7 +122,7 @@
|
||||
#define SSCR1_TSRE (1 << 21) /* Transmit Service Request Enable */
|
||||
#define SSCR1_RSRE (1 << 20) /* Receive Service Request Enable */
|
||||
#define SSCR1_TINTE (1 << 19) /* Receiver Time-out Interrupt enable */
|
||||
#define SSCR1_PINTE (1 << 18) /* Peripheral Trailing Byte Interupt Enable */
|
||||
#define SSCR1_PINTE (1 << 18) /* Peripheral Trailing Byte Interrupt Enable */
|
||||
#define SSCR1_IFS (1 << 16) /* Invert Frame Signal */
|
||||
#define SSCR1_STRF (1 << 15) /* Select FIFO or EFWR */
|
||||
#define SSCR1_EFWR (1 << 14) /* Enable FIFO Write/Read */
|
||||
|
||||
@@ -251,7 +251,7 @@ struct mdp_superblock_1 {
|
||||
__le64 utime; /* 40 bits second, 24 btes microseconds */
|
||||
__le64 events; /* incremented when superblock updated */
|
||||
__le64 resync_offset; /* data before this offset (from data_offset) known to be in sync */
|
||||
__le32 sb_csum; /* checksum upto devs[max_dev] */
|
||||
__le32 sb_csum; /* checksum up to devs[max_dev] */
|
||||
__le32 max_dev; /* size of devs[] array to consider */
|
||||
__u8 pad3[64-32]; /* set to 0 when writing */
|
||||
|
||||
|
||||
@@ -1557,7 +1557,7 @@ struct tree_balance {
|
||||
/* When inserting an item. */
|
||||
#define M_INSERT 'i'
|
||||
/* When inserting into (directories only) or appending onto an already
|
||||
existant item. */
|
||||
existent item. */
|
||||
#define M_PASTE 'p'
|
||||
/* When deleting an item. */
|
||||
#define M_DELETE 'd'
|
||||
|
||||
@@ -854,7 +854,7 @@ extern int __weak arch_sd_sibiling_asym_packing(void);
|
||||
|
||||
/*
|
||||
* Optimise SD flags for power savings:
|
||||
* SD_BALANCE_NEWIDLE helps agressive task consolidation and power savings.
|
||||
* SD_BALANCE_NEWIDLE helps aggressive task consolidation and power savings.
|
||||
* Keep default SD flags if sched_{smt,mc}_power_saving=0
|
||||
*/
|
||||
|
||||
|
||||
@@ -474,7 +474,7 @@ static inline void skb_dst_set(struct sk_buff *skb, struct dst_entry *dst)
|
||||
extern void skb_dst_set_noref(struct sk_buff *skb, struct dst_entry *dst);
|
||||
|
||||
/**
|
||||
* skb_dst_is_noref - Test if skb dst isnt refcounted
|
||||
* skb_dst_is_noref - Test if skb dst isn't refcounted
|
||||
* @skb: buffer
|
||||
*/
|
||||
static inline bool skb_dst_is_noref(const struct sk_buff *skb)
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#define RPC_LED_10 (0x02) /* LED = 10Mbps link detect */
|
||||
#define RPC_LED_FD (0x03) /* LED = Full Duplex Mode */
|
||||
#define RPC_LED_TX_RX (0x04) /* LED = TX or RX packet occurred */
|
||||
#define RPC_LED_100 (0x05) /* LED = 100Mbps link dectect */
|
||||
#define RPC_LED_100 (0x05) /* LED = 100Mbps link detect */
|
||||
#define RPC_LED_TX (0x06) /* LED = TX packet occurred */
|
||||
#define RPC_LED_RX (0x07) /* LED = RX packet occurred */
|
||||
|
||||
|
||||
@@ -88,7 +88,7 @@ struct cmsghdr {
|
||||
};
|
||||
|
||||
/*
|
||||
* Ancilliary data object information MACROS
|
||||
* Ancillary data object information MACROS
|
||||
* Table 5-14 of POSIX 1003.1g
|
||||
*/
|
||||
|
||||
|
||||
@@ -1231,7 +1231,7 @@ void seqbuf_dump(void); /* This function must be provided by programs */
|
||||
#define SEQ_PANNING(dev, voice, pos) SEQ_CONTROL(dev, voice, CTL_PAN, (pos+128) / 2)
|
||||
|
||||
/*
|
||||
* Timing and syncronization macros
|
||||
* Timing and synchronization macros
|
||||
*/
|
||||
|
||||
#define _TIMER_EVENT(ev, parm) {_SEQ_NEEDBUF(8);\
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
* are in a different address space (and may be of different sizes in some
|
||||
* cases, such as 32-bit i386 userspace over a 64-bit x86_64 kernel).
|
||||
* Zero-initialize the structure, including currently unused fields, to
|
||||
* accomodate potential future updates.
|
||||
* accommodate potential future updates.
|
||||
*
|
||||
* SPI_IOC_MESSAGE gives userspace the equivalent of kernel spi_sync().
|
||||
* Pass it an array of related transfers, they'll execute together.
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
#include <linux/spinlock_types.h>
|
||||
|
||||
/*
|
||||
* Pull the arch_spin*() functions/declarations (UP-nondebug doesnt need them):
|
||||
* Pull the arch_spin*() functions/declarations (UP-nondebug doesn't need them):
|
||||
*/
|
||||
#ifdef CONFIG_SMP
|
||||
# include <asm/spinlock.h>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#ifndef __STMMAC_PLATFORM_DATA
|
||||
#define __STMMAC_PLATFORM_DATA
|
||||
|
||||
/* platfrom data for platfrom device structure's platfrom_data field */
|
||||
/* platform data for platform device structure's platform_data field */
|
||||
|
||||
/* Private data for the STM on-board ethernet driver */
|
||||
struct plat_stmmacenet_data {
|
||||
|
||||
@@ -105,7 +105,7 @@ static inline int try_stop_cpus(const struct cpumask *cpumask,
|
||||
* @cpus: the cpus to run the @fn() on (NULL = any online cpu)
|
||||
*
|
||||
* Description: This causes a thread to be scheduled on every cpu,
|
||||
* each of which disables interrupts. The result is that noone is
|
||||
* each of which disables interrupts. The result is that no one is
|
||||
* holding a spinlock or inside any other preempt-disabled region when
|
||||
* @fn() runs.
|
||||
*
|
||||
|
||||
@@ -35,10 +35,10 @@
|
||||
* Each cache must be registered so that it can be cleaned regularly.
|
||||
* When the cache is unregistered, it is flushed completely.
|
||||
*
|
||||
* Entries have a ref count and a 'hashed' flag which counts the existance
|
||||
* Entries have a ref count and a 'hashed' flag which counts the existence
|
||||
* in the hash table.
|
||||
* We only expire entries when refcount is zero.
|
||||
* Existance in the cache is counted the refcount.
|
||||
* Existence in the cache is counted the refcount.
|
||||
*/
|
||||
|
||||
/* Every cache item has a common header that is used
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* linux/include/linux/sunrpc/svcauth_gss.h
|
||||
*
|
||||
* Bruce Fields <bfields@umich.edu>
|
||||
* Copyright (c) 2002 The Regents of the Unviersity of Michigan
|
||||
* Copyright (c) 2002 The Regents of the University of Michigan
|
||||
*/
|
||||
|
||||
#ifndef _LINUX_SUNRPC_SVCAUTH_GSS_H
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
* We still have a notion of a driver for a system device, because we still
|
||||
* want to perform basic operations on these devices.
|
||||
*
|
||||
* We also support auxillary drivers binding to devices of a certain class.
|
||||
* We also support auxiliary drivers binding to devices of a certain class.
|
||||
*
|
||||
* This allows configurable drivers to register themselves for devices of
|
||||
* a certain type. And, it allows class definitions to reside in generic
|
||||
* code while arch-specific code can register specific drivers.
|
||||
*
|
||||
* Auxillary drivers registered with a NULL cls are registered as drivers
|
||||
* Auxiliary drivers registered with a NULL cls are registered as drivers
|
||||
* for all system devices, and get notification calls for each device.
|
||||
*/
|
||||
|
||||
@@ -70,7 +70,7 @@ extern int sysdev_class_create_file(struct sysdev_class *,
|
||||
extern void sysdev_class_remove_file(struct sysdev_class *,
|
||||
struct sysdev_class_attribute *);
|
||||
/**
|
||||
* Auxillary system device drivers.
|
||||
* Auxiliary system device drivers.
|
||||
*/
|
||||
|
||||
struct sysdev_driver {
|
||||
|
||||
@@ -24,7 +24,7 @@ extern struct timerqueue_node *timerqueue_iterate_next(
|
||||
struct timerqueue_node *node);
|
||||
|
||||
/**
|
||||
* timerqueue_getnext - Returns the timer with the earlies expiration time
|
||||
* timerqueue_getnext - Returns the timer with the earliest expiration time
|
||||
*
|
||||
* @head: head of timerqueue
|
||||
*
|
||||
|
||||
@@ -169,7 +169,7 @@ static inline int tracehook_unsafe_exec(struct task_struct *task)
|
||||
* tracehook_tracer_task - return the task that is tracing the given task
|
||||
* @tsk: task to consider
|
||||
*
|
||||
* Returns NULL if noone is tracing @task, or the &struct task_struct
|
||||
* Returns NULL if no one is tracing @task, or the &struct task_struct
|
||||
* pointer to its tracer.
|
||||
*
|
||||
* Must called under rcu_read_lock(). The pointer returned might be kept
|
||||
@@ -448,7 +448,7 @@ static inline int tracehook_force_sigpending(void)
|
||||
*
|
||||
* Return zero to check for a real pending signal normally.
|
||||
* Return -1 after releasing the siglock to repeat the check.
|
||||
* Return a signal number to induce an artifical signal delivery,
|
||||
* Return a signal number to induce an artificial signal delivery,
|
||||
* setting *@info and *@return_ka to specify its details and behavior.
|
||||
*
|
||||
* The @return_ka->sa_handler value controls the disposition of the
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
* Copyright: MontaVista Software, Inc.
|
||||
*
|
||||
* Spliting done by: Marek Vasut <marek.vasut@gmail.com>
|
||||
* If something doesnt work and it worked before spliting, e-mail me,
|
||||
* If something doesn't work and it worked before spliting, e-mail me,
|
||||
* dont bother Nicolas please ;-)
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
|
||||
@@ -623,7 +623,7 @@ extern struct usb_host_interface *usb_find_alt_setting(
|
||||
* USB hubs. That makes it stay the same until systems are physically
|
||||
* reconfigured, by re-cabling a tree of USB devices or by moving USB host
|
||||
* controllers. Adding and removing devices, including virtual root hubs
|
||||
* in host controller driver modules, does not change these path identifers;
|
||||
* in host controller driver modules, does not change these path identifiers;
|
||||
* neither does rebooting or re-enumerating. These are more useful identifiers
|
||||
* than changeable ("unstable") ones like bus numbers or device addresses.
|
||||
*
|
||||
@@ -793,7 +793,7 @@ struct usbdrv_wrap {
|
||||
* usb_set_intfdata() to associate driver-specific data with the
|
||||
* interface. It may also use usb_set_interface() to specify the
|
||||
* appropriate altsetting. If unwilling to manage the interface,
|
||||
* return -ENODEV, if genuine IO errors occured, an appropriate
|
||||
* return -ENODEV, if genuine IO errors occurred, an appropriate
|
||||
* negative errno value.
|
||||
* @disconnect: Called when the interface is no longer accessible, usually
|
||||
* because its device has been (or is being) disconnected or the
|
||||
|
||||
@@ -188,7 +188,7 @@ ep_choose(struct usb_gadget *g, struct usb_endpoint_descriptor *hs,
|
||||
* @bind() method is then used to initialize all the functions and then
|
||||
* call @usb_add_function() for them.
|
||||
*
|
||||
* Those functions would normally be independant of each other, but that's
|
||||
* Those functions would normally be independent of each other, but that's
|
||||
* not mandatory. CDC WMC devices are an example where functions often
|
||||
* depend on other functions, with some functions subsidiary to others.
|
||||
* Such interdependency may be managed in any way, so long as all of the
|
||||
|
||||
@@ -159,7 +159,7 @@ struct ehci_regs {
|
||||
#define USBMODE_CM_IDLE (0<<0) /* idle state */
|
||||
|
||||
/* Moorestown has some non-standard registers, partially due to the fact that
|
||||
* its EHCI controller has both TT and LPM support. HOSTPCx are extentions to
|
||||
* its EHCI controller has both TT and LPM support. HOSTPCx are extensions to
|
||||
* PORTSCx
|
||||
*/
|
||||
#define HOSTPC0 0x84 /* HOSTPC extension */
|
||||
|
||||
@@ -45,7 +45,7 @@ struct usb_functionfs_descs_head {
|
||||
* | off | name | type | description |
|
||||
* |-----+-----------+--------------+--------------------------------------|
|
||||
* | 0 | magic | LE32 | FUNCTIONFS_{FS,HS}_DESCRIPTORS_MAGIC |
|
||||
* | 4 | lenght | LE32 | length of the whole data chunk |
|
||||
* | 4 | length | LE32 | length of the whole data chunk |
|
||||
* | 8 | fs_count | LE32 | number of full-speed descriptors |
|
||||
* | 12 | hs_count | LE32 | number of high-speed descriptors |
|
||||
* | 16 | fs_descrs | Descriptor[] | list of full-speed descriptors |
|
||||
@@ -86,7 +86,7 @@ struct usb_functionfs_strings_head {
|
||||
* | 0 | lang | LE16 | language code |
|
||||
* | 2 | strings | String[str_count] | array of strings in given language |
|
||||
*
|
||||
* For each string ther is one strings entry (ie. there are str_count
|
||||
* For each string there is one strings entry (ie. there are str_count
|
||||
* string entries). Each String is a NUL terminated string encoded in
|
||||
* UTF-8.
|
||||
*/
|
||||
|
||||
@@ -72,7 +72,7 @@ struct usb_ep;
|
||||
* Bulk endpoints can use any size buffers, and can also be used for interrupt
|
||||
* transfers. interrupt-only endpoints can be much less functional.
|
||||
*
|
||||
* NOTE: this is analagous to 'struct urb' on the host side, except that
|
||||
* NOTE: this is analogous to 'struct urb' on the host side, except that
|
||||
* it's thinner and promotes more pre-allocation.
|
||||
*/
|
||||
|
||||
@@ -269,7 +269,7 @@ static inline void usb_ep_free_request(struct usb_ep *ep,
|
||||
*
|
||||
* Control endpoints ... after getting a setup() callback, the driver queues
|
||||
* one response (even if it would be zero length). That enables the
|
||||
* status ack, after transfering data as specified in the response. Setup
|
||||
* status ack, after transferring data as specified in the response. Setup
|
||||
* functions may return negative error codes to generate protocol stalls.
|
||||
* (Note that some USB device controllers disallow protocol stall responses
|
||||
* in some cases.) When control responses are deferred (the response is
|
||||
|
||||
@@ -70,7 +70,7 @@ struct usb_midi_out_jack_descriptor {
|
||||
__u8 bJackID;
|
||||
__u8 bNrInputPins; /* p */
|
||||
struct usb_midi_source_pin pins[]; /* [p] */
|
||||
/*__u8 iJack; -- ommitted due to variable-sized pins[] */
|
||||
/*__u8 iJack; -- omitted due to variable-sized pins[] */
|
||||
} __attribute__ ((packed));
|
||||
|
||||
#define USB_DT_MIDI_OUT_SIZE(p) (7 + 2 * (p))
|
||||
|
||||
@@ -126,7 +126,7 @@ enum {
|
||||
/**
|
||||
* WUSB IE: Channel Stop (WUSB1.0[7.5.8])
|
||||
*
|
||||
* Tells devices the host is going to stop sending MMCs and will dissapear.
|
||||
* Tells devices the host is going to stop sending MMCs and will disappear.
|
||||
*/
|
||||
struct wuie_channel_stop {
|
||||
struct wuie_hdr hdr;
|
||||
|
||||
@@ -274,7 +274,7 @@ static inline void uwb_mas_bm_copy_le(void *dst, const struct uwb_mas_bm *mas)
|
||||
|
||||
/**
|
||||
* struct uwb_drp_avail - a radio controller's view of MAS usage
|
||||
* @global: MAS unused by neighbors (excluding reservations targetted
|
||||
* @global: MAS unused by neighbors (excluding reservations targeted
|
||||
* or owned by the local radio controller) or the beaon period
|
||||
* @local: MAS unused by local established reservations
|
||||
* @pending: MAS unused by local pending reservations
|
||||
@@ -702,10 +702,10 @@ void edc_init(struct edc *edc)
|
||||
edc->timestart = jiffies;
|
||||
}
|
||||
|
||||
/* Called when an error occured.
|
||||
/* Called when an error occurred.
|
||||
* This is way to determine if the number of acceptable errors per time
|
||||
* period has been exceeded. It is not accurate as there are cases in which
|
||||
* this scheme will not work, for example if there are periodic occurences
|
||||
* this scheme will not work, for example if there are periodic occurrences
|
||||
* of errors that straddle updates to the start time. This scheme is
|
||||
* sufficient for our usage.
|
||||
*
|
||||
|
||||
@@ -132,7 +132,7 @@ int umc_match_pci_id(struct umc_driver *umc_drv, struct umc_dev *umc);
|
||||
*
|
||||
* FIXME: This is as dirty as it gets, but we need some way to check
|
||||
* the correct type of umc_dev->parent (so that for example, we can
|
||||
* cast to pci_dev). Casting to pci_dev is necesary because at some
|
||||
* cast to pci_dev). Casting to pci_dev is necessary because at some
|
||||
* point we need to request resources from the device. Mapping is
|
||||
* easily over come (ioremap and stuff are bus agnostic), but hooking
|
||||
* up to some error handlers (such as pci error handlers) might need
|
||||
|
||||
@@ -78,7 +78,7 @@ extern void vga_set_legacy_decoding(struct pci_dev *pdev,
|
||||
* wether the card is doing legacy decoding for that type of resource. If
|
||||
* yes, the lock is "converted" into a legacy resource lock.
|
||||
* The arbiter will first look for all VGA cards that might conflict
|
||||
* and disable their IOs and/or Memory access, inlcuding VGA forwarding
|
||||
* and disable their IOs and/or Memory access, including VGA forwarding
|
||||
* on P2P bridges if necessary, so that the requested resources can
|
||||
* be used. Then, the card is marked as locking these resources and
|
||||
* the IO and/or Memory accesse are enabled on the card (including
|
||||
@@ -187,7 +187,7 @@ extern struct pci_dev *vga_default_device(void);
|
||||
* vga_conflicts
|
||||
*
|
||||
* Architectures should define this if they have several
|
||||
* independant PCI domains that can afford concurrent VGA
|
||||
* independent PCI domains that can afford concurrent VGA
|
||||
* decoding
|
||||
*/
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@ enum {
|
||||
WIMAX_GNL_RESET_IFIDX = 1,
|
||||
};
|
||||
|
||||
/* Atributes for wimax_state_get() */
|
||||
/* Attributes for wimax_state_get() */
|
||||
enum {
|
||||
WIMAX_GNL_STGET_IFIDX = 1,
|
||||
};
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
/* ML300/403 reference design framebuffer driver platform data struct */
|
||||
struct xilinxfb_platform_data {
|
||||
u32 rotate_screen; /* Flag to rotate display 180 degrees */
|
||||
u32 screen_height_mm; /* Physical dimentions of screen in mm */
|
||||
u32 screen_height_mm; /* Physical dimensions of screen in mm */
|
||||
u32 screen_width_mm;
|
||||
u32 xres, yres; /* resolution of screen in pixels */
|
||||
u32 xvirt, yvirt; /* resolution of memory buffer */
|
||||
|
||||
Reference in New Issue
Block a user