CSI Use case for video capture. More...
Functions | |
| static irqreturn_t | csi_enc_callback (int irq, void *dev_id) |
| static int | csi_enc_setup (cam_data *cam) |
| static int | csi_enc_eba_update (struct ipu_soc *ipu, dma_addr_t eba, int *buffer_num) |
| static int | csi_enc_enabling_tasks (void *private) |
| static int | csi_enc_disabling_tasks (void *private) |
| static int | csi_enc_enable_csi (void *private) |
| static int | csi_enc_disable_csi (void *private) |
| int | csi_enc_select (void *private) |
| int | csi_enc_deselect (void *private) |
| __init int | csi_enc_init (void) |
| void __exit | csi_enc_exit (void) |
CSI Use case for video capture.
| static irqreturn_t csi_enc_callback | ( | int | irq, | |
| void * | dev_id | |||
| ) | [static] |
csi ENC callback function.
| irq | int irq line | |
| dev_id | void * device id |
References IRQ_HANDLED.
Referenced by csi_enc_enabling_tasks().
| int csi_enc_deselect | ( | void * | private | ) |
function to de-select CSI ENC as the working path
| private | struct cam_data * mxc capture instance |
Referenced by mxc_v4l_close().
| static int csi_enc_disable_csi | ( | void * | private | ) | [static] |
Disable csi
| private | struct cam_data * mxc capture instance |
Referenced by csi_enc_select().
| static int csi_enc_disabling_tasks | ( | void * | private | ) | [static] |
Disable encoder task
| private | struct cam_data * mxc capture instance |
Referenced by csi_enc_select().
| static int csi_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 csi_enc_select().
| static int csi_enc_enable_csi | ( | void * | private | ) | [static] |
Enable csi
| private | struct cam_data * mxc capture instance |
Referenced by csi_enc_select().
| static int csi_enc_enabling_tasks | ( | void * | private | ) | [static] |
Enable encoder task
| private | struct cam_data * mxc capture instance |
References csi_enc_callback(), and csi_enc_setup().
Referenced by csi_enc_select().
| void __exit csi_enc_exit | ( | void | ) |
Deinit the Encorder channels
| __init int csi_enc_init | ( | void | ) |
Init the Encorder channels
| int csi_enc_select | ( | void * | private | ) |
function to select CSI ENC as the working path
| private | struct cam_data * mxc capture instance |
References csi_enc_disable_csi(), csi_enc_disabling_tasks(), csi_enc_eba_update(), csi_enc_enable_csi(), and csi_enc_enabling_tasks().
Referenced by mxc_v4l_do_ioctl(), and mxc_v4l_open().
| static int csi_enc_setup | ( | cam_data * | cam | ) | [static] |
CSI ENC enable channel setup function
| cam | struct cam_data * mxc capture instance |
References ipu_csi_get_sensor_protocol().
Referenced by csi_enc_enabling_tasks().
| © Freescale Semiconductor, Inc., 2007.
All rights reserved. Freescale Confidential Proprietary NDA Required |
|