dma-example.c (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) dma-example.c (22bcc915ae910bc823d8351542f6d9e7623fff24)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Sample fifo dma implementation
4 *
5 * Copyright (C) 2010 Stefani Seibold <stefani@seibold.net>
6 */
7
8#include <linux/init.h>
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Sample fifo dma implementation
4 *
5 * Copyright (C) 2010 Stefani Seibold <stefani@seibold.net>
6 */
7
8#include <linux/init.h>
9#include <linux/module.h>
10#include <linux/kfifo.h>
9#include <linux/kfifo.h>
10#include <linux/module.h>
11#include <linux/scatterlist.h>
11
12/*
13 * This module shows how to handle fifo dma operations.
14 */
15
16/* fifo size in elements (bytes) */
17#define FIFO_SIZE 32
18

--- 123 unchanged lines hidden ---
12
13/*
14 * This module shows how to handle fifo dma operations.
15 */
16
17/* fifo size in elements (bytes) */
18#define FIFO_SIZE 32
19

--- 123 unchanged lines hidden ---