/Linux-v6.1/drivers/net/ethernet/huawei/hinic/ |
D | hinic_debugfs.c | 86 struct hinic_cmd_lt_rd *read_data; in hinic_dbg_get_func_table() local 87 u16 out_size = sizeof(*read_data); in hinic_dbg_get_func_table() 91 read_data = kzalloc(sizeof(*read_data), GFP_KERNEL); in hinic_dbg_get_func_table() 92 if (!read_data) in hinic_dbg_get_func_table() 95 read_data->node = TBL_ID_FUNC_CFG_SM_NODE; in hinic_dbg_get_func_table() 96 read_data->inst = TBL_ID_FUNC_CFG_SM_INST; in hinic_dbg_get_func_table() 97 read_data->entry_size = HINIC_FUNCTION_CONFIGURE_TABLE_SIZE; in hinic_dbg_get_func_table() 98 read_data->lt_index = HINIC_HWIF_FUNC_IDX(nic_dev->hwdev->hwif); in hinic_dbg_get_func_table() 99 read_data->len = HINIC_FUNCTION_CONFIGURE_TABLE_SIZE; in hinic_dbg_get_func_table() 101 err = hinic_port_msg_cmd(nic_dev->hwdev, HINIC_PORT_CMD_RD_LINE_TBL, read_data, in hinic_dbg_get_func_table() [all …]
|
/Linux-v6.1/tools/testing/selftests/bpf/progs/ |
D | dynptr_fail.c | 139 char read_data[64]; in use_after_invalid() local 141 bpf_ringbuf_reserve_dynptr(&ringbuf, sizeof(read_data), 0, &ptr); in use_after_invalid() 143 bpf_dynptr_read(read_data, sizeof(read_data), &ptr, 0, 0); in use_after_invalid() 148 bpf_dynptr_read(read_data, sizeof(read_data), &ptr, 0, 0); in use_after_invalid() 372 char read_data[64]; in invalid_helper2() local 377 bpf_dynptr_read(read_data, sizeof(read_data), (void *)&ptr + 8, 0, 0); in invalid_helper2() 408 char read_data[64]; in invalid_write2() local 416 bpf_dynptr_read(read_data, sizeof(read_data), &ptr, 0, 0); in invalid_write2() 507 char read_data[64]; in invalid_read2() local 512 bpf_dynptr_read(read_data, sizeof(read_data), (void *)&ptr + 1, 0, 0); in invalid_read2()
|
D | dynptr_success.c | 36 char read_data[64] = {}, buf[64] = {}; in test_read_write() local 49 err = err ?: bpf_dynptr_read(read_data, sizeof(read_data), &ptr, 0, 0); in test_read_write() 52 for (i = 0; i < sizeof(read_data); i++) { in test_read_write() 53 if (read_data[i] != write_data[i]) { in test_read_write()
|
/Linux-v6.1/kernel/time/ |
D | sched_clock.c | 40 struct clock_read_data read_data[2]; member 62 .read_data[0] = { .mult = NSEC_PER_SEC / HZ, 75 return cd.read_data + (*seq & 1); in sched_clock_read_begin() 113 cd.read_data[1] = *rd; in update_clock_read_data() 119 cd.read_data[0] = *rd; in update_clock_read_data() 134 rd = cd.read_data[0]; in update_sched_clock() 178 rd = cd.read_data[0]; in sched_clock_register() 262 return cd.read_data[seq & 1].epoch_cyc; in suspended_sched_clock_read() 267 struct clock_read_data *rd = &cd.read_data[0]; in sched_clock_suspend() 278 struct clock_read_data *rd = &cd.read_data[0]; in sched_clock_resume()
|
/Linux-v6.1/drivers/char/ipmi/ |
D | ipmi_bt_sm.c | 82 unsigned char read_data[IPMI_MAX_MSG_LENGTH + 2]; /* +2 for memcpy */ member 192 bt->read_data[0] = 4; /* # following bytes */ in force_result() 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() 196 bt->read_data[4] = completion_code; in force_result() 258 data[0] = bt->read_data[1]; in bt_get_result() 259 data[1] = bt->read_data[3]; in bt_get_result() 264 memcpy(data + 2, bt->read_data + 4, msg_len - 2); in bt_get_result() 341 bt->read_data[0] = BMC2HOST; in read_all_bytes() [all …]
|
D | ipmi_kcs_sm.c | 115 unsigned char read_data[MAX_KCS_READ_SIZE]; member 148 static inline unsigned char read_data(struct si_sm_data *kcs) in read_data() function 205 read_data(kcs); in read_next_byte() 208 kcs->read_data[kcs->read_pos] = read_data(kcs); in read_next_byte() 249 read_data(kcs); in clear_obf() 304 memcpy(data, kcs->read_data, kcs->read_pos); in get_kcs_result() 377 read_data(kcs); in kcs_event()
|
D | ipmi_smic_sm.c | 97 unsigned char read_data[MAX_SMIC_READ_SIZE]; member 162 pr_cont(" %02x", smic->read_data[i]); in smic_get_result() 169 memcpy(data, smic->read_data, smic->read_pos); in smic_get_result() 244 smic->read_data[smic->read_pos] = read_smic_data(smic); in read_next_byte()
|
/Linux-v6.1/tools/testing/selftests/net/af_unix/ |
D | test_unix_oob.c | 94 int read_data(int pfd, char *buf, int size) in read_data() function 226 len = read_data(pfd, buf, 1024); in main() 245 len = read_data(pfd, buf, 1024); in main() 269 len = read_data(pfd, buf, 1024); in main() 282 len = read_data(pfd, buf, 1024); in main() 305 len = read_data(pfd, buf, 1024); in main() 337 len = read_data(pfd, buf, 1024); in main() 345 len = read_data(pfd, buf, 1024); in main() 370 len = read_data(pfd, buf, 1024); in main() 378 len = read_data(pfd, buf, 1024); in main() [all …]
|
/Linux-v6.1/drivers/net/wwan/iosm/ |
D | iosm_ipc_flash.c | 453 u8 psi_ack_byte[IOSM_PSI_ACK], read_data[2]; in ipc_flash_boot_psi() local 469 ret = ipc_imem_sys_devlink_read(ipc_devlink, read_data, in ipc_flash_boot_psi() 481 snprintf(psi_ack_byte, sizeof(psi_ack_byte), "%x%x", read_data[0], in ipc_flash_boot_psi() 482 read_data[1]); in ipc_flash_boot_psi() 486 if (read_data[0] == 0x00 && read_data[1] == 0xCD) { in ipc_flash_boot_psi() 510 u8 read_data[2]; in ipc_flash_boot_ebl() local 530 ret = ipc_imem_sys_devlink_read(ipc_devlink, read_data, IOSM_READ_SIZE, in ipc_flash_boot_ebl() 549 ret = ipc_imem_sys_devlink_read(ipc_devlink, read_data, IOSM_READ_SIZE, in ipc_flash_boot_ebl() 569 ret = ipc_imem_sys_devlink_read(ipc_devlink, read_data, IOSM_READ_SIZE, in ipc_flash_boot_ebl()
|
/Linux-v6.1/drivers/input/touchscreen/ |
D | usbtouchscreen.c | 81 int (*read_data) (struct usbtouch_usb *usbtouch, unsigned char *pkt); member 1168 .read_data = elo_read_data, 1181 .read_data = egalax_read_data, 1193 .read_data = panjit_read_data, 1204 .read_data = mtouch_read_data, 1219 .read_data = itm_read_data, 1232 .read_data = eturbo_read_data, 1243 .read_data = gunze_read_data, 1255 .read_data = dmc_tsc10_read_data, 1266 .read_data = irtouch_read_data, [all …]
|
/Linux-v6.1/drivers/mtd/hyperbus/ |
D | hyperbus-core.c | 24 map_word read_data; in hyperbus_read16() local 26 read_data.x[0] = ctlr->ops->read16(hbdev, addr); in hyperbus_read16() 28 return read_data; in hyperbus_read16()
|
/Linux-v6.1/drivers/media/dvb-frontends/ |
D | cxd2099.c | 24 static int read_data(struct dvb_ca_en50221 *ca, int slot, u8 *ebuf, int ecount); 211 if (!ci->en.read_data) in cam_mode() 431 read_data(ca, slot, ci->rbuf, 0); in slot_reset() 461 read_data(ca, slot, ci->rbuf, 0); in slot_shutdown() 544 static int read_data(struct dvb_ca_en50221 *ca, int slot, u8 *ebuf, int ecount) in read_data() function 597 .read_data = read_data, 648 ci->en.read_data = NULL; in cxd2099_probe()
|
/Linux-v6.1/drivers/misc/lis3lv02d/ |
D | lis3lv02d.c | 191 position[0] = lis3->read_data(lis3, OUTX); in lis3lv02d_get_xyz() 192 position[1] = lis3->read_data(lis3, OUTY); in lis3lv02d_get_xyz() 193 position[2] = lis3->read_data(lis3, OUTZ); in lis3lv02d_get_xyz() 307 x = lis3->read_data(lis3, OUTX); in lis3lv02d_selftest() 308 y = lis3->read_data(lis3, OUTY); in lis3lv02d_selftest() 309 z = lis3->read_data(lis3, OUTZ); in lis3lv02d_selftest() 317 results[0] = x - lis3->read_data(lis3, OUTX); in lis3lv02d_selftest() 318 results[1] = y - lis3->read_data(lis3, OUTY); in lis3lv02d_selftest() 319 results[2] = z - lis3->read_data(lis3, OUTZ); in lis3lv02d_selftest() 1134 lis3->read_data = lis3lv02d_read_12; in lis3lv02d_init_device() [all …]
|
/Linux-v6.1/drivers/hwtracing/coresight/ |
D | coresight-etb10.c | 288 u32 read_data, depth; in etb_dump_hw() local 320 read_data = readl_relaxed(drvdata->base + in etb_dump_hw() 322 *(u32 *)buf_ptr = read_data; in etb_dump_hw() 436 u32 status, read_data; in etb_update_buffer() local 535 read_data = readl_relaxed(drvdata->base + in etb_update_buffer() 538 read_data = *barrier; in etb_update_buffer() 542 *(u32 *)buf_ptr = read_data; in etb_update_buffer()
|
D | coresight-tmc-etf.c | 52 u32 read_data, lost; in tmc_etb_dump_hw() local 59 read_data = readl_relaxed(drvdata->base + TMC_RRD); in tmc_etb_dump_hw() 60 if (read_data == 0xFFFFFFFF) in tmc_etb_dump_hw() 62 memcpy(bufp, &read_data, 4); in tmc_etb_dump_hw()
|
/Linux-v6.1/tools/testing/selftests/arm64/fp/ |
D | fp-stress.c | 126 char read_data[1024]; in child_output_read() local 130 ret = read(child->stdout, read_data, sizeof(read_data)); in child_output_read() 156 work[cur_work] = read_data[cur_read++]; in child_output_read()
|
/Linux-v6.1/drivers/gpu/drm/mediatek/ |
D | mtk_dsi.c | 944 static u32 mtk_dsi_recv_cnt(u8 type, u8 *read_data) in mtk_dsi_recv_cnt() argument 955 return read_data[1] + read_data[2] * 16; in mtk_dsi_recv_cnt() 1019 u8 read_data[16]; in mtk_dsi_host_transfer() local 1054 *(read_data + i) = readb(dsi->regs + DSI_RX_DATA0 + i); in mtk_dsi_host_transfer() 1056 recv_cnt = mtk_dsi_recv_cnt(read_data[0], read_data); in mtk_dsi_host_transfer() 1059 src_addr = &read_data[4]; in mtk_dsi_host_transfer() 1061 src_addr = &read_data[1]; in mtk_dsi_host_transfer()
|
/Linux-v6.1/drivers/pnp/isapnp/ |
D | core.c | 109 static inline unsigned char read_data(void) in read_data() function 118 return read_data(); in isapnp_read_byte() 296 data = read_data() << 8; in isapnp_isolate() 298 data = data | read_data(); in isapnp_isolate() 308 data = read_data() << 8; in isapnp_isolate() 310 data = data | read_data(); in isapnp_isolate()
|
/Linux-v6.1/drivers/i2c/busses/ |
D | i2c-cht-wc.c | 52 int read_data; member 75 ret = regmap_read(adap->regmap, CHT_WC_I2C_RDDATA, &adap->read_data); in cht_wc_i2c_adap_thread_handler() 164 data->byte = adap->read_data; in cht_wc_i2c_adap_smbus_xfer()
|
/Linux-v6.1/tools/testing/selftests/powerpc/mm/ |
D | tlbie_test.c | 471 unsigned int *w_ptr, read_data; in rim_fn() local 515 read_data = *w_ptr; //Load in rim_fn() 521 if (read_data != old_pattern) { in rim_fn()
|
/Linux-v6.1/include/media/ |
D | dvb_ca_en50221.h | 71 int (*read_data)(struct dvb_ca_en50221 *ca, member
|
/Linux-v6.1/sound/isa/wavefront/ |
D | wavefront_midi.c | 76 read_data (snd_wavefront_midi_t *midi) in read_data() function 426 byte = read_data (midi); in snd_wavefront_midi_interrupt() 518 if (read_data (midi) == MPU_ACK) { in snd_wavefront_midi_start()
|
/Linux-v6.1/tools/lib/perf/ |
D | evlist.c | 267 u64 read_data[4] = { 0, }; in perf_evlist__id_add_fd() local 289 read(fd, &read_data, sizeof(read_data)) == -1) in perf_evlist__id_add_fd() 297 id = read_data[id_idx]; in perf_evlist__id_add_fd()
|
/Linux-v6.1/drivers/block/ |
D | swim_asm.S | 25 .equ read_data, 0x1000 define 161 lea %a3@(read_data), %a5
|
/Linux-v6.1/drivers/hid/ |
D | hid-cp2112.c | 159 u8 read_data[61]; member 412 if (size > sizeof(dev->read_data)) in cp2112_read() 413 size = sizeof(dev->read_data); in cp2112_read() 436 memcpy(data, dev->read_data, size); in cp2112_read() 1461 if (dev->read_length > sizeof(dev->read_data)) in cp2112_raw_event() 1462 dev->read_length = sizeof(dev->read_data); in cp2112_raw_event() 1464 memcpy(dev->read_data, &data[3], dev->read_length); in cp2112_raw_event()
|