/linux-master/arch/x86/pci/ |
H A D | ce4100.c | 11 * the CE4100. Each register can be assigned a private init, read and 33 void (*read)(struct sim_dev_reg *reg, u32 *value); member in struct:sim_dev_reg 40 void (*read)(struct sim_dev_reg *reg, u32 value); member in struct:sim_reg_op 53 * All read/write functions are called with pci_config_lock held. 57 pci_direct_conf1.read(0, 1, reg->dev_func, reg->reg, 4, 74 pci_direct_conf1.read(0, 1, PCI_DEVFN(14, 0), 0x10, 4, 190 * to zero and read only, so do the simulation. 204 pci_direct_conf1.read(0, 0, devfn, 251 bus1_fixups[i].read) { 254 bus1_fixups[i].read( [all...] |
/linux-master/drivers/xen/xen-pciback/ |
H A D | conf_space.c | 34 DEFINE_PCI_CONFIG(read, byte, u8 *) 35 DEFINE_PCI_CONFIG(read, word, u16 *) 36 DEFINE_PCI_CONFIG(read, dword, u32 *) 53 if (field->u.b.read) 54 ret = field->u.b.read(dev, offset, (u8 *) value, 58 if (field->u.w.read) 59 ret = field->u.w.read(dev, offset, (u16 *) value, 63 if (field->u.dw.read) 64 ret = field->u.dw.read(dev, offset, value, entry->data); 155 /* if read fail [all...] |
H A D | conf_space_quirks.c | 73 field->u.b.read = xen_pcibk_read_config_byte; 77 field->u.w.read = xen_pcibk_read_config_word; 81 field->u.dw.read = xen_pcibk_read_config_dword;
|
/linux-master/drivers/gpu/drm/i915/gem/selftests/ |
H A D | i915_gem_coherency.c | 310 const struct igt_coherency_mode *read, *write, *over; local 318 * We repeatedly write, overwrite and read from a sequence of 354 for (read = igt_coherency_mode; read->name; read++) { 355 if (!read->get) 358 if (!read->valid(&ctx)) 393 err = read->get(&ctx, offsets[n], &found); 396 n, count, read->name, err); 401 pr_err("Value[%ld/%ld] mismatch, (overwrite with %s) wrote [%s] %x read [ [all...] |
/linux-master/drivers/soc/tegra/fuse/ |
H A D | fuse-tegra30.c | 92 fuse->read = tegra30_fuse_read; 105 .read = tegra30_fuse_read, 121 .read = tegra30_fuse_read, 277 .read = tegra30_fuse_read, 448 .read = tegra30_fuse_read, 506 .read = tegra30_fuse_read, 599 .read = tegra30_fuse_read, 664 .read = tegra30_fuse_read, 685 .read = tegra30_fuse_read,
|
/linux-master/drivers/tty/ |
H A D | tty_buffer.c | 73 bool restart = buf->head->commit != buf->head->read; 109 p->read = 0; 237 buf->head->read = buf->head->commit; 238 buf->head->lookahead = buf->head->read; 286 * ensures the latest commit value can be read before the head 399 head->lookahead = max(head->lookahead, head->read); 407 * ensures commit value read is not stale if the head 438 u8 *p = char_buf_ptr(head, head->read); 443 f = flag_buf_ptr(head, head->read); 479 * ensures commit value read i [all...] |
/linux-master/kernel/time/ |
H A D | sched_clock.c | 29 * @read_data: Data required to read from sched_clock. 32 * @actual_read_sched_clock: Registered hardware level clock read function. 111 * Updating the data required to read the clock. 164 sched_clock_register(u64 (*read)(void), int bits, unsigned long rate) argument 191 new_epoch = read(); 194 cd.actual_read_sched_clock = read; 196 rd.read_sched_clock = read; 234 pr_debug("Registered %pS as sched_clock source\n", read); 258 * Clock read function for use when the clock is suspended.
|
/linux-master/drivers/w1/slaves/ |
H A D | w1_ds250x.c | 40 int (*read)(struct w1_slave *sl, int pageno); member in struct:w1_eprom_data 156 ret = data->read(sl, i++); 188 data->read = w1_ds2502_read_page; 193 data->read = w1_ds2502_read_page; 197 data->read = w1_ds2505_read_page;
|
/linux-master/tools/power/acpi/tools/ec/ |
H A D | ec_access.c | 44 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/perf/arch/s390/util/ |
H A D | header.c | 35 int read; local 41 * Scan /proc/sysinfo line by line and read out values for 60 while ((read = getline(&line, &line_sz, sysinfo)) != -1) { 103 while ((read = getline(&line, &line_sz, sysinfo)) != -1) {
|
/linux-master/drivers/net/dsa/mv88e6xxx/ |
H A D | smi.c | 84 .read = mv88e6xxx_smi_direct_read, 101 .read = mv88e6xxx_smi_dual_direct_read, 166 .read = mv88e6xxx_smi_indirect_read,
|
/linux-master/drivers/usb/gadget/udc/ |
H A D | pxa25x_udc.h | 81 } read, write; member in struct:udc_stats 217 dev->stats.read.bytes, dev->stats.read.ops);
|
/linux-master/arch/arm/mm/ |
H A D | pv-fixup-asm.S | 22 mrc p15, 0, r8, c1, c0, 0 @ read control reg 63 mrrc p15, 0, r4, r5, c2 @ read TTBR0 67 mrrc p15, 1, r4, r5, c2 @ read TTBR1
|
/linux-master/drivers/net/dsa/microchip/ |
H A D | ksz8863_smi.c | 18 * read | 32x1��s | 01 | 00 | 1xRRR | RRRRR |Z0| 00000000DDDDDDDD | Z 86 .read = ksz8863_mdio_read, 90 .read = ksz8863_mdio_read, 95 .read = ksz8863_mdio_read,
|
/linux-master/arch/sh/drivers/pci/ |
H A D | common.c | 42 EARLY_PCI_OP(read, byte, u8 *) 43 EARLY_PCI_OP(read, word, u16 *) 44 EARLY_PCI_OP(read, dword, u32 *)
|
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | hif.h | 15 int (*read)(struct ath11k_base *ab, void *buf, u32 start, u32 end); member in struct:ath11k_hif_ops 107 if (!ab->hif.ops->read) 110 return ab->hif.ops->read(ab, buf, start, end);
|
/linux-master/tools/testing/selftests/mm/ |
H A D | compaction_test.c | 36 ksft_print_msg("Failed to read meminfo: %s\n", strerror(errno)); 47 ksft_print_msg("Failed to read meminfo: %s\n", strerror(errno)); 70 if (read(fd, &allowed, sizeof(char)) != sizeof(char)) { 71 ksft_print_msg("Failed to read from /proc/sys/vm/compact_unevictable_allowed: %s\n", 104 if (read(fd, initial_nr_hugepages, sizeof(initial_nr_hugepages)) <= 0) { 105 ksft_print_msg("Failed to read from /proc/sys/vm/nr_hugepages: %s\n", 129 if (read(fd, nr_hugepages, sizeof(nr_hugepages)) <= 0) { 130 ksft_print_msg("Failed to re-read from /proc/sys/vm/nr_hugepages: %s\n",
|
/linux-master/drivers/base/ |
H A D | devcoredump.c | 21 /* if data isn't read by userspace after 5 minutes then delete it */ 70 ssize_t (*read)(char *buffer, loff_t offset, size_t count, member in struct:devcd_entry 118 return devcd->read(buffer, offset, count, devcd->data, devcd->datalen); 141 .read = devcd_data_read, 284 * and return the number of bytes read 308 * dev_coredumpm - create device coredump with read/free methods 310 * @owner: the module that contains the read/free functions, use %THIS_MODULE 311 * @data: data cookie for the @read/@free functions 314 * @read: function to read fro [all...] |
/linux-master/tools/testing/selftests/devices/ |
H A D | test_discoverable_devices.py | 54 # PCI controllers' sysfs don't have an of_node, so have to read it from the 59 dt_mmio = re_dt_mmio.search(f.read()).group(1) 68 return f.read() 74 return int(re_usb_version.search(f.read()).group(1)) 80 return int(re_busnum.search(f.read()).group(1)) 278 vendor = f.read().replace("\n", "") 280 product = f.read().replace("\n", "")
|
/linux-master/kernel/ |
H A D | profile.c | 357 ssize_t read; local 366 read = 0; 371 buf++; p++; count--; read++; 376 read += count; 377 *ppos += read; 378 return read;
|
/linux-master/arch/alpha/boot/tools/ |
H A D | mkbb.c | 116 nread = read(fd, &bootloader_image, sizeof(bootblock)); 118 perror("lxboot read"); 124 nread = read(dev, &bootblock_from_disk, sizeof(bootblock)); 126 perror("bootblock read");
|
/linux-master/arch/powerpc/boot/ |
H A D | mktree.c | 99 if (read(in_fd, tmpbuf, sizeof(tmpbuf)) != sizeof(tmpbuf)) { 125 if (read(in_fd, tmpbuf, sizeof(tmpbuf)) < 0) { 126 perror("zImage read");
|
/linux-master/arch/mips/pci/ |
H A D | ops-sni.c | 87 .read = pcimt_read, 162 .read = pcit_read,
|
/linux-master/samples/seccomp/ |
H A D | bpf-fancy.c | 41 SYSCALL(__NR_read, JUMP(&l, read)), 44 LABEL(&l, read),
|
/linux-master/drivers/hid/ |
H A D | hid-roccat-common.h | 74 .read = roccat_common2_sysfs_read_ ## thingy, \ 83 .read = roccat_common2_sysfs_read_ ## thingy, \
|