Searched refs:write (Results 201 - 225 of 2699) sorted by relevance

1234567891011>>

/linux-master/drivers/misc/
H A Ddw-xdata-pcie.c94 static void dw_xdata_start(struct dw_xdata *dw, bool write) argument
115 if (write) {
135 write ? "write" : "read");
138 static void dw_xdata_perf_meas(struct dw_xdata *dw, u64 *data, bool write) argument
140 if (write) {
162 static void dw_xdata_perf(struct dw_xdata *dw, u64 *rate, bool write) argument
171 dw_xdata_perf_meas(dw, &data[0], write);
183 dw_xdata_perf_meas(dw, &data[1], write);
198 diff, write
[all...]
/linux-master/fs/bcachefs/
H A Dbkey_methods.c363 int write)
371 k->type == (write ? i->new : i->old)) {
372 k->type = write ? i->old : i->new;
379 int write,
389 * Do these operations in reverse order in the write path:
393 switch (!write ? i : nr_compat - 1 - i) {
400 bch2_bkey_renumber(__btree_node_type(level, btree_id), k, write); local
418 if (!write)
433 u->k.p.snapshot = write
441 uk.p.snapshot = write
361 bch2_bkey_renumber(enum btree_node_type btree_node_type, struct bkey_packed *k, int write) argument
377 __bch2_bkey_compat(unsigned level, enum btree_id btree_id, unsigned version, unsigned big_endian, int write, struct bkey_format *f, struct bkey_packed *k) argument
[all...]
/linux-master/drivers/net/can/flexcan/
H A Dflexcan-core.c426 * PPC cores. So, we need to abstract off the register read/write
509 priv->write(reg_mcr, &regs->mcr);
537 priv->write(reg_mcr, &regs->mcr);
570 priv->write(reg_mcr, &regs->mcr);
580 priv->write(reg_ctrl, &regs->ctrl);
588 priv->write(reg_ctrl, &regs->ctrl);
639 priv->write(reg, &regs->mcr);
651 priv->write(reg, &regs->mcr);
670 priv->write(reg, &regs->mcr);
689 priv->write(re
[all...]
/linux-master/arch/riscv/kvm/
H A Daia_device.c78 u32 *nr, bool write)
83 if (write && kvm_riscv_aia_initialized(kvm))
88 if (write) {
111 if (write) {
123 if (write) {
132 if (write) {
140 if (write) {
149 if (write) {
157 if (write) {
171 static int aia_aplic_addr(struct kvm *kvm, u64 *addr, bool write) argument
77 aia_config(struct kvm *kvm, unsigned long type, u32 *nr, bool write) argument
190 aia_imsic_addr(struct kvm *kvm, u64 *addr, unsigned long vcpu_idx, bool write) argument
[all...]
/linux-master/fs/proc/
H A Dproc_net.c47 if (file->f_mode & FMODE_WRITE && !PDE(inode)->write)
137 * @write: The write method with which to 'modify' the file.
148 * The @write function is called with the data copied into a kernel space
150 * modified by the @write function. @write should return 0 on success.
152 * The @data value is accessible from the @show and @write functions by calling
159 proc_write_t write,
171 p->write = write;
156 proc_create_net_data_write(const char *name, umode_t mode, struct proc_dir_entry *parent, const struct seq_operations *ops, proc_write_t write, unsigned int state_size, void *data) argument
248 proc_create_net_single_write(const char *name, umode_t mode, struct proc_dir_entry *parent, int (*show)(struct seq_file *, void *), proc_write_t write, void *data) argument
[all...]
/linux-master/drivers/gpio/
H A Dgpio-pcf857x.c58 * write register. Writing a "one" bit (to match the reset state) lets
76 int (*write)(struct i2c_client *client, unsigned int data); member in struct:pcf857x
125 status = gpio->write(gpio->client, gpio->out);
166 status = gpio->write(gpio->client, gpio->out);
185 gpio->write(gpio->client, gpio->out);
312 gpio->write = i2c_write_le8;
330 gpio->write = i2c_write_le16;
413 gpio->write(gpio->client, BIT(gpio->chip.ngpio) - 1);
/linux-master/include/trace/events/
H A Dfsi.h72 bool write, const void *data, int ret),
73 TP_ARGS(master, link, id, addr, size, write, data, ret),
80 __field(bool, write)
90 __entry->write = write;
93 if (__entry->write || !__entry->ret)
102 __entry->write ? "<=" : "=>",
/linux-master/ipc/
H A Dipc_sysctl.c20 static int proc_ipc_dointvec_minmax_orphans(struct ctl_table *table, int write, argument
27 err = proc_dointvec_minmax(table, write, buffer, lenp, ppos);
36 static int proc_ipc_auto_msgmni(struct ctl_table *table, int write, argument
45 if (write)
48 return proc_dointvec_minmax(&ipc_table, write, buffer, lenp, ppos);
51 static int proc_ipc_sem_dointvec(struct ctl_table *table, int write, argument
59 ret = proc_dointvec(table, write, buffer, lenp, ppos);
/linux-master/drivers/mmc/core/
H A Dmmc_test.c211 unsigned dev_addr, unsigned blocks, unsigned blksz, int write)
217 mrq->cmd->opcode = write ?
220 mrq->cmd->opcode = write ?
240 mrq->data->flags = write ? MMC_DATA_WRITE : MMC_DATA_READ;
290 u8 *buffer, unsigned addr, unsigned blksz, int write)
305 mmc_test_prepare_mrq(test, &mrq, &sg, 1, addr, 1, blksz, write);
626 static int __mmc_test_prepare(struct mmc_test_card *test, int write, int val) argument
634 if (write)
673 struct mmc_request *mrq, int write)
679 mrq->cmd->opcode = write
209 mmc_test_prepare_mrq(struct mmc_test_card *test, struct mmc_request *mrq, struct scatterlist *sg, unsigned sg_len, unsigned dev_addr, unsigned blocks, unsigned blksz, int write) argument
289 mmc_test_buffer_transfer(struct mmc_test_card *test, u8 *buffer, unsigned addr, unsigned blksz, int write) argument
672 mmc_test_prepare_broken_mrq(struct mmc_test_card *test, struct mmc_request *mrq, int write) argument
825 mmc_test_nonblock_transfer(struct mmc_test_card *test, unsigned int dev_addr, int write, int count) argument
873 mmc_test_simple_transfer(struct mmc_test_card *test, struct scatterlist *sg, unsigned sg_len, unsigned dev_addr, unsigned blocks, unsigned blksz, int write) argument
899 mmc_test_broken_transfer(struct mmc_test_card *test, unsigned blocks, unsigned blksz, int write) argument
930 mmc_test_transfer(struct mmc_test_card *test, struct scatterlist *sg, unsigned sg_len, unsigned dev_addr, unsigned blocks, unsigned blksz, int write) argument
1425 mmc_test_area_transfer(struct mmc_test_card *test, unsigned int dev_addr, int write) argument
1437 mmc_test_area_io_seq(struct mmc_test_card *test, unsigned long sz, unsigned int dev_addr, int write, int max_scatter, int timed, int count, bool nonblock, int min_sg_len) argument
1488 mmc_test_area_io(struct mmc_test_card *test, unsigned long sz, unsigned int dev_addr, int write, int max_scatter, int timed) argument
1649 mmc_test_best_performance(struct mmc_test_card *test, int write, int max_scatter) argument
1906 mmc_test_rnd_perf(struct mmc_test_card *test, int write, int print, unsigned long sz, int secs, int force_retuning) argument
1943 mmc_test_random_perf(struct mmc_test_card *test, int write) argument
2005 mmc_test_seq_perf(struct mmc_test_card *test, int write, unsigned int tot_sz, int max_scatter) argument
2052 mmc_test_large_seq_perf(struct mmc_test_card *test, int write) argument
2367 mmc_test_ongoing_transfer(struct mmc_test_card *test, unsigned int dev_addr, int use_sbc, int repeat_cmd, int write, int use_areq) argument
2481 __mmc_test_cmds_during_tfr(struct mmc_test_card *test, unsigned long sz, int use_sbc, int write, int use_areq) argument
2504 mmc_test_cmds_during_tfr(struct mmc_test_card *test, int use_sbc, int write, int use_areq) argument
[all...]
/linux-master/drivers/net/ethernet/amd/xgbe/
H A 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,
369 .write = xprop_reg_addr_write,
376 .write = xprop_reg_value_write,
429 .write = xi2c_reg_addr_write,
436 .write = xi2c_reg_value_write,
/linux-master/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_ddc.c95 bool write)
102 .write = write,
307 current_payload.write = payload->write;
351 payload.write = true;
363 payload.write = false;
467 .write = true,
485 .write = false,
90 i2c_payloads_add( struct i2c_payloads *payloads, uint32_t address, uint32_t len, uint8_t *data, bool write) argument
/linux-master/drivers/gpu/drm/i915/gem/
H A Di915_gem_domain.c35 * whether the object is un-cached or write-through.
125 * possibly write domain.
127 * @write: ask for write access or read only
133 i915_gem_object_set_to_wc_domain(struct drm_i915_gem_object *obj, bool write) argument
141 (write ? I915_WAIT_ALL : 0),
170 /* It should now be out of any other write domains, and we can update
175 if (write) {
187 * and possibly write domain.
189 * @write
195 i915_gem_object_set_to_gtt_domain(struct drm_i915_gem_object *obj, bool write) argument
504 i915_gem_object_set_to_cpu_domain(struct drm_i915_gem_object *obj, bool write) argument
[all...]
/linux-master/drivers/soc/rockchip/
H A Dio-domain.c71 int (*write)(struct rockchip_iodomain_supply *supply, int uV); member in struct:rockchip_iodomain_soc_data
79 int (*write)(struct rockchip_iodomain_supply *supply, int uV); member in struct:rockchip_iodomain
139 dev_err(iod->dev, "Couldn't write to GRF\n");
186 ret = supply->iod->write(supply, uV);
461 .write = rk3568_iodomain_write,
592 if (iod->soc_data->write)
593 iod->write = iod->soc_data->write;
595 iod->write = rockchip_iodomain_write;
657 ret = iod->write(suppl
[all...]
/linux-master/drivers/xen/xen-pciback/
H A Dconf_space.c38 DEFINE_PCI_CONFIG(write, byte, u8)
39 DEFINE_PCI_CONFIG(write, word, u16)
40 DEFINE_PCI_CONFIG(write, dword, u32)
79 if (field->u.b.write)
80 ret = field->u.b.write(dev, offset, (u8) value,
84 if (field->u.w.write)
85 ret = field->u.w.write(dev, offset, (u16) value,
89 if (field->u.dw.write)
90 ret = field->u.dw.write(dev, offset, value,
213 dev_dbg(&dev->dev, "write reques
[all...]
H A Dconf_space_quirks.c74 field->u.b.write = xen_pcibk_write_config_byte;
78 field->u.w.write = xen_pcibk_write_config_word;
82 field->u.dw.write = xen_pcibk_write_config_dword;
/linux-master/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_coherency.c310 const struct igt_coherency_mode *read, *write, *over; local
318 * We repeatedly write, overwrite and read from a sequence of
347 for (write = igt_coherency_mode; write->name; write++) {
348 if (!write->set)
351 if (!write->valid(&ctx))
382 err = write->set(&ctx, offsets[n], values[n]);
385 n, count, write->name, err);
403 write
[all...]
/linux-master/tools/testing/selftests/mm/
H A Dcharge_reserved_hugetlb.sh156 local write="$4"
186 bash write_hugetlb_memory.sh "$size" "$populate" "$write" \
196 echo "FAIL: The write died"
207 if [[ "$populate" == "-o" ]] || [[ "$write" == "-w" ]]; then
219 bash write_hugetlb_memory.sh "$size" "$populate" "$write" \
244 echo After write:
272 local write="$3"
296 "$write" "/mnt/huge/test" "$method" "$private" "$expect_failure" \
453 echo Test normal case with write.
552 echo Test normal case with write, multipl
[all...]
/linux-master/arch/x86/pci/
H A Dintel_mid_pci.c17 * Lincroft writes to type 1 space. But only read/write if the device
133 return raw_pci_ext_ops->write(domain, busnum, devfn, reg, 4,
137 /* This is some other kind of BAR write, so just do it. */
138 return raw_pci_ext_ops->write(domain, busnum, devfn, reg, len, val);
195 * - BAR sizing code will save, write ~0, read size, restore
209 * non-existent devices, so just eat the write in that case.
212 return pci_direct_conf1.write(pci_domain_nr(bus), bus->number,
214 return raw_pci_ext_ops->write(pci_domain_nr(bus), bus->number, devfn,
300 .write = pci_write,
/linux-master/tools/testing/selftests/drivers/sdsi/
H A Dsdsi_test.py124 f.write(rand_file)
131 f.write(rand_file)
161 f.write(rand_file)
180 f.write(rand_file)
184 g.write(rand_file)
/linux-master/arch/um/drivers/
H A Dchan_user.c36 /* XXX Trivial wrapper around write */
42 err = write(fd, buf, n);
154 count = write(pipe_fd, &c, sizeof(c));
156 os_info("winch_thread : failed to write synchronization byte, err = %d\n",
212 count = write(pipe_fd, &c, sizeof(c));
214 os_info("winch_thread : write failed, err = %d\n",
220 count = write(pipe_fd, &c, sizeof(c));
304 count = write(thread_fd, &c, sizeof(c));
306 printk(UM_KERN_ERR "register_winch : failed to write "
/linux-master/scripts/gdb/linux/
H A Dinterrupts.py219 gdb.write("%*s" % (prec + 8, ""))
221 gdb.write("CPU%-8d" % cpu)
222 gdb.write("\n")
228 gdb.write(show_irq_desc(prec, irq))
229 gdb.write(arch_show_interrupts(prec))
/linux-master/drivers/gpu/drm/amd/display/modules/hdcp/
H A Dhdcp_ddc.c209 static enum mod_hdcp_status write(struct mod_hdcp *hdcp, function
345 return write(hdcp, MOD_HDCP_MESSAGE_ID_WRITE_AKSV,
352 return write(hdcp, MOD_HDCP_MESSAGE_ID_WRITE_AINFO,
359 return write(hdcp, MOD_HDCP_MESSAGE_ID_WRITE_AN,
534 status = write(hdcp, MOD_HDCP_MESSAGE_ID_WRITE_AKE_INIT,
538 status = write(hdcp, MOD_HDCP_MESSAGE_ID_WRITE_AKE_INIT,
549 status = write(hdcp, MOD_HDCP_MESSAGE_ID_WRITE_AKE_NO_STORED_KM,
553 status = write(hdcp, MOD_HDCP_MESSAGE_ID_WRITE_AKE_NO_STORED_KM,
564 status = write(hdcp, MOD_HDCP_MESSAGE_ID_WRITE_AKE_STORED_KM,
568 status = write(hdc
[all...]
/linux-master/tools/testing/selftests/powerpc/mm/
H A Dsubpage_prot.c68 static inline void check_faulted(void *addr, long page, long subpage, int write) argument
72 if (write)
77 addr, page, subpage, write,
/linux-master/arch/sparc/boot/
H A Dpiggyback.c233 if (write(image, buffer + 2, 14) != 14)
248 if (write(image, buffer, 12) != 12)
258 if (write(image, buffer, i) != i)
/linux-master/drivers/infiniband/core/
H A Duverbs_uapi.c67 if (def->write.is_ex)
68 method_key |= uapi_key_write_ex_method(def->write.command_num);
70 method_key |= uapi_key_write_method(def->write.command_num);
77 if (WARN_ON(exists && (def->write.is_ex != method_elm->is_ex)))
80 method_elm->is_ex = def->write.is_ex;
82 if (!def->write.is_ex)
84 BIT_ULL(def->write.command_num));
86 if (!def->write.is_ex && def->func_write) {
87 method_elm->has_udata = def->write.has_udata;
88 method_elm->has_resp = def->write
[all...]

Completed in 265 milliseconds

1234567891011>>