Home
last modified time | relevance | path

Searched refs:write_data (Results 1 – 25 of 87) sorted by relevance

1234

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Ddynptr_success.c39 char write_data[64] = "hello there, world!!"; in test_read_write() local
47 bpf_ringbuf_reserve_dynptr(&ringbuf, sizeof(write_data), 0, &ptr); in test_read_write()
50 err = bpf_dynptr_write(&ptr, 0, write_data, sizeof(write_data), 0); in test_read_write()
57 if (read_data[i] != write_data[i]) { in test_read_write()
173 __u8 write_data[2] = {1, 2}; in test_skb_readonly() local
183 ret = bpf_dynptr_write(&ptr, 0, write_data, sizeof(write_data), 0); in test_skb_readonly()
268 char write_data[45] = "hello there, world!!"; in test_adjust_err() local
307 if (bpf_dynptr_write(&ptr, 0, &write_data, sizeof(write_data), 0) != -E2BIG) { in test_adjust_err()
326 char write_data = 'x', read_data; in test_zero_size_dynptr() local
350 if (bpf_dynptr_write(&ptr, 0, &write_data, sizeof(write_data), 0) != -E2BIG) { in test_zero_size_dynptr()
[all …]
Ddynptr_fail.c1149 char write_data[64] = "hello there, world!!"; in skb_invalid_data_slice3() local
1162 bpf_dynptr_write(&ptr, 0, write_data, sizeof(write_data), 0); in skb_invalid_data_slice3()
1175 char write_data[64] = "hello there, world!!"; in skb_invalid_data_slice4() local
1187 bpf_dynptr_write(&ptr, 0, write_data, sizeof(write_data), 0); in skb_invalid_data_slice4()
/linux-6.12.1/arch/sh/boards/mach-kfr2r09/
Dlcd_wqvga.c70 so->write_data(sohandle, v); /* PTH4/LCDRS High [param, 17:0] */ in write_reg()
75 static void write_data(void *sohandle, in write_data() function
146 write_data(sohandle, so, data_frame_if, ARRAY_SIZE(data_frame_if)); in display_on()
154 write_data(sohandle, so, data_panel, ARRAY_SIZE(data_panel)); in display_on()
158 write_data(sohandle, so, data_timing, ARRAY_SIZE(data_timing)); in display_on()
162 write_data(sohandle, so, data_timing, ARRAY_SIZE(data_timing)); in display_on()
166 write_data(sohandle, so, data_timing, ARRAY_SIZE(data_timing)); in display_on()
170 write_data(sohandle, so, data_timing_src, ARRAY_SIZE(data_timing_src)); in display_on()
174 write_data(sohandle, so, data_gamma, ARRAY_SIZE(data_gamma)); in display_on()
178 write_data(sohandle, so, data_gamma, ARRAY_SIZE(data_gamma)); in display_on()
[all …]
/linux-6.12.1/drivers/char/ipmi/
Dipmi_bt_sm.c80 unsigned char write_data[IPMI_MAX_MSG_LENGTH + 2]; /* +2 for memcpy */ member
193 bt->read_data[1] = bt->write_data[1] | 4; /* Odd NetFn/LUN */ in force_result()
194 bt->read_data[2] = bt->write_data[2]; /* seq (ignored) */ in force_result()
195 bt->read_data[3] = bt->write_data[3]; /* Command */ in force_result()
228 bt->write_data[0] = size + 1; /* all data plus seq byte */ in bt_start_transaction()
229 bt->write_data[1] = *data; /* NetFn/LUN */ in bt_start_transaction()
230 bt->write_data[2] = bt->seq++; in bt_start_transaction()
231 memcpy(bt->write_data + 3, data + 1, size - 1); in bt_start_transaction()
325 pr_cont(" %02x", bt->write_data[i]); in write_all_bytes()
329 HOST2BMC(bt->write_data[i]); in write_all_bytes()
[all …]
Dipmi_kcs_sm.c111 unsigned char write_data[MAX_KCS_WRITE_SIZE]; member
164 static inline void write_data(struct si_sm_data *kcs, unsigned char data) in write_data() function
188 write_data(kcs, kcs->write_data[kcs->write_pos]); in write_next_byte()
217 write_data(kcs, KCS_READ_BYTE); in read_next_byte()
291 memcpy(kcs->write_data, data, size); in start_kcs_transaction()
462 write_data(kcs, 0); in kcs_event()
476 write_data(kcs, KCS_READ_BYTE); in kcs_event()
/linux-6.12.1/tools/testing/selftests/kvm/aarch64/
Ddebug-exceptions.c235 static volatile char write_data; variable
268 install_wp(wpn, PC(write_data)); in guest_code()
269 write_data = 'x'; in guest_code()
270 GUEST_ASSERT_EQ(write_data, 'x'); in guest_code()
271 GUEST_ASSERT_EQ(wp_data_addr, PC(write_data)); in guest_code()
304 write_data = '\0'; in guest_code()
306 install_wp(wpn, PC(write_data)); in guest_code()
307 write_data = 'x'; in guest_code()
308 GUEST_ASSERT_EQ(write_data, 'x'); in guest_code()
336 install_wp_ctx(wpn, ctx_bpn, PC(write_data), ctx); in guest_code()
[all …]
Dvpmu_counter_access.c241 uint64_t write_data, read_data; in test_access_pmc_regs() local
269 write_data = (ARMV8_PMU_EXCLUDE_EL1 | ARMV8_PMUV3_PERFCTR_INST_RETIRED); in test_access_pmc_regs()
270 acc->write_typer(pmc_idx, write_data); in test_access_pmc_regs()
272 __GUEST_ASSERT(read_data == write_data, in test_access_pmc_regs()
274 pmc_idx, PMC_ACC_TO_IDX(acc), read_data, write_data); in test_access_pmc_regs()
287 write_data = read_data + pmc_idx + 0x12345; in test_access_pmc_regs()
288 acc->write_cntr(pmc_idx, write_data); in test_access_pmc_regs()
290 __GUEST_ASSERT(read_data == write_data, in test_access_pmc_regs()
292 pmc_idx, PMC_ACC_TO_IDX(acc), read_data, write_data); in test_access_pmc_regs()
/linux-6.12.1/drivers/acpi/riscv/
Dcppc.c59 static void sbi_cppc_write(void *write_data) in sbi_cppc_write() argument
61 struct sbi_cppc_data *data = (struct sbi_cppc_data *)write_data; in sbi_cppc_write()
83 static void cppc_ffh_csr_write(void *write_data) in cppc_ffh_csr_write() argument
85 struct sbi_cppc_data *data = (struct sbi_cppc_data *)write_data; in cppc_ffh_csr_write()
/linux-6.12.1/drivers/net/plip/
Dplip.c245 static inline void write_data (struct net_device *dev, unsigned char data) in write_data() function
250 port->ops->write_data (port, data); in write_data()
469 write_data (dev, 0x00); in plip_bh_timeout_error()
505 write_data (dev, 0x10); /* send ACK */ in plip_receive()
523 write_data (dev, 0x00); /* send ACK */ in plip_receive()
599 write_data (dev, 0x01); /* send ACK */ in plip_receive_packet()
687 write_data (dev, 0x00); in plip_receive_packet()
718 write_data (dev, data & 0x0f); in plip_send()
723 write_data (dev, 0x10 | (data & 0x0f)); in plip_send()
733 write_data (dev, 0x10 | (data >> 4)); in plip_send()
[all …]
/linux-6.12.1/drivers/net/hamradio/
Dbaycom_par.c196 pp->ops->write_data(pp, val); in par96_tx()
197 pp->ops->write_data(pp, val | PAR96_BURST); in par96_tx()
219 pp->ops->write_data(pp, PAR97_POWER | PAR96_PTT); in par96_rx()
225 pp->ops->write_data(pp, PAR97_POWER | PAR96_PTT | PAR96_BURST); in par96_rx()
350 pp->ops->write_data(pp, PAR96_PTT | PAR97_POWER); /* switch off PTT */ in par96_open()
370 pp->ops->write_data(pp, PAR96_PTT | PAR97_POWER); in par96_close()
/linux-6.12.1/drivers/scsi/qla2xxx/
Dqla_tmpl.h91 __le32 write_data; member
108 __le32 write_data; member
123 __le32 write_data; member
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxbf_gige/
Dmlxbf_gige_mdio.c41 .write_data = {
73 .write_data = {
193 gw_reg |= ((data << mdio_gw->write_data.shift) & in mlxbf_gige_mdio_create_cmd()
194 mdio_gw->write_data.mask); in mlxbf_gige_mdio_create_cmd()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
Dmlx5hws_pat_arg.h58 bool write_data,
67 bool write_data,
Dmlx5hws_pat_arg.c409 bool write_data, in mlx5hws_arg_create() argument
437 if (write_data) { in mlx5hws_arg_create()
460 bool write_data, in mlx5hws_arg_create_modify_header_arg() argument
470 write_data, in mlx5hws_arg_create_modify_header_arg()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Dmmsch_v4_0.h85 uint32_t write_data; member
109 direct_rd_mod_wt.write_data = data; \
Dmmsch_v3_0.h73 uint32_t write_data; member
97 direct_rd_mod_wt.write_data = data; \
Dmmsch_v1_0.h78 uint32_t write_data; member
114 direct_rd_mod_wt->write_data = data; in mmsch_v1_0_insert_direct_rd_mod_wt()
Dmmsch_v2_0.h262 uint32_t write_data; member
298 direct_rd_mod_wt->write_data = data; in mmsch_v2_0_insert_direct_rd_mod_wt()
/linux-6.12.1/drivers/fpga/
Daltera-cvp.c77 void (*write_data)(struct altera_cvp_conf *conf, member
156 conf->write_data(conf, 0); /* dummy data, could be any value */ in altera_cvp_dummy_write()
271 conf->write_data(conf, *data++); in altera_cvp_send_block()
278 conf->write_data(conf, *data & mask); in altera_cvp_send_block()
638 conf->write_data = altera_cvp_write_data_iomem; in altera_cvp_probe()
648 conf->write_data = altera_cvp_write_data_config; in altera_cvp_probe()
/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
Ddebug_regs.c21 extern unsigned char sw_bp, hw_bp, write_data, ss_start, bd_start;
153 run->debug.arch.pc == CAST_TO_RIP(write_data) && in main()
158 run->debug.arch.pc, CAST_TO_RIP(write_data), in main()
/linux-6.12.1/sound/isa/wavefront/
Dwavefront_midi.c83 write_data (snd_wavefront_midi_t *midi, unsigned char byte) in write_data() function
155 write_data(midi, midi_byte); in snd_wavefront_midi_output_write()
201 write_data(midi, mpu == internal_mpu ? in snd_wavefront_midi_output_write()
209 write_data(midi, midi_byte); in snd_wavefront_midi_output_write()
/linux-6.12.1/tools/testing/selftests/cgroup/
Dtest_hugetlb_memcg.c87 static void write_data(char *addr) in write_data() function
138 write_data(addr); in hugetlb_test_program()
/linux-6.12.1/sound/pci/asihpi/
Dhpi6205.c1679 u32 write_data = 0, read_data = 0, i = 0; in boot_loader_config_emif() local
1682 write_data = 1; in boot_loader_config_emif()
1683 boot_loader_write_mem32(pao, 0, HPICL_ADDR, write_data); in boot_loader_config_emif()
1684 boot_loader_write_mem32(pao, 0, HPICH_ADDR, write_data); in boot_loader_config_emif()
1688 if (write_data != read_data) { in boot_loader_config_emif()
1689 HPI_DEBUG_LOG(ERROR, "HPICL %x %x\n", write_data, in boot_loader_config_emif()
1694 write_data = 1; in boot_loader_config_emif()
1697 write_data); in boot_loader_config_emif()
1699 (write_data >> 16)); in boot_loader_config_emif()
1708 if (read_data != write_data) { in boot_loader_config_emif()
[all …]
/linux-6.12.1/drivers/auxdisplay/
Dhd44780_common.h11 void (*write_data)(struct hd44780_common *hdc, int data); member
/linux-6.12.1/drivers/mtd/nand/raw/
Dstm32_fmc2_nand.c758 int raw, bool write_data) in stm32_fmc2_nfc_rw_page_init() argument
770 write_data ? FMC2_PCR_WEN : 0); in stm32_fmc2_nfc_rw_page_init()
778 if (write_data) in stm32_fmc2_nfc_rw_page_init()
792 if (write_data) in stm32_fmc2_nfc_rw_page_init()
801 cfg[1] |= write_data ? 0 : FMC2_CSQCFGR2_DMASEN; in stm32_fmc2_nfc_rw_page_init()
810 if (write_data) { in stm32_fmc2_nfc_rw_page_init()
854 int raw, bool write_data) in stm32_fmc2_nfc_xfer() argument
869 if (write_data) { in stm32_fmc2_nfc_xfer()
903 if (!write_data && !raw) { in stm32_fmc2_nfc_xfer()
949 if (!write_data && !raw) in stm32_fmc2_nfc_xfer()
[all …]

1234