Home
last modified time | relevance | path

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

/linux/fs/orangefs/
A 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);
A 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()
171 orangefs_bufmap_put(buffer_index); in wait_for_direct_io()
271 if (buffer_index >= 0) { in wait_for_direct_io()
272 orangefs_bufmap_put(buffer_index); in wait_for_direct_io()
275 __func__, handle, buffer_index); in wait_for_direct_io()
[all …]
A Dorangefs-bufmap.c455 void orangefs_bufmap_put(int buffer_index) in orangefs_bufmap_put() argument
457 put(&rw_map, buffer_index); in orangefs_bufmap_put()
476 void orangefs_readdir_index_put(int buffer_index) in orangefs_readdir_index_put() argument
478 put(&readdir_map, buffer_index); in orangefs_readdir_index_put()
486 int buffer_index, in orangefs_bufmap_copy_from_iovec() argument
494 __func__, buffer_index, size); in orangefs_bufmap_copy_from_iovec()
496 to = &__orangefs_bufmap->desc_array[buffer_index]; in orangefs_bufmap_copy_from_iovec()
514 int buffer_index, in orangefs_bufmap_copy_to_iovec() argument
520 from = &__orangefs_bufmap->desc_array[buffer_index]; in orangefs_bufmap_copy_to_iovec()
523 __func__, buffer_index, size); in orangefs_bufmap_copy_to_iovec()
[all …]
/linux/drivers/staging/media/meson/vdec/
A 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()
A 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/drivers/staging/media/sunxi/cedrus/
A 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
152 buffer_index); in cedrus_h265_frame_info_write_dpb()
/linux/drivers/gpu/drm/amd/display/modules/color/
A 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()
859 cal_buffer->buffer_index = -1; in build_regamma()
993 cal_buffer->buffer_index = 0; // see var definition for more info in build_freesync_hdr()
[all …]
A Dcolor_gamma.h89 int buffer_index; member
/linux/drivers/comedi/drivers/
A Dcb_pcidas64.c2863 unsigned int buffer_index; in prev_ao_dma_index() local
2866 buffer_index = AO_DMA_RING_COUNT - 1; in prev_ao_dma_index()
2868 buffer_index = devpriv->ao_dma_index - 1; in prev_ao_dma_index()
2869 return buffer_index; in prev_ao_dma_index()
2875 unsigned int buffer_index; in last_ao_dma_load_completed() local
2879 buffer_index = prev_ao_dma_index(dev); in last_ao_dma_load_completed()
2942 devpriv->ao_buffer[buffer_index], in load_ao_dma_buffer()
2972 unsigned int buffer_index; in load_ao_dma() local
2975 buffer_index = devpriv->ao_dma_index; in load_ao_dma()
2979 devpriv->ao_buffer_bus_addr[buffer_index] && in load_ao_dma()
[all …]
/linux/drivers/hid/
A 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/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_color.c203 cal_buffer.buffer_index = -1; in __set_legacy_tf()
232 cal_buffer.buffer_index = -1; in __set_output_tf()
/linux/sound/pci/lx6464es/
A 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()
A Dlx_core.h159 u32 buffer_index);
A 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/sound/soc/fsl/
A Dfsl_asrc.h395 unsigned int buffer_index; member

Completed in 39 milliseconds