Home
last modified time | relevance | path

Searched refs:write (Results 1 – 200 of 2846) sorted by relevance

12345678910>>...15

/linux-4.4.14/drivers/isdn/gigaset/
Disocdata.c28 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.4.14/drivers/iio/dac/
Dad5446.c57 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.4.14/Documentation/DocBook/
Dmtdnand.xml.db29 API-nand-write-byte
30 API-nand-write-byte16
31 API-nand-write-buf
33 API-nand-write-buf16
64 API-nand-write-oob-std
65 API-nand-write-oob-syndrome
68 API-nand-write-page-raw
69 API-nand-write-page-raw-syndrome
70 API-nand-write-page-swecc
71 API-nand-write-page-hwecc
[all …]
Dw1.xml.db20 API-w1-write-8
22 API-w1-write-block
30 API-w1-write-bit
31 API-w1-pre-write
32 API-w1-post-write
Dz8530book.xml.db15 API-z8530-write-port
18 API-write-zsreg
19 API-write-zsctrl
20 API-write-zsdata
Drapidio.xml.db2 API-rio-local-write-config-32
4 API-rio-local-write-config-16
6 API-rio-local-write-config-8
8 API-rio-write-config-32
10 API-rio-write-config-16
12 API-rio-write-config-8
124 API-fsl-local-config-write
126 API-fsl-rio-config-write
/linux-4.4.14/arch/mips/mm/
Dgup.c38 int write, struct page **pages, int *nr) in gup_pte_range() argument
46 pte_special(pte) || (write && !pte_write(pte))) { in gup_pte_range()
72 int write, struct page **pages, int *nr) in gup_huge_pmd() argument
78 if (write && !pte_write(pte)) in gup_huge_pmd()
102 int write, struct page **pages, int *nr) in gup_pmd_range() argument
126 if (!gup_huge_pmd(pmd, addr, next, write, pages,nr)) in gup_pmd_range()
129 if (!gup_pte_range(pmd, addr, next, write, pages,nr)) in gup_pmd_range()
138 int write, struct page **pages, int *nr) in gup_huge_pud() argument
144 if (write && !pte_write(pte)) in gup_huge_pud()
168 int write, struct page **pages, int *nr) in gup_pud_range() argument
[all …]
Dtlbex-fault.S13 .macro tlb_do_page_fault, write
14 NESTED(tlb_do_page_fault_\write, PT_SIZE, sp)
20 li a1, \write
23 END(tlb_do_page_fault_\write)
Dfault.c39 static void __kprobes __do_page_fault(struct pt_regs *regs, unsigned long write, in __do_page_fault() argument
54 current->comm, current->pid, field, address, write, in __do_page_fault()
118 if (write) { in __do_page_fault()
129 field, address, write, in __do_page_fault()
140 field, address, write, in __do_page_fault()
209 tsk->thread.error_code = write; in __do_page_fault()
215 write ? "write access to" : "read access from", in __do_page_fault()
279 write ? "write access to" : "read access from", in __do_page_fault()
336 unsigned long write, unsigned long address) in do_page_fault() argument
341 __do_page_fault(regs, write, address); in do_page_fault()
/linux-4.4.14/arch/sh/mm/
Dgup.c75 unsigned long end, int write, struct page **pages, int *nr) in gup_pte_range() argument
82 if (write) in gup_pte_range()
86 if (write) in gup_pte_range()
90 if (write) in gup_pte_range()
120 int write, struct page **pages, int *nr) in gup_pmd_range() argument
132 if (!gup_pte_range(pmd, addr, next, write, pages, nr)) in gup_pmd_range()
140 int write, struct page **pages, int *nr) in gup_pud_range() argument
152 if (!gup_pmd_range(pud, addr, next, write, pages, nr)) in gup_pud_range()
163 int __get_user_pages_fast(unsigned long start, int nr_pages, int write, in __get_user_pages_fast() argument
177 if (unlikely(!access_ok(write ? VERIFY_WRITE : VERIFY_READ, in __get_user_pages_fast()
[all …]
/linux-4.4.14/arch/mips/lasat/
Dsysctl.c42 int proc_dolasatstring(struct ctl_table *table, int write, in proc_dolasatstring() argument
47 r = proc_dostring(table, write, buffer, lenp, ppos); in proc_dolasatstring()
48 if ((!write) || r) in proc_dolasatstring()
60 int proc_dolasatrtc(struct ctl_table *table, int write, in proc_dolasatrtc() argument
66 if (!write) { in proc_dolasatrtc()
73 r = proc_dointvec(table, write, buffer, lenp, ppos); in proc_dolasatrtc()
77 if (write) in proc_dolasatrtc()
85 int proc_lasat_ip(struct ctl_table *table, int write, in proc_lasat_ip() argument
94 (*ppos && !write)) { in proc_lasat_ip()
99 if (write) { in proc_lasat_ip()
[all …]
/linux-4.4.14/arch/x86/mm/
Dgup.c72 unsigned long end, int write, struct page **pages, int *nr) in gup_pte_range() argument
78 if (write) in gup_pte_range()
118 unsigned long end, int write, struct page **pages, int *nr) in gup_huge_pmd() argument
125 if (write) in gup_huge_pmd()
151 int write, struct page **pages, int *nr) in gup_pmd_range() argument
182 if (!gup_huge_pmd(pmd, addr, next, write, pages, nr)) in gup_pmd_range()
185 if (!gup_pte_range(pmd, addr, next, write, pages, nr)) in gup_pmd_range()
194 unsigned long end, int write, struct page **pages, int *nr) in gup_huge_pud() argument
201 if (write) in gup_huge_pud()
227 int write, struct page **pages, int *nr) in gup_pud_range() argument
[all …]
/linux-4.4.14/arch/sparc/mm/
Dgup.c21 unsigned long end, int write, struct page **pages, int *nr) in gup_pte_range() argument
28 if (write) in gup_pte_range()
32 if (write) in gup_pte_range()
70 unsigned long end, int write, struct page **pages, in gup_huge_pmd() argument
79 if (write && !pmd_write(pmd)) in gup_huge_pmd()
119 int write, struct page **pages, int *nr) in gup_pmd_range() argument
133 write, pages, nr)) in gup_pmd_range()
135 } else if (!gup_pte_range(pmd, addr, next, write, in gup_pmd_range()
144 int write, struct page **pages, int *nr) in gup_pud_range() argument
156 if (!gup_pmd_range(pud, addr, next, write, pages, nr)) in gup_pud_range()
[all …]
Dfault_32.c167 asmlinkage void do_sparc_fault(struct pt_regs *regs, int text_fault, int write, in do_sparc_fault() argument
225 if (write) { in do_sparc_fault()
236 if (write) in do_sparc_fault()
384 static void force_user_fault(unsigned long address, int write) in force_user_fault() argument
406 if (write) { in force_user_fault()
/linux-4.4.14/net/sctp/
Dsysctl.c61 static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write,
64 static int proc_sctp_do_rto_min(struct ctl_table *ctl, int write,
67 static int proc_sctp_do_rto_max(struct ctl_table *ctl, int write,
70 static int proc_sctp_do_alpha_beta(struct ctl_table *ctl, int write,
73 static int proc_sctp_do_auth(struct ctl_table *ctl, int write,
315 static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write, in proc_sctp_do_hmac_alg() argument
328 if (write) { in proc_sctp_do_hmac_alg()
336 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_hmac_alg()
337 if (write && ret == 0) { in proc_sctp_do_hmac_alg()
361 static int proc_sctp_do_rto_min(struct ctl_table *ctl, int write, in proc_sctp_do_rto_min() argument
[all …]
/linux-4.4.14/arch/s390/mm/
Dgup.c21 unsigned long end, int write, struct page **pages, int *nr) in gup_pte_range() argument
27 mask = (write ? _PAGE_PROTECT : 0) | _PAGE_INVALID | _PAGE_SPECIAL; in gup_pte_range()
55 unsigned long end, int write, struct page **pages, int *nr) in gup_huge_pmd() argument
61 result = write ? 0 : _SEGMENT_ENTRY_PROTECT; in gup_huge_pmd()
106 unsigned long end, int write, struct page **pages, int *nr) in gup_pmd_range() argument
139 write, pages, nr)) in gup_pmd_range()
142 write, pages, nr)) in gup_pmd_range()
150 unsigned long end, int write, struct page **pages, int *nr) in gup_pud_range() argument
165 if (!gup_pmd_range(pudp, pud, addr, next, write, pages, nr)) in gup_pud_range()
176 int __get_user_pages_fast(unsigned long start, int nr_pages, int write, in __get_user_pages_fast() argument
[all …]
Dcmm.c256 static int cmm_pages_handler(struct ctl_table *ctl, int write, in cmm_pages_handler() argument
263 if (!*lenp || (*ppos && !write)) { in cmm_pages_handler()
268 if (write) { in cmm_pages_handler()
296 static int cmm_timeout_handler(struct ctl_table *ctl, int write, in cmm_timeout_handler() argument
303 if (!*lenp || (*ppos && !write)) { in cmm_timeout_handler()
308 if (write) { in cmm_timeout_handler()
/linux-4.4.14/kernel/
Dsysctl.c178 static int proc_do_cad_pid(struct ctl_table *table, int write,
180 static int proc_taint(struct ctl_table *table, int write,
185 static int proc_dointvec_minmax_sysadmin(struct ctl_table *table, int write,
189 static int proc_dointvec_minmax_coredump(struct ctl_table *table, int write,
192 static int proc_dostring_coredump(struct ctl_table *table, int write,
200 static int sysrq_sysctl_handler(struct ctl_table *table, int write, in sysrq_sysctl_handler() argument
206 error = proc_dointvec(table, write, buffer, lenp, ppos); in sysrq_sysctl_handler()
210 if (write) in sysrq_sysctl_handler()
1800 static int _proc_do_string(char *data, int maxlen, int write, in _proc_do_string() argument
1813 if (write) { in _proc_do_string()
[all …]
Dutsname_sysctl.c20 static void *get_uts(struct ctl_table *table, int write) in get_uts() argument
28 if (!write) in get_uts()
35 static void put_uts(struct ctl_table *table, int write, void *which) in put_uts() argument
37 if (!write) in put_uts()
47 static int proc_do_uts_string(struct ctl_table *table, int write, in proc_do_uts_string() argument
53 uts_table.data = get_uts(table, write); in proc_do_uts_string()
54 r = proc_dostring(&uts_table, write, buffer, lenp, ppos); in proc_do_uts_string()
55 put_uts(table, write, uts_table.data); in proc_do_uts_string()
57 if (write) in proc_do_uts_string()
Dwatchdog.c856 static int proc_watchdog_common(int which, struct ctl_table *table, int write, in proc_watchdog_common() argument
876 if (!write) { in proc_watchdog_common()
878 err = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_watchdog_common()
880 err = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_watchdog_common()
924 int proc_watchdog(struct ctl_table *table, int write, in proc_watchdog() argument
928 table, write, buffer, lenp, ppos); in proc_watchdog()
934 int proc_nmi_watchdog(struct ctl_table *table, int write, in proc_nmi_watchdog() argument
938 table, write, buffer, lenp, ppos); in proc_nmi_watchdog()
944 int proc_soft_watchdog(struct ctl_table *table, int write, in proc_soft_watchdog() argument
948 table, write, buffer, lenp, ppos); in proc_soft_watchdog()
[all …]
Dhung_task.c197 int proc_dohung_task_timeout_secs(struct ctl_table *table, int write, in proc_dohung_task_timeout_secs() argument
203 ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos); in proc_dohung_task_timeout_secs()
205 if (ret || !write) in proc_dohung_task_timeout_secs()
/linux-4.4.14/drivers/rtc/
Drtc-bq4802.c26 void (*write)(struct bq4802 *, int, u8); member
60 p->write(p, 0xe, val | 0x08); in bq4802_read_time()
71 p->write(p, 0x0e, val); in bq4802_read_time()
121 p->write(p, 0x0e, val | 0x08); in bq4802_set_time()
123 p->write(p, 0x00, sec); in bq4802_set_time()
124 p->write(p, 0x02, min); in bq4802_set_time()
125 p->write(p, 0x04, hrs); in bq4802_set_time()
126 p->write(p, 0x06, day); in bq4802_set_time()
127 p->write(p, 0x09, mon); in bq4802_set_time()
128 p->write(p, 0x0a, yrs); in bq4802_set_time()
[all …]
Drtc-ds1685.c114 rtc->write(rtc, RTC_CTRL_A, in ds1685_rtc_switch_to_bank0()
125 rtc->write(rtc, RTC_CTRL_A, in ds1685_rtc_switch_to_bank1()
146 rtc->write(rtc, RTC_CTRL_B, in ds1685_rtc_begin_data_access()
172 rtc->write(rtc, RTC_CTRL_B, in ds1685_rtc_end_data_access()
350 rtc->write(rtc, RTC_CTRL_B, ctrlb); in ds1685_rtc_set_time()
351 rtc->write(rtc, RTC_SECS, seconds); in ds1685_rtc_set_time()
352 rtc->write(rtc, RTC_MINS, minutes); in ds1685_rtc_set_time()
353 rtc->write(rtc, RTC_HRS, hours); in ds1685_rtc_set_time()
354 rtc->write(rtc, RTC_WDAY, wday); in ds1685_rtc_set_time()
355 rtc->write(rtc, RTC_MDAY, mday); in ds1685_rtc_set_time()
[all …]
Drtc-pm8xxx.c46 unsigned int write; member
119 rc = regmap_write(rtc_dd->regmap, regs->write, 0); in pm8xxx_rtc_set_time()
126 rc = regmap_bulk_write(rtc_dd->regmap, regs->write + 1, in pm8xxx_rtc_set_time()
134 rc = regmap_write(rtc_dd->regmap, regs->write, value[0]); in pm8xxx_rtc_set_time()
398 .write = 0x11f,
408 .write = 0x1ea,
418 .write = 0x6040,
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
Dmodule.c332 static int proc_call_handler(void *data, int write, loff_t *ppos, in proc_call_handler() argument
334 int (*handler)(void *data, int write, in proc_call_handler()
337 int rc = handler(data, write, *ppos, buffer, *lenp); in proc_call_handler()
342 if (write) { in proc_call_handler()
351 static int __proc_dobitmasks(void *data, int write, in __proc_dobitmasks() argument
365 if (!write) { in __proc_dobitmasks()
392 static int proc_dobitmasks(struct ctl_table *table, int write, in proc_dobitmasks() argument
395 return proc_call_handler(table->data, write, ppos, buffer, lenp, in proc_dobitmasks()
399 static int __proc_dump_kernel(void *data, int write, in __proc_dump_kernel() argument
402 if (!write) in __proc_dump_kernel()
[all …]
/linux-4.4.14/drivers/mfd/
Dtps65912-irq.c82 tps65912->write(tps65912, TPS65912_INT_STS, 1, &reg); in tps65912_irq()
86 tps65912->write(tps65912, TPS65912_INT_STS2, 1, &reg); in tps65912_irq()
90 tps65912->write(tps65912, TPS65912_INT_STS3, 1, &reg); in tps65912_irq()
93 tps65912->write(tps65912, TPS65912_INT_STS4, 1, &reg); in tps65912_irq()
122 tps65912->write(tps65912, TPS65912_INT_MSK, 1, &reg); in tps65912_irq_sync_unlock()
124 tps65912->write(tps65912, TPS65912_INT_MSK2, 1, &reg); in tps65912_irq_sync_unlock()
126 tps65912->write(tps65912, TPS65912_INT_MSK3, 1, &reg); in tps65912_irq_sync_unlock()
128 tps65912->write(tps65912, TPS65912_INT_MSK4, 1, &reg); in tps65912_irq_sync_unlock()
175 tps65912->write(tps65912, TPS65912_INT_STS, 1, &reg); in tps65912_irq_init()
177 tps65912->write(tps65912, TPS65912_INT_STS2, 1, &reg); in tps65912_irq_init()
[all …]
Dtps65912-core.c43 err = tps65912->write(tps65912, reg, 1, &data); in tps65912_set_bits()
66 err = tps65912->write(tps65912, reg, 1, &data); in tps65912_clear_bits()
90 return tps65912->write(tps65912, reg, 1, &val); in tps65912_write()
143 tps65912->write(tps65912, TPS65912_I2C_SPI_CFG, 1, &dcdc_avs); in tps65912_device_init()
/linux-4.4.14/arch/arm/mach-omap2/
Dvp.c25 voltdm->write(vpconfig, vp->vpconfig); in _vp_set_init_voltage()
28 voltdm->write((vpconfig | vp->common->vpconfig_initvdd), in _vp_set_init_voltage()
32 voltdm->write(vpconfig, vp->vpconfig); in _vp_set_init_voltage()
49 if (!voltdm->read || !voltdm->write) { in omap_vp_init()
78 voltdm->write(val, vp->vpconfig); in omap_vp_init()
83 voltdm->write(val, vp->vstepmin); in omap_vp_init()
88 voltdm->write(val, vp->vstepmax); in omap_vp_init()
94 voltdm->write(val, vp->vlimitto); in omap_vp_init()
151 voltdm->write(vpconfig | vp->common->vpconfig_forceupdate, in omap_vp_forceupdate_scale()
184 voltdm->write(vpconfig, vp->vpconfig); in omap_vp_forceupdate_scale()
[all …]
Dvc.c133 if (!voltdm->read || !voltdm->write) { in omap_vc_pre_scale()
146 voltdm->write(vc_cmdval, vc->cmdval_reg); in omap_vc_pre_scale()
188 voltdm->write(vc_bypass_value, vc_bypass_val_reg); in omap_vc_bypass_scale()
189 voltdm->write(vc_bypass_value | vc_valid, vc_bypass_val_reg); in omap_vc_bypass_scale()
268 vd->write(voltctrl, OMAP3_PRM_VOLTCTRL_OFFSET); in omap3_vc_set_pmic_signaling()
272 vd->write(c->voltsetup1, in omap3_vc_set_pmic_signaling()
277 vd->write(c->voltsetup2, in omap3_vc_set_pmic_signaling()
304 voltdm->write(val, OMAP3_PRM_POLCTRL_OFFSET); in omap3_vc_init_pmic_signaling()
323 voltdm->write(val, OMAP3_PRM_VOLTCTRL_OFFSET); in omap3_vc_init_pmic_signaling()
409 voltdm->write(clksetup, OMAP3_PRM_CLKSETUP_OFFSET); in omap3_set_off_timings()
[all …]
Dvoltagedomains54xx_data.c40 .write = omap4_prm_vcvp_write,
51 .write = omap4_prm_vcvp_write,
62 .write = omap4_prm_vcvp_write,
Dvoltagedomains44xx_data.c54 .write = omap4_prm_vcvp_write,
65 .write = omap4_prm_vcvp_write,
76 .write = omap4_prm_vcvp_write,
Dsleep34xx.S91 str r1, [r2, r3] @ write to l2dis_3630
115 dsb @ data write barrier
239 str r5, [r4] @ write back to SDRC_POWER register
447 dsb @ data write barrier
458 dsb @ data write barrier
473 dsb @ data write barrier
556 str r5, [r4] @ write back change
559 str r5, [r4] @ write back change
562 str r5, [r4] @ write back change
568 str r5, [r4] @ write back change
[all …]
/linux-4.4.14/arch/frv/kernel/
Dpm.c153 static int sysctl_pm_do_suspend(struct ctl_table *ctl, int write, in sysctl_pm_do_suspend() argument
200 static int cmode_procctl(struct ctl_table *ctl, int write, in cmode_procctl() argument
205 if (!write) in cmode_procctl()
206 return proc_dointvec(ctl, write, buffer, lenp, fpos); in cmode_procctl()
272 static int p0_procctl(struct ctl_table *ctl, int write, in p0_procctl() argument
277 if (!write) in p0_procctl()
278 return proc_dointvec(ctl, write, buffer, lenp, fpos); in p0_procctl()
285 static int cm_procctl(struct ctl_table *ctl, int write, in cm_procctl() argument
290 if (!write) in cm_procctl()
291 return proc_dointvec(ctl, write, buffer, lenp, fpos); in cm_procctl()
Dsysctl.c49 static int procctl_frv_cachemode(struct ctl_table *table, int write, in procctl_frv_cachemode() argument
59 if (write) { in procctl_frv_cachemode()
124 static int procctl_frv_pin_cxnr(struct ctl_table *table, int write, in procctl_frv_pin_cxnr() argument
134 if (write) { in procctl_frv_pin_cxnr()
/linux-4.4.14/ipc/
Dipc_sysctl.c30 static int proc_ipc_dointvec(struct ctl_table *table, int write, in proc_ipc_dointvec() argument
38 return proc_dointvec(&ipc_table, write, buffer, lenp, ppos); in proc_ipc_dointvec()
41 static int proc_ipc_dointvec_minmax(struct ctl_table *table, int write, in proc_ipc_dointvec_minmax() argument
49 return proc_dointvec_minmax(&ipc_table, write, buffer, lenp, ppos); in proc_ipc_dointvec_minmax()
52 static int proc_ipc_dointvec_minmax_orphans(struct ctl_table *table, int write, in proc_ipc_dointvec_minmax_orphans() argument
56 int err = proc_ipc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_ipc_dointvec_minmax_orphans()
65 static int proc_ipc_doulongvec_minmax(struct ctl_table *table, int write, in proc_ipc_doulongvec_minmax() argument
72 return proc_doulongvec_minmax(&ipc_table, write, buffer, in proc_ipc_doulongvec_minmax()
76 static int proc_ipc_auto_msgmni(struct ctl_table *table, int write, in proc_ipc_auto_msgmni() argument
85 if (write) in proc_ipc_auto_msgmni()
[all …]
Dmq_sysctl.c25 static int proc_mq_dointvec(struct ctl_table *table, int write, in proc_mq_dointvec() argument
32 return proc_dointvec(&mq_table, write, buffer, lenp, ppos); in proc_mq_dointvec()
35 static int proc_mq_dointvec_minmax(struct ctl_table *table, int write, in proc_mq_dointvec_minmax() argument
42 return proc_dointvec_minmax(&mq_table, write, buffer, in proc_mq_dointvec_minmax()
/linux-4.4.14/scripts/gdb/linux/
Dlists.py29 gdb.write("Starting with: {}\n".format(c))
31 gdb.write('head is not accessible\n')
38 gdb.write('prev.next != current: '
48 gdb.write('prev is not accessible: '
56 gdb.write('next.prev != current: '
66 gdb.write('next is not accessible: '
75 gdb.write("list is consistent: {} node(s)\n".format(nb))
Dsymbols.py44 gdb.write("refreshing all symbols to reload module "
77 gdb.write("scanning for modules in {0}\n".format(path))
119 gdb.write("loading @{addr}: {filename}\n".format(
129 gdb.write("no module object found for '{0}'\n".format(module_name))
132 gdb.write("loading vmlinux\n")
148 gdb.write("no modules found\n")
172 gdb.write("Note: symbol update on module loading not supported "
Dmodules.py71 gdb.write(
76 gdb.write("{address} {name:<19} {size:>8} {ref}".format(
88 gdb.write("{separator}{name}".format(
93 gdb.write("\n")
/linux-4.4.14/arch/parisc/kernel/
Dperf_asm.S1398 sync ; RDR 0 write sequence
1407 sync ; RDR 1 write sequence
1416 sync ; RDR 2 write sequence
1425 sync ; RDR 3 write sequence
1434 sync ; RDR 4 write sequence
1443 sync ; RDR 5 write sequence
1452 sync ; RDR 6 write sequence
1461 sync ; RDR 7 write sequence
1470 sync ; RDR 8 write sequence
1479 sync ; RDR 9 write sequence
[all …]
/linux-4.4.14/Documentation/networking/
Dcxacru-cf.py39 sys.stdout.write("\n")
40 sys.stderr.write("Error: read {0} not 4 bytes\n".format(len(buf)))
44 sys.stdout.write(" ")
45 sys.stdout.write("{0:x}={1}".format(i, struct.unpack("<I", buf)[0]))
48 sys.stdout.write("\n")
/linux-4.4.14/Documentation/ABI/testing/
Dconfigfs-spear-pcie-gadget23 inta ... write 1 to assert INTA and 0 to de-assert.
24 send_msi ... write MSI vector to be sent.
25 vendor_id ... used to write and read vendor id (hex)
26 device_id ... used to write and read device id (hex)
27 bar0_size ... used to write and read bar0_size
28 bar0_address ... used to write and read bar0 mapped area in hex.
29 bar0_rw_offset ... used to write and read offset of bar0 where
31 bar0_data ... used to write and read data at bar0_rw_offset.
Dsysfs-class-bdi29 read_ahead_kb (read-write)
33 min_ratio (read-write)
36 total write-back cache that relates to its current average
40 percentage of the write-back cache to a particular device.
43 max_ratio (read-write)
46 given percentage of the write-back cache. This is useful in
48 most of the write-back cache. For example in case of an NFS
54 If set, the backing device requires that all pages comprising a write
Dsysfs-class-fpga-manager30 * write init = preparing FPGA for programming
31 * write init error = Error while preparing FPGA for
33 * write = FPGA ready to receive image data
34 * write error = Error while programming
35 * write complete = Doing post programming steps
36 * write complete error = Error while doing post programming
Dsysfs-class-pktcdvd35 kb_read_gather (0444) kBytes read to fill write packets.
42 size (0444) Contains the size of the bio write
45 congestion_off (0644) If bio write queue size is below
49 congestion_on (0644) If bio write queue size is higher
51 bio write requests from the block
54 so that bio write queue size is
Dsysfs-ptp90 This write-only file enables or disables external
91 timestamps. To enable external timestamps, write the
93 To disable external timestamps, write the channel
108 This write-only file enables or disables periodic
109 outputs. To enable a periodic output, write five
119 This write-only file enables or disables delivery of
121 events, write a "1" into the file. To disable events,
122 write a "0" into the file.
Dsysfs-block-zram5 The disksize file is read-write and specifies the disk size
21 The reset file is write-only and allows resetting the
64 The max_comp_streams file is read-write and specifies the
72 The comp_algorithm file is read-write and lets to show
130 The mem_used_max file is read/write and specifies the amount
132 For resetting the value, you should write "0". Otherwise,
140 The mem_limit file is read/write and specifies the maximum
149 The compact file is write-only and trigger compaction for
Dsysfs-driver-pciback8 to write and read from the PCI device. That is Domain:Bus:
12 will allow the guest to read and write to the configuration
Dsysfs-driver-st7 off if you write a '0' to the file or on if you write a '1'.
Dsysfs-kernel-mm-ksm36 run: write 0 to disable ksm, read 0 while ksm is disabled.
37 write 1 to run ksm, read 1 while ksm is running.
38 write 2 to disable ksm and unmerge all its pages.
/linux-4.4.14/drivers/isdn/hardware/eicon/
Ddqueue.c29 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.4.14/arch/tile/mm/
Dfault.c213 int is_kernel_mode, int write) in handle_migrating_pte() argument
245 } else if (write) { in handle_migrating_pte()
265 int write) in handle_page_fault() argument
279 write = 1; in handle_page_fault()
312 is_kernel_mode, write)) in handle_page_fault()
420 } else if (write) { in handle_page_fault()
605 int write = info & 1; in do_page_fault_ics() local
610 do_page_fault, fault_num, address, write, 1 in do_page_fault_ics()
620 old_pc, fault_num, write, address); in do_page_fault_ics()
683 write = 1; in do_page_fault_ics()
[all …]
/linux-4.4.14/mm/
Dgup.c625 int write, int force, in __get_user_pages_locked() argument
643 if (write) in __get_user_pages_locked()
740 int write, int force, struct page **pages, in get_user_pages_locked() argument
743 return __get_user_pages_locked(tsk, mm, start, nr_pages, write, force, in get_user_pages_locked()
760 int write, int force, struct page **pages, in __get_user_pages_unlocked() argument
766 ret = __get_user_pages_locked(tsk, mm, start, nr_pages, write, force, in __get_user_pages_unlocked()
793 int write, int force, struct page **pages) in get_user_pages_unlocked() argument
795 return __get_user_pages_unlocked(tsk, mm, start, nr_pages, write, in get_user_pages_unlocked()
856 unsigned long start, unsigned long nr_pages, int write, in get_user_pages() argument
859 return __get_user_pages_locked(tsk, mm, start, nr_pages, write, force, in get_user_pages()
[all …]
Dutil.c247 int nr_pages, int write, struct page **pages) in __get_user_pages_fast() argument
278 int nr_pages, int write, struct page **pages) in get_user_pages_fast() argument
282 write, 0, pages); in get_user_pages_fast()
377 int overcommit_ratio_handler(struct ctl_table *table, int write, in overcommit_ratio_handler() argument
383 ret = proc_dointvec(table, write, buffer, lenp, ppos); in overcommit_ratio_handler()
384 if (ret == 0 && write) in overcommit_ratio_handler()
389 int overcommit_kbytes_handler(struct ctl_table *table, int write, in overcommit_kbytes_handler() argument
395 ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos); in overcommit_kbytes_handler()
396 if (ret == 0 && write) in overcommit_kbytes_handler()
/linux-4.4.14/tools/perf/scripts/python/
Dcompaction-times.py138 sys.stderr.write("missing start compaction event for pid %d\n" % pid)
147 sys.stderr.write("missing start compaction event for pid %d\n" % pid)
192 sys.stdout.write("%d[%s].%d: %s\n" % (self.pid, self.comm, i+1, pelem))
202 sys.stdout.write("%d[%s]: %s\n" % (self.pid, self.comm, self.val))
206 sys.stdout.write("total: %s\n" % chead.str())
249 sys.stdout.write(usage)
250 sys.stdout.write("\n")
251 sys.stdout.write("-h display this help\n")
252 sys.stdout.write("-p display by process\n")
253 sys.stdout.write("-pv display by process (verbose)\n")
[all …]
Dexport-to-postgresql.py496 file.write(file_header)
500 file.write(file_trailer)
513 file.write(file_trailer)
654 evsel_file.write(value)
660 machine_file.write(value)
664 thread_file.write(value)
670 comm_file.write(value)
675 comm_thread_file.write(value)
683 dso_file.write(value)
689 symbol_file.write(value)
[all …]
/linux-4.4.14/Documentation/fmc/
Dfmc-write-eeprom.txt1 fmc-write-eeprom
5 write it to the internal EEPROM of the mezzanine card. This driver uses
14 write-support through sysfs. See *note Accessing the EEPROM::.
20 such argument is received, it doesn't write anything to EEPROM
30 ignored and no write is performed.
38 followed by data. The first byte is `w' for write, the next two bytes
48 spusa.root# insmod /tmp/fmc-write-eeprom.ko busid=0x0200 file=try.tlv
49 [19983.391498] spec 0000:03:00.0: write 5 bytes at 0x0110
60 after two seconds. Please note, however, that if fmc-write-eeprom is
69 spusa.root# insmod fmc-write-eeprom.ko busid=0 file=fdelay-eeprom.bin; \
[all …]
Dfmc-chardev.txt15 Currently the driver only supports read and write: you can lseek to the
16 desired address and read or write a register.
19 single read or write per system call. However, as a result of Unix read
20 and write semantics, users can simply fread or fwrite bigger areas in
45 device and read or write a word or a whole area. Actually, the program
46 is not specific to FMC at all, it just uses lseek, read and write.
49 (if any) the value to write and the optional last argument that must
50 begin with "+" is the number of bytes to read or write. In case of
/linux-4.4.14/include/linux/sched/
Dsysctl.h9 extern int proc_dohung_task_timeout_secs(struct ctl_table *table, int write,
62 int sched_proc_update_handler(struct ctl_table *table, int write,
86 extern int sched_rr_handler(struct ctl_table *table, int write,
90 extern int sched_rt_handler(struct ctl_table *table, int write,
94 extern int sysctl_numa_balancing(struct ctl_table *table, int write,
/linux-4.4.14/Documentation/block/
Dstat.txt27 write I/Os requests number of write I/Os processed
28 write merges requests number of write I/Os merged with in-queue I/O
29 write sectors sectors number of sectors written
30 write ticks milliseconds total wait time for write requests
35 read I/Os, write I/Os
40 read merges, write merges
46 read sectors, write sectors
54 read ticks, write ticks
Dwriteback_cache_control.txt2 Explicit volatile write back cache control
9 write back caches. That means the devices signal I/O completion to the
26 guarantees that previously completed write requests are on non-volatile
67 For devices that do not support volatile write caches there is no driver
70 requests that have a payload. For devices with volatile write caches the
78 of an empty REQ_FLUSH request followed by the actual write by the block
84 and the driver must handle write requests that have the REQ_FUA bit set
86 layer turns it into an empty REQ_FLUSH request after the actual write.
/linux-4.4.14/net/core/
Dsysctl_net_core.c34 static int rps_sock_flow_sysctl(struct ctl_table *table, int write, in rps_sock_flow_sysctl() argument
53 ret = proc_dointvec(&tmp, write, buffer, lenp, ppos); in rps_sock_flow_sysctl()
55 if (write) { in rps_sock_flow_sysctl()
101 static int flow_limit_cpu_sysctl(struct ctl_table *table, int write, in flow_limit_cpu_sysctl() argument
113 if (write) { in flow_limit_cpu_sysctl()
180 static int flow_limit_table_len_sysctl(struct ctl_table *table, int write, in flow_limit_table_len_sysctl() argument
191 ret = proc_dointvec(table, write, buffer, lenp, ppos); in flow_limit_table_len_sysctl()
192 if (!ret && write && !is_power_of_2(*ptr)) { in flow_limit_table_len_sysctl()
203 static int set_default_qdisc(struct ctl_table *table, int write, in set_default_qdisc() argument
215 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in set_default_qdisc()
[all …]
/linux-4.4.14/tools/perf/util/
Dtrace-event-info.c76 if (write(output_fd, &size, hdr_sz) != hdr_sz) in record_file()
84 if (write(output_fd, buf, r) != r) in record_file()
122 if (write(output_fd, "header_page", 12) != 12) { in record_header_files()
146 if (write(output_fd, "header_event", 13) != 13) { in record_header_files()
206 if (write(output_fd, &count, 4) != 4) { in copy_event_system()
303 if (write(output_fd, &count, 4) != 4) { in record_event_files()
325 if (write(output_fd, dent->d_name, size) != size || in record_event_files()
351 return write(output_fd, &size, 4) != 4 ? -EIO : 0; in record_proc_kallsyms()
371 if (write(output_fd, &size, 4) != 4) in record_ftrace_printk()
455 if (write(output_fd, buf, 10) != 10) in tracing_data_header()
[all …]
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
Drouter_proc.c78 static int proc_call_handler(void *data, int write, loff_t *ppos, in proc_call_handler() argument
80 int (*handler)(void *data, int write, in proc_call_handler()
83 int rc = handler(data, write, *ppos, buffer, *lenp); in proc_call_handler()
88 if (write) { in proc_call_handler()
97 static int __proc_lnet_stats(void *data, int write, in __proc_lnet_stats() argument
106 if (write) { in __proc_lnet_stats()
145 static int proc_lnet_stats(struct ctl_table *table, int write, in proc_lnet_stats() argument
148 return proc_call_handler(table->data, write, ppos, buffer, lenp, in proc_lnet_stats()
152 static int proc_lnet_routes(struct ctl_table *table, int write, in proc_lnet_routes() argument
168 LASSERT(!write); in proc_lnet_routes()
[all …]
/linux-4.4.14/drivers/mmc/core/
Dsdio_ops.c68 static int mmc_io_rw_direct_host(struct mmc_host *host, int write, unsigned fn, in mmc_io_rw_direct_host() argument
82 cmd.arg = write ? 0x80000000 : 0x00000000; in mmc_io_rw_direct_host()
84 cmd.arg |= (write && out) ? 0x08000000 : 0x00000000; in mmc_io_rw_direct_host()
114 int mmc_io_rw_direct(struct mmc_card *card, int write, unsigned fn, in mmc_io_rw_direct() argument
118 return mmc_io_rw_direct_host(card->host, write, fn, addr, in, out); in mmc_io_rw_direct()
121 int mmc_io_rw_extended(struct mmc_card *card, int write, unsigned fn, in mmc_io_rw_extended() argument
144 cmd.arg = write ? 0x80000000 : 0x00000000; in mmc_io_rw_extended()
157 data.flags = write ? MMC_DATA_WRITE : MMC_DATA_READ; in mmc_io_rw_extended()
Dsdio_ops.h18 int mmc_io_rw_direct(struct mmc_card *card, int write, unsigned fn,
20 int mmc_io_rw_extended(struct mmc_card *card, int write, unsigned fn,
/linux-4.4.14/arch/frv/lib/
Dinsl_sw.S30 stbu.p gr5,@(gr9,gr4) ; write 0xDD
32 stbu.p gr5,@(gr9,gr4) ; write 0xCC
34 stbu.p gr5,@(gr9,gr4) ; write 0xBB
36 stbu.p gr5,@(gr9,gr4) ; write 0xAA
/linux-4.4.14/Documentation/video4linux/cx2341x/
Dfw-memory.txt46 0=reset/cancel, 1=read, 2=write, 4=stop
48 1=read busy, 2=write busy, 4=read error, 8=write error, 16=link list error
50 0x0c - pci DMA pointer for write link list
51 0x10 - read/write DMA enable:
52 1=read enable, 2=write enable
62 if changed to 0xffffffff DMA write interrupts break.
68 0x80 - first write linked list reg, for Encoder Memory addr
69 0x84 - first write linked list reg, for pci memory addr
70 0x88 - first write linked list reg, for length of buffer in memory addr
72 0x8c-0xdc - rest of write linked list reg, 8 sets of 3 total, DMA goes here
[all …]
/linux-4.4.14/Documentation/misc-devices/
Dspear-pcie-gadget.txt44 write behavior of nodes:
46 link :write UP to enable ltsmm DOWN to disable
47 int_type :write interrupt type to be configured and (int_type could be
51 inta :write 1 to assert INTA and 0 to de-assert.
52 send_msi :write MSI vector to be sent.
53 vendor_id :write vendor id(hex) to be programmed.
54 device_id :write device id(hex) to be programmed.
55 bar0_size :write size of bar0 in hex. default bar0 size is 1000 (hex)
57 bar0_address :write address of bar0 mapped area in hex. (default mapping of
61 bar0_rw_offset :write offset of bar0 for which bar0_data will write value.
[all …]
Deeprom30 Atmel 34C02B 2K 0x50 - 0x57, SW write protect at 0x30-37
31 Catalyst 34FC02 2K 0x50 - 0x57, SW write protect at 0x30-37
32 Catalyst 34RC02 2K 0x50 - 0x57, SW write protect at 0x30-37
33 Fairchild 34W02 2K 0x50 - 0x57, SW write protect at 0x30-37
34 Microchip 24AA52 2K 0x50 - 0x57, SW write protect at 0x30-37
35 ST M34C02 2K 0x50 - 0x57, SW write protect at 0x30-37
69 software write protect register at 0x30 - 0x37 (0x20 less than the memory
70 location). The chip responds to "write quick" detection at this address but
72 bytes of the memory array are not write protected. Any byte data write to
73 this address will write protect the memory array permanently, and the
/linux-4.4.14/lib/zlib_inflate/
Dinffast.c101 unsigned write; /* window write index */ in inflate_fast() local
128 write = state->write; in inflate_fast()
209 if (write == 0) { /* very common case */ in inflate_fast()
219 else if (write < op) { /* wrap around window */ in inflate_fast()
220 from += wsize + write - op; in inflate_fast()
221 op -= write; in inflate_fast()
228 if (write < len) { /* some from start of window */ in inflate_fast()
229 op = write; in inflate_fast()
239 from += write - op; in inflate_fast()
Dinflate.c42 state->write = 0; in zlib_inflateReset()
112 state->write = 0; in zlib_updatewindow()
116 dist = state->wsize - state->write; in zlib_updatewindow()
118 memcpy(state->window + state->write, strm->next_out - copy, dist); in zlib_updatewindow()
122 state->write = copy; in zlib_updatewindow()
126 state->write += dist; in zlib_updatewindow()
127 if (state->write == state->wsize) state->write = 0; in zlib_updatewindow()
652 if (copy > state->write) { in zlib_inflate()
653 copy -= state->write; in zlib_inflate()
657 from = state->window + (state->write - copy); in zlib_inflate()
/linux-4.4.14/Documentation/x86/
Dmtrr.txt33 a video (VGA) card on a PCI or AGP bus. Enabling write-combining
34 allows bus write transfers to be combined into a larger transfer
36 of image write operations 2.5 times or more.
46 The Centaur C6 (WinChip) has 8 MCRs, allowing write-combining. These
59 which allows you to read and write. The other is an ioctl()
68 reg00: base=0x00000000 ( 0MB), size= 128MB: write-back, count=1
69 reg01: base=0x08000000 ( 128MB), size= 64MB: write-back, count=1
72 # echo "base=0xf8000000 size=0x400000 type=write-combining" >! /proc/mtrr
74 # echo "base=0xf8000000 size=0x400000 type=write-combining" >| /proc/mtrr
78 reg00: base=0x00000000 ( 0MB), size= 128MB: write-back, count=1
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/memory-controllers/
Dti-aemif.txt99 between a read followed by read or a write
100 followed by a write to same chip select.
119 - ti,cs-write-setup-ns: write setup width, ns
121 and the activation of write strobe.
124 - ti,cs-write-strobe-ns: write strobe width, ns
126 the write strobe.
129 - ti,cs-write-hold-ns: write hold width, ns
130 Time between the deactivation of the write
169 ti,cs-write-hold-ns = <7>;
170 ti,cs-write-strobe-ns = <42>;
[all …]
Darm,pl172.txt60 - mpmc,buffer-enable: Enable write buffer, option is not supported by
63 - mpmc,write-protect: Enable write protect.
67 - mpmc,write-enable-delay: Delay from chip select assertion to write
73 - mpmc,write-access-delay: Delay from chip select assertion to write
110 mpmc,write-enable-delay = <0>;
/linux-4.4.14/drivers/media/radio/
Dradio-wl1273.c302 r = core->write(core, WL1273_TUNER_MODE_SET, in wl1273_fm_irq_thread_handler()
340 core->write(core, WL1273_INT_MASK_SET, radio->irq_flags); in wl1273_fm_irq_thread_handler()
375 r = core->write(core, WL1273_CHANL_SET, freq / 10); in wl1273_fm_set_tx_freq()
389 r = core->write(core, WL1273_POWER_ENB_SET, 1); in wl1273_fm_set_tx_freq()
430 core->write(core, WL1273_INT_MASK_SET, radio->irq_flags); in wl1273_fm_set_rx_freq()
437 r = core->write(core, WL1273_FREQ_SET, f); in wl1273_fm_set_rx_freq()
443 r = core->write(core, WL1273_TUNER_MODE_SET, TUNER_MODE_PRESET); in wl1273_fm_set_rx_freq()
534 core->write(core, WL1273_RESET, 0); in wl1273_fm_upload_firmware_patch()
547 int r = core->write(core, WL1273_POWER_SET, in wl1273_fm_stop()
553 int r = core->write(core, WL1273_PUPD_SET, in wl1273_fm_stop()
[all …]
/linux-4.4.14/arch/mn10300/boot/tools/
Dbuild.c116 if (write(1, buf, 512) != 512) in main()
123 if (write(1, buf, c) != c) in main()
140 if (write(1, buf, c) != c) in main()
170 if (write(1, buf, l) != l) in main()
180 if (write(1, buf, 1) != 1) in main()
186 if (write(1, buf, 2) != 2) in main()
/linux-4.4.14/arch/powerpc/platforms/52xx/
Dmpc52xx_lpbfifo.c72 int write = req->flags & MPC52XX_LPBFIFO_FLAG_WRITE; in mpc52xx_lpbfifo_kick() local
94 if (write) { in mpc52xx_lpbfifo_kick()
111 if (write) { in mpc52xx_lpbfifo_kick()
135 if (!write) { in mpc52xx_lpbfifo_kick()
157 if (write && (!poll_dma)) in mpc52xx_lpbfifo_kick()
168 if (!write) in mpc52xx_lpbfifo_kick()
230 int dma, write, poll_dma; in mpc52xx_lpbfifo_irq() local
243 write = req->flags & MPC52XX_LPBFIFO_FLAG_WRITE; in mpc52xx_lpbfifo_irq()
246 if (dma && !write) { in mpc52xx_lpbfifo_irq()
267 if (!dma && !write) { in mpc52xx_lpbfifo_irq()
[all …]
/linux-4.4.14/drivers/gpu/drm/r128/
Dr128_drv.h477 int write, _nr; unsigned int tail_mask; volatile u32 *ring;
488 write = dev_priv->ring.tail; \
502 write, dev_priv->ring.tail); \
503 if (R128_BROKEN_CCE && write < 32) \
506 write * sizeof(u32)); \
507 if (((dev_priv->ring.tail + _nr) & tail_mask) != write) \
511 write, __LINE__); \
513 dev_priv->ring.tail = write; \
528 (unsigned int)(x), write); \
529 ring[write++] = cpu_to_le32(x); \
[all …]
/linux-4.4.14/arch/arm/mm/
Dcache-v6.S144 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer
207 strb r2, [r0] @ write for ownership
219 strneb r2, [r1, #-1] @ write for ownership
237 strlo r2, [r0] @ write for ownership
241 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer
264 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer
275 strb r2, [r0] @ write for ownership
288 strlob r2, [r0] @ write for ownership
292 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer
Dcache-fa.S73 mcrne p15, 0, ip, c7, c10, 4 @ drain write buffer
101 mcrne p15, 0, ip, c7, c10, 4 @ data write barrier
137 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer
158 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer
184 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer
202 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer
217 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer
Dproc-xsc3.S177 mcrne p15, 0, ip, c7, c10, 4 @ data write barrier
206 mcrne p15, 0, ip, c7, c10, 4 @ data write barrier
233 mcr p15, 0, r0, c7, c10, 4 @ data write barrier
254 mcr p15, 0, r0, c7, c10, 4 @ data write barrier
279 mcr p15, 0, r0, c7, c10, 4 @ data write barrier
296 mcr p15, 0, r0, c7, c10, 4 @ data write barrier
313 mcr p15, 0, r0, c7, c10, 4 @ data write barrier
366 mcr p15, 0, ip, c7, c10, 4 @ data write barrier
434 mcr p15, 0, ip, c7, c10, 4 @ drain write (&fill) buffer
454 mcr p15, 0, ip, c7, c10, 4 @ data write barrier
[all …]
Dproc-v7.S141 mcr p15, 0, r4, c10, c2, 0 @ write PRRR
142 mcr p15, 0, r5, c10, c2, 1 @ write NMRR
146 mcrne p15, 0, r9, c1, c0, 1 @ No, so write it
304 mcreq p15, 0, r0, c1, c0, 1 @ write aux control register
311 mcreq p15, 0, r0, c1, c0, 1 @ write aux control register
318 mcreq p15, 1, r0, c9, c0, 2 @ write the L2 cache aux ctrl register
327 mcrle p15, 0, r0, c15, c0, 1 @ write diagnostic register
336 mcreq p15, 0, r0, c15, c0, 1 @ write diagnostic register
342 mcreq p15, 0, r0, c15, c0, 1 @ write diagnostic register
349 mcrlt p15, 0, r0, c15, c0, 1 @ write diagnostic register
[all …]
Dcache-v4wb.S97 mcr p15, 0, ip, c7, c10, 4 @ drain write buffer
125 mcrne p15, 0, ip, c7, c10, 4 @ drain write buffer
198 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer
215 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer
/linux-4.4.14/fs/sysfs/
Dfile.c152 if (!battr->write) in sysfs_kf_bin_write()
155 return battr->write(of->file, kobj, battr, buf, pos, count); in sysfs_kf_bin_write()
197 .write = sysfs_kf_write,
202 .write = sysfs_kf_write,
211 .write = sysfs_kf_write,
217 .write = sysfs_kf_write,
226 .write = sysfs_kf_bin_write,
231 .write = sysfs_kf_bin_write,
236 .write = sysfs_kf_bin_write,
283 else if (battr->read && battr->write) in sysfs_add_file_mode_ns()
[all …]
/linux-4.4.14/sound/pci/
Dak4531_codec.c123 ak4531->write(ak4531, reg, ak4531->regs[reg] = val); in snd_ak4531_put_single()
201 ak4531->write(ak4531, left_reg, ak4531->regs[left_reg] = left); in snd_ak4531_put_double()
206 ak4531->write(ak4531, left_reg, ak4531->regs[left_reg] = left); in snd_ak4531_put_double()
207 ak4531->write(ak4531, right_reg, ak4531->regs[right_reg] = right); in snd_ak4531_put_double()
263 ak4531->write(ak4531, reg1, ak4531->regs[reg1] = val1); in snd_ak4531_put_input_sw()
264 ak4531->write(ak4531, reg2, ak4531->regs[reg2] = val2); in snd_ak4531_put_input_sw()
407 ak4531->write(ak4531, AK4531_RESET, 0x03); /* no RST, PD */ in snd_ak4531_mixer()
409 …ak4531->write(ak4531, AK4531_CLOCK, 0x00); /* CODEC ADC and CODEC DAC use {LR,B}CLK2 and run off L… in snd_ak4531_mixer()
413 …ak4531->write(ak4531, idx, ak4531->regs[idx] = snd_ak4531_initial_map[idx]); /* recording source i… in snd_ak4531_mixer()
442 ak4531->write(ak4531, AK4531_LMASTER, 0x9f); in snd_ak4531_suspend()
[all …]
/linux-4.4.14/net/sunrpc/
Dsysctl.c61 static int proc_do_xprt(struct ctl_table *table, int write, in proc_do_xprt() argument
67 if ((*ppos && !write) || !*lenp) { in proc_do_xprt()
76 proc_dodebug(struct ctl_table *table, int write, in proc_dodebug() argument
84 if ((*ppos && !write) || !*lenp) { in proc_dodebug()
91 if (write) { in proc_dodebug()
/linux-4.4.14/drivers/staging/android/ion/
Dion_test.c45 void __user *ptr, size_t offset, size_t size, bool write) in ion_handle_test_dma() argument
51 enum dma_data_direction dir = write ? DMA_FROM_DEVICE : DMA_TO_DEVICE; in ion_handle_test_dma()
77 if (write) in ion_handle_test_dma()
101 size_t offset, size_t size, bool write) in ion_handle_test_kernel() argument
107 enum dma_data_direction dir = write ? DMA_FROM_DEVICE : DMA_TO_DEVICE; in ion_handle_test_kernel()
125 if (write) in ion_handle_test_kernel()
184 data.test_rw.write); in ion_test_ioctl()
192 data.test_rw.write); in ion_test_ioctl()
/linux-4.4.14/security/
Dmin_addr.c31 int mmap_min_addr_handler(struct ctl_table *table, int write, in mmap_min_addr_handler() argument
36 if (write && !capable(CAP_SYS_RAWIO)) in mmap_min_addr_handler()
39 ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos); in mmap_min_addr_handler()
/linux-4.4.14/drivers/misc/sgi-gru/
Dgrufault.c191 unsigned long vaddr, int write, in non_atomic_pte_lookup() argument
202 (current, current->mm, vaddr, 1, write, 0, &page, NULL) <= 0) in non_atomic_pte_lookup()
220 int write, unsigned long *paddr, int *pageshift) in atomic_pte_lookup() argument
246 (write && (!pte_write(pte) || !pte_dirty(pte))))) in atomic_pte_lookup()
262 int write, int atomic, unsigned long *gpa, int *pageshift) in gru_vtop() argument
278 ret = atomic_pte_lookup(vma, vaddr, write, &paddr, &ps); in gru_vtop()
282 if (non_atomic_pte_lookup(vma, vaddr, write, &paddr, &ps)) in gru_vtop()
320 unsigned long fault_vaddr, int asid, int write, in gru_preload_tlb() argument
341 ret = gru_vtop(gts, vaddr, write, atomic, &gpa, &pageshift); in gru_preload_tlb()
342 if (ret || tfh_write_only(tfh, gpa, GAA_RAM, vaddr, asid, write, in gru_preload_tlb()
[all …]
/linux-4.4.14/arch/s390/kvm/
Dgaccess.c360 int write) in ar_translation() argument
441 if (ale.fo == 1 && write) in ar_translation()
464 ar_t ar, int write) in get_vcpu_asce() argument
473 tec_bits->fsi = write ? FSI_STORE : FSI_FETCH; in get_vcpu_asce()
493 rc = ar_translation(vcpu, asce, ar, write); in get_vcpu_asce()
541 int write) in guest_translate() argument
686 if (write && dat_protection) in guest_translate()
715 const union asce asce, int write) in guest_page_range() argument
727 if (write && lap_enabled && is_low_address(ga)) { in guest_page_range()
733 rc = guest_translate(vcpu, ga, pages, asce, write); in guest_page_range()
[all …]
Dgaccess.h159 ar_t ar, unsigned long *gpa, int write);
164 unsigned long len, int write);
167 void *data, unsigned long len, int write);
/linux-4.4.14/drivers/parport/
Dprocfs.c35 static int do_active_device(struct ctl_table *table, int write, in do_active_device() argument
43 if (write) /* can't happen anyway */ in do_active_device()
72 static int do_autoprobe(struct ctl_table *table, int write, in do_autoprobe() argument
80 if (write) /* permissions stop this */ in do_autoprobe()
114 static int do_hardware_base_addr(struct ctl_table *table, int write, in do_hardware_base_addr() argument
127 if (write) /* permissions prevent this anyway */ in do_hardware_base_addr()
142 static int do_hardware_irq(struct ctl_table *table, int write, in do_hardware_irq() argument
155 if (write) /* permissions prevent this anyway */ in do_hardware_irq()
170 static int do_hardware_dma(struct ctl_table *table, int write, in do_hardware_dma() argument
183 if (write) /* permissions prevent this anyway */ in do_hardware_dma()
[all …]
/linux-4.4.14/arch/alpha/lib/
Dev6-memset.S57 addq $18,$16,$6 # E : max address to write to
64 xor $16,$6,$1 # E : will complete write be within one quadword?
102 sra $18,3,$3 # U : Number of remaining quads to write
103 and $18,7,$18 # E : Number of trailing bytes to write
160 wh64 ($4) # L1 : memory subsystem write hint
244 addq $18,$16,$6 # E : max address to write to
246 xor $16,$6,$1 # E : will complete write be within one quadword?
279 sra $18,3,$3 # U : Number of remaining quads to write
280 and $18,7,$18 # E : Number of trailing bytes to write
337 wh64 ($4) # L1 : memory subsystem write hint
[all …]
/linux-4.4.14/fs/xfs/
Dxfs_sysctl.c30 int write, in xfs_stats_clear_proc_handler() argument
37 ret = proc_dointvec_minmax(ctl, write, buffer, lenp, ppos); in xfs_stats_clear_proc_handler()
39 if (!ret && write && *valp) { in xfs_stats_clear_proc_handler()
50 int write, in xfs_panic_mask_proc_handler() argument
57 ret = proc_dointvec_minmax(ctl, write, buffer, lenp, ppos); in xfs_panic_mask_proc_handler()
58 if (!ret && write) { in xfs_panic_mask_proc_handler()
/linux-4.4.14/drivers/gpio/
Dgpio-max730x.c74 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()
Dgpio-mcp23s08.c61 int (*write)(struct mcp23s08 *mcp, unsigned reg, unsigned val); member
154 .write = mcp23008_write,
160 .write = mcp23017_write,
256 .write = mcp23s08_write,
262 .write = mcp23s17_write,
277 status = mcp->ops->write(mcp, MCP_IODIR, mcp->cache[MCP_IODIR]); in mcp23s08_direction_input()
310 return mcp->ops->write(mcp, MCP_OLAT, olat); in __mcp23s08_set()
334 status = mcp->ops->write(mcp, MCP_IODIR, mcp->cache[MCP_IODIR]); in mcp23s08_direction_output()
437 mcp->ops->write(mcp, MCP_GPINTEN, mcp->cache[MCP_GPINTEN]); in mcp23s08_irq_bus_unlock()
438 mcp->ops->write(mcp, MCP_DEFVAL, mcp->cache[MCP_DEFVAL]); in mcp23s08_irq_bus_unlock()
[all …]
/linux-4.4.14/net/irda/
Dirsysctl.c76 static int do_devname(struct ctl_table *table, int write, in do_devname() argument
81 ret = proc_dostring(table, write, buffer, lenp, ppos); in do_devname()
82 if (ret == 0 && write) { in do_devname()
93 static int do_discovery(struct ctl_table *table, int write, in do_discovery() argument
98 ret = proc_dointvec(table, write, buffer, lenp, ppos); in do_discovery()
/linux-4.4.14/tools/virtio/virtio-trace/
DREADME8 - write trace data to stdout by using -o option
13 2) Create a read/write thread per CPU. Each thread is bound to a CPU.
14 The read/write threads hold it.
17 the controller wake read/write threads.
18 5) The read/write threads start to read trace data from ring-buffers and
19 write the data to virtio-serial.
20 6) If the controller receives a stop order from a host, the read/write threads
31 trace-agent-ctl.c: includes controller function for read/write threads
32 trace-agent-rw.c: includes read/write threads function
103 read/write threads in the agent wait for start order from host. If you add -o
/linux-4.4.14/net/ipv4/
Dsysctl_net_ipv4.c62 static int ipv4_local_port_range(struct ctl_table *table, int write, in ipv4_local_port_range() argument
80 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in ipv4_local_port_range()
82 if (write && ret == 0) { in ipv4_local_port_range()
120 static int ipv4_ping_group_range(struct ctl_table *table, int write, in ipv4_ping_group_range() argument
139 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in ipv4_ping_group_range()
141 if (write && ret == 0) { in ipv4_ping_group_range()
155 static int proc_tcp_congestion_control(struct ctl_table *ctl, int write, in proc_tcp_congestion_control() argument
167 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in proc_tcp_congestion_control()
168 if (write && ret == 0) in proc_tcp_congestion_control()
174 int write, in proc_tcp_available_congestion_control() argument
[all …]
/linux-4.4.14/drivers/usb/storage/
Disd200.c254 } write; member
522 ata.write.DeviceHeadByte = value; in isd200_action()
531 ata.write.DeviceControlByte = ATA_DC_RESET_CONTROLLER; in isd200_action()
540 ata.write.DeviceControlByte = ATA_DC_REENABLE_CONTROLLER; in isd200_action()
548 ata.write.DeviceHeadByte = info->DeviceHead; in isd200_action()
549 ata.write.CommandByte = ATA_CMD_DEV_RESET; in isd200_action()
556 ata.write.CommandByte = ATA_CMD_ID_ATA; in isd200_action()
1260 ataCdb->write.CommandByte = ATA_COMMAND_GET_MEDIA_STATUS; in isd200_scsi_to_ata()
1278 ataCdb->write.CommandByte = ATA_COMMAND_GET_MEDIA_STATUS; in isd200_scsi_to_ata()
1334 ataCdb->write.SectorCountByte = (unsigned char)blockCount; in isd200_scsi_to_ata()
[all …]
/linux-4.4.14/fs/adfs/
DKconfig10 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.4.14/arch/cris/arch-v10/kernel/
Ddebugport.c29 volatile char* write; member
295 *port->write = '\r'; in console_write_direct()
300 *port->write = buf[i]; in console_write_direct()
358 *kgdb_port->write = val; in putDebugChar()
429 .write = dummy_write,
473 write: console_write,
485 write: console_write,
498 write: console_write,
510 write: console_write,
522 write: console_write,
/linux-4.4.14/drivers/mmc/card/
Dmmc_test.c192 unsigned dev_addr, unsigned blocks, unsigned blksz, int write) in mmc_test_prepare_mrq() argument
197 mrq->cmd->opcode = write ? in mmc_test_prepare_mrq()
200 mrq->cmd->opcode = write ? in mmc_test_prepare_mrq()
220 mrq->data->flags = write ? MMC_DATA_WRITE : MMC_DATA_READ; in mmc_test_prepare_mrq()
269 u8 *buffer, unsigned addr, unsigned blksz, int write) in mmc_test_buffer_transfer() argument
284 mmc_test_prepare_mrq(test, &mrq, &sg, 1, addr, 1, blksz, write); in mmc_test_buffer_transfer()
609 static int __mmc_test_prepare(struct mmc_test_card *test, int write) in __mmc_test_prepare() argument
617 if (write) in __mmc_test_prepare()
670 struct mmc_request *mrq, int write) in mmc_test_prepare_broken_mrq() argument
675 mrq->cmd->opcode = write ? in mmc_test_prepare_broken_mrq()
[all …]
/linux-4.4.14/drivers/net/hamradio/
D6pack.c149 sp->tty->ops->write(sp->tty, &sp->led_state, 1); in sp_xmit_on_air()
151 actual = sp->tty->ops->write(sp->tty, sp->xbuff, sp->status2); in sp_xmit_on_air()
155 sp->tty->ops->write(sp->tty, &sp->led_state, 1); in sp_xmit_on_air()
221 sp->tty->ops->write(sp->tty, &sp->led_state, 1); in sp_encaps()
223 actual = sp->tty->ops->write(sp->tty, sp->xbuff, count); in sp_encaps()
227 sp->tty->ops->write(sp->tty, &sp->led_state, 1); in sp_encaps()
418 actual = tty->ops->write(tty, sp->xhead, sp->xleft); in sixpack_write_wakeup()
526 sp->tty->ops->write(sp->tty, &sp->led_state, 1); in resync_tnc()
527 sp->tty->ops->write(sp->tty, &resync_cmd, 1); in resync_tnc()
545 sp->tty->ops->write(sp->tty, &inbyte, 1); in tnc_init()
[all …]
/linux-4.4.14/Documentation/ioctl/
Dioctl-decoding.txt5 uses 3 bits to encode read/write and 13 bits for size.
10 01 - write: _IOW
11 11 - read/write: _IOWR
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dbcmsdh.c254 u32 addr, u8 regsz, void *data, bool write) in brcmf_sdiod_request_data() argument
260 write, fn, addr, regsz); in brcmf_sdiod_request_data()
269 if (write) { in brcmf_sdiod_request_data()
283 if (write) in brcmf_sdiod_request_data()
289 if (write) in brcmf_sdiod_request_data()
301 write ? "write" : "read", fn, addr, ret); in brcmf_sdiod_request_data()
307 u8 regsz, void *data, bool write) in brcmf_sdiod_regrw_helper() argument
328 if (!write) in brcmf_sdiod_regrw_helper()
334 data, write); in brcmf_sdiod_regrw_helper()
348 write ? "write" : "read", func, addr, ret); in brcmf_sdiod_regrw_helper()
[all …]
/linux-4.4.14/fs/
Ddrop_caches.c42 int drop_caches_sysctl_handler(struct ctl_table *table, int write, in drop_caches_sysctl_handler() argument
47 ret = proc_dointvec_minmax(table, write, buffer, length, ppos); in drop_caches_sysctl_handler()
50 if (write) { in drop_caches_sysctl_handler()
/linux-4.4.14/include/kvm/
Diodev.h35 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.4.14/Documentation/filesystems/
Dufs.txt21 supported as read-write
24 supported as read-write
29 supported as read-write
32 supported as read-write
Dadfs.txt22 Owner write
24 Other write
33 Owner write -> --w--w---w
39 Other write -> --w--w--w-
44 Hence, with the default masks, if a file is owner read/write, and
55 keep the default write protection (ownmask=0755,othmask=0577):
Dspufs.txt15 message queues. Users that have write permissions on the file system
34 tem calls like read(2) or write(2), but often support only a subset of
40 all files that support the write(2) operation also support writev(2).
58 read(2), pread(2), write(2), pwrite(2), lseek(2)
60 write(2) and pwrite(2) are not supported beyond the end of the
108 The CPU to SPU communation mailbox. It is write-only and can be written
109 in units of 32 bits. If the mailbox is full, write() will block and
111 operations on an open wbox file are: write(2) If a count smaller than
112 four is requested, write returns -1 and sets errno to EINVAL. If there
154 can be used in read/write mode for debugging, but normal operation of
[all …]
/linux-4.4.14/net/decnet/
Dsysctl_net_decnet.c135 static int dn_node_address_handler(struct ctl_table *table, int write, in dn_node_address_handler() argument
143 if (!*lenp || (*ppos && !write)) { in dn_node_address_handler()
148 if (write) { in dn_node_address_handler()
186 static int dn_def_dev_handler(struct ctl_table *table, int write, in dn_def_dev_handler() argument
194 if (!*lenp || (*ppos && !write)) { in dn_def_dev_handler()
199 if (write) { in dn_def_dev_handler()
/linux-4.4.14/arch/cris/boot/tools/
Dbuild.c169 i=write(1,buf,512); in main()
207 if (write(1,buf,c)!=c) in main()
226 if (write(1,buf,c) != c) in main()
271 if (write(1, buf, l) != l) in main()
277 if (write(1, &setup_sectors, 1) != 1) in main()
283 if (write(1, buf, 2) != 2) in main()
/linux-4.4.14/arch/m68k/atari/
Ddebug.c299 registered = !!atari_console_driver.write; in atari_debug_setup()
303 atari_console_driver.write = atari_mfp_console_write; in atari_debug_setup()
307 atari_console_driver.write = atari_scc_console_write; in atari_debug_setup()
311 atari_console_driver.write = atari_midi_console_write; in atari_debug_setup()
321 atari_console_driver.write = atari_par_console_write; in atari_debug_setup()
323 if (atari_console_driver.write && !registered) in atari_debug_setup()
/linux-4.4.14/drivers/irqchip/
Dirq-crossbar.c44 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()
282 cb->write = crossbar_writeb; in crossbar_of_init()
285 cb->write = crossbar_writew; in crossbar_of_init()
288 cb->write = crossbar_writel; in crossbar_of_init()
316 cb->write(i, cb->safe_map); in crossbar_of_init()
/linux-4.4.14/drivers/xen/xen-pciback/
Dconf_space.c35 DEFINE_PCI_CONFIG(write, byte, u8) in DEFINE_PCI_CONFIG()
36 DEFINE_PCI_CONFIG(write, word, u16) in DEFINE_PCI_CONFIG()
37 DEFINE_PCI_CONFIG(write, dword, u32) in DEFINE_PCI_CONFIG()
76 if (field->u.b.write) in conf_space_write()
77 ret = field->u.b.write(dev, offset, (u8) value, in conf_space_write()
81 if (field->u.w.write) in conf_space_write()
82 ret = field->u.w.write(dev, offset, (u16) value, in conf_space_write()
86 if (field->u.dw.write) in conf_space_write()
87 ret = field->u.dw.write(dev, offset, value, in conf_space_write()
Dconf_space_capability.c28 .u.w.write = NULL,
82 .u.w.write = vpd_address_write,
88 .u.dw.write = NULL,
177 .u.w.write = pm_ctrl_write,
Dconf_space.h45 conf_dword_write write; member
49 conf_word_write write; member
53 conf_byte_write write; member
Dconf_space_quirks.c71 field->u.b.write = xen_pcibk_write_config_byte; in xen_pcibk_config_quirks_add_field()
75 field->u.w.write = xen_pcibk_write_config_word; in xen_pcibk_config_quirks_add_field()
79 field->u.dw.write = xen_pcibk_write_config_dword; in xen_pcibk_config_quirks_add_field()
/linux-4.4.14/net/phonet/
Dsysctl.c64 static int proc_local_port_range(struct ctl_table *table, int write, in proc_local_port_range() argument
78 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in proc_local_port_range()
80 if (write && ret == 0) { in proc_local_port_range()
/linux-4.4.14/drivers/misc/lis3lv02d/
Dlis3lv02d.c261 lis3->write(lis3, CTRL_REG1, in lis3lv02d_set_odr()
288 lis3->write(lis3, CTRL_REG3, (ctrl_reg_data & in lis3lv02d_selftest()
305 lis3->write(lis3, ctlreg, (reg | selftest)); in lis3lv02d_selftest()
316 lis3->write(lis3, ctlreg, reg); in lis3lv02d_selftest()
330 lis3->write(lis3, CTRL_REG3, ctrl_reg_data); in lis3lv02d_selftest()
393 lis3->write(lis3, lis3->regs[i], lis3->reg_cache[i]); in lis3_context_restore()
401 lis3->write(lis3, CTRL_REG1, 0x00); in lis3lv02d_poweroff()
428 lis3->write(lis3, CTRL_REG2, reg); in lis3lv02d_poweron()
433 lis3->write(lis3, CTRL_REG4, reg); in lis3lv02d_poweron()
900 lis3->write(lis3, CLICK_CFG, p->click_flags); in lis3lv02d_8b_configure()
[all …]
/linux-4.4.14/drivers/media/platform/davinci/
Dvpss.c286 void(*write)(u32 val, u32 offset) = isp5_write; in dm365_enable_clock() local
314 write = vpss_regw; in dm365_enable_clock()
320 write = vpss_regw; in dm365_enable_clock()
326 write = vpss_regw; in dm365_enable_clock()
332 write = vpss_regw; in dm365_enable_clock()
338 write = vpss_regw; in dm365_enable_clock()
344 write = vpss_regw; in dm365_enable_clock()
361 write(utemp, offset); in dm365_enable_clock()
/linux-4.4.14/fs/ntfs/
DKconfig8 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.4.14/drivers/staging/fbtft/
Dfbtft-bus.c41 ret = par->fbtftops.write(par, par->buf, sizeof(type) + offset); \
59 ret = par->fbtftops.write(par, par->buf, \
109 ret = par->fbtftops.write(par, par->buf, (len + pad) * sizeof(u16)); in define_fbtft_write_reg()
147 return par->fbtftops.write(par, vmem16, len); in fbtft_write_vmem16_bus8()
168 ret = par->fbtftops.write(par, par->txbuf.buf, in fbtft_write_vmem16_bus8()
218 ret = par->fbtftops.write(par, par->txbuf.buf, to_copy * 2); in fbtft_write_vmem16_bus9()
249 return par->fbtftops.write(par, vmem16, len); in fbtft_write_vmem16_bus16()
Dfb_ra8875.c210 par->fbtftops.write = write_spi; in write_reg8_bus8()
224 ret = par->fbtftops.write(par, par->buf, 2); in write_reg8_bus8()
242 ret = par->fbtftops.write(par, par->buf, len + 1); in write_reg8_bus8()
253 par->fbtftops.write = fbtft_write_spi; in write_reg8_bus8()
288 ret = par->fbtftops.write(par, par->txbuf.buf, in write_vmem16_bus8()
305 .write = write_spi,
Dfb_agm1264k-fl.c221 ret = par->fbtftops.write(par, par->buf, len * (sizeof(u8))); in write_reg8_bus8()
370 ret = par->fbtftops.write(par, buf, len); in write_vmem()
392 par->fbtftops.write(par, buf, len); in write_vmem()
407 static int write(struct fbtft_par *par, void *buf, size_t len) in write() function
444 .write = write,
/linux-4.4.14/drivers/nfc/s3fwrn5/
Ds3fwrn5.h39 int (*write)(void *id, struct sk_buff *skb); member
86 if (!info->phy_ops->write) in s3fwrn5_write()
89 return info->phy_ops->write(info->phy_id, skb); in s3fwrn5_write()
/linux-4.4.14/arch/arm/nwfpe/
Dfpa11.inl18 along with this program; if not, write to the Free Software
24 /* Read and write floating point status register */
38 /* Read and write floating point control register */
50 fpa11->fpcr |= (reg & MASK_WFC); /* write SB, AB and DA bits */
/linux-4.4.14/fs/jffs2/
DREADME.Locking16 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.4.14/Documentation/w1/masters/
Dds249030 a write buffer and a read buffer (along with sizes) as arguments.
31 The ds2490 block I/O command supports reset, write buffer, read
33 1 reset bus, 2 write the match rom command and slave rom id, 3 block
34 write and read data. The write buffer needs to have the match rom
36 write buffer, both of which are known to the driver.
62 even when the status shows data available. A bulk out write would
/linux-4.4.14/arch/blackfin/mach-bf561/
DKconfig182 int "MDMA1 0 write/read INT"
185 int "MDMA1 1 write/read INT"
188 int "MDMA2 0 write/read INT"
191 int "MDMA2 1 write/read INT"
194 int "IMDMA 0 write/read INT"
197 int "IMDMA 1 write/read INT"
/linux-4.4.14/arch/s390/appldata/
Dappldata_base.c51 static int appldata_timer_handler(struct ctl_table *ctl, int write,
53 static int appldata_interval_handler(struct ctl_table *ctl, int write,
204 appldata_timer_handler(struct ctl_table *ctl, int write, in appldata_timer_handler() argument
214 if (!write) { in appldata_timer_handler()
246 appldata_interval_handler(struct ctl_table *ctl, int write, in appldata_interval_handler() argument
257 if (!write) { in appldata_interval_handler()
290 appldata_generic_handler(struct ctl_table *ctl, int write, in appldata_generic_handler() argument
323 if (!write) { in appldata_generic_handler()
/linux-4.4.14/drivers/block/drbd/
DKconfig26 run and to access the device (/dev/drbdX). Every write is sent to
54 1 meta data write
56 4 resync data write
58 16 data write
68 Example: Simulate data write errors on /dev/drbd0 with a probability of 5%.
/linux-4.4.14/drivers/s390/net/
Dlcs.c203 rc = lcs_alloc_channel(&card->write); in lcs_alloc_card()
283 memset(card->write.ccws, 0, sizeof(struct ccw1) * (LCS_NUM_BUFFS + 1)); in lcs_setup_write_ccws()
285 card->write.ccws[cnt].cmd_code = LCS_CCW_WRITE; in lcs_setup_write_ccws()
286 card->write.ccws[cnt].count = 0; in lcs_setup_write_ccws()
287 card->write.ccws[cnt].flags = in lcs_setup_write_ccws()
293 card->write.ccws[cnt].cda = in lcs_setup_write_ccws()
294 (__u32) __pa(card->write.iob[cnt].data); in lcs_setup_write_ccws()
297 card->write.ccws[LCS_NUM_BUFFS].cmd_code = LCS_CCW_TRANSFER; in lcs_setup_write_ccws()
298 card->write.ccws[LCS_NUM_BUFFS].cda = in lcs_setup_write_ccws()
299 (__u32) __pa(card->write.ccws); in lcs_setup_write_ccws()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/dma/
Dk3dma.txt31 For example, i2c0 read channel request line is 18, while write channel use 19
36 &dma0 19>; /* write channel */
43 &dma0 21>; /* write channel */
/linux-4.4.14/Documentation/target/
Dtcm_mod_builder.py71 ret = p.write(buf)
114 ret = p.write(buf)
155 ret = p.write(buf)
333 ret = p.write(buf)
547 ret = p.write(buf)
553 ret = pi.write(bufi)
574 ret = p.write(buf)
598 ret = p.write(buf)
610 f.write(buf)
619 f.write(buf)
/linux-4.4.14/include/linux/
Dwriteback.h343 extern int dirty_background_ratio_handler(struct ctl_table *table, int write,
346 extern int dirty_background_bytes_handler(struct ctl_table *table, int write,
349 extern int dirty_ratio_handler(struct ctl_table *table, int write,
352 extern int dirty_bytes_handler(struct ctl_table *table, int write,
355 int dirtytime_interval_handler(struct ctl_table *table, int write,
Dserio.h36 int (*write)(struct serio *, unsigned char); member
112 if (serio->write) in serio_write()
113 return serio->write(serio, data); in serio_write()
/linux-4.4.14/arch/x86/pci/
Dintel_mid_pci.c128 return raw_pci_ext_ops->write(domain, busnum, devfn, reg, 4, in pci_device_update_fixed()
133 return raw_pci_ext_ops->write(domain, busnum, devfn, reg, len, val); in pci_device_update_fixed()
206 return pci_direct_conf1.write(pci_domain_nr(bus), bus->number, in pci_write()
208 return raw_pci_ext_ops->write(pci_domain_nr(bus), bus->number, devfn, in pci_write()
268 .write = pci_write,
Dce4100.c50 void (*write)(struct sim_dev_reg *reg, u32 value); member
57 void (*write)(struct sim_dev_reg *reg, u32 value); member
304 bus1_fixups[i].write) { in ce4100_conf_write()
305 bus1_fixups[i].write(&(bus1_fixups[i]), in ce4100_conf_write()
317 return pci_direct_conf1.write(seg, bus, devfn, reg, len, value); in ce4100_conf_write()
322 .write = ce4100_conf_write,
/linux-4.4.14/drivers/fmc/
DKconfig36 tristate "FMC mezzanine driver to write I2C EEPROM"
38 This driver matches every mezzanine device and can write the
47 space to read and write registers using a char device. It
48 can be used to write user-space drivers, or just get
Dfmc-write-eeprom.c33 int write) in fwe_run_tlv() argument
50 if (write) { in fwe_run_tlv()
63 if (write) in fwe_run_tlv()
/linux-4.4.14/drivers/oprofile/
Doprofile_files.c61 .write = timeout_write,
100 .write = depth_write,
161 .write = enable_write,
174 .write = dump_write,
/linux-4.4.14/sound/soc/
Dsoc-io.c57 else if (component->write) in snd_soc_component_write()
58 return component->write(component, reg, val); in snd_soc_component_write()
71 if (!component->read || !component->write) in snd_soc_component_update_bits_legacy()
83 ret = component->write(component, reg, new); in snd_soc_component_update_bits_legacy()
/linux-4.4.14/arch/mn10300/unit-asb2305/
Dpci.c232 .write = pci_ampci_write_config,
422 o->write(bus, PCI_DEVFN(2, 0), PCI_COMMAND, 2, x); in unit_disable_pcnet()
424 o->write(bus, PCI_DEVFN(2, 0), PCI_BASE_ADDRESS_0, 4, 0x00030001); in unit_disable_pcnet()
488 o->write(&bus, PCI_DEVFN(3, 0), PCI_COMMAND, 2, x); in unit_pci_init()
495 o->write(&bus, PCI_DEVFN(3, 0), PCI_IO_BASE, 1, 0x01); in unit_pci_init()
497 o->write(&bus, PCI_DEVFN(3, 0), PCI_IO_BASE_UPPER16, 4, 0x00020000); in unit_pci_init()
499 o->write(&bus, PCI_DEVFN(3, 0), PCI_MEMORY_BASE, 4, 0xEBB0EA00); in unit_pci_init()
501 o->write(&bus, PCI_DEVFN(3, 0), PCI_PREF_MEMORY_BASE, 4, 0xE9F0E800); in unit_pci_init()
/linux-4.4.14/drivers/gpu/drm/mga/
Dmga_drv.h261 #define DMA_LOCALS unsigned int write; volatile u8 *prim;
273 write = dev_priv->prim.tail; \
283 write = dev_priv->prim.tail; \
288 dev_priv->prim.tail = write; \
291 write, dev_priv->prim.space); \
317 (u32)(val), write + (offset) * sizeof(u32)); \
318 *(volatile u32 *)(prim + write + (offset) * sizeof(u32)) = val; \
331 write += DMA_BLOCK_SIZE; \
/linux-4.4.14/drivers/vfio/pci/
Dvfio_pci_config.c116 u8 *write; /* writeable bits */ member
210 __le32 virt = 0, write = 0; in vfio_default_config_write() local
212 memcpy(&write, perm->write + offset, count); in vfio_default_config_write()
214 if (!write) in vfio_default_config_write()
220 if (write & virt) { in vfio_default_config_write()
225 virt_val &= ~(write & virt); in vfio_default_config_write()
226 virt_val |= (val & (write & virt)); in vfio_default_config_write()
232 if (write & ~virt) { in vfio_default_config_write()
241 phys_val &= ~(write & ~virt); in vfio_default_config_write()
242 phys_val |= (val & (write & ~virt)); in vfio_default_config_write()
[all …]
/linux-4.4.14/arch/s390/oprofile/
Dinit.c161 .write = hwsampler_write,
202 .write = hw_interval_write,
240 .write = hwsampler_zero_write,
275 .write = hwsampler_kernel_write,
310 .write = hwsampler_user_write,
361 .write = timer_enabled_write,
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/
Dethtool.c499 u32 write; member
538 int reg, u32 mask, u32 write) in reg_pattern_test() argument
549 register_test_patterns[pat] & write); in reg_pattern_test()
551 if (val != (register_test_patterns[pat] & write & mask)) { in reg_pattern_test()
555 register_test_patterns[pat] & write & mask); in reg_pattern_test()
566 int reg, u32 mask, u32 write) in reg_set_and_check() argument
575 ixgbe_write_reg(&adapter->hw, reg, write & mask); in reg_set_and_check()
577 if ((write & mask) != (val & mask)) { in reg_set_and_check()
579 reg, (val & mask), write & mask); in reg_set_and_check()
613 test->write); in ixgbevf_reg_test()
[all …]
/linux-4.4.14/drivers/media/dvb-frontends/
Dcx24110.h44 if (fe->ops.write) in cx24110_pll_write()
45 return fe->ops.write(fe, buf, 3); in cx24110_pll_write()
Dmt352.h68 if (fe->ops.write) in mt352_write()
69 r = fe->ops.write(fe, buf, len); in mt352_write()
Dsi21xx.h32 if (fe->ops.write) in si21xx_writeregister()
33 r = fe->ops.write(fe, buf, 2); in si21xx_writeregister()
Dstv0288.h62 if (fe->ops.write) in stv0288_writereg()
63 r = fe->ops.write(fe, buf, 2); in stv0288_writereg()
Dstv0299.h113 if (fe->ops.write) in stv0299_writereg()
114 r = fe->ops.write(fe, buf, 2); in stv0299_writereg()
/linux-4.4.14/Documentation/fault-injection/
Dnotifier-error-inject.txt19 If the notifier call chain should be failed with some events notified, write
35 bash: echo: write error: Operation not permitted
41 bash: echo: write error: No such file or directory
59 bash: echo: write error: Cannot allocate memory
76 bash: echo: write error: Cannot allocate memory
/linux-4.4.14/Documentation/
Dpercpu-rw-semaphore.txt4 Percpu rw semaphores is a new read-write semaphore design that is
7 The problem with traditional read-write semaphores is that when multiple
23 for write with percpu_down_write, percpu_up_write.
/linux-4.4.14/Documentation/w1/slaves/
Dw1_ds240622 respectively. Bits 2-7 are ignored, so it's safe to write ASCII data.
24 CRCs are checked on read and write. Failed checks cause an I/O error to be
25 returned. On a failed write, the switch status is not changed.
/linux-4.4.14/arch/powerpc/boot/
Dmktree.c118 if (write(out_fd, &bt, sizeof(bt)) != sizeof(bt)) { in main()
131 if (write(out_fd, tmpbuf, sizeof(tmpbuf)) != sizeof(tmpbuf)) { in main()
144 if (write(out_fd, &bt, sizeof(bt)) != sizeof(bt)) { in main()
/linux-4.4.14/drivers/misc/eeprom/
DKconfig7 Enable this driver to get read/write support to most I2C EEPROMs
20 has any software write-protect mechanism you may want to review the
34 Enable this driver to get read/write support to most SPI EEPROMs,
70 The driver supports both read as well as write commands.
79 supports both read and write commands and also the command to
94 EEPROM allowing to read/write the configuration data or to
/linux-4.4.14/Documentation/nvmem/
Dnvmem.txt32 and write the non-volatile memory.
71 The NVMEM framework provides 3 APIs to read/write NVMEM cells.
83 and nvmem_cell_read/write() can then read or write to the cell.
90 In some instances it is necessary to directly read/write the NVMEM.
106 Before the consumers can read/write NVMEM directly, it should get hold
134 Userspace can read/write the raw NVMEM file located at
/linux-4.4.14/arch/m68k/ifpsp060/
DCHANGES50 If {i,d}mem_{read,write}_{byte,word,long}() returns
72 a {i,d}mem_{read,write}_{byte,word,long}() "call-out",
88 bit 23 = 0 (write)
100 For data read/write access errors, the info stacked is:
109 bit 24 = x (read; 1 if read, 0 if write)
110 bit 23 = x (write; 1 if write, 0 if read)
/linux-4.4.14/drivers/atm/
Dfore200e.c322 fore200e->bus->write(BSTAT_COLD_START, &fore200e->cp_monitor->bstat); in fore200e_reset()
620 fore200e->bus->write(prom_dma, &entry->cp_entry->cmd.prom_block.prom_haddr); in fore200e_pca_prom_read()
624 fore200e->bus->write(*(u32*)&opcode, (u32 __iomem *)&entry->cp_entry->cmd.prom_block.opcode); in fore200e_pca_prom_read()
749 fore200e->bus->write(hcr | SBA200E_HCR_INTR_ENA, fore200e->regs.sba.hcr); in fore200e_sba_irq_enable()
760 fore200e->bus->write(hcr | SBA200E_HCR_INTR_CLR, fore200e->regs.sba.hcr); in fore200e_sba_irq_ack()
765 fore200e->bus->write(SBA200E_HCR_RESET, fore200e->regs.sba.hcr); in fore200e_sba_reset()
767 fore200e->bus->write(0, fore200e->regs.sba.hcr); in fore200e_sba_reset()
788 fore200e->bus->write(0x02, fore200e->regs.sba.isr); /* XXX hardwired interrupt level */ in fore200e_sba_map()
1043 fore200e->bus->write(entry->rbd_block_dma, &entry->cp_entry->rbd_block_haddr); in fore200e_supply()
1223 fore200e->bus->write(entry->rpd_dma, &entry->cp_entry->rpd_haddr); in fore200e_rx_irq()
[all …]
/linux-4.4.14/Documentation/hid/
Dhiddev.txt56 course. If you need to write one, read on.
109 HIDIOCGCOLLECTIONINFO - struct hiddev_collection_info (read/write)
121 HIDIOCGSTRING - struct hiddev_string_descriptor (read/write)
136 HIDIOCGREPORT - struct hiddev_report_info (write)
141 HIDIOCSREPORT - struct hiddev_report_info (write)
147 HIDIOCGREPORTINFO - struct hiddev_report_info (read/write)
159 HIDIOCGFIELDINFO - struct hiddev_field_info (read/write)
166 HIDIOCGUCODE - struct hiddev_usage_ref (read/write)
171 HIDIOCGUSAGE - struct hiddev_usage_ref (read/write)
179 HIDIOCSUSAGE - struct hiddev_usage_ref (write)
[all …]
/linux-4.4.14/Documentation/hwmon/
Dabituguru-datasheet18 and extended with write support and info on more databanks, the write support
62 The number of bytes is fixed for a given bank, you should always read or write
74 Notice that some banks have both a read and a write address this is how the
75 uGuru determines if a read from or a write to the bank is taking place, thus
77 write address. The write address is always one (1) more than the read address.
83 Before you can read from or write to the uGuru you must first put the uGuru
86 To put the uGuru in ready mode first write 0x00 to DATA and then wait for DATA
105 Next write the bank address to DATA. After the bank address has been written
109 Once DATA holds 0x08 again write the sensor address to CMD.
125 ready mode, so that it is ready for the next read / write cycle. This way
[all …]
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_drv.h2063 #define RING_LOCALS int write, _nr, _align_nr; unsigned int mask; u32 *ring;
2079 write = dev_priv->ring.tail; \
2086 write, dev_priv->ring.tail ); \
2088 if (((dev_priv->ring.tail + _nr) & mask) != write) { \
2092 write, __LINE__); \
2094 dev_priv->ring.tail = write; \
2106 (unsigned int)(x), write ); \
2108 ring[write++] = (x); \
2109 write &= mask; \
2121 if (write + _size > mask) { \
[all …]
/linux-4.4.14/drivers/input/misc/
Dad714x.h38 ad714x_write_t write; member
52 ad714x_read_t read, ad714x_write_t write);
/linux-4.4.14/arch/um/drivers/
Dchan_user.c42 err = write(fd, buf, n); in generic_write()
154 count = write(pipe_fd, &c, sizeof(c)); in winch_thread()
212 count = write(pipe_fd, &c, sizeof(c)); in winch_thread()
296 count = write(thread_fd, &c, sizeof(c)); in register_winch()
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe-debugfs.c224 .write = xgmac_reg_addr_write,
231 .write = xgmac_reg_value_write,
302 .write = xpcs_mmd_write,
309 .write = xpcs_reg_addr_write,
316 .write = xpcs_reg_value_write,
/linux-4.4.14/arch/um/os-Linux/
Daio.c121 err = write(reply_fd, &reply, sizeof(reply)); in aio_thread()
147 n = write(req->io_fd, req->buf, req->len); in do_not_aio()
194 err = write(req.aio->reply_fd, &reply, sizeof(reply)); in not_aio_thread()
275 err = write(aio->reply_fd, &reply, sizeof(reply)); in submit_aio_26()
373 err = write(aio_req_fd_w, &req, sizeof(req)); in submit_aio_24()
/linux-4.4.14/drivers/misc/
Dlkdtm.c777 .write = direct_entry} },
781 .write = int_hardware_entry} },
785 .write = int_hw_irq_en} },
789 .write = int_tasklet_entry} },
793 .write = fs_devrw_entry} },
797 .write = mem_swapout_entry} },
801 .write = timeradd_entry} },
805 .write = scsi_dispatch_cmd_entry} },
809 .write = ide_core_cp_entry} },
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/
Dsrio-rmu.txt6 "fsl-srio-dbell-unit" and "fsl-srio-port-write-unit").
33 (msg-unit, doorbell, port-write).
104 "fsl,srio-port-write-unit-vX.Y", "fsl,srio-port-write-unit"
124 A single IRQ that handles port-write conditions is
158 port-write-unit@4e0 {
159 compatible = "fsl,srio-port-write-unit";
/linux-4.4.14/Documentation/mmc/
Dmmc-dev-parts.txt14 Read and write access is provided to the two MMC boot partitions. Due to
17 platform, write access is disabled by default to reduce the chance of
20 To enable write access to /dev/mmcblkXbootY, disable the forced read-only
/linux-4.4.14/Documentation/mtd/nand/
Dpxa3xx-nand.txt56 spare, and then the ECC controller will read/write the ECC code (30B in
68 write in multiples of 8-bytes, because the data buffer is 64-bits.
74 the middle of a page, spare OOB cannot be read or write independently of the
78 In the same sense, in order to write to the spare OOB the driver has to write
103 In addition, this means under regular usage the driver will write such
/linux-4.4.14/fs/nls/
DKconfig45 codepage if you want to be able to read/write these filenames on
57 codepage if you want to be able to read/write these filenames on
69 codepage if you want to be able to read/write these filenames on
82 codepage if you want to be able to read/write these filenames on
98 codepage if you want to be able to read/write these filenames on
113 codepage if you want to be able to read/write these filenames on
124 codepage if you want to be able to read/write these filenames on
135 codepage if you want to be able to read/write these filenames on
146 codepage if you want to be able to read/write these filenames on
157 codepage if you want to be able to read/write these filenames on
[all …]
/linux-4.4.14/Documentation/trace/
Dring-buffer-design.txt36 commit_page - a pointer to the page with the last finished non-nested write.
63 No two writers can write at the same time (on the same per-cpu buffer),
78 the interrupt doing a write as well.
205 tail page - the page where the next write will take place.
207 commit page - the page that last finished a write.
215 is finished writing data into that position, it commits the write.
217 Another write (or a read) may take place at anytime during this
218 transaction. If another write happens it must finish before continuing
219 with the previous write.
240 +---------+ <--- next position for write (current commit)
[all …]
/linux-4.4.14/drivers/staging/comedi/drivers/
Dserial2002.c610 struct serial_data write; in serial2002_do_insn_write() local
612 write.kind = is_digital; in serial2002_do_insn_write()
613 write.index = chan; in serial2002_do_insn_write()
614 write.value = data[n]; in serial2002_do_insn_write()
615 serial2002_write(devpriv->tty, write); in serial2002_do_insn_write()
655 struct serial_data write; in serial2002_ao_insn_write() local
657 write.kind = is_channel; in serial2002_ao_insn_write()
658 write.index = chan; in serial2002_ao_insn_write()
659 write.value = data[n]; in serial2002_ao_insn_write()
660 serial2002_write(devpriv->tty, write); in serial2002_ao_insn_write()
/linux-4.4.14/tools/testing/selftests/vm/
Dcompaction_test.c103 if (write(fd, "0", sizeof(char)) != sizeof(char)) { in check_compaction()
112 if (write(fd, "100000", (6*sizeof(char))) != (6*sizeof(char))) { in check_compaction()
139 if (write(fd, initial_nr_hugepages, sizeof(initial_nr_hugepages)) in check_compaction()
/linux-4.4.14/tools/testing/selftests/powerpc/mm/
Dsubpage_prot.c68 static inline void check_faulted(void *addr, long page, long subpage, int write) in check_faulted() argument
72 if (write) in check_faulted()
77 addr, page, subpage, write, in check_faulted()
/linux-4.4.14/Documentation/locking/
Dspinlocks.txt51 to change the variables it has to get an exclusive write lock.
68 .. read and write exclusive access to the info ...
74 _changes_ the list will have to get the write lock.
79 Also, you cannot "upgrade" a read-lock to a write-lock, so if you at _any_
81 to get the write-lock at the very beginning.
107 (and the equivalent read-write versions too, of course). The spinlock will
133 Note that you can be clever with read-write locks and interrupts. For
137 But when you do the write-lock, you have to use the irq-safe version.
143 indeed), while write-locks need to protect themselves against interrupts.
/linux-4.4.14/arch/um/include/shared/
Dnet_kern.h38 int (*write)(int, struct sk_buff *skb, struct uml_net_private *); member
49 int (*write)(int, struct sk_buff *skb, struct uml_net_private *); member
/linux-4.4.14/fs/fuse/
Dfile.c351 curr_index = req->misc.write.in.offset >> PAGE_CACHE_SHIFT; in fuse_range_is_writeback()
519 static void fuse_release_user_pages(struct fuse_req *req, int write) in fuse_release_user_pages() argument
525 if (write) in fuse_release_user_pages()
541 if (io->bytes >= 0 && io->write) in fuse_get_res_by_io()
603 fuse_release_user_pages(req, !io->write); in fuse_aio_complete_req()
605 if (io->write) { in fuse_aio_complete_req()
606 if (req->misc.write.in.size != req->misc.write.out.size) in fuse_aio_complete_req()
607 pos = req->misc.write.in.offset - io->offset + in fuse_aio_complete_req()
608 req->misc.write.out.size; in fuse_aio_complete_req()
928 struct fuse_write_in *inarg = &req->misc.write.in; in fuse_write_fill()
[all …]
/linux-4.4.14/drivers/net/ethernet/intel/igb/
De1000_mbx.c67 else if (mbx->ops.write) in igb_write_mbx()
68 ret_val = mbx->ops.write(hw, msg, size, mbx_id); in igb_write_mbx()
229 if (!mbx->ops.write || !mbx->timeout) in igb_write_posted_mbx()
233 ret_val = mbx->ops.write(hw, msg, size, mbx_id); in igb_write_posted_mbx()
428 mbx->ops.write = igb_write_mbx_pf; in igb_init_mbx_params_pf()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_mbx.c73 if (!mbx->ops.write) in ixgbe_write_mbx()
76 return mbx->ops.write(hw, msg, size, mbx_id); in ixgbe_write_mbx()
224 if (!mbx->ops.write || !mbx->timeout) in ixgbe_write_posted_mbx()
228 ret_val = mbx->ops.write(hw, msg, size, mbx_id); in ixgbe_write_posted_mbx()
451 .write = ixgbe_write_mbx_pf,
/linux-4.4.14/drivers/staging/iio/addac/
Dadt7316.c240 ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG1, config1); in _adt7316_store_enabled()
305 ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG1, config1); in adt7316_store_select_ex_temp()
346 ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG2, config2); in adt7316_store_mode()
440 ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG2, config2); in adt7316_store_ad_channel()
501 ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG2, config2); in adt7316_store_disable_averaging()
540 ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG2, config2); in adt7316_store_enable_smbus_timeout()
578 ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG1, config1); in adt7316_store_powerdown()
616 ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG3, config3); in adt7316_store_fast_ad_clock()
668 ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG3, config3); in adt7316_store_da_high_resolution()
714 ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG3, config3); in adt7316_store_AIN_internal_Vref()
[all …]
/linux-4.4.14/fs/proc/
Dinode.c210 ssize_t (*write)(struct file *, const char __user *, size_t, loff_t *); in proc_reg_write() local
214 write = pde->proc_fops->write; in proc_reg_write()
215 if (write) in proc_reg_write()
216 rv = write(file, buf, count, ppos); in proc_reg_write()
370 .write = proc_reg_write,
386 .write = proc_reg_write,
/linux-4.4.14/Documentation/device-mapper/
Ddelay.txt10 With separate write parameters, the first set is only used for reads.
24 # Create device delaying only write operation for 500ms and
/linux-4.4.14/Documentation/ABI/stable/
Dsysfs-driver-w1_ds28e044 Description: read/write the contents of the two PIO's of the DS28E04-100
13 Description: read/write the contents of the EEPROM memory of the DS28E04-100
/linux-4.4.14/Documentation/filesystems/nfs/
Dnfsd-admin-interfaces.txt10 The server is always started by the first write of a nonzero value to
14 writing to nfsd/portlist; that write may be:
26 nfsd is shut down by a write of 0 to nfsd/threads. All locks and state
/linux-4.4.14/arch/sh/drivers/pci/
Dcommon.c44 EARLY_PCI_OP(write, byte, u8) in EARLY_PCI_OP()
45 EARLY_PCI_OP(write, word, u16) in EARLY_PCI_OP()
46 EARLY_PCI_OP(write, dword, u32) in EARLY_PCI_OP()
/linux-4.4.14/sound/soc/codecs/
Dwl1273.c127 r = core->write(core, WL1273_I2S_MODE_CONFIG_SET, mode); in snd_wl1273_fm_set_i2s_mode()
132 r = core->write(core, WL1273_AUDIO_ENABLE, in snd_wl1273_fm_set_i2s_mode()
157 r = core->write(core, WL1273_MOST_MODE_SET, WL1273_RX_MONO); in snd_wl1273_fm_set_channel_number()
159 r = core->write(core, WL1273_MONO_SET, WL1273_TX_MONO); in snd_wl1273_fm_set_channel_number()
161 r = core->write(core, WL1273_MOST_MODE_SET, WL1273_RX_STEREO); in snd_wl1273_fm_set_channel_number()
163 r = core->write(core, WL1273_MONO_SET, WL1273_TX_STEREO); in snd_wl1273_fm_set_channel_number()
/linux-4.4.14/Documentation/fpga/
Dfpga-mgr.txt61 How to write an image buffer to a supported FPGA
88 How to write an image file to a supported FPGA
116 To add another FPGA manager, write a driver that implements a set of ops. The
121 .write = socfpga_fpga_ops_configure_write,
157 2. .write (may be called once or multiple times)
162 The .write function writes a buffer to the FPGA. The buffer may be contain the
/linux-4.4.14/drivers/video/fbdev/mbx/
Dmbxdebugfs.c176 .write = write_file_dummy,
183 .write = write_file_dummy,
190 .write = write_file_dummy,
197 .write = write_file_dummy,
204 .write = write_file_dummy,
211 .write = write_file_dummy,
/linux-4.4.14/Documentation/scsi/
Dst.txt68 In variable block mode, the byte count in write() determines the size
74 driver is in multiples of the block size. The write() byte count must
84 writing and the last operation has been a write. Two filemarks can be
90 written to tape before the command returns. This makes sure that write errors
93 write the filemarks without flushing the drive buffer. Writing filemark at
95 operation is MTWEOFI, close() does not write a filemark. This can be used if
100 write, a filemark is written before moving tape.
108 device can be opened for writing even if there is a write protected
109 tape in the drive (commands trying to write something return error if
176 to complete (including read and write). This includes tape movement
[all …]
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_trace.h358 TP_PROTO(struct drm_i915_gem_object *obj, u32 index, bool gtt, bool write),
359 TP_ARGS(obj, index, gtt, write),
365 __field(bool, write)
372 __entry->write = write;
379 __entry->write ? ", writable" : "")
667 TP_PROTO(bool write, u32 reg, u64 val, int len, bool trace),
669 TP_ARGS(write, reg, val, len, trace),
676 __field(u16, write)
683 __entry->write = write;
688 __entry->write ? "write" : "read",
/linux-4.4.14/kernel/trace/
Dtrace_stack.c280 .write = stack_max_size_write,
415 .write = ftrace_filter_write,
421 stack_trace_sysctl(struct ctl_table *table, int write, in stack_trace_sysctl() argument
429 ret = proc_dointvec(table, write, buffer, lenp, ppos); in stack_trace_sysctl()
431 if (ret || !write || in stack_trace_sysctl()
/linux-4.4.14/Documentation/devicetree/bindings/interrupt-controller/
Dmsi.txt5 write to an MMIO address.
16 Devices may be configured by software to write to arbitrary doorbells which
21 Devices may be configured to write an arbitrary payload chosen by software.
24 - Sideband information accompanying the write.
34 An MSI controller signals interrupts to a CPU when a write is made to an MMIO
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Ddebugfs.h91 .write = _iwl_dbgfs_##name##_write, \
100 .write = _iwl_dbgfs_##name##_write, \
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/
Dlib.c63 FAIL_IF(write(write_pipe.write_fd, &c, 1) != 1); in sync_with_child()
85 FAIL_IF(write(write_pipe.write_fd, &c, 1) != 1); in notify_parent()
94 FAIL_IF(write(write_pipe.write_fd, &c, 1) != 1); in notify_parent_of_error()
/linux-4.4.14/arch/score/mm/
Dfault.c44 asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long write, in do_page_fault() argument
100 if (write) { in do_page_fault()
143 tsk->thread.error_code = write; in do_page_fault()

12345678910>>...15