IPU Use case for PRP-ENC. More...
Functions | |
static irqreturn_t | prp_enc_callback (int irq, void *dev_id) |
static int | prp_enc_setup (cam_data *cam) |
static int | prp_enc_eba_update (struct ipu_soc *ipu, dma_addr_t eba, int *buffer_num) |
static int | prp_enc_enabling_tasks (void *private) |
static int | prp_enc_disabling_tasks (void *private) |
static int | prp_enc_enable_csi (void *private) |
static int | prp_enc_disable_csi (void *private) |
int | prp_enc_select (void *private) |
int | prp_enc_deselect (void *private) |
__init int | prp_enc_init (void) |
void __exit | prp_enc_exit (void) |
IPU Use case for PRP-ENC.
static irqreturn_t prp_enc_callback | ( | int | irq, | |
void * | dev_id | |||
) | [static] |
IPU ENC callback function.
irq | int irq line | |
dev_id | void * device id |
References IRQ_HANDLED.
Referenced by prp_enc_enabling_tasks().
int prp_enc_deselect | ( | void * | private | ) |
function to de-select PRP-ENC as the working path
private | struct cam_data * mxc capture instance |
Referenced by mxc_v4l_close().
static int prp_enc_disable_csi | ( | void * | private | ) | [static] |
Disable csi
private | struct cam_data * mxc capture instance |
Referenced by prp_enc_select().
static int prp_enc_disabling_tasks | ( | void * | private | ) | [static] |
Disable encoder task
private | struct cam_data * mxc capture instance |
Referenced by prp_enc_select().
static int prp_enc_eba_update | ( | struct ipu_soc * | ipu, | |
dma_addr_t | eba, | |||
int * | buffer_num | |||
) | [static] |
function to update physical buffer address for encorder IDMA channel
eba | physical buffer address for encorder IDMA channel | |
buffer_num | int buffer 0 or buffer 1 |
Referenced by prp_enc_select().
static int prp_enc_enable_csi | ( | void * | private | ) | [static] |
Enable csi
private | struct cam_data * mxc capture instance |
Referenced by prp_enc_select().
static int prp_enc_enabling_tasks | ( | void * | private | ) | [static] |
Enable encoder task
private | struct cam_data * mxc capture instance |
References prp_enc_callback(), and prp_enc_setup().
Referenced by prp_enc_select().
void __exit prp_enc_exit | ( | void | ) |
Deinit the Encorder channels
__init int prp_enc_init | ( | void | ) |
Init the Encorder channels
int prp_enc_select | ( | void * | private | ) |
function to select PRP-ENC as the working path
private | struct cam_data * mxc capture instance |
References prp_enc_disable_csi(), prp_enc_disabling_tasks(), prp_enc_eba_update(), prp_enc_enable_csi(), and prp_enc_enabling_tasks().
Referenced by mxc_v4l_do_ioctl(), and mxc_v4l_open().
static int prp_enc_setup | ( | cam_data * | cam | ) | [static] |
PrpENC enable channel setup function
cam | struct cam_data * mxc capture instance |
References ipu_csi_get_window_size().
Referenced by prp_enc_enabling_tasks().
© Freescale Semiconductor, Inc., 2007.
All rights reserved. Freescale Confidential Proprietary NDA Required |
![]() |