/linux-4.19.296/drivers/isdn/gigaset/ |
D | isocdata.c | 28 iwb->write = 0; in gigaset_isowbuf_init() 40 int read, write, freebytes; in isowbuf_freebytes() local 43 write = iwb->write; in isowbuf_freebytes() 44 freebytes = read - write; in isowbuf_freebytes() 50 return BAS_OUTBUFSIZE - write; in isowbuf_freebytes() 71 __func__, iwb->data[iwb->write], iwb->wbits); in isowbuf_startwrite() 81 int write = iwb->write; in isowbuf_donewrite() local 83 return write; in isowbuf_donewrite() 95 int write = iwb->write; in isowbuf_putbits() local 97 data |= iwb->data[write]; in isowbuf_putbits() [all …]
|
/linux-4.19.296/drivers/iio/dac/ |
D | ad5446.c | 57 int (*write)(struct ad5446_state *st, unsigned val); member 124 ret = st->chip_info->write(st, val); in ad5446_write_dac_powerdown() 134 .write = ad5446_write_dac_powerdown, 202 ret = st->chip_info->write(st, val); in ad5446_write_raw() 348 .write = ad5446_write, 352 .write = ad5446_write, 356 .write = ad5446_write, 360 .write = ad5446_write, 364 .write = ad5446_write, 368 .write = ad5446_write, [all …]
|
/linux-4.19.296/drivers/rtc/ |
D | rtc-ds1685.c | 132 rtc->write(rtc, RTC_CTRL_A, in ds1685_rtc_switch_to_bank0() 143 rtc->write(rtc, RTC_CTRL_A, in ds1685_rtc_switch_to_bank1() 164 rtc->write(rtc, RTC_CTRL_B, in ds1685_rtc_begin_data_access() 190 rtc->write(rtc, RTC_CTRL_B, in ds1685_rtc_end_data_access() 366 rtc->write(rtc, RTC_CTRL_B, ctrlb); in ds1685_rtc_set_time() 367 rtc->write(rtc, RTC_SECS, seconds); in ds1685_rtc_set_time() 368 rtc->write(rtc, RTC_MINS, minutes); in ds1685_rtc_set_time() 369 rtc->write(rtc, RTC_HRS, hours); in ds1685_rtc_set_time() 370 rtc->write(rtc, RTC_WDAY, wday); in ds1685_rtc_set_time() 371 rtc->write(rtc, RTC_MDAY, mday); in ds1685_rtc_set_time() [all …]
|
D | rtc-bq4802.c | 26 void (*write)(struct bq4802 *, int, u8); member 59 p->write(p, 0xe, val | 0x08); in bq4802_read_time() 70 p->write(p, 0x0e, val); in bq4802_read_time() 119 p->write(p, 0x0e, val | 0x08); in bq4802_set_time() 121 p->write(p, 0x00, sec); in bq4802_set_time() 122 p->write(p, 0x02, min); in bq4802_set_time() 123 p->write(p, 0x04, hrs); in bq4802_set_time() 124 p->write(p, 0x06, day); in bq4802_set_time() 125 p->write(p, 0x09, mon); in bq4802_set_time() 126 p->write(p, 0x0a, yrs); in bq4802_set_time() [all …]
|
/linux-4.19.296/include/linux/sched/ |
D | sysctl.h | 15 extern int proc_dohung_task_timeout_secs(struct ctl_table *table, int write, 45 int sched_proc_update_handler(struct ctl_table *table, int write, 70 extern int sched_rr_handler(struct ctl_table *table, int write, 74 extern int sched_rt_handler(struct ctl_table *table, int write, 78 extern int sysctl_numa_balancing(struct ctl_table *table, int write, 82 extern int sysctl_schedstats(struct ctl_table *table, int write,
|
/linux-4.19.296/drivers/isdn/hardware/eicon/ |
D | dqueue.c | 29 q->read = q->write = q->count = q->segment_pending = 0; in diva_data_q_init() 52 q->read = q->write = q->count = q->segment_pending = 0; in diva_data_q_finit() 66 return (q->data[q->write]); in diva_data_q_get_segment4write() 76 q->length[q->write] = length; in diva_data_q_ack_segment4write() 78 q->write++; in diva_data_q_ack_segment4write() 79 if (q->write >= q->segments) { in diva_data_q_ack_segment4write() 80 q->write = 0; in diva_data_q_ack_segment4write()
|
/linux-4.19.296/lib/zlib_inflate/ |
D | inffast.c | 80 unsigned write; /* window write index */ in inflate_fast() local 107 write = state->write; in inflate_fast() 188 if (write == 0) { /* very common case */ in inflate_fast() 198 else if (write < op) { /* wrap around window */ in inflate_fast() 199 from += wsize + write - op; in inflate_fast() 200 op -= write; in inflate_fast() 207 if (write < len) { /* some from start of window */ in inflate_fast() 208 op = write; in inflate_fast() 218 from += write - op; in inflate_fast()
|
/linux-4.19.296/include/trace/events/ |
D | fsi.h | 72 bool write, const void *data, int ret), 73 TP_ARGS(master, link, id, addr, size, write, data, ret), 80 __field(bool, write) 90 __entry->write = write; 93 if (__entry->write || !__entry->ret) 102 __entry->write ? "<=" : "=>",
|
/linux-4.19.296/drivers/media/radio/ |
D | radio-wl1273.c | 298 r = core->write(core, WL1273_TUNER_MODE_SET, in wl1273_fm_irq_thread_handler() 336 core->write(core, WL1273_INT_MASK_SET, radio->irq_flags); in wl1273_fm_irq_thread_handler() 371 r = core->write(core, WL1273_CHANL_SET, freq / 10); in wl1273_fm_set_tx_freq() 385 r = core->write(core, WL1273_POWER_ENB_SET, 1); in wl1273_fm_set_tx_freq() 426 core->write(core, WL1273_INT_MASK_SET, radio->irq_flags); in wl1273_fm_set_rx_freq() 433 r = core->write(core, WL1273_FREQ_SET, f); in wl1273_fm_set_rx_freq() 439 r = core->write(core, WL1273_TUNER_MODE_SET, TUNER_MODE_PRESET); in wl1273_fm_set_rx_freq() 530 core->write(core, WL1273_RESET, 0); in wl1273_fm_upload_firmware_patch() 543 int r = core->write(core, WL1273_POWER_SET, in wl1273_fm_stop() 549 int r = core->write(core, WL1273_PUPD_SET, in wl1273_fm_stop() [all …]
|
/linux-4.19.296/fs/proc/ |
D | proc_net.c | 49 if (file->f_mode & FMODE_WRITE && !PDE(inode)->write) in seq_open_net() 79 .write = proc_simple_write, 129 proc_write_t write, in proc_create_net_data_write() argument 141 p->write = write; in proc_create_net_data_write() 172 .write = proc_simple_write, 221 proc_write_t write, in proc_create_net_single_write() argument 232 p->write = write; in proc_create_net_single_write()
|
/linux-4.19.296/drivers/misc/sgi-gru/ |
D | grufault.c | 191 unsigned long vaddr, int write, in non_atomic_pte_lookup() argument 201 if (get_user_pages(vaddr, 1, write ? FOLL_WRITE : 0, &page, NULL) <= 0) in non_atomic_pte_lookup() 219 int write, unsigned long *paddr, int *pageshift) in atomic_pte_lookup() argument 250 (write && (!pte_write(pte) || !pte_dirty(pte))))) in atomic_pte_lookup() 266 int write, int atomic, unsigned long *gpa, int *pageshift) in gru_vtop() argument 282 ret = atomic_pte_lookup(vma, vaddr, write, &paddr, &ps); in gru_vtop() 286 if (non_atomic_pte_lookup(vma, vaddr, write, &paddr, &ps)) in gru_vtop() 324 unsigned long fault_vaddr, int asid, int write, in gru_preload_tlb() argument 345 ret = gru_vtop(gts, vaddr, write, atomic, &gpa, &pageshift); in gru_preload_tlb() 346 if (ret || tfh_write_only(tfh, gpa, GAA_RAM, vaddr, asid, write, in gru_preload_tlb() [all …]
|
/linux-4.19.296/drivers/parport/ |
D | procfs.c | 36 static int do_active_device(struct ctl_table *table, int write, in do_active_device() argument 44 if (write) /* can't happen anyway */ in do_active_device() 73 static int do_autoprobe(struct ctl_table *table, int write, in do_autoprobe() argument 81 if (write) /* permissions stop this */ in do_autoprobe() 115 static int do_hardware_base_addr(struct ctl_table *table, int write, in do_hardware_base_addr() argument 128 if (write) /* permissions prevent this anyway */ in do_hardware_base_addr() 143 static int do_hardware_irq(struct ctl_table *table, int write, in do_hardware_irq() argument 156 if (write) /* permissions prevent this anyway */ in do_hardware_irq() 171 static int do_hardware_dma(struct ctl_table *table, int write, in do_hardware_dma() argument 184 if (write) /* permissions prevent this anyway */ in do_hardware_dma() [all …]
|
/linux-4.19.296/fs/xfs/ |
D | xfs_sysctl.c | 18 int write, in xfs_stats_clear_proc_handler() argument 25 ret = proc_dointvec_minmax(ctl, write, buffer, lenp, ppos); in xfs_stats_clear_proc_handler() 27 if (!ret && write && *valp) { in xfs_stats_clear_proc_handler() 38 int write, in xfs_panic_mask_proc_handler() argument 45 ret = proc_dointvec_minmax(ctl, write, buffer, lenp, ppos); in xfs_panic_mask_proc_handler() 46 if (!ret && write) { in xfs_panic_mask_proc_handler()
|
/linux-4.19.296/drivers/gpio/ |
D | gpio-max730x.c | 74 ret = ts->write(ts->dev, 0x08 + (offset >> 2), *config); in max7301_direction_input() 85 return ts->write(ts->dev, 0x20 + offset, 0x01); in __max7301_set() 88 return ts->write(ts->dev, 0x20 + offset, 0x00); in __max7301_set() 114 ret = ts->write(ts->dev, 0x08 + (offset >> 2), *config); in max7301_direction_output() 175 ts->write(dev, 0x04, 0x01); in __max730x_probe() 236 ts->write(dev, 0x04, 0x00); in __max730x_remove()
|
/linux-4.19.296/drivers/xen/xen-pciback/ |
D | conf_space.c | 36 DEFINE_PCI_CONFIG(write, byte, u8) in DEFINE_PCI_CONFIG() 37 DEFINE_PCI_CONFIG(write, word, u16) in DEFINE_PCI_CONFIG() 38 DEFINE_PCI_CONFIG(write, dword, u32) in DEFINE_PCI_CONFIG() 77 if (field->u.b.write) in conf_space_write() 78 ret = field->u.b.write(dev, offset, (u8) value, in conf_space_write() 82 if (field->u.w.write) in conf_space_write() 83 ret = field->u.w.write(dev, offset, (u16) value, in conf_space_write() 87 if (field->u.dw.write) in conf_space_write() 88 ret = field->u.dw.write(dev, offset, value, in conf_space_write()
|
/linux-4.19.296/fs/adfs/ |
D | Kconfig | 10 write to those devices, say Y to "ADFS write support" below. 22 bool "ADFS write support (DANGEROUS)" 25 If you say Y here, you will be able to write to ADFS partitions on
|
/linux-4.19.296/fs/sysfs/ |
D | file.c | 159 if (!battr->write) in sysfs_kf_bin_write() 162 return battr->write(of->file, kobj, battr, buf, pos, count); in sysfs_kf_bin_write() 204 .write = sysfs_kf_write, 209 .write = sysfs_kf_write, 218 .write = sysfs_kf_write, 224 .write = sysfs_kf_write, 233 .write = sysfs_kf_bin_write, 238 .write = sysfs_kf_bin_write, 243 .write = sysfs_kf_bin_write, 290 else if (battr->read && battr->write) in sysfs_add_file_mode_ns() [all …]
|
/linux-4.19.296/include/kvm/ |
D | iodev.h | 35 int (*write)(struct kvm_vcpu *vcpu, member 66 return dev->ops->write ? dev->ops->write(vcpu, dev, addr, l, v) in kvm_iodevice_write()
|
/linux-4.19.296/fs/ |
D | drop_caches.c | 49 int drop_caches_sysctl_handler(struct ctl_table *table, int write, in drop_caches_sysctl_handler() argument 54 ret = proc_dointvec_minmax(table, write, buffer, length, ppos); in drop_caches_sysctl_handler() 57 if (write) { in drop_caches_sysctl_handler()
|
/linux-4.19.296/drivers/irqchip/ |
D | irq-crossbar.c | 44 void (*write)(int, int); member 110 cb->write(i, hwirq); in allocate_gic_irq() 167 cb->write(d->hwirq, cb->safe_map); in crossbar_domain_free() 283 cb->write = crossbar_writeb; in crossbar_of_init() 286 cb->write = crossbar_writew; in crossbar_of_init() 289 cb->write = crossbar_writel; in crossbar_of_init() 317 cb->write(i, cb->safe_map); in crossbar_of_init()
|
/linux-4.19.296/fs/ntfs/ |
D | Kconfig | 8 safe, write support available. For write support you must also 9 say Y to "NTFS write support" below. 52 bool "NTFS write support" 55 This enables the partial, but safe, write support in the NTFS driver. 67 Note: While write support is safe in this version (a rewrite from 69 write support, included in Linux 2.5.10 and before (since 1997),
|
/linux-4.19.296/drivers/misc/lis3lv02d/ |
D | lis3lv02d.c | 270 lis3->write(lis3, CTRL_REG1, in lis3lv02d_set_odr() 297 lis3->write(lis3, CTRL_REG3, (ctrl_reg_data & in lis3lv02d_selftest() 314 lis3->write(lis3, ctlreg, (reg | selftest)); in lis3lv02d_selftest() 325 lis3->write(lis3, ctlreg, reg); in lis3lv02d_selftest() 339 lis3->write(lis3, CTRL_REG3, ctrl_reg_data); in lis3lv02d_selftest() 402 lis3->write(lis3, lis3->regs[i], lis3->reg_cache[i]); in lis3_context_restore() 410 lis3->write(lis3, CTRL_REG1, 0x00); in lis3lv02d_poweroff() 437 lis3->write(lis3, CTRL_REG2, reg); in lis3lv02d_poweron() 442 lis3->write(lis3, CTRL_REG4, reg); in lis3lv02d_poweron() 912 lis3->write(lis3, CLICK_CFG, p->click_flags); in lis3lv02d_8b_configure() [all …]
|
/linux-4.19.296/drivers/misc/eeprom/ |
D | Kconfig | 9 Enable this driver to get read/write support to most I2C EEPROMs 22 has any software write-protect mechanism you may want to review the 37 Enable this driver to get read/write support to most SPI EEPROMs, 73 The driver supports both read as well as write commands. 84 supports both read and write commands and also the command to 99 EEPROM allowing to read/write the configuration data or to 108 Enable this driver to get read/write access to EEPROM / CSRs
|
/linux-4.19.296/fs/jffs2/ |
D | README.Locking | 16 upon write completion (jffs2_complete_reservation()). Note that 19 preventing any other write activity on the file system during a 26 until this happens we ensure that any data in the write-buffer at the 29 don't actually get erased until the write-buffer has been flushed to 32 With the introduction of NAND flash support and the write-buffer, 141 This read/write semaphore protects against concurrent access to the 142 write-behind buffer ('wbuf') used for flash chips where we must write 154 This read/write semaphore protects against concurrent access to the 156 In read-only path, write-semaphore is too much exclusion. It's enough 157 by read-semaphore. But you must hold write-semaphore when updating, [all …]
|
/linux-4.19.296/include/linux/ |
D | swapops.h | 106 static inline swp_entry_t make_device_private_entry(struct page *page, bool write) in make_device_private_entry() argument 108 return swp_entry(write ? SWP_DEVICE_WRITE : SWP_DEVICE_READ, in make_device_private_entry() 144 static inline swp_entry_t make_device_private_entry(struct page *page, bool write) in make_device_private_entry() argument 184 static inline swp_entry_t make_migration_entry(struct page *page, int write) in make_migration_entry() argument 188 return swp_entry(write ? SWP_MIGRATION_WRITE : SWP_MIGRATION_READ, in make_migration_entry() 232 #define make_migration_entry(page, write) swp_entry(0, 0) argument
|