Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/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.h142 u32 byte_granularity, u32 buffer_offset);
148 u32 byte_granularity, u32 buffer_offset);
/OK3568_Linux_fs/kernel/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.c589 int i, j, remaining, current_count, buffer_offset, ret = num; in r500_hw_i2c_xfer() local
709 buffer_offset = 0; in r500_hw_i2c_xfer()
746 p->buf[buffer_offset + j] = RREG32(AVIVO_DC_I2C_DATA) & 0xff; in r500_hw_i2c_xfer()
748 buffer_offset += current_count; in r500_hw_i2c_xfer()
765 WREG32(AVIVO_DC_I2C_DATA, p->buf[buffer_offset + j]); in r500_hw_i2c_xfer()
789 buffer_offset += current_count; in r500_hw_i2c_xfer()
/OK3568_Linux_fs/kernel/drivers/android/
H A Dbinder_alloc.c1153 binder_size_t buffer_offset, in binder_alloc_get_page() argument
1156 binder_size_t buffer_space_offset = buffer_offset + in binder_alloc_get_page()
1178 binder_size_t buffer_offset = 0; in binder_alloc_clear_buf() local
1187 buffer_offset, &pgoff); in binder_alloc_clear_buf()
1193 buffer_offset += size; in binder_alloc_clear_buf()
1212 binder_size_t buffer_offset, in binder_alloc_copy_user_to_buffer() argument
1216 if (!check_buffer(alloc, buffer, buffer_offset, bytes)) in binder_alloc_copy_user_to_buffer()
1227 buffer_offset, &pgoff); in binder_alloc_copy_user_to_buffer()
1236 buffer_offset += size; in binder_alloc_copy_user_to_buffer()
1244 binder_size_t buffer_offset, in binder_alloc_do_buffer_copy() argument
[all …]
H A Dbinder_alloc.h169 binder_size_t buffer_offset,
175 binder_size_t buffer_offset,
182 binder_size_t buffer_offset,
H A Dbinder.c1873 unsigned long buffer_offset; in binder_validate_ptr() local
1878 buffer_offset = start_offset + sizeof(binder_size_t) * index; in binder_validate_ptr()
1880 b, buffer_offset, in binder_validate_ptr()
1945 unsigned long buffer_offset; in binder_validate_fixup() local
1962 buffer_offset = objects_start_offset + in binder_validate_fixup()
1966 b, buffer_offset, in binder_validate_fixup()
2040 binder_size_t off_start_offset, buffer_offset, off_end_offset; in binder_transaction_buffer_release() local
2054 for (buffer_offset = off_start_offset; buffer_offset < off_end_offset; in binder_transaction_buffer_release()
2055 buffer_offset += sizeof(binder_size_t)) { in binder_transaction_buffer_release()
2062 buffer, buffer_offset, in binder_transaction_buffer_release()
[all …]
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
H A Dvboxvideo_guest.h16 u32 buffer_offset; member
50 u32 buffer_offset, u32 buffer_length);
/OK3568_Linux_fs/kernel/drivers/media/pci/ivtv/
H A Divtv-udma.c63 void ivtv_udma_fill_sg_array (struct ivtv_user_dma *dma, u32 buffer_offset, u32 buffer_offset_2, u3… in ivtv_udma_fill_sg_array() argument
70 dma->SGarray[i].dst = cpu_to_le32(buffer_offset); in ivtv_udma_fill_sg_array()
71 buffer_offset += sg_dma_len(sg); in ivtv_udma_fill_sg_array()
75 buffer_offset = buffer_offset_2; in ivtv_udma_fill_sg_array()
H A Divtv-udma.h15 void ivtv_udma_fill_sg_array(struct ivtv_user_dma *dma, u32 buffer_offset, u32 buffer_offset_2, u32…
/OK3568_Linux_fs/kernel/drivers/media/usb/b2c2/
H A Dflexcop-usb.c433 int buffer_offset = 0; in flexcop_usb_transfer_init() local
462 i, buffer_offset); in flexcop_usb_transfer_init()
472 urb->transfer_buffer = fc_usb->iso_buffer + buffer_offset; in flexcop_usb_transfer_init()
474 buffer_offset += frame_size * B2C2_USB_FRAMES_PER_ISO; in flexcop_usb_transfer_init()
/OK3568_Linux_fs/kernel/sound/usb/6fire/
H A Dmidi.h28 int buffer_offset; member
/OK3568_Linux_fs/kernel/drivers/net/wan/
H A Dhd64572.c100 static inline u32 buffer_offset(port_t *port, u16 desc, int transmit) in buffer_offset() function
142 u32 buff_off = buffer_offset(port, i, transmit); in sca_init_port()
214 buff = buffer_offset(port, rxin, 0); in sca_rx()
580 buff = buffer_offset(port, port->txin, 1); in sca_xmit()
H A Dhd64570.c122 static inline u32 buffer_offset(port_t *port, u16 desc, int transmit) in buffer_offset() function
168 u32 buff_off = buffer_offset(port, i, transmit); in sca_init_port()
257 buff = buffer_offset(port, rxin, 0); in sca_rx()
637 buff = buffer_offset(port, port->txin, 1); in sca_xmit()
/OK3568_Linux_fs/kernel/drivers/net/wireless/microchip/wilc1000/
H A Dwlan.c613 u32 header, buffer_offset; in wilc_wlan_handle_txq() local
640 buffer_offset = ETH_CONFIG_PKT_HDR_OFFSET; in wilc_wlan_handle_txq()
643 buffer_offset = ETH_ETHERNET_HDR_OFFSET; in wilc_wlan_handle_txq()
646 buffer_offset = HOST_HDR_OFFSET; in wilc_wlan_handle_txq()
649 memcpy(&txb[offset + buffer_offset], in wilc_wlan_handle_txq()
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/media/usb/ttusb-dec/
H A Dttusb_dec.c844 int i, j, buffer_offset = 0; in ttusb_dec_setup_urbs() local
861 urb->transfer_buffer = dec->iso_buffer + buffer_offset; in ttusb_dec_setup_urbs()
862 buffer_offset += ISO_FRAME_SIZE * FRAMES_PER_ISO_BUF; in ttusb_dec_setup_urbs()
/OK3568_Linux_fs/kernel/drivers/net/usb/
H A Dhso.c845 unsigned short buffer_offset = 0; in packetizeRx() local
863 odev->rx_buf_size, ip_pkt + buffer_offset, in packetizeRx()
867 buffer_offset += temp_bytes; in packetizeRx()
918 ip_pkt + buffer_offset, in packetizeRx()
923 buffer_offset += temp_bytes; in packetizeRx()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/cyttsp5/
H A Dcyttsp5_device_access.c2860 u32 case_num = 0, buffer_offset = 0, name_count = 0, first_search = 0; in cmcp_get_case_info_from_threshold_file() local
2867 buffer_offset = in cmcp_get_case_info_from_threshold_file()
2868 cmcp_return_offset_of_new_case(&buf[buffer_offset], in cmcp_get_case_info_from_threshold_file()
2872 if (buf[buffer_offset] == 0) in cmcp_get_case_info_from_threshold_file()
2877 if (buf[buffer_offset + name_count] == ASCII_COMMA) in cmcp_get_case_info_from_threshold_file()
2881 buf[buffer_offset + name_count]; in cmcp_get_case_info_from_threshold_file()
2885 if (buffer_offset >= file_size) in cmcp_get_case_info_from_threshold_file()
2889 search_array[case_num].offset = buffer_offset; in cmcp_get_case_info_from_threshold_file()
/OK3568_Linux_fs/kernel/drivers/scsi/cxgbi/
H A Dlibcxgbi.h575 u32 buffer_offset; member
/OK3568_Linux_fs/kernel/drivers/usb/misc/
H A Dusbtest.c379 static inline unsigned long buffer_offset(void *buf) in buffer_offset() function
387 u8 *guard = buf - buffer_offset(buf); in check_guard_bytes()
441 unsigned long offset = buffer_offset(urb->transfer_buffer); in simple_free_urb()

12