Home
last modified time | relevance | path

Searched refs:buffer_offset (Results 1 - 25 of 70) sorted by relevance

123

/kernel/linux/linux-5.10/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...]
/kernel/linux/linux-6.6/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...]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/android/
H A Dbinder_alloc.c1133 * @buffer_offset: offset into @buffer data
1137 * at @buffer_offset into @buffer->user_data. If @pgoffp is not
1150 binder_size_t buffer_offset, in binder_alloc_get_page()
1153 binder_size_t buffer_space_offset = buffer_offset + in binder_alloc_get_page()
1175 binder_size_t buffer_offset = 0; in binder_alloc_clear_buf() local
1184 buffer_offset, &pgoff); in binder_alloc_clear_buf()
1190 buffer_offset += size; in binder_alloc_clear_buf()
1198 * @buffer_offset: offset into @buffer data
1209 binder_size_t buffer_offset, in binder_alloc_copy_user_to_buffer()
1213 if (!check_buffer(alloc, buffer, buffer_offset, byte in binder_alloc_copy_user_to_buffer()
1148 binder_alloc_get_page(struct binder_alloc *alloc, struct binder_buffer *buffer, binder_size_t buffer_offset, pgoff_t *pgoffp) binder_alloc_get_page() argument
1207 binder_alloc_copy_user_to_buffer(struct binder_alloc *alloc, struct binder_buffer *buffer, binder_size_t buffer_offset, const void __user *from, size_t bytes) binder_alloc_copy_user_to_buffer() argument
1238 binder_alloc_do_buffer_copy(struct binder_alloc *alloc, bool to_buffer, struct binder_buffer *buffer, binder_size_t buffer_offset, void *ptr, size_t bytes) binder_alloc_do_buffer_copy() argument
1278 binder_alloc_copy_to_buffer(struct binder_alloc *alloc, struct binder_buffer *buffer, binder_size_t buffer_offset, void *src, size_t bytes) binder_alloc_copy_to_buffer() argument
1288 binder_alloc_copy_from_buffer(struct binder_alloc *alloc, void *dest, struct binder_buffer *buffer, binder_size_t buffer_offset, size_t bytes) binder_alloc_copy_from_buffer() argument
[all...]
H A Dbinder_alloc.h164 binder_size_t buffer_offset,
170 binder_size_t buffer_offset,
177 binder_size_t buffer_offset,
/kernel/linux/linux-6.6/drivers/android/
H A Dbinder_alloc.c1134 * @buffer_offset: offset into @buffer data
1138 * at @buffer_offset into @buffer->user_data. If @pgoffp is not
1151 binder_size_t buffer_offset, in binder_alloc_get_page()
1154 binder_size_t buffer_space_offset = buffer_offset + in binder_alloc_get_page()
1176 binder_size_t buffer_offset = 0; in binder_alloc_clear_buf() local
1184 buffer_offset, &pgoff); in binder_alloc_clear_buf()
1188 buffer_offset += size; in binder_alloc_clear_buf()
1196 * @buffer_offset: offset into @buffer data
1207 binder_size_t buffer_offset, in binder_alloc_copy_user_to_buffer()
1211 if (!check_buffer(alloc, buffer, buffer_offset, byte in binder_alloc_copy_user_to_buffer()
1149 binder_alloc_get_page(struct binder_alloc *alloc, struct binder_buffer *buffer, binder_size_t buffer_offset, pgoff_t *pgoffp) binder_alloc_get_page() argument
1205 binder_alloc_copy_user_to_buffer(struct binder_alloc *alloc, struct binder_buffer *buffer, binder_size_t buffer_offset, const void __user *from, size_t bytes) binder_alloc_copy_user_to_buffer() argument
1236 binder_alloc_do_buffer_copy(struct binder_alloc *alloc, bool to_buffer, struct binder_buffer *buffer, binder_size_t buffer_offset, void *ptr, size_t bytes) binder_alloc_do_buffer_copy() argument
1267 binder_alloc_copy_to_buffer(struct binder_alloc *alloc, struct binder_buffer *buffer, binder_size_t buffer_offset, void *src, size_t bytes) binder_alloc_copy_to_buffer() argument
1277 binder_alloc_copy_from_buffer(struct binder_alloc *alloc, void *dest, struct binder_buffer *buffer, binder_size_t buffer_offset, size_t bytes) binder_alloc_copy_from_buffer() argument
[all...]
H A Dbinder_alloc.h168 binder_size_t buffer_offset,
174 binder_size_t buffer_offset,
181 binder_size_t buffer_offset,
/kernel/linux/linux-5.10/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, u32 split) { 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 split);
/kernel/linux/linux-5.10/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()
212 vbva_ctx->buffer_offset = buffer_offset; in vbva_setup_buffer_context()
209 vbva_setup_buffer_context(struct vbva_buf_ctx *vbva_ctx, u32 buffer_offset, u32 buffer_length) vbva_setup_buffer_context() argument
H A Dvboxvideo_guest.h16 u32 buffer_offset; member
50 u32 buffer_offset, u32 buffer_length);
/kernel/linux/linux-6.6/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, u32 split) { 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 split);
/kernel/linux/linux-6.6/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()
212 vbva_ctx->buffer_offset = buffer_offset; in vbva_setup_buffer_context()
209 vbva_setup_buffer_context(struct vbva_buf_ctx *vbva_ctx, u32 buffer_offset, u32 buffer_length) vbva_setup_buffer_context() argument
H A Dvboxvideo_guest.h16 u32 buffer_offset; member
50 u32 buffer_offset, u32 buffer_length);
/kernel/linux/linux-6.6/drivers/gpu/drm/logicvc/
H A Dlogicvc_layer.c270 u32 buffer_offset = layer->config.buffer_offset * layer_stride; in logicvc_layer_buffer_find_setup() local
301 if (gap && buffer_offset) { in logicvc_layer_buffer_find_setup()
302 buffer_sel = gap / buffer_offset; in logicvc_layer_buffer_find_setup()
306 gap -= buffer_sel * buffer_offset; in logicvc_layer_buffer_find_setup()
338 buffer_sel, buffer_offset); in logicvc_layer_buffer_find_setup()
425 &config->buffer_offset); in logicvc_layer_config_parse()
H A Dlogicvc_layer.h31 u32 buffer_offset; member
/kernel/linux/linux-5.10/sound/usb/6fire/
H A Dmidi.h28 int buffer_offset; member
/kernel/linux/linux-6.6/sound/usb/6fire/
H A Dmidi.h28 int buffer_offset; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/drivers/media/usb/b2c2/
H A Dflexcop-usb.c431 int buffer_offset = 0; in flexcop_usb_transfer_init() local
463 i, buffer_offset); in flexcop_usb_transfer_init()
473 urb->transfer_buffer = fc_usb->iso_buffer + buffer_offset; in flexcop_usb_transfer_init()
475 buffer_offset += frame_size * B2C2_USB_FRAMES_PER_ISO; in flexcop_usb_transfer_init()

Completed in 15 milliseconds

123