Video Processing Unit (VPU) Driver
i.MX51 EVK Linux Reference Manual
14-4
Freescale Semiconductor
The VPU kernel driver include the following functions:
•
Module initialization—Initializes the module with the device specific structure
•
Device initialization—Initializes the VPU clock and hardware, and request the IRQ
•
Interrupt servicing routine—Supports events that one frame has been finished
•
File operation routines— Provides the following interfaces to user space
— File open
— File release
— File synchronization
— File IOCTL to provide interface for memory allocating and releasing
— Memory map for register and memory accessing in user space
•
Device Shutdown—Shutdowns the VPU clock and hardware, and release the IRQ
The VPU user space driver has the following functions:
•
Codec lib
— Downloads executable bitcode for hardware
— Initializes codec system
— Sets codec system configuration
— Controls codec system by command
— Reports codec status and result
•
System I/O operation
— Requests and frees memory
— Maps and unmaps memory/register to user space
— Device management
14.3
Source Code Structure
lists the kernel space source files available in the following directories:
<ltib_dir>/rpm/BUILD/linux/arch/arm/plat-mxc/include/mach/
<ltib_dir>/rpm/BUILD/linux/drivers/mxc/vpu/
Table 14-1. VPU Driver Files
File
Description
mxc_vpu.h
Header file defining IOCTLs and memory structures
mxc_vpu.c
Device management and file operation interface implementation
Summary of Contents for i.MX51 EVK
Page 1: ...Part Number 924 76374 Rev 10 11 01 11 2010 i MX51 EVK Linux Reference Manual...
Page 14: ...i MX51 EVK Linux Reference Manual xiv Freescale Semiconductor...
Page 18: ...i MX51 EVK Linux Reference Manual xviii Freescale Semiconductor...
Page 24: ...i MX51 EVK Linux Reference Manual xxiv Freescale Semiconductor...
Page 38: ...Machine Specific Layer MSL i MX51 EVK Linux Reference Manual 2 8 Freescale Semiconductor...
Page 52: ...MC13892 Digitizer Driver i MX51 EVK Linux Reference Manual 5 4 Freescale Semiconductor...
Page 64: ...TV Encoder TVE Driver i MX51 EVK Linux Reference Manual 10 4 Freescale Semiconductor...
Page 82: ...Video for Linux Two V4L2 Driver i MX51 EVK Linux Reference Manual 12 8 Freescale Semiconductor...
Page 86: ...i MX5 Dual Display i MX51 EVK Linux Reference Manual 13 4 Freescale Semiconductor...
Page 100: ...X Windows Acceleration i MX51 EVK Linux Reference Manual 16 6 Freescale Semiconductor...
Page 118: ...Low Level Keypad Driver i MX51 EVK Linux Reference Manual 20 6 Freescale Semiconductor...
Page 134: ...Security Drivers i MX51 EVK Linux Reference Manual 22 10 Freescale Semiconductor...
Page 148: ...Inter IC I2C Driver i MX51 EVK Linux Reference Manual 24 4 Freescale Semiconductor...
Page 178: ...ARC USB Driver i MX51 EVK Linux Reference Manual 29 10 Freescale Semiconductor...
Page 194: ...OProfile i MX51 EVK Linux Reference Manual 33 6 Freescale Semiconductor...