Home
last modified time | relevance | path

Searched refs:buffer_ptr (Results 1 – 25 of 31) sorted by relevance

12

/linux/arch/mips/include/asm/octeon/
H A Dcvmx-helper-util.h129 union cvmx_buf_ptr buffer_ptr; in cvmx_helper_free_packet_data() local
136 buffer_ptr = work->packet_ptr; in cvmx_helper_free_packet_data()
146 start_of_buffer = ((buffer_ptr.s.addr >> 7) - buffer_ptr.s.back) << 7; in cvmx_helper_free_packet_data()
149 *(union cvmx_buf_ptr *) cvmx_phys_to_ptr(buffer_ptr.s.addr - 8); in cvmx_helper_free_packet_data()
150 buffer_ptr = next_buffer_ptr; in cvmx_helper_free_packet_data()
160 ((buffer_ptr.s.addr >> 7) - buffer_ptr.s.back) << 7; in cvmx_helper_free_packet_data()
166 *(union cvmx_buf_ptr *) cvmx_phys_to_ptr(buffer_ptr.s.addr - 8); in cvmx_helper_free_packet_data()
168 buffer_ptr.s.pool, 0); in cvmx_helper_free_packet_data()
169 buffer_ptr = next_buffer_ptr; in cvmx_helper_free_packet_data()
/linux/drivers/acpi/acpica/
H A Ddswload2.c45 char *buffer_ptr; in acpi_ds_load2_begin_op() local
79 buffer_ptr = op->common.value.string; in acpi_ds_load2_begin_op()
80 if (!buffer_ptr) { in acpi_ds_load2_begin_op()
89 buffer_ptr = ACPI_CAST_PTR(char, &op->named.name); in acpi_ds_load2_begin_op()
94 buffer_ptr = in acpi_ds_load2_begin_op()
122 acpi_ns_lookup(walk_state->scope_info, buffer_ptr, in acpi_ds_load2_begin_op()
147 acpi_ns_lookup(walk_state->scope_info, buffer_ptr, in acpi_ds_load2_begin_op()
158 buffer_ptr, in acpi_ds_load2_begin_op()
163 buffer_ptr, status); in acpi_ds_load2_begin_op()
313 acpi_ns_lookup(walk_state->scope_info, buffer_ptr, in acpi_ds_load2_begin_op()
[all …]
/linux/drivers/platform/x86/hp/hp-bioscfg/
H A Dbioscfg.c139 ret = hp_get_integer_from_buffer(buffer_ptr, buffer_size, in hp_get_common_data_from_buffer()
145 ret = hp_get_integer_from_buffer(buffer_ptr, buffer_size, in hp_get_common_data_from_buffer()
151 ret = hp_get_integer_from_buffer(buffer_ptr, buffer_size, in hp_get_common_data_from_buffer()
157 ret = hp_get_integer_from_buffer(buffer_ptr, buffer_size, in hp_get_common_data_from_buffer()
163 ret = hp_get_integer_from_buffer(buffer_ptr, buffer_size, in hp_get_common_data_from_buffer()
776 u8 *buffer_ptr = NULL; in hp_init_bios_buffer_attribute() local
781 buffer_ptr = obj->buffer.pointer; in hp_init_bios_buffer_attribute()
783 ret = hp_get_string_from_buffer(&buffer_ptr, in hp_init_bios_buffer_attribute()
827 ret = hp_populate_string_buffer_data(buffer_ptr, in hp_init_bios_buffer_attribute()
833 ret = hp_populate_integer_buffer_data(buffer_ptr, in hp_init_bios_buffer_attribute()
[all …]
H A Denum-attributes.c327 static int hp_populate_enumeration_elements_from_buffer(u8 *buffer_ptr, u32 *buffer_size, in hp_populate_enumeration_elements_from_buffer() argument
350 ret = hp_get_string_from_buffer(&buffer_ptr, buffer_size, enum_data->current_value, in hp_populate_enumeration_elements_from_buffer()
356 ret = hp_get_common_data_from_buffer(&buffer_ptr, buffer_size, &enum_data->common); in hp_populate_enumeration_elements_from_buffer()
361 ret = hp_get_string_from_buffer(&buffer_ptr, buffer_size, in hp_populate_enumeration_elements_from_buffer()
368 ret = hp_get_integer_from_buffer(&buffer_ptr, buffer_size, in hp_populate_enumeration_elements_from_buffer()
379 ret = hp_get_string_from_buffer(&buffer_ptr, buffer_size, in hp_populate_enumeration_elements_from_buffer()
399 int hp_populate_enumeration_buffer_data(u8 *buffer_ptr, u32 *buffer_size, in hp_populate_enumeration_buffer_data() argument
409 ret = hp_populate_enumeration_elements_from_buffer(buffer_ptr, buffer_size, in hp_populate_enumeration_buffer_data()
H A Dint-attributes.c300 static int hp_populate_integer_elements_from_buffer(u8 *buffer_ptr, u32 *buffer_size, in hp_populate_integer_elements_from_buffer() argument
330 hp_get_string_from_buffer(&buffer_ptr, buffer_size, dst, dst_size); in hp_populate_integer_elements_from_buffer()
337 ret = hp_get_common_data_from_buffer(&buffer_ptr, buffer_size, &integer_data->common); in hp_populate_integer_elements_from_buffer()
342 ret = hp_get_integer_from_buffer(&buffer_ptr, buffer_size, in hp_populate_integer_elements_from_buffer()
348 ret = hp_get_integer_from_buffer(&buffer_ptr, buffer_size, in hp_populate_integer_elements_from_buffer()
354 ret = hp_get_integer_from_buffer(&buffer_ptr, buffer_size, in hp_populate_integer_elements_from_buffer()
370 int hp_populate_integer_buffer_data(u8 *buffer_ptr, u32 *buffer_size, int instance_id, in hp_populate_integer_buffer_data() argument
379 ret = hp_populate_integer_elements_from_buffer(buffer_ptr, buffer_size, in hp_populate_integer_buffer_data()
H A Dpasswdobj-attributes.c408 static int hp_populate_password_elements_from_buffer(u8 *buffer_ptr, u32 *buffer_size, in hp_populate_password_elements_from_buffer() argument
432 ret = hp_get_string_from_buffer(&buffer_ptr, buffer_size, password_data->current_password, in hp_populate_password_elements_from_buffer()
438 ret = hp_get_common_data_from_buffer(&buffer_ptr, buffer_size, in hp_populate_password_elements_from_buffer()
444 ret = hp_get_integer_from_buffer(&buffer_ptr, buffer_size, in hp_populate_password_elements_from_buffer()
450 ret = hp_get_integer_from_buffer(&buffer_ptr, buffer_size, in hp_populate_password_elements_from_buffer()
456 ret = hp_get_integer_from_buffer(&buffer_ptr, buffer_size, in hp_populate_password_elements_from_buffer()
469 ret = hp_get_string_from_buffer(&buffer_ptr, buffer_size, in hp_populate_password_elements_from_buffer()
477 ret = hp_get_integer_from_buffer(&buffer_ptr, buffer_size, &isreadonly); in hp_populate_password_elements_from_buffer()
496 int hp_populate_password_buffer_data(u8 *buffer_ptr, u32 *buffer_size, int instance_id, in hp_populate_password_buffer_data() argument
505 ret = hp_populate_password_elements_from_buffer(buffer_ptr, buffer_size, in hp_populate_password_buffer_data()
H A Dstring-attributes.c290 static int hp_populate_string_elements_from_buffer(u8 *buffer_ptr, u32 *buffer_size, in hp_populate_string_elements_from_buffer() argument
312 ret = hp_get_string_from_buffer(&buffer_ptr, buffer_size, string_data->current_value, in hp_populate_string_elements_from_buffer()
318 ret = hp_get_common_data_from_buffer(&buffer_ptr, buffer_size, &string_data->common); in hp_populate_string_elements_from_buffer()
323 ret = hp_get_integer_from_buffer(&buffer_ptr, buffer_size, in hp_populate_string_elements_from_buffer()
329 ret = hp_get_integer_from_buffer(&buffer_ptr, buffer_size, in hp_populate_string_elements_from_buffer()
346 int hp_populate_string_buffer_data(u8 *buffer_ptr, u32 *buffer_size, in hp_populate_string_buffer_data() argument
355 ret = hp_populate_string_elements_from_buffer(buffer_ptr, buffer_size, in hp_populate_string_buffer_data()
H A Dorder-list-attributes.c319 static int hp_populate_ordered_list_elements_from_buffer(u8 *buffer_ptr, u32 *buffer_size, in hp_populate_ordered_list_elements_from_buffer() argument
342 ret = hp_get_string_from_buffer(&buffer_ptr, buffer_size, ordered_list_data->current_value, in hp_populate_ordered_list_elements_from_buffer()
350 ret = hp_get_common_data_from_buffer(&buffer_ptr, buffer_size, in hp_populate_ordered_list_elements_from_buffer()
356 ret = hp_get_integer_from_buffer(&buffer_ptr, buffer_size, in hp_populate_ordered_list_elements_from_buffer()
367 ret = hp_get_string_from_buffer(&buffer_ptr, buffer_size, in hp_populate_ordered_list_elements_from_buffer()
387 int hp_populate_ordered_list_buffer_data(u8 *buffer_ptr, u32 *buffer_size, int instance_id, in hp_populate_ordered_list_buffer_data() argument
396 ret = hp_populate_ordered_list_elements_from_buffer(buffer_ptr, buffer_size, in hp_populate_ordered_list_buffer_data()
H A Dbioscfg.h396 int hp_populate_string_buffer_data(u8 *buffer_ptr, u32 *buffer_size,
406 int hp_populate_integer_buffer_data(u8 *buffer_ptr, u32 *buffer_size,
416 int hp_populate_enumeration_buffer_data(u8 *buffer_ptr, u32 *buffer_size,
426 int hp_populate_ordered_list_buffer_data(u8 *buffer_ptr,
437 int hp_populate_password_buffer_data(u8 *buffer_ptr, u32 *buffer_size,
485 int hp_get_common_data_from_buffer(u8 **buffer_ptr, u32 *buffer_size, struct common_data *common);
/linux/drivers/net/ethernet/marvell/octeon_ep_vf/
H A Doctep_vf_rx.c44 desc_ring[i].buffer_ptr = dma_map_page(oq->dev, page, 0, in octep_vf_oq_fill_ring_buffers()
47 if (dma_mapping_error(oq->dev, desc_ring[i].buffer_ptr)) { in octep_vf_oq_fill_ring_buffers()
63 dma_unmap_page(oq->dev, desc_ring[i].buffer_ptr, PAGE_SIZE, DMA_FROM_DEVICE); in octep_vf_oq_fill_ring_buffers()
94 desc_ring[refill_idx].buffer_ptr = dma_map_page(oq->dev, page, 0, in octep_vf_oq_refill()
96 if (dma_mapping_error(oq->dev, desc_ring[refill_idx].buffer_ptr)) { in octep_vf_oq_refill()
209 dma_unmap_page(oq->dev, desc_ring[i].buffer_ptr, in octep_vf_oq_free_ring_buffers()
213 desc_ring[i].buffer_ptr = 0; in octep_vf_oq_free_ring_buffers()
370 dma_unmap_page(oq->dev, oq->desc_ring[read_idx].buffer_ptr, in __octep_vf_oq_process_rx()
425 dma_unmap_page(oq->dev, oq->desc_ring[read_idx].buffer_ptr, in __octep_vf_oq_process_rx()
H A Doctep_vf_rx.h20 dma_addr_t buffer_ptr; member
/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_rx.c44 desc_ring[i].buffer_ptr = dma_map_page(oq->dev, page, 0, in octep_oq_fill_ring_buffers()
47 if (dma_mapping_error(oq->dev, desc_ring[i].buffer_ptr)) { in octep_oq_fill_ring_buffers()
63 dma_unmap_page(oq->dev, desc_ring[i].buffer_ptr, PAGE_SIZE, DMA_FROM_DEVICE); in octep_oq_fill_ring_buffers()
94 desc_ring[refill_idx].buffer_ptr = dma_map_page(oq->dev, page, 0, in octep_oq_refill()
96 if (dma_mapping_error(oq->dev, desc_ring[refill_idx].buffer_ptr)) { in octep_oq_refill()
208 dma_unmap_page(oq->dev, desc_ring[i].buffer_ptr, in octep_oq_free_ring_buffers()
212 desc_ring[i].buffer_ptr = 0; in octep_oq_free_ring_buffers()
354 dma_unmap_page(oq->dev, oq->desc_ring[*read_idx].buffer_ptr, in octep_oq_next_pkt()
H A Doctep_rx.h20 dma_addr_t buffer_ptr; member
/linux/drivers/accel/ivpu/
H A Divpu_ms.c180 if (!args->buffer_ptr) { in ivpu_ms_get_data_ioctl()
185 ret = copy_samples_to_user(vdev, ms, u64_to_user_ptr(args->buffer_ptr), in ivpu_ms_get_data_ioctl()
250 if (!args->buffer_ptr) in ivpu_ms_get_info_ioctl()
271 if (copy_to_user(u64_to_user_ptr(args->buffer_ptr), ivpu_bo_vaddr(bo), info_size)) in ivpu_ms_get_info_ioctl()
/linux/drivers/net/ethernet/cavium/liquidio/
H A Docteon_droq.h39 u64 buffer_ptr; member
151 void *buffer_ptr[MAX_RECV_BUFS]; member
H A Docteon_droq.c183 desc_ring[i].buffer_ptr = in octeon_droq_setup_ring_buffers()
370 recv_pkt->buffer_ptr[i] = droq->recv_buf_list[idx].buffer; in octeon_create_recv_info()
399 desc_ring[droq->refill_idx].buffer_ptr = in octeon_droq_refill_pullup_descs()
400 desc_ring[refill_index].buffer_ptr; in octeon_droq_refill_pullup_descs()
402 desc_ring[refill_index].buffer_ptr = 0; in octeon_droq_refill_pullup_descs()
469 desc_ring[droq->refill_idx].buffer_ptr = in octeon_droq_refill()
H A Dlio_vf_rep.c307 skb = recv_pkt->buffer_ptr[0]; in lio_vf_rep_pkt_recv()
339 recv_buffer_free(recv_pkt->buffer_ptr[i]); in lio_vf_rep_pkt_recv()
H A Docteon_device.c1258 recv_pkt->buffer_ptr[0]) + OCT_DROQ_INFO_SIZE, sizeof(*cs)); in octeon_core_drv_init()
1276 recv_buffer_free(recv_pkt->buffer_ptr[i]); in octeon_core_drv_init()
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_kernel_queue.h49 unsigned int **buffer_ptr);
H A Dkfd_kernel_queue.c233 size_t packet_size_in_dwords, unsigned int **buffer_ptr) in kq_acquire_packet_buffer() argument
282 *buffer_ptr = &queue_address[wptr]; in kq_acquire_packet_buffer()
289 *buffer_ptr = NULL; in kq_acquire_packet_buffer()
/linux/include/uapi/drm/
H A Divpu_accel.h387 __u64 buffer_ptr; member
/linux/sound/soc/intel/atom/
H A Dsst-mfld-platform.h40 unsigned long long buffer_ptr; member
H A Dsst-mfld-platform-pcm.c283 stream->stream_info.buffer_ptr = 0; in sst_platform_init_stream()
656 return str_info->buffer_ptr; in sst_soc_pointer()
/linux/sound/soc/intel/atom/sst/
H A Dsst_drv_interface.c503 info->buffer_ptr = pointer_samples / substream->runtime->channels; in sst_calc_tstamp()
507 info->buffer_ptr, info->pcm_delay); in sst_calc_tstamp()
/linux/tools/perf/util/
H A Dauxtrace.c368 struct auxtrace_buffer **buffer_ptr) in auxtrace_queues__add_buffer() argument
399 if (buffer_ptr) in auxtrace_queues__add_buffer()
400 *buffer_ptr = buffer; in auxtrace_queues__add_buffer()
412 struct auxtrace_buffer **buffer_ptr) in auxtrace_queues__add_event() argument
426 buffer_ptr); in auxtrace_queues__add_event()

12