Searched refs:read (Results 1 - 25 of 48) sorted by relevance

12

/include/linux/power/
H A Dbq27x00_battery.h7 * @read: HDQ read callback.
11 * register to be read. The return value should either be the content of
16 int (*read)(struct device *dev, unsigned int); member in struct:bq27000_platform_data
/include/linux/
H A Di2c-pxa.h13 int (*read) (void *ptr); member in struct:i2c_slave_client
H A Dhw_random.h4 Please read Documentation/hw_random.txt for details on use.
29 * @read: New API. drivers can fill up to max bytes of data
39 int (*read)(struct hwrng *rng, void *data, size_t max, bool wait); member in struct:hwrng
H A Dpstore.h41 struct mutex read_mutex; /* serialize open/read/close */
44 ssize_t (*read)(u64 *id, enum pstore_type_id *type, member in struct:pstore_info
H A Dgameport.h32 unsigned char (*read)(struct gameport *); member in struct:gameport
185 if (gameport->read)
186 return gameport->read(gameport);
H A Dkey-type.h56 * - the key must be locked against read when modifying
74 /* read a key's data (optional)
77 * - should return the amount of data that could be read, no matter how
81 long (*read)(const struct key *key, char __user *buffer, size_t buflen); member in struct:key_type
H A Dtty_ldisc.h34 * ssize_t (*read)(struct tty_struct * tty, struct file * file,
37 * This function is called when the user requests to read from
127 ssize_t (*read)(struct tty_struct * tty, struct file * file, member in struct:tty_ldisc_ops
H A Dclocksource.h36 * @read: returns the current cycle value
44 cycle_t (*read)(const struct cyclecounter *cc); member in struct:cyclecounter
117 * @cycle_tstamp: a value returned by tc->cc->read()
151 * @read: returns a cycle value, passes clocksource as argument
164 * @cycle_last: most recent cycle counter value seen by ::read()
171 cycle_t (*read)(struct clocksource *cs); member in struct:clocksource
H A Dmemory.h142 ssize_t (*read)(struct memory_accessor *, char *buf, off_t offset, member in struct:memory_accessor
H A Dposix-clock.h54 * @read: Optional character device read method
98 ssize_t (*read) (struct posix_clock *pc, member in struct:posix_clock_operations
H A Dconsole.h117 int (*read)(struct console *, char *, unsigned); member in struct:console
/include/linux/spi/
H A Dmax7301.h7 * Some registers must be read back to modify.
18 int (*read)(struct device *dev, unsigned int reg); member in struct:max7301
/include/trace/events/
H A Dlock.h15 int trylock, int read, int check,
18 TP_ARGS(lock, subclass, trylock, read, check, next_lock, ip),
27 __entry->flags = (trylock ? 1 : 0) | (read ? 2 : 0);
34 (__entry->flags & 2) ? "read " : "",
/include/sound/
H A Dinfo.h43 void (*read)(struct snd_info_entry *entry, member in struct:snd_info_entry_text
54 ssize_t (*read)(struct snd_info_entry *entry, void *file_private_data, member in struct:snd_info_entry_ops
143 void (*read)(struct snd_info_entry *, struct snd_info_buffer *))
146 entry->c.text.read = read;
177 void (*read)(struct snd_info_entry *, struct snd_info_buffer *)) {}
H A Dseq_midi_event.h32 int read; /* chars read */ member in struct:snd_midi_event
H A Dad1843.h15 int (*read)(void *chip, int reg); member in struct:snd_ad1843
H A Dhwdep.h34 long (*read)(struct snd_hwdep *hw, char __user *buf, member in struct:snd_hwdep_ops
H A Dmpu401.h100 unsigned char (*read) (struct snd_mpu401 *mpu, unsigned long addr); member in struct:snd_mpu401
111 /* read MPU401C() */
119 /* read MPU401D() */
H A Dak4113.h287 ak4113_read_t *read; member in struct:ak4113
308 int snd_ak4113_create(struct snd_card *card, ak4113_read_t *read,
H A Dak4114.h169 ak4114_read_t * read; member in struct:ak4114
191 ak4114_read_t *read, ak4114_write_t *write,
H A Dak4117.h161 ak4117_read_t * read; member in struct:ak4117
180 int snd_ak4117_create(struct snd_card *card, ak4117_read_t *read, ak4117_write_t *write,
/include/linux/ceph/
H A Ddebugfs.h21 .read = seq_read, \
/include/media/
H A Dmedia-devnode.h45 ssize_t (*read) (struct file *, char __user *, size_t, loff_t *); member in struct:media_file_operations
/include/linux/usb/
H A Dotg.h52 int (*read)(struct usb_phy *x, u32 reg); member in struct:usb_phy_io_ops
143 if (x->io_ops && x->io_ops->read)
144 return x->io_ops->read(x, reg);
/include/linux/mfd/
H A Daat2870.h146 int (*read)(struct aat2870_data *aat2870, u8 addr, u8 *val); member in struct:aat2870_data

Completed in 291 milliseconds

12