Changes between Version 15 and Version 16 of cma_driver


Ignore:
Timestamp:
Feb 9, 2015, 8:21:04 PM (9 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • cma_driver

    v15 v16  
    2929This low_level function returns the value contained in register (index).
    3030
    31  === 3) void '''_cma_channel_start'''( unsigned int channel,  unsigned long long src_paddr,  unsigned int  src_nbufs,  unsigned long long dst_paddr,  unsigned int dst_nbufs,  unsigned int buf_length )__ ===
    32 This function activates a chained buffer DMA channel.
    33  * channel : CMA channel index.
    34  * src_paddr : physical address of the source chbuf.
    35  * src_nbufs : number of buffers in the source chbuf.
    36  * dst_paddr : physical address of the destination chbuf.
    37  * dst_nbufs : number of buffers in the destination chbuf.
    38  * buf_length : single buffer length (bytes)
    39 
    40  === 4) void '''_cma_channel_stop'''( unsigned int channel ) ===
    41 This function desactivates a chained buffer DMA channel.
    42  * channel : CMA channel index.
    43 
    4431== Interrupt Service Routine ==
    4532
    46  === 5) void '''_cma_isr'''( unsigned int irq_type,  unsigned int irq_id,  unsigned int channel ) ===
     33 === 3) void '''_cma_isr'''( unsigned int irq_type,  unsigned int irq_id,  unsigned int channel ) ===
    4734A CMA IRQ is activated in case of memory access error for a specific CMA channel. There is 4 types of errors:
    4835 * SRC_DESC_ERROR : error accessing source chbuf descriptor