Home
last modified time | relevance | path

Searched refs:buffer_offset (Results 1 – 25 of 35) sorted by relevance

12

/linux/drivers/acpi/acpica/
H A Dexfldio.c655 u32 buffer_offset = 0; in acpi_ex_extract_from_field() local
766 memcpy(((char *)buffer) + buffer_offset, &merged_datum, in acpi_ex_extract_from_field()
768 buffer_length - buffer_offset)); in acpi_ex_extract_from_field()
770 buffer_offset += obj_desc->common_field.access_byte_width; in acpi_ex_extract_from_field()
784 memcpy(((char *)buffer) + buffer_offset, &merged_datum, in acpi_ex_extract_from_field()
786 buffer_length - buffer_offset)); in acpi_ex_extract_from_field()
816 u32 buffer_offset = 0; in acpi_ex_insert_into_field() local
886 buffer_length - buffer_offset)); in acpi_ex_insert_into_field()
935 buffer_offset += obj_desc->common_field.access_byte_width; in acpi_ex_insert_into_field()
936 memcpy(&raw_datum, ((char *)buffer) + buffer_offset, in acpi_ex_insert_into_field()
[all …]
H A Dacinterp.h145 u32 byte_granularity, u32 buffer_offset);
151 u32 byte_granularity, u32 buffer_offset);
/linux/include/trace/events/
H A Dfirewire.h751 #define TP_STRUCT__entry_iso_packet(ctx, buffer_offset, packet) \ argument
755 __field(u32, buffer_offset) \
763 #define TP_fast_assign_iso_packet(ctx, buffer_offset, packet) \ argument
767 __entry->buffer_offset = buffer_offset; \
777 …TP_PROTO(const struct fw_iso_context *ctx, unsigned long buffer_offset, const struct fw_iso_packet…
778 TP_ARGS(ctx, buffer_offset, packet),
780 TP_STRUCT__entry_iso_packet(ctx, buffer_offset, packet),
781 TP_fast_assign_iso_packet(ctx, buffer_offset, packet),
786 __entry->buffer_offset,
797 …TP_PROTO(const struct fw_iso_context *ctx, unsigned long buffer_offset, const struct fw_iso_packet…
[all …]
/linux/drivers/gpu/drm/radeon/
H A Datombios_i2c.c105 int i, remaining, current_count, buffer_offset, max_bytes, ret; in radeon_atom_hw_i2c_xfer() local
123 buffer_offset = 0; in radeon_atom_hw_i2c_xfer()
139 &p->buf[buffer_offset], current_count); in radeon_atom_hw_i2c_xfer()
143 buffer_offset += current_count; in radeon_atom_hw_i2c_xfer()
H A Dradeon_i2c.c581 int i, j, remaining, current_count, buffer_offset, ret = num; in r500_hw_i2c_xfer() local
701 buffer_offset = 0; in r500_hw_i2c_xfer()
738 p->buf[buffer_offset + j] = RREG32(AVIVO_DC_I2C_DATA) & 0xff; in r500_hw_i2c_xfer()
740 buffer_offset += current_count; in r500_hw_i2c_xfer()
757 WREG32(AVIVO_DC_I2C_DATA, p->buf[buffer_offset + j]); in r500_hw_i2c_xfer()
781 buffer_offset += current_count; in r500_hw_i2c_xfer()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Datombios_i2c.c112 int i, remaining, current_count, buffer_offset, max_bytes, ret; in amdgpu_atombios_i2c_xfer() local
130 buffer_offset = 0; in amdgpu_atombios_i2c_xfer()
146 &p->buf[buffer_offset], current_count); in amdgpu_atombios_i2c_xfer()
150 buffer_offset += current_count; in amdgpu_atombios_i2c_xfer()
/linux/drivers/android/
H A Dbinder_alloc.c813 binder_size_t buffer_offset, in binder_alloc_get_page() argument
816 binder_size_t buffer_space_offset = buffer_offset + in binder_alloc_get_page()
837 binder_size_t buffer_offset = 0; in binder_alloc_clear_buf() local
845 buffer_offset, &pgoff); in binder_alloc_clear_buf()
849 buffer_offset += size; in binder_alloc_clear_buf()
1332 binder_size_t buffer_offset, in binder_alloc_copy_user_to_buffer() argument
1336 if (!check_buffer(alloc, buffer, buffer_offset, bytes)) in binder_alloc_copy_user_to_buffer()
1347 buffer_offset, &pgoff); in binder_alloc_copy_user_to_buffer()
1356 buffer_offset += size; in binder_alloc_copy_user_to_buffer()
1364 binder_size_t buffer_offset, in binder_alloc_do_buffer_copy() argument
[all …]
H A Dbinder_alloc.h166 binder_size_t buffer_offset,
172 binder_size_t buffer_offset,
179 binder_size_t buffer_offset,
H A Dbinder.c1865 unsigned long buffer_offset; in binder_validate_ptr() local
1870 buffer_offset = start_offset + sizeof(binder_size_t) * index; in binder_validate_ptr()
1872 b, buffer_offset, in binder_validate_ptr()
1937 unsigned long buffer_offset; in binder_validate_fixup() local
1954 buffer_offset = objects_start_offset + in binder_validate_fixup()
1958 b, buffer_offset, in binder_validate_fixup()
2034 binder_size_t off_start_offset, buffer_offset; in binder_transaction_buffer_release() local
2047 for (buffer_offset = off_start_offset; buffer_offset < off_end_offset; in binder_transaction_buffer_release()
2048 buffer_offset += sizeof(binder_size_t)) { in binder_transaction_buffer_release()
2055 buffer, buffer_offset, in binder_transaction_buffer_release()
[all …]
/linux/drivers/gpu/drm/vboxvideo/
H A Dvbva_base.c118 p->base.offset = vbva_ctx->buffer_offset; in vbva_inform_host()
210 u32 buffer_offset, u32 buffer_length) in vbva_setup_buffer_context() argument
212 vbva_ctx->buffer_offset = buffer_offset; in vbva_setup_buffer_context()
/linux/drivers/infiniband/core/
H A Duverbs_std_types_cq.c74 u64 buffer_offset; in UVERBS_HANDLER() local
149 ret = uverbs_copy_from(&buffer_offset, attrs, UVERBS_ATTR_CREATE_CQ_BUFFER_OFFSET); in UVERBS_HANDLER()
163 umem_dmabuf = ib_umem_dmabuf_get_pinned(ib_dev, buffer_offset, buffer_length, in UVERBS_HANDLER()
/linux/sound/usb/6fire/
H A Dmidi.h28 int buffer_offset; member
/linux/sound/soc/fsl/
H A Dimx-pcm-rpmsg.c91 info->msg[TX_POINTER].r_msg.param.buffer_offset = 0; in imx_rpmsg_pcm_send_message()
94 info->msg[RX_POINTER].r_msg.param.buffer_offset = 0; in imx_rpmsg_pcm_send_message()
248 info->msg[TX_POINTER].r_msg.param.buffer_offset = 0; in imx_rpmsg_pcm_open()
258 info->msg[RX_POINTER].r_msg.param.buffer_offset = 0; in imx_rpmsg_pcm_open()
444 info->msg[TX_POINTER].r_msg.param.buffer_offset = 0; in imx_rpmsg_terminate_all()
452 info->msg[RX_POINTER].r_msg.param.buffer_offset = 0; in imx_rpmsg_terminate_all()
H A Dimx-pcm-rpmsg.h415 unsigned int buffer_offset; member
/linux/drivers/media/usb/b2c2/
H A Dflexcop-usb.c429 int buffer_offset = 0; in flexcop_usb_transfer_init() local
461 i, buffer_offset); in flexcop_usb_transfer_init()
471 urb->transfer_buffer = fc_usb->iso_buffer + buffer_offset; in flexcop_usb_transfer_init()
473 buffer_offset += frame_size * B2C2_USB_FRAMES_PER_ISO; in flexcop_usb_transfer_init()
/linux/drivers/gpu/drm/logicvc/
H A Dlogicvc_layer.h31 u32 buffer_offset; member
/linux/drivers/net/wan/
H A Dhd64572.c97 static inline u32 buffer_offset(port_t *port, u16 desc, int transmit) in buffer_offset() function
137 u32 buff_off = buffer_offset(port, i, transmit); in sca_init_port()
208 buff = buffer_offset(port, rxin, 0); in sca_rx()
582 buff = buffer_offset(port, port->txin, 1); in sca_xmit()
H A Dhd64570.c123 static inline u32 buffer_offset(port_t *port, u16 desc, int transmit) in buffer_offset() function
167 u32 buff_off = buffer_offset(port, i, transmit); in sca_init_port()
254 buff = buffer_offset(port, rxin, 0); in sca_rx()
646 buff = buffer_offset(port, port->txin, 1); in sca_xmit()
/linux/include/linux/qed/
H A Discsi_common.h197 __le32 buffer_offset; member
373 __le32 buffer_offset; member
403 __le32 buffer_offset; member
419 __le32 buffer_offset; member
H A Dnvmetcp_common.h300 __le32 buffer_offset; member
/linux/drivers/scsi/bnx2i/
H A Dbnx2i_iscsi.c89 u32 buffer_offset = 0; in bnx2i_setup_write_cmd_bd_info() local
99 buffer_offset += task->imm_count; in bnx2i_setup_write_cmd_bd_info()
104 bnx2i_get_write_cmd_bd_idx(cmd, buffer_offset, in bnx2i_setup_write_cmd_bd_info()
108 buffer_offset += task->unsol_r2t.data_length; in bnx2i_setup_write_cmd_bd_info()
111 if (buffer_offset != cmd_len) { in bnx2i_setup_write_cmd_bd_info()
112 bnx2i_get_write_cmd_bd_idx(cmd, buffer_offset, in bnx2i_setup_write_cmd_bd_info()
121 buffer_offset, cmd->io_tbl.bd_valid, in bnx2i_setup_write_cmd_bd_info()
/linux/drivers/net/wireless/microchip/wilc1000/
H A Dwlan.c1027 u32 header, buffer_offset; in wilc_wlan_handle_txq() local
1056 buffer_offset = ETH_CONFIG_PKT_HDR_OFFSET; in wilc_wlan_handle_txq()
1061 buffer_offset = ETH_ETHERNET_HDR_OFFSET; in wilc_wlan_handle_txq()
1065 buffer_offset = HOST_HDR_OFFSET; in wilc_wlan_handle_txq()
1068 memcpy(&txb[offset + buffer_offset], in wilc_wlan_handle_txq()
/linux/drivers/media/usb/ttusb-budget/
H A Ddvb-ttusb-budget.c794 int i, j, err, buffer_offset = 0; in ttusb_start_iso_xfer() local
818 urb->transfer_buffer = ttusb->iso_buffer + buffer_offset; in ttusb_start_iso_xfer()
819 buffer_offset += ISO_FRAME_SIZE * FRAMES_PER_ISO_BUF; in ttusb_start_iso_xfer()
/linux/drivers/net/usb/
H A Dhso.c843 unsigned short buffer_offset = 0; in packetizeRx() local
861 odev->rx_buf_size, ip_pkt + buffer_offset, in packetizeRx()
865 buffer_offset += temp_bytes; in packetizeRx()
916 ip_pkt + buffer_offset, in packetizeRx()
921 buffer_offset += temp_bytes; in packetizeRx()
/linux/drivers/media/usb/ttusb-dec/
H A Dttusb_dec.c842 int i, j, buffer_offset = 0; in ttusb_dec_setup_urbs() local
859 urb->transfer_buffer = dec->iso_buffer + buffer_offset; in ttusb_dec_setup_urbs()
860 buffer_offset += ISO_FRAME_SIZE * FRAMES_PER_ISO_BUF; in ttusb_dec_setup_urbs()

12