File dmabuf_platform_driver.h

FileList > dmabuf > dmabuf_platform_driver.h

Go to the source code of this file

  • #include <linux/fs.h>
  • #include <linux/miscdevice.h>
  • #include <linux/platform_device.h>
  • #include "dmabuf.h"
  • #include "dmabuf_fops.h"

Classes

Type Name
struct dmabuf_device

Public Static Attributes

Type Name
struct platform_driver dmabuf_platform_driver = /* multi line expression */

Public Static Functions

Type Name
static DEFINE_IDA (dmabuf_ida)
int dmabuf_fops_open (struct inode * inode, struct file * file)
int dmabuf_platform_driver_probe (struct platform_device * pdev)
int dmabuf_platform_driver_remove (struct platform_device * pdev)

Public Static Attributes Documentation

variable dmabuf_platform_driver

struct platform_driver dmabuf_platform_driver;

Public Static Functions Documentation

function DEFINE_IDA

static static DEFINE_IDA (
    dmabuf_ida
) 

function dmabuf_fops_open

static int dmabuf_fops_open (
    struct inode * inode,
    struct file * file
) 
dmabuf_device = container_of(file->private_data)
file->private_data = dmabuf_device->dmabuf

function dmabuf_platform_driver_probe

static int dmabuf_platform_driver_probe (
    struct platform_device * pdev
) 

function dmabuf_platform_driver_remove

static int dmabuf_platform_driver_remove (
    struct platform_device * pdev
) 


The documentation for this class was generated from the following file midas_fe/kerneldriver/dmabuf/dmabuf_platform_driver.h