/drivers/isdn/hardware/eicon/ |
H A D | dqueue.c | 29 q->read = q->write = q->count = q->segment_pending = 0; 52 q->read = q->write = q->count = q->segment_pending = 0; 90 return (q->data[q->read]); 97 return (q->length[q->read]); 103 q->length[q->read] = 0; 105 q->read++; 106 if (q->read >= q->segments) { 107 q->read = 0;
|
H A D | dqueue.h | 11 int read; member in struct:_diva_um_idi_data_queue
|
/drivers/gpu/drm/nouveau/core/subdev/timer/ |
H A D | base.c | 33 time0 = ptimer->read(ptimer); 42 } while (ptimer->read(ptimer) - time0 < nsec); 53 time0 = ptimer->read(ptimer); 62 } while (ptimer->read(ptimer) - time0 < nsec); 73 time0 = ptimer->read(ptimer); 77 } while (ptimer->read(ptimer) - time0 < nsec);
|
/drivers/input/misc/ |
H A D | adxl34x.h | 18 int (*read)(struct device *, unsigned char); member in struct:adxl34x_bus_ops
|
H A D | ad714x.h | 37 ad714x_read_t read; member in struct:ad714x_chip 52 ad714x_read_t read, ad714x_write_t write);
|
H A D | cma3000_d0x.h | 32 int (*read)(struct device *, u8, char *); member in struct:cma3000_bus_ops
|
/drivers/mfd/ |
H A D | tps65912-irq.c | 49 tps65912->read(tps65912, TPS65912_INT_STS, 1, ®); 51 tps65912->read(tps65912, TPS65912_INT_STS2, 1, ®); 53 tps65912->read(tps65912, TPS65912_INT_STS3, 1, ®); 55 tps65912->read(tps65912, TPS65912_INT_STS4, 1, ®); 58 tps65912->read(tps65912, TPS65912_INT_MSK, 1, ®); 60 tps65912->read(tps65912, TPS65912_INT_MSK2, 1, ®); 62 tps65912->read(tps65912, TPS65912_INT_MSK3, 1, ®); 64 tps65912->read(tps65912, TPS65912_INT_MSK4, 1, ®); 111 tps65912->read(tps65912, TPS65912_INT_MSK, 1, ®); 113 tps65912->read(tps6591 [all...] |
/drivers/video/fbdev/core/ |
H A D | fbcvt.c | 217 int cnt = 255, offset = 0, read = 0; local 227 read = snprintf(buf+offset, cnt, "fbcvt: %dx%d@%d: CVT Name - ", 229 offset += read; 230 cnt -= read; 237 read = snprintf(buf+offset, cnt, "%d", pixcount); 238 cnt -= read; 239 offset += read; 242 read = snprintf(buf+offset, cnt, ".%03dM", pixcount_mod); 243 cnt -= read; 244 offset += read; [all...] |
/drivers/rtc/ |
H A D | rtc-bq4802.c | 25 u8 (*read)(struct bq4802 *, int); member in struct:bq4802 59 val = p->read(p, 0x0e); 62 tm->tm_sec = p->read(p, 0x00); 63 tm->tm_min = p->read(p, 0x02); 64 tm->tm_hour = p->read(p, 0x04); 65 tm->tm_mday = p->read(p, 0x06); 66 tm->tm_mon = p->read(p, 0x09); 67 tm->tm_year = p->read(p, 0x0a); 68 tm->tm_wday = p->read(p, 0x08); 69 century = p->read( [all...] |
/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | dhd_dbg.c | 78 int (*read)(struct seq_file *seq, void *data); member in struct:brcmf_debugfs_entry 86 return single_open(f, entry->read, entry->drvr->bus_if->dev); 93 .read = seq_read, 110 entry->read = read_fn;
|
/drivers/gpu/drm/nouveau/core/subdev/clock/ |
H A D | nv50.c | 55 u32 coef, ref = clk->read(clk, nv_clk_src_crystal); 102 case 1: return clk->read(clk, nv_clk_src_crystal); 103 case 2: return clk->read(clk, nv_clk_src_href); 142 return clk->read(clk, nv_clk_src_crystal); 149 return clk->read(clk, nv_clk_src_href); 167 return clk->read(clk, nv_clk_src_dom6); 200 return div_u64((u64)clk->read(clk, nv_clk_src_href) * 27778, 10000); 202 return clk->read(clk, nv_clk_src_hclk) * 3; 204 return clk->read(clk, nv_clk_src_hclk) * 3 / 2; 207 case 0x00000000: return clk->read(cl [all...] |
H A D | nvaa.c | 54 u32 ref = clk->read(clk, nv_clk_src_href); 93 return clk->read(clk, nv_clk_src_href) * 4; 95 return clk->read(clk, nv_clk_src_href) * 2 / 3; 98 case 0x00000000: return clk->read(clk, nv_clk_src_hclkm2d3); 100 case 0x00080000: return clk->read(clk, nv_clk_src_hclkm4); 101 case 0x000c0000: return clk->read(clk, nv_clk_src_cclk); 108 case 0x00000000: return clk->read(clk, nv_clk_src_crystal) >> P; 110 case 0x00000002: return clk->read(clk, nv_clk_src_hclkm4) >> P; 116 return clk->read(clk, nv_clk_src_core); 119 return clk->read(cl [all...] |
/drivers/clocksource/ |
H A D | mmio.c | 50 * @read: One of clocksource_mmio_read*() above 54 cycle_t (*read)(struct clocksource *)) 68 cs->clksrc.read = read;
|
H A D | acpi_pm.c | 48 * source is not latched, you must read it multiple 49 * times to ensure a safe value is read: 69 .read = acpi_pm_read, 91 clocksource_acpi_pm.read = acpi_pm_read_slow; 98 * The power management timer may return improper results when read. 102 * incorrect when read). As a result, the ACPI free running count up 157 value1 = clocksource_acpi_pm.read(&clocksource_acpi_pm); 159 value2 = clocksource_acpi_pm.read(&clocksource_acpi_pm); 193 value1 = clocksource_acpi_pm.read(&clocksource_acpi_pm); 195 value2 = clocksource_acpi_pm.read( [all...] |
/drivers/xen/xen-pciback/ |
H A D | conf_space_capability.c | 27 .u.w.read = xen_pcibk_read_config_word, 81 .u.w.read = xen_pcibk_read_config_word, 87 .u.dw.read = xen_pcibk_read_config_dword, 170 .u.w.read = pm_caps_read, 176 .u.w.read = xen_pcibk_read_config_word, 182 .u.b.read = xen_pcibk_read_config_byte, 187 .u.b.read = xen_pcibk_read_config_byte,
|
/drivers/mtd/tests/ |
H A D | torturetest.c | 84 static void report_corrupt(unsigned char *read, unsigned char *written); 103 size_t read; local 113 err = mtd_read(mtd, addr, len, &read, check_buf); 119 "read %zd\n", err, ebnum, read); 123 if (read != len) { 124 pr_err("failed to read %zd bytes from EB %d, " 125 "read only %zd, but no error reported\n", 126 len, ebnum, read); 131 pr_err("read wron 374 report_corrupt(unsigned char *read, unsigned char *written) argument 418 print_bufs(unsigned char *read, unsigned char *written, int start, int len) argument [all...] |
H A D | subpagetest.c | 17 * Test sub-page read and write on MTD device. 132 size_t read; local 138 err = mtd_read(mtd, addr, subpgsize, &read, readbuf); 139 if (unlikely(err || read != subpgsize)) { 140 if (mtd_is_bitflip(err) && read == subpgsize) { 145 pr_err("error: read failed at %#llx\n", 155 pr_info("------------- read ------------------\n"); 165 err = mtd_read(mtd, addr, subpgsize, &read, readbuf); 166 if (unlikely(err || read != subpgsize)) { 167 if (mtd_is_bitflip(err) && read 193 size_t read; local 228 size_t read; local [all...] |
/drivers/gpio/ |
H A D | gpio-lp3943.c | 95 u8 addr, read; local 110 err = lp3943_read_byte(lp3943_gpio->lp3943, addr, &read); 114 return !!(read & BIT(offset)); 122 u8 read; local 125 err = lp3943_read_byte(lp3943, mux[offset].reg, &read); 129 read = (read & mux[offset].mask) >> mux[offset].shift; 131 if (read == LP3943_GPIO_OUT_HIGH) 133 else if (read == LP3943_GPIO_OUT_LOW)
|
/drivers/char/hw_random/ |
H A D | tpm-rng.c | 33 .read = tpm_rng_read,
|
/drivers/input/touchscreen/ |
H A D | ad7879.h | 19 int (*read)(struct device *dev, u8 reg); member in struct:ad7879_bus_ops
|
/drivers/net/wireless/rt2x00/ |
H A D | rt2x00debug.h | 33 * as argument when using the callback function read()/write() 41 void (*read)(struct rt2x00_dev *rt2x00dev, \
|
/drivers/staging/iio/addac/ |
H A D | adt7316.h | 21 int (*read)(void *client, u8 reg, u8 *data); member in struct:adt7316_bus
|
/drivers/net/wireless/iwlwifi/mvm/ |
H A D | debugfs.h | 68 .read = iwl_dbgfs_##name##_read, \ 92 .read = iwl_dbgfs_##name##_read, \
|
/drivers/xen/xenfs/ |
H A D | xenstored.c | 51 .read = xsd_read, 66 .read = xsd_read,
|
/drivers/oprofile/ |
H A D | oprofile_files.c | 60 .read = timeout_read, 99 .read = depth_read, 112 .read = pointer_size_read, 124 .read = cpu_type_read, 160 .read = enable_read,
|