Home
last modified time | relevance | path

Searched refs:read_buffer (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/iio/chemical/
H A Dags02ma.c45 struct ags02ma_reading read_buffer; in ags02ma_register_read() local
57 ret = i2c_master_recv(client, (u8 *)&read_buffer, sizeof(read_buffer)); in ags02ma_register_read()
64 crc = crc8(ags02ma_crc8_table, (u8 *)&read_buffer.data, in ags02ma_register_read()
65 sizeof(read_buffer.data), AGS02MA_CRC8_INIT); in ags02ma_register_read()
66 if (crc != read_buffer.crc) { in ags02ma_register_read()
71 *val = be32_to_cpu(read_buffer.data); in ags02ma_register_read()
/linux/drivers/xen/xenbus/
H A Dxenbus_dev_frontend.c81 struct read_buffer { struct
130 struct read_buffer *rb; in xenbus_file_read()
148 rb = list_entry(u->read_buffers.next, struct read_buffer, list); in xenbus_file_read()
171 struct read_buffer, list); in xenbus_file_read()
191 struct read_buffer *rb; in queue_reply()
217 struct read_buffer *rb; in queue_cleanup()
220 rb = list_entry(list->next, struct read_buffer, list); in queue_cleanup()
311 struct read_buffer *rb, *tmp_rb; in xenbus_worker()
/linux/drivers/usb/misc/
H A Dlegousbtower.c195 char *read_buffer; member
294 kfree(dev->read_buffer); in tower_delete()
550 if (copy_to_user(buffer, dev->read_buffer, bytes_to_read)) { in tower_read()
559 dev->read_buffer[i] = dev->read_buffer[i+bytes_to_read]; in tower_read()
684 memcpy(dev->read_buffer + dev->read_buffer_length, in tower_interrupt_in_callback()
773 dev->read_buffer = kmalloc(read_buffer_size, GFP_KERNEL); in tower_probe()
774 if (!dev->read_buffer) in tower_probe()
/linux/drivers/soundwire/
H A Ddebugfs.c143 static u8 read_buffer[MAX_CMD_BYTES]; variable
243 ret = sdw_nread_no_pm(slave, start_addr, num_bytes, read_buffer); in cmd_go()
269 start_addr + i, read_buffer[i]); in read_buffer_show()
275 DEFINE_SHOW_ATTRIBUTE(read_buffer);
/linux/sound/soc/qcom/qdsp6/
H A Dq6apm.c460 struct data_cmd_rd_sh_mem_ep_data_buffer_v2 *read_buffer; in q6apm_read() local
467 pkt = audioreach_alloc_pkt(sizeof(*read_buffer), DATA_CMD_RD_SH_MEM_EP_DATA_BUFFER_V2, in q6apm_read()
472 read_buffer = (void *)pkt + GPR_HDR_SIZE; in q6apm_read()
478 read_buffer->buf_addr_lsw = lower_32_bits(ab->phys); in q6apm_read()
479 read_buffer->buf_addr_msw = upper_32_bits(ab->phys); in q6apm_read()
480 read_buffer->mem_map_handle = port->mem_map_handle; in q6apm_read()
481 read_buffer->buf_size = ab->size; in q6apm_read()
/linux/drivers/usb/serial/
H A Dquatech2.c111 char *read_buffer; member
142 kfree(serial_priv->read_buffer); in qt2_release()
599 serial_priv->read_buffer, in qt2_setup_urbs()
633 serial_priv->read_buffer = kmalloc(QT2_READ_BUFFER_SIZE, GFP_KERNEL); in qt2_attach()
634 if (!serial_priv->read_buffer) { in qt2_attach()
648 kfree(serial_priv->read_buffer); in qt2_attach()
/linux/drivers/media/platform/mediatek/vcodec/common/
H A Dmtk_vcodec_dbgfs.c106 goto read_buffer; in mtk_vdec_dbgfs_read()
135 read_buffer: in mtk_vdec_dbgfs_read()
/linux/drivers/hwmon/
H A Dasus-ec-sensors.c595 u8 *read_buffer; member
783 ec->read_buffer + ireg); in asus_ec_block_read()
844 update_sensor_values(ec, ec->read_buffer); in update_ec_sensors()
1028 ec_data->read_buffer = devm_kcalloc(dev, ec_data->nr_registers, in asus_ec_probe()
1031 if (!ec_data->registers || !ec_data->read_buffer) in asus_ec_probe()
/linux/drivers/char/xilinx_hwicap/
H A Dxilinx_hwicap.h46 u8 read_buffer[4]; member
/linux/include/uapi/linux/android/
H A Dbinder.h182 binder_uintptr_t read_buffer; member
/linux/drivers/usb/gadget/function/
H A Df_fs.c220 struct ffs_buffer *read_buffer; member
899 struct ffs_buffer *buf = xchg(&epfile->read_buffer, READ_BUFFER_DROP); in __ffs_epfile_read_buffer_free()
913 struct ffs_buffer *buf = xchg(&epfile->read_buffer, NULL); in __ffs_epfile_read_buffered()
931 if (cmpxchg(&epfile->read_buffer, NULL, buf)) in __ffs_epfile_read_buffered()
969 if (cmpxchg(&epfile->read_buffer, NULL, buf)) in __ffs_epfile_read_data()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_82599.c2226 .read_buffer = &ixgbe_read_eeprom_buffer_82599,
H A Dixgbe_ethtool.c1023 ret_val = hw->eeprom.ops.read_buffer(hw, first_word, eeprom_len, in ixgbe_get_eeprom()
/linux/include/linux/platform_data/
H A Dcros_ec_commands.h2956 } read_buffer; member