Searched refs:read (Results 151 - 175 of 2828) sorted by path

1234567891011>>

/linux-master/include/sound/
H A Dad1843.h15 int (*read)(void *chip, int reg); member in struct:snd_ad1843
H A Dak4113.h280 ak4113_read_t *read; member in struct:ak4113
299 int snd_ak4113_create(struct snd_card *card, ak4113_read_t *read,
H A Dak4114.h162 ak4114_read_t * read; member in struct:ak4114
182 ak4114_read_t *read, ak4114_write_t *write,
H A Dak4117.h154 ak4117_read_t * read; member in struct:ak4117
170 int snd_ak4117_create(struct snd_card *card, ak4117_read_t *read, ak4117_write_t *write,
H A Dmpu401.h85 unsigned char (*read) (struct snd_mpu401 *mpu, unsigned long addr); member in struct:snd_mpu401
96 /* read MPU401C() */
104 /* read MPU401D() */
H A Dseq_midi_event.h19 int read; /* chars read */ member in struct:snd_midi_event
/linux-master/samples/pidfd/
H A Dpidfd-metadata.c110 bytes = read(statusfd, buf, sizeof(buf));
/linux-master/samples/seccomp/
H A Dbpf-fancy.c41 SYSCALL(__NR_read, JUMP(&l, read)),
44 LABEL(&l, read),
/linux-master/samples/timers/
H A Dhpet_example.c199 if (read(fd, &data, sizeof(data)) != sizeof(data)) {
200 fprintf(stderr, "hpet_poll: read failed\n");
/linux-master/samples/vfs/
H A Dtest-fsmount.c28 n = read(fd, buf, sizeof(buf));
/linux-master/scripts/
H A Dinsert-sys-cert.c251 if (read(fd, buf, *size) != *size) {
252 perror("File read failed");
/linux-master/sound/core/seq/
H A Dseq_info.c21 create_info_entry(char *name, void (*read)(struct snd_info_entry *,
30 entry->c.text.read = read;
/linux-master/sound/mips/
H A Dad1843.c170 /* read the current value of an AD1843 bitfield. */
177 w = ad1843->read(ad1843->chip, field->reg);
191 w = ad1843->read(ad1843->chip, field->reg);
203 * register. It uses a single read cycle to do it. (Reading the
226 w = ad1843->read(ad1843->chip, reg);
237 * register. It uses one read and one write cycle to do it.
273 w = ad1843->read(ad1843->chip, reg);
/linux-master/sound/pci/au88x0/
H A Dau88x0_game.c97 gp->read = vortex_game_read;
/linux-master/sound/pci/ca0106/
H A Dca_midi.h44 unsigned char (*read)(struct snd_ca_midi *midi, int idx); member in struct:snd_ca_midi
/linux-master/sound/soc/codecs/
H A Dsigmadsp-i2c.c88 sigmadsp->read = sigmadsp_read_i2c;
H A Dwm8995.h4241 u16 read; member in struct:wm8995_reg_access
/linux-master/tools/firewire/
H A Dnosy-dump.c981 read(STDIN_FILENO, &c, sizeof c);
991 length = read(fd, buf, sizeof buf);
/linux-master/tools/leds/
H A Dled_hw_brightness_mon.c49 * read may fail if no hw brightness change has occurred so far,
53 read(fd, buf, sizeof(buf));
69 ret = read(fd, buf, sizeof(buf));
H A Duledmon.c51 ret = read(fd, &brightness, sizeof(brightness));
53 perror("Failed to read from /dev/uleds");
/linux-master/tools/power/acpi/tools/acpidbg/
H A Dacpidbg.c130 len = read(fd, p, len);
132 perror("read");
175 len = read(fd, p, 1);
178 perror("read");
293 ACPI_AML_BATCH_DO(STDIN_FILENO, read, cmd, ret);
313 ACPI_AML_DO(STDIN_FILENO, read, cmd, ret);
322 ACPI_AML_BATCH_DO(fd, read, log, ret);
324 ACPI_AML_DO(fd, read, log, ret);
/linux-master/tools/power/acpi/tools/ec/
H A Dec_access.c44 puts("\t re-read EC registers and show changes");
131 bytes_read = read(fd, buf, EC_SPACE_SIZE);
134 err(EXIT_FAILURE, "Could not read from %s\n", SYSFS_PATH);
137 fprintf(stderr, "Could only read %d bytes\n", bytes_read);
154 bytes_read = read(fd, buf2, EC_SPACE_SIZE);
157 err(EXIT_FAILURE, "Could not read from %s\n", SYSFS_PATH);
160 fprintf(stderr, "Could only read %d bytes\n", bytes_read);
184 error = read(fd, &buf, 1);
186 err(EXIT_FAILURE, "Could not read byte 0x%.2x from %s\n",
/linux-master/tools/power/cpupower/debug/i386/
H A Dcentrino-decode.c50 if (read(fd, &val, 8) != 8)
H A Dpowernow-k8-decode.c43 if (read(fd, &msr, 8) != 8)
/linux-master/tools/power/cpupower/lib/
H A Dcpuidle.c45 * helper function to read file from /sys into given buffer
67 numread = read(fd, buf, buflen - 1);
113 /* read access to files which contain one numeric value */
159 /* read access to files which contain one string */
311 * helper function to read file from /sys into given buffer
326 /* read access to files which contain one string */

Completed in 589 milliseconds

1234567891011>>