Home
last modified time | relevance | path

Searched refs:buffer_index (Results 1 – 15 of 15) sorted by relevance

/linux-5.19.10/fs/orangefs/
Dorangefs-bufmap.h23 void orangefs_bufmap_put(int buffer_index);
27 void orangefs_readdir_index_put(int buffer_index);
30 int buffer_index,
34 int buffer_index,
37 void orangefs_bufmap_page_fill(void *kaddr, int buffer_index, int slot_index);
Dfile.c56 int buffer_index; in wait_for_direct_io() local
73 buffer_index = orangefs_bufmap_get(); in wait_for_direct_io()
74 if (buffer_index < 0) { in wait_for_direct_io()
75 ret = buffer_index; in wait_for_direct_io()
86 buffer_index); in wait_for_direct_io()
89 new_op->upcall.req.io.buf_index = buffer_index; in wait_for_direct_io()
139 ret = orangefs_bufmap_copy_from_iovec(iter, buffer_index, in wait_for_direct_io()
171 orangefs_bufmap_put(buffer_index); in wait_for_direct_io()
253 ret = orangefs_bufmap_copy_to_iovec(iter, buffer_index, in wait_for_direct_io()
271 if (buffer_index >= 0) { in wait_for_direct_io()
[all …]
Dorangefs-bufmap.c454 void orangefs_bufmap_put(int buffer_index) in orangefs_bufmap_put() argument
456 put(&rw_map, buffer_index); in orangefs_bufmap_put()
475 void orangefs_readdir_index_put(int buffer_index) in orangefs_readdir_index_put() argument
477 put(&readdir_map, buffer_index); in orangefs_readdir_index_put()
485 int buffer_index, in orangefs_bufmap_copy_from_iovec() argument
493 __func__, buffer_index, size); in orangefs_bufmap_copy_from_iovec()
495 to = &__orangefs_bufmap->desc_array[buffer_index]; in orangefs_bufmap_copy_from_iovec()
513 int buffer_index, in orangefs_bufmap_copy_to_iovec() argument
519 from = &__orangefs_bufmap->desc_array[buffer_index]; in orangefs_bufmap_copy_to_iovec()
522 __func__, buffer_index, size); in orangefs_bufmap_copy_to_iovec()
[all …]
/linux-5.19.10/drivers/staging/media/meson/vdec/
Dcodec_mpeg12.c159 u32 buffer_index; in codec_mpeg12_threaded_isr() local
188 buffer_index = ((reg & 0xf) - 1) & 7; in codec_mpeg12_threaded_isr()
190 amvdec_dst_buf_done_idx(sess, buffer_index, offset, field); in codec_mpeg12_threaded_isr()
Dcodec_h264.c392 u32 buffer_index = frame_status & BUF_IDX_MASK; in codec_h264_frames_ready() local
405 buffer_index); in codec_h264_frames_ready()
413 amvdec_dst_buf_done_idx(sess, buffer_index, offset, field); in codec_h264_frames_ready()
/linux-5.19.10/drivers/staging/media/sunxi/cedrus/
Dcedrus_h265.c105 int buffer_index) in cedrus_h265_frame_info_write_single() argument
108 dma_addr_t dst_luma_addr = cedrus_dst_buf_addr(ctx, buffer_index, 0); in cedrus_h265_frame_info_write_single()
109 dma_addr_t dst_chroma_addr = cedrus_dst_buf_addr(ctx, buffer_index, 1); in cedrus_h265_frame_info_write_single()
111 cedrus_h265_frame_info_mv_col_buf_addr(ctx, buffer_index, 0), in cedrus_h265_frame_info_write_single()
112 cedrus_h265_frame_info_mv_col_buf_addr(ctx, buffer_index, in cedrus_h265_frame_info_write_single()
144 int buffer_index = vb2_find_timestamp(vq, dpb[i].timestamp, 0); in cedrus_h265_frame_info_write_dpb() local
150 if (buffer_index < 0) in cedrus_h265_frame_info_write_dpb()
155 buffer_index); in cedrus_h265_frame_info_write_dpb()
/linux-5.19.10/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.h89 int buffer_index; member
Dcolor_gamma.c358 if (cal_buffer->buffer_index == 0) { in translate_from_linear_space()
367 if ((cal_buffer->buffer_index >= PRECISE_LUT_REGION_START && in translate_from_linear_space()
368 cal_buffer->buffer_index <= PRECISE_LUT_REGION_END) || in translate_from_linear_space()
369 (cal_buffer->buffer_index < 16)) in translate_from_linear_space()
374 cal_buffer->buffer[cal_buffer->buffer_index%16]); in translate_from_linear_space()
376 if (cal_buffer->buffer_index != -1) { in translate_from_linear_space()
377 cal_buffer->buffer[cal_buffer->buffer_index%16] = scratch_2; in translate_from_linear_space()
378 cal_buffer->buffer_index++; in translate_from_linear_space()
846 cal_buffer->buffer_index = 0; // see variable definition for more info in build_regamma()
859 cal_buffer->buffer_index = -1; in build_regamma()
[all …]
/linux-5.19.10/drivers/comedi/drivers/
Dcb_pcidas64.c2862 unsigned int buffer_index; in prev_ao_dma_index() local
2865 buffer_index = AO_DMA_RING_COUNT - 1; in prev_ao_dma_index()
2867 buffer_index = devpriv->ao_dma_index - 1; in prev_ao_dma_index()
2868 return buffer_index; in prev_ao_dma_index()
2874 unsigned int buffer_index; in last_ao_dma_load_completed() local
2878 buffer_index = prev_ao_dma_index(dev); in last_ao_dma_load_completed()
2885 if (transfer_address != devpriv->ao_buffer_bus_addr[buffer_index]) in last_ao_dma_load_completed()
2934 unsigned int buffer_index = devpriv->ao_dma_index; in load_ao_dma_buffer() local
2941 devpriv->ao_buffer[buffer_index], in load_ao_dma_buffer()
2947 devpriv->ao_dma_desc[buffer_index].transfer_size = cpu_to_le32(nbytes); in load_ao_dma_buffer()
[all …]
/linux-5.19.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_color.c203 cal_buffer.buffer_index = -1; in __set_legacy_tf()
232 cal_buffer.buffer_index = -1; in __set_output_tf()
/linux-5.19.10/drivers/hid/
Dhid-sensor-hub.c246 int buffer_index = 0; in sensor_hub_get_feature() local
273 if (buffer_index >= ret) in sensor_hub_get_feature()
276 memcpy(&((u8 *)buffer)[buffer_index], val_ptr, in sensor_hub_get_feature()
279 buffer_index += (report->field[field_index]->report_size / 8); in sensor_hub_get_feature()
/linux-5.19.10/sound/pci/lx6464es/
Dlx_core.c810 u32 buffer_index) in lx_buffer_cancel() argument
819 chip->rmh.cmd[0] |= buffer_index; in lx_buffer_cancel()
1030 u32 buffer_index = 0; in lx_interrupt_request_new_buffer() local
1045 &buffer_index); in lx_interrupt_request_new_buffer()
1048 buffer_index, (unsigned long)buf, period_bytes); in lx_interrupt_request_new_buffer()
Dlx_core.h159 u32 buffer_index);
Dlx6464es.c426 u32 buffer_index = 0; in lx_trigger_start() local
435 &buffer_index); in lx_trigger_start()
438 buffer_index, (unsigned long)buf, period_bytes); in lx_trigger_start()
/linux-5.19.10/sound/soc/fsl/
Dfsl_asrc.h395 unsigned int buffer_index; member