da8xx_remoteproc.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) da8xx_remoteproc.c (56324d7a229486136e0a1e95e935efceecced249)
1/*
2 * Remote processor machine-specific module for DA8XX
3 *
4 * Copyright (C) 2013 Texas Instruments, Inc.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * version 2 as published by the Free Software Foundation.

--- 133 unchanged lines hidden (view full) ---

142 return 0;
143}
144
145/* kick a virtqueue */
146static void da8xx_rproc_kick(struct rproc *rproc, int vqid)
147{
148 struct da8xx_rproc *drproc = (struct da8xx_rproc *)rproc->priv;
149
1/*
2 * Remote processor machine-specific module for DA8XX
3 *
4 * Copyright (C) 2013 Texas Instruments, Inc.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * version 2 as published by the Free Software Foundation.

--- 133 unchanged lines hidden (view full) ---

142 return 0;
143}
144
145/* kick a virtqueue */
146static void da8xx_rproc_kick(struct rproc *rproc, int vqid)
147{
148 struct da8xx_rproc *drproc = (struct da8xx_rproc *)rproc->priv;
149
150 /* Interupt remote proc */
150 /* Interrupt remote proc */
151 writel(SYSCFG_CHIPSIG2, drproc->chipsig);
152}
153
154static struct rproc_ops da8xx_rproc_ops = {
155 .start = da8xx_rproc_start,
156 .stop = da8xx_rproc_stop,
157 .kick = da8xx_rproc_kick,
158};

--- 151 unchanged lines hidden ---
151 writel(SYSCFG_CHIPSIG2, drproc->chipsig);
152}
153
154static struct rproc_ops da8xx_rproc_ops = {
155 .start = da8xx_rproc_start,
156 .stop = da8xx_rproc_stop,
157 .kick = da8xx_rproc_kick,
158};

--- 151 unchanged lines hidden ---