function-description(opl_cpuif.c)
[cpuif module]
local variable declaration and definition | |
void | host_dma0_isr (int irq, void *dev_id, struct pt_regs *regs) |
description: the host dma0 interrupt handler, when the interrupt generated, it will wake up the process,which is waiting for the host dma0 interrupt. | |
int | opl_host_ioctl (struct inode *inode, struct file *filp, unsigned int cmd, u32 arg) |
description: it is used for api to do something associated with ioctl command. | |
函数 | |
int __init | opl_host_dma_init (void) |
description: the module's entry. | |
void __exit | opl_host_dma_exit (void) |
description:the module's exit. | |
module_init (opl_host_dma_init) | |
module_exit (opl_host_dma_exit) | |
MODULE_LICENSE ("GPL2") | |
MODULE_AUTHOR ("opulan Inc") | |
MODULE_DESCRIPTION ("opulan IPMUX-e switch chip driver module") |
函数文档
|
description: the host dma0 interrupt handler, when the interrupt generated, it will wake up the process,which is waiting for the host dma0 interrupt.
在文件opl_cpuif.c第134行定义。 参考 opl_host_dma0_irq_event及opl_host_dma0_waitq. 参考自 opl_host_dma_init(). |
|
|
|
|
|
|
|
|
|
|
|
description:the module's exit. it is used for free resouces:irq,memory and unregister the device.
在文件opl_cpuif.c第333行定义。 参考 dma0_rx_buf、OPL_HOST_MAJOR、OPL_HOST_NAME、OPL_HOSTDMA0_IRQ、order及u32. |
|
description: the module's entry. register the char device,request irq for host dma0 and malloc memory for dma0's buffer.
在文件opl_cpuif.c第289行定义。 参考 dma0_rx_buf、dma0_tx_buf、host_dma0_isr()、opl_host_dma0_waitq、opl_host_fops、OPL_HOST_MAJOR、OPL_HOST_NAME、OPL_HOSTDMA0_IRQ、order、rx_phys_addr、tx_phys_addr及u32. |
|
description: it is used for api to do something associated with ioctl command.
在文件opl_cpuif.c第194行定义。 参考 dma_request_data_s::bd、dma_request_data_s::buf、DISABLE_IPMUX_HOST_DMA0_INTERRUPT、dma_request_data_t、dma_request_phys_addr_t、dma_request_data_s::dmas、dma_request_phys_addr_s::dmas、ENABLE_IPMUX_HOST_DMA0_INTERRUPT、GET_IPMUX_DMA_RX_BUF_DATA、GET_IPMUX_DMA_RX_PHYS_ADDR、GET_IPMUX_DMA_TX_PHYS_ADDR、ipmux_irq_disable()、ipmux_irq_enable()、dma_request_data_s::len、OPL_DMA_VAL_MAX、opl_host_dma0_irq_event、opl_host_dma0_waitq、opl_host_is_open、OPL_HOSTDMA0_IRQ、dma_request_phys_addr_s::phys_addr、rx_phys_addr、SET_IPMUX_DMA_TX_BUF_DATA、tx_phys_addr及WAIT_FOR_IPMUX_HOST_DMA0_INTERRUPT. |
Generated at Mon Jul 30 16:43:48 2007 for IPMUX1IPMUX2IPMUX3 by
