Home
last modified time | relevance | path

Searched refs:read_data (Results 1 – 25 of 43) sorted by relevance

12

/drivers/net/ethernet/huawei/hinic/
Dhinic_debugfs.c86 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 …]
/drivers/char/ipmi/
Dipmi_bt_sm.c82 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 …]
Dipmi_kcs_sm.c115 unsigned char read_data[MAX_KCS_READ_SIZE]; member
154 static inline unsigned char read_data(struct si_sm_data *kcs) in read_data() function
211 read_data(kcs); in read_next_byte()
214 kcs->read_data[kcs->read_pos] = read_data(kcs); in read_next_byte()
255 read_data(kcs); in clear_obf()
310 memcpy(data, kcs->read_data, kcs->read_pos); in get_kcs_result()
383 read_data(kcs); in kcs_event()
Dipmi_smic_sm.c97 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()
/drivers/net/wwan/iosm/
Diosm_ipc_flash.c453 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()
/drivers/input/touchscreen/
Dusbtouchscreen.c81 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 …]
/drivers/media/dvb-frontends/
Dcxd2099.c24 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,
647 ci->en.read_data = NULL; in cxd2099_probe()
/drivers/mtd/hyperbus/
Dhyperbus-core.c24 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()
/drivers/misc/lis3lv02d/
Dlis3lv02d.c191 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 …]
Dlis3lv02d.h276 s16 (*read_data) (struct lis3lv02d *lis3, int reg); member
/drivers/hwtracing/coresight/
Dcoresight-etb10.c289 u32 read_data, depth; in etb_dump_hw() local
321 read_data = readl_relaxed(drvdata->base + in etb_dump_hw()
323 *(u32 *)buf_ptr = read_data; in etb_dump_hw()
437 u32 status, read_data; in etb_update_buffer() local
536 read_data = readl_relaxed(drvdata->base + in etb_update_buffer()
539 read_data = *barrier; in etb_update_buffer()
543 *(u32 *)buf_ptr = read_data; in etb_update_buffer()
Dcoresight-tmc-etf.c63 u32 read_data, lost; in tmc_etb_dump_hw() local
70 read_data = readl_relaxed(drvdata->base + TMC_RRD); in tmc_etb_dump_hw()
71 if (read_data == 0xFFFFFFFF) in tmc_etb_dump_hw()
73 memcpy(bufp, &read_data, 4); in tmc_etb_dump_hw()
/drivers/gpu/drm/mediatek/
Dmtk_dsi.c945 static u32 mtk_dsi_recv_cnt(u8 type, u8 *read_data) in mtk_dsi_recv_cnt() argument
956 return read_data[1] + read_data[2] * 16; in mtk_dsi_recv_cnt()
1020 u8 read_data[16]; in mtk_dsi_host_transfer() local
1055 *(read_data + i) = readb(dsi->regs + DSI_RX_DATA0 + i); in mtk_dsi_host_transfer()
1057 recv_cnt = mtk_dsi_recv_cnt(read_data[0], read_data); in mtk_dsi_host_transfer()
1060 src_addr = &read_data[4]; in mtk_dsi_host_transfer()
1062 src_addr = &read_data[1]; in mtk_dsi_host_transfer()
/drivers/pnp/isapnp/
Dcore.c109 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()
/drivers/net/ethernet/mellanox/mlxbf_gige/
Dmlxbf_gige_mdio.c37 .read_data = {
69 .read_data = {
233 ret &= priv->mdio_gw->read_data.mask; in mlxbf_gige_mdio_read()
Dmlxbf_gige.h82 struct mlxbf_gige_reg_param read_data; member
/drivers/i2c/busses/
Di2c-cht-wc.c52 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()
Di2c-npcm7xx.c970 u8 *read_data) in npcm_i2c_slave_receive() argument
2040 u8 *write_data, u8 *read_data, in npcm_i2c_master_start_xmit() argument
2051 bus->rd_buf = read_data; in npcm_i2c_master_start_xmit()
2089 u8 *write_data, *read_data; in npcm_i2c_master_xfer() local
2107 read_data = msg0->buf; in npcm_i2c_master_xfer()
2120 read_data = NULL; in npcm_i2c_master_xfer()
2123 read_data = msg1->buf; in npcm_i2c_master_xfer()
2185 write_data, read_data, read_PEC, in npcm_i2c_master_xfer()
/drivers/hid/
Dhid-cp2112.c161 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()
1411 if (dev->read_length > sizeof(dev->read_data)) in cp2112_raw_event()
1412 dev->read_length = sizeof(dev->read_data); in cp2112_raw_event()
1414 memcpy(dev->read_data, &data[3], dev->read_length); in cp2112_raw_event()
/drivers/block/
Dswim_asm.S25 .equ read_data, 0x1000 define
161 lea %a3@(read_data), %a5
/drivers/media/spi/
Dcxd2880-spi.c118 u8 *read_data, in cxd2880_spi_read_ts() argument
126 if (!spi || !read_data || !packet_num) { in cxd2880_spi_read_ts()
145 transfer[1].rx_buf = read_data; in cxd2880_spi_read_ts()
/drivers/scsi/sym53c8xx_2/
Dsym_nvram.c345 static void S24C16_read_byte(struct sym_device *np, u_char *read_data, u_char ack_data, in S24C16_read_byte() argument
351 *read_data = 0; in S24C16_read_byte()
354 *read_data |= ((read_bit & 0x01) << (7 - x)); in S24C16_read_byte()
/drivers/mailbox/
Darm_mhuv2.c209 void *(*read_data)(struct mhuv2 *mhu, struct mbox_chan *chan); member
317 .read_data = mhuv2_doorbell_read_data,
491 .read_data = mhuv2_data_transfer_read_data,
692 data = priv->ops->read_data(mhu, chan); in mhuv2_receiver_interrupt()
/drivers/parport/
Dparport_atari.c138 .read_data = parport_atari_read_data,
/drivers/video/fbdev/omap/
Domapfb.h119 void (*read_data) (void *buf, unsigned int len); member

12