id
stringlengths
4
63
text
stringlengths
153
8.81M
vmw_view_remove(9)
NAME vmw_view_remove - Stage a view for removal. SYNOPSIS int vmw_view_remove (struct vmw_cmdbuf_res_manager *man , u32 user_key , enum vmw_view_type view_type , struct list_head *list , struct vmw_resource **res_p ); ARGUMENTS man Pointer to the view manager identifying the shader namespace. user_key...
vmw_view_res_free(9)
NAME vmw_view_res_free - resource res_free callback for view resources SYNOPSIS void vmw_view_res_free (struct vmw_resource *res ); ARGUMENTS res Pointer to a struct vmw_resource DESCRIPTION Frees memory held by the struct vmw_view. SEE ALSO Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_so.c struct vmw_vi...
vmw_view_res_val_add(9)
NAME vmw_view_res_val_add - Add a view and the surface it's pointing to to the validation list SYNOPSIS int vmw_view_res_val_add (struct vmw_sw_context *sw_context , struct vmw_resource *view ); ARGUMENTS sw_context The software context holding the validation list. view Pointer to the view resource. ...
vmw_view_srf(9)
NAME vmw_view_srf - Return a non-refcounted pointer to the surface a view is pointing to. SYNOPSIS struct vmw_resource * vmw_view_srf (struct vmw_resource *res ); ARGUMENTS res pointer to a view resource. DESCRIPTION Note that the view itself is holding a reference, so as long the view resource is alive, the...
vmw_view_surface_list_destroy(9)
NAME vmw_view_surface_list_destroy - Evict all views pointing to a surface SYNOPSIS void vmw_view_surface_list_destroy (struct vmw_private *dev_priv , struct list_head *list ); ARGUMENTS dev_priv Pointer to a device private struct. list List of views pointing to a surface. DESCRIPTION This function...
vmw_vkms_lock_max_wait_ns(9)
NAME vmw_vkms_lock_max_wait_ns - Return the max wait for the vkms lock SYNOPSIS u64 vmw_vkms_lock_max_wait_ns (struct vmw_display_unit *du ); ARGUMENTS du The vmw_display_unit from which to grab the vblank timings DESCRIPTION Returns the maximum wait time used to acquire the vkms lock. By default uses a tim...
vmw_vkms_modeset_lock(9)
NAME vmw_vkms_modeset_lock - Protects access to crtc during modeset SYNOPSIS void vmw_vkms_modeset_lock (struct drm_crtc *crtc ); ARGUMENTS crtc The crtc to lock for vkms DESCRIPTION This function prevents the VKMS timers/callbacks from being called while a modeset operation is in process. We don't want the ...
vmw_vkms_modeset_lock_relaxed(9)
NAME vmw_vkms_modeset_lock_relaxed - Protects access to crtc during modeset SYNOPSIS bool vmw_vkms_modeset_lock_relaxed (struct drm_crtc *crtc ); ARGUMENTS crtc The crtc to lock for vkms DESCRIPTION Much like vmw_vkms_modeset_lock except that when the crtc is currently in a modeset it will return immediately....
vmw_vkms_vblank_trylock(9)
NAME vmw_vkms_vblank_trylock - Protects access to crtc during vblank SYNOPSIS bool vmw_vkms_vblank_trylock (struct drm_crtc *crtc ); ARGUMENTS crtc The crtc to lock for vkms DESCRIPTION Tries to lock vkms for vblank, returns immediately. Returns true if locked vkms to vblank or false otherwise. SEE ALSO Ker...
vmware_steal_clock(9)
NAME vmware_steal_clock - read the per-cpu steal clock SYNOPSIS u64 vmware_steal_clock (int cpu ); ARGUMENTS cpu the cpu number whose steal clock we want to read DESCRIPTION The function reads the steal clock if we are on a 64-bit system, otherwise reads it in parts, checking that the high part didn't change...
void(3type)
NAME void - abstract type SYNOPSIS void * DESCRIPTION A pointer to any object type may be converted to a pointer to void and back. POSIX fur‐ ther requires that any pointer, including pointers to functions, may be converted to a pointer to void and back. Conversions from and to any other pointer type a...
vol_id2idx(9)
NAME vol_id2idx - get table index by volume ID. SYNOPSIS int vol_id2idx (const struct ubi_device *ubi , int vol_id ); ARGUMENTS ubi UBI device description object vol_id volume ID SEE ALSO Kernel file ./drivers/mtd/ubi/ubi.h struct ubi_vid_io_buf(9), struct ubi_wl_entry(9), struct ubi_ltree_entry...
voltdm_get_voltage(9)
NAME voltdm_get_voltage - Gets the current non-auto-compensated voltage SYNOPSIS unsigned long voltdm_get_voltage (struct voltagedomain *voltdm ); ARGUMENTS voltdm pointer to the voltdm for which current voltage info is needed DESCRIPTION API to get the current non-auto-compensated voltage for a voltage domain....
voltdm_init(9)
NAME voltdm_init - set up the voltagedomain layer SYNOPSIS void voltdm_init (struct voltagedomain **voltdms ); ARGUMENTS voltdms -- undescribed -- DESCRIPTION Loop through the array of voltagedomains voltdm_list, registering all that are available on the current CPU. If voltdm_list is supplied and not null, ...
voltdm_lookup(9)
NAME voltdm_lookup - look up a voltagedomain by name, return a pointer SYNOPSIS struct voltagedomain * voltdm_lookup (const char *name ); ARGUMENTS name name of voltagedomain DESCRIPTION Find a registered voltagedomain by its name name. Returns a pointer to the struct voltagedomain if found, or NULL otherwis...
voltdm_reset(9)
NAME voltdm_reset - Resets the voltage of a particular voltage domain to that of the current OPP. SYNOPSIS void voltdm_reset (struct voltagedomain *voltdm ); ARGUMENTS voltdm pointer to the voltage domain whose voltage is to be reset. DESCRIPTION This API finds out the correct voltage the voltage domain is supp...
voltdm_scale(9)
NAME voltdm_scale - API to scale voltage of a particular voltage domain. SYNOPSIS int voltdm_scale (struct voltagedomain *voltdm , unsigned long target_volt ); ARGUMENTS voltdm pointer to the voltage domain which is to be scaled. target_volt The target voltage of the voltage domain DESCRIPTION This API ...
vpanic(9)
NAME vpanic - halt the system SYNOPSIS void vpanic (const char *fmt , va_list args ); ARGUMENTS fmt The text string to print args Arguments for the format string DESCRIPTION Display a message, then perform cleanups. This function never returns. SEE ALSO Kernel file ./kernel/panic.c panic_smp_...
vpcs(1)
VPCS(1) Virtual PC Simulator VPCS(1) NAME vpcs - Virtual PC Simulator SYNOPSIS vpcs [OPTIONS] [FILENAME] DESCRIPTION VPCS pro...
vpd_sequence_begin(9)
NAME vpd_sequence_begin - Begin a VPD retrieval sequence. SYNOPSIS void vpd_sequence_begin (struct papr_rtas_sequence *seq ); ARGUMENTS seq vpd call parameters from sequence struct CONTEXT May sleep. SEE ALSO Kernel file ./arch/powerpc/platforms/pseries/papr-vpd.c struct rtas_ibm_get_vpd_params(9), rtas_ibm...
vpd_sequence_end(9)
NAME vpd_sequence_end - Finalize a VPD retrieval sequence. SYNOPSIS void vpd_sequence_end (struct papr_rtas_sequence *seq ); ARGUMENTS seq Sequence state. DESCRIPTION Releases resources obtained by vpd_sequence_begin. SEE ALSO Kernel file ./arch/powerpc/platforms/pseries/papr-vpd.c struct rtas_ibm_get_vpd_p...
vpddecode(8)
NAME vpddecode - VPD structure decoder SYNOPSIS vpddecode [OPTIONS] DESCRIPTION vpddecode prints the "vital product data" information that can be found in almost all IBM and Lenovo computers. Available items are: • BIOS Build ID • Box Serial Number • Motherboard Serial Number • Machine...
vpdma_update_dma_addr(9)
NAME vpdma_update_dma_addr - update DMA address in a descriptor SYNOPSIS void vpdma_update_dma_addr (struct vpdma_data *vpdma , struct vpdma_desc_list *list , dma_addr_t dma_addr , void *write_dtd , int drop , int idx ); ARGUMENTS vpdma VPDMA device context list vpdma desc list to which we add th...
vpfe_schedule_next_buffer(9)
NAME vpfe_schedule_next_buffer - set next buffer address for capture SYNOPSIS void vpfe_schedule_next_buffer (struct vpfe_device *vpfe ); ARGUMENTS vpfe ptr to vpfe device DESCRIPTION This function will get next buffer from the dma queue and set the buffer address in the vpfe register for capture. the buffer...
vpif_buffer_prepare(9)
NAME vpif_buffer_prepare - callback function for buffer prepare SYNOPSIS int vpif_buffer_prepare (struct vb2_buffer *vb ); ARGUMENTS vb ptr to vb2_buffer DESCRIPTION This is the callback function for buffer prepare when vb2_qbuf function is called. The buffer is prepared and user space virtual address or us...
vpif_buffer_queue(9)
NAME vpif_buffer_queue - Callback function to add buffer to DMA queue SYNOPSIS void vpif_buffer_queue (struct vb2_buffer *vb ); ARGUMENTS vb ptr to vb2_buffer DESCRIPTION This callback function queues the buffer to DMA engine SEE ALSO Kernel file ./drivers/media/platform/ti/davinci/vpif_display.c vpif_buff...
vpif_buffer_queue_setup(9)
NAME vpif_buffer_queue_setup - Callback function for buffer setup. SYNOPSIS int vpif_buffer_queue_setup (struct vb2_queue *vq , unsigned int *nbuffers , unsigned int *nplanes , unsigned int sizes[] , struct device *alloc_devs[] ); ARGUMENTS vq vb2_queue ptr nbuffers ptr to number of buffers reques...
vpif_calculate_offsets(9)
NAME vpif_calculate_offsets - This function calculates buffers offsets SYNOPSIS void vpif_calculate_offsets (struct channel_obj *ch ); ARGUMENTS ch ptr to channel object DESCRIPTION This function calculates buffer offsets for Y and C in the top and bottom field SEE ALSO Kernel file ./drivers/media/platfo...
vpif_channel_isr(9)
NAME vpif_channel_isr - ISR handler for vpif capture SYNOPSIS irqreturn_t vpif_channel_isr (int irq , void *dev_id ); ARGUMENTS irq irq number dev_id dev_id ptr DESCRIPTION It changes status of the captured buffer, takes next buffer from the queue and sets its address in VPIF registers SEE ALSO...
vpif_config_addr(9)
NAME vpif_config_addr - function to configure buffer address in vpif SYNOPSIS void vpif_config_addr (struct channel_obj *ch , int muxmode ); ARGUMENTS ch channel ptr muxmode channel mux mode SEE ALSO Kernel file ./drivers/media/platform/ti/davinci/vpif_capture.c vpif_buffer_prepare(9), vpif_b...
vpif_enum_dv_timings(9)
NAME vpif_enum_dv_timings - ENUM_DV_TIMINGS handler SYNOPSIS int vpif_enum_dv_timings (struct file *file , void *priv , struct v4l2_enum_dv_timings *timings ); ARGUMENTS file file ptr priv file handle timings input timings SEE ALSO Kernel file ./drivers/media/platform/ti/davinci/v...
vpif_enum_fmt_vid_cap(9)
NAME vpif_enum_fmt_vid_cap - ENUM_FMT handler SYNOPSIS int vpif_enum_fmt_vid_cap (struct file *file , void *priv , struct v4l2_fmtdesc *fmt ); ARGUMENTS file file ptr priv file handle fmt ptr to V4L2 format descriptor SEE ALSO Kernel file ./drivers/media/platform/ti/davinci/vp...
vpif_enum_input(9)
NAME vpif_enum_input - ENUMINPUT handler SYNOPSIS int vpif_enum_input (struct file *file , void *priv , struct v4l2_input *input ); ARGUMENTS file file ptr priv file handle input ptr to input structure SEE ALSO Kernel file ./drivers/media/platform/ti/davinci/vpif_capture.c vpif...
vpif_g_dv_timings(9)
NAME vpif_g_dv_timings - G_DV_TIMINGS handler SYNOPSIS int vpif_g_dv_timings (struct file *file , void *priv , struct v4l2_dv_timings *timings ); ARGUMENTS file file ptr priv file handle timings digital video timings SEE ALSO Kernel file ./drivers/media/platform/ti/davinci/vpif_di...
vpif_g_fmt_vid_cap(9)
NAME vpif_g_fmt_vid_cap - Set INPUT handler SYNOPSIS int vpif_g_fmt_vid_cap (struct file *file , void *priv , struct v4l2_format *fmt ); ARGUMENTS file file ptr priv file handle fmt ptr to v4l2 format structure SEE ALSO Kernel file ./drivers/media/platform/ti/davinci/vpif_capt...
vpif_g_input(9)
NAME vpif_g_input - Get INPUT handler SYNOPSIS int vpif_g_input (struct file *file , void *priv , unsigned int *index ); ARGUMENTS file file ptr priv file handle index ptr to input index SEE ALSO Kernel file ./drivers/media/platform/ti/davinci/vpif_capture.c vpif_buffer_prepare...
vpif_g_std(9)
NAME vpif_g_std - get STD handler SYNOPSIS int vpif_g_std (struct file *file , void *priv , v4l2_std_id *std ); ARGUMENTS file file ptr priv file handle std ptr to std id SEE ALSO Kernel file ./drivers/media/platform/ti/davinci/vpif_capture.c vpif_buffer_prepare(9), vpif_buff...
vpif_input_to_subdev(9)
NAME vpif_input_to_subdev - Maps input to sub device SYNOPSIS int vpif_input_to_subdev (struct vpif_capture_config *vpif_cfg , struct vpif_capture_chan_config *chan_cfg , int input_index ); ARGUMENTS vpif_cfg global config ptr chan_cfg channel config ptr input_index Given input index from applic...
vpif_output_to_subdev(9)
NAME vpif_output_to_subdev - Maps output to sub device SYNOPSIS int vpif_output_to_subdev (struct vpif_display_config *vpif_cfg , struct vpif_display_chan_config *chan_cfg , int index ); ARGUMENTS vpif_cfg global config ptr chan_cfg channel config ptr index Given output index from applicat...
vpif_probe(9)
NAME vpif_probe - This function probes the vpif capture driver SYNOPSIS int vpif_probe (struct platform_device *pdev ); ARGUMENTS pdev platform device pointer DESCRIPTION This creates device entries by register itself to the V4L2 driver and initializes fields of each channel objects SEE ALSO Kernel file ./...
vpif_process_buffer_complete(9)
NAME vpif_process_buffer_complete - process a completed buffer SYNOPSIS void vpif_process_buffer_complete (struct common_obj *common ); ARGUMENTS common ptr to common channel object DESCRIPTION This function time stamp the buffer and mark it as DONE. It also wake up any process waiting on the QUEUE and set the ...
vpif_query_dv_timings(9)
NAME vpif_query_dv_timings - QUERY_DV_TIMINGS handler SYNOPSIS int vpif_query_dv_timings (struct file *file , void *priv , struct v4l2_dv_timings *timings ); ARGUMENTS file file ptr priv file handle timings input timings SEE ALSO Kernel file ./drivers/media/platform/ti/davinci/vpi...
vpif_querycap(9)
NAME vpif_querycap - QUERYCAP handler SYNOPSIS int vpif_querycap (struct file *file , void *priv , struct v4l2_capability *cap ); ARGUMENTS file file ptr priv file handle cap ptr to v4l2_capability structure SEE ALSO Kernel file ./drivers/media/platform/ti/davinci/vpif_displ...
vpif_querystd(9)
NAME vpif_querystd - querystd handler SYNOPSIS int vpif_querystd (struct file *file , void *priv , v4l2_std_id *std_id ); ARGUMENTS file file ptr priv file handle std_id ptr to std id DESCRIPTION This function is called to detect standard at the selected input SEE ALSO Kernel fil...
vpif_remove(9)
NAME vpif_remove - driver remove handler SYNOPSIS void vpif_remove (struct platform_device *device ); ARGUMENTS device ptr to platform device structure DESCRIPTION The vidoe device is unregistered SEE ALSO Kernel file ./drivers/media/platform/ti/davinci/vpif_capture.c vpif_buffer_prepare(9), vpif_buffer_que...
vpif_s_dv_timings(9)
NAME vpif_s_dv_timings - S_DV_TIMINGS handler SYNOPSIS int vpif_s_dv_timings (struct file *file , void *priv , struct v4l2_dv_timings *timings ); ARGUMENTS file file ptr priv file handle timings digital video timings SEE ALSO Kernel file ./drivers/media/platform/ti/davinci/vpif_di...
vpif_s_fmt_vid_cap(9)
NAME vpif_s_fmt_vid_cap - Set FMT handler SYNOPSIS int vpif_s_fmt_vid_cap (struct file *file , void *priv , struct v4l2_format *fmt ); ARGUMENTS file file ptr priv file handle fmt ptr to v4l2 format structure SEE ALSO Kernel file ./drivers/media/platform/ti/davinci/vpif_captur...
vpif_s_input(9)
NAME vpif_s_input - Set INPUT handler SYNOPSIS int vpif_s_input (struct file *file , void *priv , unsigned int index ); ARGUMENTS file file ptr priv file handle index input index SEE ALSO Kernel file ./drivers/media/platform/ti/davinci/vpif_capture.c vpif_buffer_prepare(9), vp...
vpif_s_std(9)
NAME vpif_s_std - set STD handler SYNOPSIS int vpif_s_std (struct file *file , void *priv , v4l2_std_id std_id ); ARGUMENTS file file ptr priv file handle std_id ptr to std id SEE ALSO Kernel file ./drivers/media/platform/ti/davinci/vpif_capture.c vpif_buffer_prepare(9), vpif_bu...
vpif_schedule_next_buffer(9)
NAME vpif_schedule_next_buffer - set next buffer address for capture SYNOPSIS void vpif_schedule_next_buffer (struct common_obj *common ); ARGUMENTS common ptr to common channel object DESCRIPTION This function will get next buffer from the dma queue and set the buffer address in the vpif register for capture. ...
vpif_set_input(9)
NAME vpif_set_input - Select an input SYNOPSIS int vpif_set_input (struct vpif_capture_config *vpif_cfg , struct channel_obj *ch , int index ); ARGUMENTS vpif_cfg global config ptr ch channel index Given input index from application DESCRIPTION Select the given input. SEE ALSO Kern...
vpif_set_output(9)
NAME vpif_set_output - Select an output SYNOPSIS int vpif_set_output (struct vpif_display_config *vpif_cfg , struct channel_obj *ch , int index ); ARGUMENTS vpif_cfg global config ptr ch channel index Given output index from application DESCRIPTION Select the given output. SEE ALSO...
vpif_start_streaming(9)
NAME vpif_start_streaming - Starts the DMA engine for streaming SYNOPSIS int vpif_start_streaming (struct vb2_queue *vq , unsigned int count ); ARGUMENTS vq ptr to vb2_buffer count number of buffers SEE ALSO Kernel file ./drivers/media/platform/ti/davinci/vpif_display.c vpif_buffer_prepare(...
vpif_stop_streaming(9)
NAME vpif_stop_streaming - Stop the DMA engine SYNOPSIS void vpif_stop_streaming (struct vb2_queue *vq ); ARGUMENTS vq ptr to vb2_queue DESCRIPTION This callback stops the DMA engine and any remaining buffers in the DMA queue are released. SEE ALSO Kernel file ./drivers/media/platform/ti/davinci/vpif_dis...
vpif_suspend(9)
NAME vpif_suspend - vpif device suspend SYNOPSIS int vpif_suspend (struct device *dev ); ARGUMENTS dev pointer to struct device SEE ALSO Kernel file ./drivers/media/platform/ti/davinci/vpif_capture.c vpif_buffer_prepare(9), vpif_buffer_queue_setup(9), vpif_buffer_queue(9), vpif_start_streaming(9), vpif...
vpif_try_fmt_vid_cap(9)
NAME vpif_try_fmt_vid_cap - TRY_FMT handler SYNOPSIS int vpif_try_fmt_vid_cap (struct file *file , void *priv , struct v4l2_format *fmt ); ARGUMENTS file file ptr priv file handle fmt ptr to v4l2 format structure SEE ALSO Kernel file ./drivers/media/platform/ti/davinci/vpif_ca...
vpif_update_std_info(9)
NAME vpif_update_std_info - update standard related info SYNOPSIS int vpif_update_std_info (struct channel_obj *ch ); ARGUMENTS ch ptr to channel object DESCRIPTION For a given standard selected by application, update values in the device data structures SEE ALSO Kernel file ./drivers/media/platform/ti/d...
vport_from_priv(9)
NAME vport_from_priv - lookup vport from private data pointer SYNOPSIS struct vport * vport_from_priv (void *priv ); ARGUMENTS priv Start of private data area. RETURN A reference to a vport structure that contains priv. DESCRIPTION It is sometimes useful to translate from a pointer to the private data area ...
vport_priv(9)
NAME vport_priv - access private data area of vport SYNOPSIS void * vport_priv (const struct vport *vport ); ARGUMENTS vport vport to access RETURN A void pointer to a private data allocated in the vport. DESCRIPTION If a nonzero size was passed in priv_size of vport_alloc a private data area was allocated on...
vprintf(3)
NAME printf, fprintf, dprintf, sprintf, snprintf, vprintf, vfprintf, vdprintf, vsprintf, vsnprintf - formatted output conversion LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdio.h> int printf(const char *restrict format, ...); int fprintf(FILE *restrict stream, const c...
vprintf(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME vprintf — format the output of a stdarg argument list SYNOPSIS...
vptovf(1)
NAME vptovf - convert virtual property lists to virtual font metrics SYNOPSIS vptovf [-verbose] vpl_name[.vpl] [vfm_name[.vf] [tfm_name[.tfm]]] DESCRIPTION This manual page is not meant to be exhaustive. The complete documentation for this version of TeX can be found in the info file or manual Web2C: A TeX implement...
vpu_dec_core(9)
NAME vpu_dec_core - core start decoding, basically the function will be invoked once every frame. SYNOPSIS int vpu_dec_core (struct vdec_vpu_inst *vpu ); ARGUMENTS vpu instance for vdec_vpu_inst SEE ALSO Kernel file ./drivers/media/platform/mediatek/vcodec/decoder/vdec_vpu_if.h struct vdec_vpu_inst(9)...
vpu_dec_core_end(9)
NAME vpu_dec_core_end - core end decoding, basically the function will be invoked once when core HW decoding done and receive interrupt successfully. The decoder in VPU will update hardware information and deinit hardware and check if there is a new decoded frame available to display. SYNOPSIS int vpu_dec_core_end (s...
vpu_dec_deinit(9)
NAME vpu_dec_deinit - deinit decoder instance and resource freed in VPU. SYNOPSIS int vpu_dec_deinit (struct vdec_vpu_inst *vpu ); ARGUMENTS vpu instance for vdec_vpu_inst SEE ALSO Kernel file ./drivers/media/platform/mediatek/vcodec/decoder/vdec_vpu_if.h struct vdec_vpu_inst(9), vpu_dec_init(9), ...
vpu_dec_end(9)
NAME vpu_dec_end - end decoding, basically the function will be invoked once when HW decoding done interrupt received successfully. The decoder in VPU will continue to do reference frame management and check if there is a new decoded frame available to display. SYNOPSIS int vpu_dec_end (struct vdec_vpu_inst *vpu ); ...
vpu_dec_get_param(9)
NAME vpu_dec_get_param - get param from scp SYNOPSIS int vpu_dec_get_param (struct vdec_vpu_inst *vpu , uint32_t *data , unsigned int len , unsigned int param_type ); ARGUMENTS vpu instance for vdec_vpu_inst data meta data to pass bitstream info to VPU decoder len meta data leng...
vpu_dec_init(9)
NAME vpu_dec_init - init decoder instance and allocate required resource in VPU. SYNOPSIS int vpu_dec_init (struct vdec_vpu_inst *vpu ); ARGUMENTS vpu instance for vdec_vpu_inst SEE ALSO Kernel file ./drivers/media/platform/mediatek/vcodec/decoder/vdec_vpu_if.h struct vdec_vpu_inst(9), vpu_dec_start(...
vpu_dec_reset(9)
NAME vpu_dec_reset - reset decoder, use for flush decoder when end of stream or seek. Remaining non displayed frame will be pushed to display. SYNOPSIS int vpu_dec_reset (struct vdec_vpu_inst *vpu ); ARGUMENTS vpu instance for vdec_vpu_inst SEE ALSO Kernel file ./drivers/media/platform/mediatek/vcodec/de...
vpu_dec_start(9)
NAME vpu_dec_start - start decoding, basically the function will be invoked once every frame. SYNOPSIS int vpu_dec_start (struct vdec_vpu_inst *vpu , uint32_t *data , unsigned int len ); ARGUMENTS vpu instance for vdec_vpu_inst data meta data to pass bitstream info to VPU decoder len ...
vpu_get_plat_device(9)
NAME vpu_get_plat_device - get VPU's platform device SYNOPSIS struct platform_device * vpu_get_plat_device (struct platform_device *pdev ); ARGUMENTS pdev the platform device of the module requesting VPU platform device for using VPU API. RETURN a reference to the VPU's platform device, or NULL on failure. S...
vpu_get_vdec_hw_capa(9)
NAME vpu_get_vdec_hw_capa - get video decoder hardware capability SYNOPSIS unsigned int vpu_get_vdec_hw_capa (struct platform_device *pdev ); ARGUMENTS pdev VPU platform device RETURN video decoder hardware capability SEE ALSO Kernel file ./drivers/media/platform/mediatek/vpu/mtk_vpu.h Kernel API(9), enu...
vpu_get_venc_hw_capa(9)
NAME vpu_get_venc_hw_capa - get video encoder hardware capability SYNOPSIS unsigned int vpu_get_venc_hw_capa (struct platform_device *pdev ); ARGUMENTS pdev VPU platform device RETURN video encoder hardware capability SEE ALSO Kernel file ./drivers/media/platform/mediatek/vpu/mtk_vpu.h Kernel API(9), enu...
vpu_ipi_register(9)
NAME vpu_ipi_register - register an ipi function SYNOPSIS int vpu_ipi_register (struct platform_device *pdev , enum ipi_id id , ipi_handler_t handler , const char *name , void *priv ); ARGUMENTS pdev VPU platform device id IPI ID handler IPI handler name IPI name ...
vpu_ipi_send(9)
NAME vpu_ipi_send - send data from AP to vpu. SYNOPSIS int vpu_ipi_send (struct platform_device *pdev , enum ipi_id id , void *buf , unsigned int len ); ARGUMENTS pdev VPU platform device id IPI ID buf the data buffer len the data buffer length DESCRIPTION This...
vpu_load_firmware(9)
NAME vpu_load_firmware - download VPU firmware and boot it SYNOPSIS int vpu_load_firmware (struct platform_device *pdev ); ARGUMENTS pdev VPU platform device RETURN Return 0 if downloading firmware successfully, otherwise it is failed SEE ALSO Kernel file ./drivers/media/platform/mediatek/vpu/mtk_vpu.h Ke...
vpu_mapping_dm_addr(9)
NAME vpu_mapping_dm_addr - Mapping DTCM/DMEM to kernel virtual address SYNOPSIS void * vpu_mapping_dm_addr (struct platform_device *pdev , u32 dtcm_dmem_addr ); ARGUMENTS pdev VPU platform device dtcm_dmem_addr VPU's data memory address DESCRIPTION Mapping the VPU's DTCM (Data Tight...
vpu_wdt_reg_handler(9)
NAME vpu_wdt_reg_handler - register a VPU watchdog handler SYNOPSIS int vpu_wdt_reg_handler (struct platform_device *pdev , void *priv , void *priv , enum rst_id id ); ARGUMENTS pdev VPU platform device vpu_wdt_reset_func: the callback reset function priv the private data for reset functio...
vread_iter(9)
NAME vread_iter - read vmalloc area in a safe way to an iterator. SYNOPSIS long vread_iter (struct iov_iter *iter , const char *addr , size_t count ); ARGUMENTS iter the iterator to which data should be written. addr vm address. count number of bytes to be read. DESCRIPTION This ...
vrealloc_node_align(9)
NAME vrealloc_node_align - reallocate virtually contiguous memory; contents remain unchanged SYNOPSIS void * vrealloc_node_align (const void *p , size_t size , unsigned long align , gfp_t flags , int nid ); ARGUMENTS p object to reallocate memory for size the size to reallocate align ...
vring_interrupt(9)
NAME vring_interrupt - notify a virtqueue on an interrupt SYNOPSIS irqreturn_t vring_interrupt (int irq , void *_vq ); ARGUMENTS irq the IRQ number (ignored) _vq the struct virtqueue to notify DESCRIPTION Calls the callback function of _vq to process the virtqueue notification. SEE ALSO Kern...
vringh_complete_iotlb(9)
NAME vringh_complete_iotlb - we've finished with descriptor, publish it. SYNOPSIS int vringh_complete_iotlb (struct vringh *vrh , u16 head , u32 len ); ARGUMENTS vrh the vring. head the head as filled in by vringh_getdesc_iotlb. len the length of data we have written. DESCRIPTI...
vringh_complete_kern(9)
NAME vringh_complete_kern - we've finished with descriptor, publish it. SYNOPSIS int vringh_complete_kern (struct vringh *vrh , u16 head , u32 len ); ARGUMENTS vrh the vring. head the head as filled in by vringh_getdesc_kern. len the length of data we have written. DESCRIPTION ...
vringh_complete_multi_user(9)
NAME vringh_complete_multi_user - we've finished with many descriptors. SYNOPSIS int vringh_complete_multi_user (struct vringh *vrh , const struct vring_used_elem used[] , unsigned num_used ); ARGUMENTS vrh the vring. used the head, length pairs. num_used the number of used elements....
vringh_complete_user(9)
NAME vringh_complete_user - we've finished with descriptor, publish it. SYNOPSIS int vringh_complete_user (struct vringh *vrh , u16 head , u32 len ); ARGUMENTS vrh the vring. head the head as filled in by vringh_getdesc_user. len the length of data we have written. DESCRIPTION ...
vringh_getdesc_iotlb(9)
NAME vringh_getdesc_iotlb - get next available descriptor from ring with IOTLB. SYNOPSIS int vringh_getdesc_iotlb (struct vringh *vrh , struct vringh_kiov *riov , struct vringh_kiov *wiov , u16 *head , gfp_t gfp ); ARGUMENTS vrh the kernelspace vring. riov where to put the readable descriptors ...
vringh_getdesc_kern(9)
NAME vringh_getdesc_kern - get next available descriptor from kernelspace ring. SYNOPSIS int vringh_getdesc_kern (struct vringh *vrh , struct vringh_kiov *riov , struct vringh_kiov *wiov , u16 *head , gfp_t gfp ); ARGUMENTS vrh the kernelspace vring. riov where to put the readable descriptors (...
vringh_getdesc_user(9)
NAME vringh_getdesc_user - get next available descriptor from userspace ring. SYNOPSIS int vringh_getdesc_user (struct vringh *vrh , struct vringh_iov *riov , struct vringh_iov *wiov , bool (*getrange)(struct vringh *vrh, u64 addr, struct vringh_range *r) , u16 *head ); ARGUMENTS vrh the userspace vring. ...
vringh_init_iotlb(9)
NAME vringh_init_iotlb - initialize a vringh for a ring with IOTLB. SYNOPSIS int vringh_init_iotlb (struct vringh *vrh , u64 features , unsigned int num , bool weak_barriers , struct vring_desc *desc , struct vring_avail *avail , struct vring_used *used ); ARGUMENTS vrh the vringh to initialize. featu...
vringh_init_iotlb_va(9)
NAME vringh_init_iotlb_va - initialize a vringh for a ring with IOTLB containing user VA. SYNOPSIS int vringh_init_iotlb_va (struct vringh *vrh , u64 features , unsigned int num , bool weak_barriers , struct vring_desc *desc , struct vring_avail *avail , struct vring_used *used ); ARGUMENTS vrh the vringh to ...
vringh_init_kern(9)
NAME vringh_init_kern - initialize a vringh for a kernelspace vring. SYNOPSIS int vringh_init_kern (struct vringh *vrh , u64 features , unsigned int num , bool weak_barriers , struct vring_desc *desc , struct vring_avail *avail , struct vring_used *used ); ARGUMENTS vrh the vringh to initialize. featu...
vringh_init_user(9)
NAME vringh_init_user - initialize a vringh for a userspace vring. SYNOPSIS int vringh_init_user (struct vringh *vrh , u64 features , unsigned int num , bool weak_barriers , vring_desc_t __user *desc , vring_avail_t __user *avail , vring_used_t __user *used ); ARGUMENTS vrh the vringh to initialize. f...
vringh_iov_pull_iotlb(9)
NAME vringh_iov_pull_iotlb - copy bytes from vring_iov. SYNOPSIS ssize_t vringh_iov_pull_iotlb (struct vringh *vrh , struct vringh_kiov *riov , void *dst , size_t len ); ARGUMENTS vrh the vring. riov the riov as passed to vringh_getdesc_iotlb (updated as we consume) dst the plac...
vringh_iov_pull_user(9)
NAME vringh_iov_pull_user - copy bytes from vring_iov. SYNOPSIS ssize_t vringh_iov_pull_user (struct vringh_iov *riov , void *dst , size_t len ); ARGUMENTS riov the riov as passed to vringh_getdesc_user (updated as we consume) dst the place to copy. len the maximum length to cop...
vringh_iov_push_iotlb(9)
NAME vringh_iov_push_iotlb - copy bytes into vring_iov. SYNOPSIS ssize_t vringh_iov_push_iotlb (struct vringh *vrh , struct vringh_kiov *wiov , const void *src , size_t len ); ARGUMENTS vrh the vring. wiov the wiov as passed to vringh_getdesc_iotlb (updated as we consume) src th...
vringh_iov_push_user(9)
NAME vringh_iov_push_user - copy bytes into vring_iov. SYNOPSIS ssize_t vringh_iov_push_user (struct vringh_iov *wiov , const void *src , size_t len ); ARGUMENTS wiov the wiov as passed to vringh_getdesc_user (updated as we consume) src the place to copy from. len the maximum le...
vringh_kiov_advance(9)
NAME vringh_kiov_advance - skip bytes from vring_kiov SYNOPSIS void vringh_kiov_advance (struct vringh_kiov *iov , size_t len ); ARGUMENTS iov an iov passed to vringh_getdesc_*() (updated as we consume) len the maximum length to advance SEE ALSO Kernel file ./drivers/vhost/vringh.c vringh_...
vringh_need_notify_iotlb(9)
NAME vringh_need_notify_iotlb - must we tell the other side about used buffers? SYNOPSIS int vringh_need_notify_iotlb (struct vringh *vrh ); ARGUMENTS vrh the vring we've called vringh_complete_iotlb on. DESCRIPTION Returns -errno or 0 if we don't need to tell the other side, 1 if we do. SEE ALSO Kernel f...
vringh_need_notify_kern(9)
NAME vringh_need_notify_kern - must we tell the other side about used buffers? SYNOPSIS int vringh_need_notify_kern (struct vringh *vrh ); ARGUMENTS vrh the vring we've called vringh_complete_kern on. DESCRIPTION Returns -errno or 0 if we don't need to tell the other side, 1 if we do. SEE ALSO Kernel file ...
vringh_need_notify_user(9)
NAME vringh_need_notify_user - must we tell the other side about used buffers? SYNOPSIS int vringh_need_notify_user (struct vringh *vrh ); ARGUMENTS vrh the vring we've called vringh_complete_user on. DESCRIPTION Returns -errno or 0 if we don't need to tell the other side, 1 if we do. SEE ALSO Kernel file...