Linux Kernel
3.7.1
|
#include <linux/clk.h>
#include <linux/debugfs.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/pinctrl/consumer.h>
#include "imx-audmux.h"
Go to the source code of this file.
Macros | |
#define | DRIVER_NAME "imx-audmux" |
#define | IMX_AUDMUX_V2_PTCR(x) ((x) * 8) |
#define | IMX_AUDMUX_V2_PDCR(x) ((x) * 8 + 4) |
Enumerations | |
enum | imx_audmux_type { IMX21_AUDMUX, IMX31_AUDMUX } |
Functions | |
MODULE_DEVICE_TABLE (platform, imx_audmux_ids) | |
MODULE_DEVICE_TABLE (of, imx_audmux_dt_ids) | |
int | imx_audmux_v1_configure_port (unsigned int port, unsigned int pcr) |
EXPORT_SYMBOL_GPL (imx_audmux_v1_configure_port) | |
int | imx_audmux_v2_configure_port (unsigned int port, unsigned int ptcr, unsigned int pdcr) |
EXPORT_SYMBOL_GPL (imx_audmux_v2_configure_port) | |
subsys_initcall (imx_audmux_init) | |
module_exit (imx_audmux_exit) | |
MODULE_DESCRIPTION ("Freescale i.MX AUDMUX driver") | |
MODULE_AUTHOR ("Sascha Hauer <[email protected]>") | |
MODULE_LICENSE ("GPL v2") | |
MODULE_ALIAS ("platform:"DRIVER_NAME) | |
Variables | |
enum imx_audmux_type | audmux_type |
#define DRIVER_NAME "imx-audmux" |
Definition at line 33 of file imx-audmux.c.
Definition at line 39 of file imx-audmux.c.
Definition at line 38 of file imx-audmux.c.
enum imx_audmux_type |
Definition at line 179 of file imx-audmux.c.
EXPORT_SYMBOL_GPL | ( | imx_audmux_v1_configure_port | ) |
EXPORT_SYMBOL_GPL | ( | imx_audmux_v2_configure_port | ) |
Definition at line 208 of file imx-audmux.c.
Definition at line 225 of file imx-audmux.c.
MODULE_ALIAS | ( | "platform:" | DRIVER_NAME | ) |
MODULE_AUTHOR | ( | "Sascha Hauer <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "Freescale i.MX AUDMUX driver" | ) |
MODULE_DEVICE_TABLE | ( | platform | , |
imx_audmux_ids | |||
) |
MODULE_DEVICE_TABLE | ( | of | , |
imx_audmux_dt_ids | |||
) |
module_exit | ( | imx_audmux_exit | ) |
MODULE_LICENSE | ( | "GPL v2" | ) |
subsys_initcall | ( | imx_audmux_init | ) |
enum imx_audmux_type audmux_type |