search for: rproc_enabled

Displaying 2 results from an estimated 2 matches for "rproc_enabled".

2012 Sep 24
2
[PATCHv4] virtio_console: Add support for remoteproc serial
...rtio_console.c +++ b/drivers/char/virtio_console.c @@ -35,8 +35,12 @@ #include <linux/wait.h> #include <linux/workqueue.h> #include <linux/module.h> +#include <linux/dma-mapping.h> +#include <linux/kconfig.h> #include "../tty/hvc/hvc_console.h" +#define rproc_enabled IS_ENABLED(CONFIG_REMOTEPROC) + /* * This is a global struct for storing common data for all the devices * this driver handles. @@ -109,6 +113,15 @@ struct port_buffer { size_t len; /* offset in the buf from which to consume data */ size_t offset; + + /* DMA address of buffer */ + dma_ad...
2012 Sep 24
2
[PATCHv4] virtio_console: Add support for remoteproc serial
...rtio_console.c +++ b/drivers/char/virtio_console.c @@ -35,8 +35,12 @@ #include <linux/wait.h> #include <linux/workqueue.h> #include <linux/module.h> +#include <linux/dma-mapping.h> +#include <linux/kconfig.h> #include "../tty/hvc/hvc_console.h" +#define rproc_enabled IS_ENABLED(CONFIG_REMOTEPROC) + /* * This is a global struct for storing common data for all the devices * this driver handles. @@ -109,6 +113,15 @@ struct port_buffer { size_t len; /* offset in the buf from which to consume data */ size_t offset; + + /* DMA address of buffer */ + dma_ad...