Home
last modified time | relevance | path

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

12

/linux-6.12.1/arch/mips/include/asm/octeon/
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-6.12.1/drivers/acpi/acpica/
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-6.12.1/drivers/platform/x86/hp/hp-bioscfg/
Dbioscfg.c126 int hp_get_common_data_from_buffer(u8 **buffer_ptr, u32 *buffer_size, in hp_get_common_data_from_buffer() argument
133 ret = hp_get_string_from_buffer(buffer_ptr, buffer_size, common_data->path, in hp_get_common_data_from_buffer()
139 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()
176 ret = hp_get_string_from_buffer(buffer_ptr, buffer_size, in hp_get_common_data_from_buffer()
184 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
[all …]
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()
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()
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()
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()
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()
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-6.12.1/drivers/net/ethernet/marvell/octeon_ep_vf/
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()
Doctep_vf_rx.h20 dma_addr_t buffer_ptr; member
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep/
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()
Doctep_rx.h20 dma_addr_t buffer_ptr; member
/linux-6.12.1/drivers/accel/ivpu/
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-6.12.1/drivers/net/ethernet/cavium/liquidio/
Docteon_droq.h39 u64 buffer_ptr; member
151 void *buffer_ptr[MAX_RECV_BUFS]; member
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()
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()
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-6.12.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_kernel_queue.h49 unsigned int **buffer_ptr);
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-6.12.1/include/uapi/drm/
Divpu_accel.h387 __u64 buffer_ptr; member
/linux-6.12.1/sound/soc/intel/atom/
Dsst-mfld-platform.h40 unsigned long long buffer_ptr; member
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-6.12.1/sound/soc/intel/atom/sst/
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-6.12.1/tools/perf/util/
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