dt282x.c (df0e68c1e9945e2ee86d266ce45597bbd8299b06) dt282x.c (fe7a4f5b9548456246ffda143bab59922acda9fd)
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * dt282x.c
4 * Comedi driver for Data Translation DT2821 series
5 *
6 * COMEDI - Linux Control and Measurement Device Interface
7 * Copyright (C) 1997-8 David A. Schleef <ds@schleef.org>
8 */

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

47 */
48
49#include <linux/module.h>
50#include <linux/delay.h>
51#include <linux/gfp.h>
52#include <linux/interrupt.h>
53#include <linux/io.h>
54#include <linux/comedi/comedidev.h>
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * dt282x.c
4 * Comedi driver for Data Translation DT2821 series
5 *
6 * COMEDI - Linux Control and Measurement Device Interface
7 * Copyright (C) 1997-8 David A. Schleef <ds@schleef.org>
8 */

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

47 */
48
49#include <linux/module.h>
50#include <linux/delay.h>
51#include <linux/gfp.h>
52#include <linux/interrupt.h>
53#include <linux/io.h>
54#include <linux/comedi/comedidev.h>
55#include <linux/comedi/comedi_isadma.h>
55
56
56#include "comedi_isadma.h"
57
58/*
59 * Register map
60 */
61#define DT2821_ADCSR_REG 0x00
62#define DT2821_ADCSR_ADERR BIT(15)
63#define DT2821_ADCSR_ADCLK BIT(9)
64#define DT2821_ADCSR_MUXBUSY BIT(8)
65#define DT2821_ADCSR_ADDONE BIT(7)

--- 1106 unchanged lines hidden ---
57/*
58 * Register map
59 */
60#define DT2821_ADCSR_REG 0x00
61#define DT2821_ADCSR_ADERR BIT(15)
62#define DT2821_ADCSR_ADCLK BIT(9)
63#define DT2821_ADCSR_MUXBUSY BIT(8)
64#define DT2821_ADCSR_ADDONE BIT(7)

--- 1106 unchanged lines hidden ---