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

1234567891011>>

/linux-master/drivers/gpio/
H A Dgpio-max730x.c16 * - D15 = low -> write command
71 ret = ts->write(ts->dev, 0x08 + (offset >> 2), *config);
82 return ts->write(ts->dev, 0x20 + offset, 0x01);
85 return ts->write(ts->dev, 0x20 + offset, 0x00);
111 ret = ts->write(ts->dev, 0x08 + (offset >> 2), *config);
172 ts->write(dev, 0x04, 0x01);
228 ts->write(dev, 0x04, 0x00);
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/sound/pci/
H A Dak4531_codec.c108 ak4531->write(ak4531, reg, ak4531->regs[reg] = val);
186 ak4531->write(ak4531, left_reg, ak4531->regs[left_reg] = left);
191 ak4531->write(ak4531, left_reg, ak4531->regs[left_reg] = left);
192 ak4531->write(ak4531, right_reg, ak4531->regs[right_reg] = right);
248 ak4531->write(ak4531, reg1, ak4531->regs[reg1] = val1);
249 ak4531->write(ak4531, reg2, ak4531->regs[reg2] = val2);
393 ak4531->write(ak4531, AK4531_RESET, 0x03); /* no RST, PD */
395 ak4531->write(ak4531, AK4531_CLOCK, 0x00); /* CODEC ADC and CODEC DAC use {LR,B}CLK2 and run off LRCLK2 PLL */
399 ak4531->write(ak4531, idx, ak4531->regs[idx] = snd_ak4531_initial_map[idx]); /* recording source is mixer */
430 ak4531->write(ak453
[all...]
/linux-master/arch/alpha/lib/
H A Dev6-memset.S48 * undertake a major re-write to interleave the constant materialization
58 addq $18,$16,$6 # E : max address to write to
65 xor $16,$6,$1 # E : will complete write be within one quadword?
100 * one partial quad to write.
103 sra $18,3,$3 # U : Number of remaining quads to write
104 and $18,7,$18 # E : Number of trailing bytes to write
114 * $6 The max quadword address to write to
116 * $3 Number quads to write
161 wh64 ($4) # L1 : memory subsystem write hint
246 addq $18,$16,$6 # E : max address to write t
[all...]
/linux-master/tools/perf/util/
H A Dtrace-event-info.c59 if (write(output_fd, &size, hdr_sz) != hdr_sz)
67 if (write(output_fd, buf, r) != r)
104 if (write(output_fd, "header_page", 12) != 12) {
105 pr_debug("can't write header_page\n");
128 if (write(output_fd, "header_event", 13) != 13) {
129 pr_debug("can't write header_event\n");
192 if (write(output_fd, &count, 4) != 4) {
194 pr_debug("can't write count\n");
285 if (write(output_fd, &count, 4) != 4) {
287 pr_debug("can't write coun
[all...]
/linux-master/drivers/scsi/
H A Dzorro_esp.c106 #define CYBER_DMA_WRITE 0x40 /* DMA direction. 1 = write */
149 #define FASTLANE_DMA_WRITE 0x08 /* 1 = write */
260 u32 esp_count, u32 dma_count, int write, u8 cmd)
272 dma_count, write, cmd); local
280 if (write)
290 if (write)
311 u32 esp_count, u32 dma_count, int write, u8 cmd)
319 dma_count, write, cmd); local
326 if (write)
336 if (write)
259 zorro_esp_send_blz1230_dma_cmd(struct esp *esp, u32 addr, u32 esp_count, u32 dma_count, int write, u8 cmd) argument
310 zorro_esp_send_blz1230II_dma_cmd(struct esp *esp, u32 addr, u32 esp_count, u32 dma_count, int write, u8 cmd) argument
355 zorro_esp_send_blz2060_dma_cmd(struct esp *esp, u32 addr, u32 esp_count, u32 dma_count, int write, u8 cmd) argument
364 dma_count, write, cmd); local
400 zorro_esp_send_cyber_dma_cmd(struct esp *esp, u32 addr, u32 esp_count, u32 dma_count, int write, u8 cmd) argument
411 dma_count, write, cmd); local
452 zorro_esp_send_cyberII_dma_cmd(struct esp *esp, u32 addr, u32 esp_count, u32 dma_count, int write, u8 cmd) argument
461 dma_count, write, cmd); local
493 zorro_esp_send_fastlane_dma_cmd(struct esp *esp, u32 addr, u32 esp_count, u32 dma_count, int write, u8 cmd) argument
504 dma_count, write, cmd); local
[all...]
/linux-master/tools/testing/selftests/net/mptcp/
H A Dmptcp_inq.c259 ret = write(unixfd, &len, sizeof(len));
262 ret = write(fd, buf, len);
264 die_perror("write");
267 xerror("short write");
276 ret = write(unixfd, &total, sizeof(total));
287 ret = write(fd, buf, len);
289 die_perror("write");
303 ret = write(fd, buf, 1);
306 ret = write(unixfd, "closed", 6);
345 ret = write(unixf
[all...]
/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.c369 int write)
377 k->type == (write ? i->new : i->old)) {
378 k->type = write ? i->old : i->new;
385 int write,
395 * Do these operations in reverse order in the write path:
399 switch (!write ? i : nr_compat - 1 - i) {
406 bch2_bkey_renumber(__btree_node_type(level, btree_id), k, write); local
424 if (!write)
439 u->k.p.snapshot = write
447 uk.p.snapshot = write
367 bch2_bkey_renumber(enum btree_node_type btree_node_type, struct bkey_packed *k, int write) argument
383 __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/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/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.
149 * The @write function is called with the data copied into a kernel space
151 * modified by the @write function. @write should return 0 on success.
153 * The @data value is accessible from the @show and @write functions by calling
160 proc_write_t write,
172 p->write = write;
157 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
249 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/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/arch/loongarch/kvm/
H A Dmmu.c74 * Need not split huge page now, just set write-proect pte bit
75 * Split huge page until next write fault
351 * kvm_arch_mmu_enable_log_dirty_pt_masked() - write protect dirty pages
356 * slot to be write protected
358 * Walks bits set in mask write protects the associated pte's. Caller must
449 * If dirty page logging is enabled, write protect all pages in the slot
524 * @write: Whether the fault was due to a write.
532 * -EFAULT on failure due to absent GPA mapping or write to
535 static int kvm_map_page_fast(struct kvm_vcpu *vcpu, unsigned long gpa, bool write) argument
605 fault_supports_huge_mapping(struct kvm_memory_slot *memslot, unsigned long hva, bool write) argument
768 kvm_map_page(struct kvm_vcpu *vcpu, unsigned long gpa, bool write) argument
902 kvm_handle_mm_fault(struct kvm_vcpu *vcpu, unsigned long gpa, bool write) 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...]
/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)

Completed in 399 milliseconds

1234567891011>>