pcl812.c (44fb7affcfa4e968e9c2ede023ef0e15f06d8209) pcl812.c (fe7a4f5b9548456246ffda143bab59922acda9fd)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * comedi/drivers/pcl812.c
4 *
5 * Author: Michal Dobes <dobes@tesnet.cz>
6 *
7 * hardware driver for Advantech cards
8 * card: PCL-812, PCL-812PG, PCL-813, PCL-813B

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

111
112#include <linux/module.h>
113#include <linux/interrupt.h>
114#include <linux/gfp.h>
115#include <linux/delay.h>
116#include <linux/io.h>
117#include <linux/comedi/comedidev.h>
118#include <linux/comedi/comedi_8254.h>
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * comedi/drivers/pcl812.c
4 *
5 * Author: Michal Dobes <dobes@tesnet.cz>
6 *
7 * hardware driver for Advantech cards
8 * card: PCL-812, PCL-812PG, PCL-813, PCL-813B

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

111
112#include <linux/module.h>
113#include <linux/interrupt.h>
114#include <linux/gfp.h>
115#include <linux/delay.h>
116#include <linux/io.h>
117#include <linux/comedi/comedidev.h>
118#include <linux/comedi/comedi_8254.h>
119#include <linux/comedi/comedi_isadma.h>
119
120
120#include "comedi_isadma.h"
121
122/*
123 * Register I/O map
124 */
125#define PCL812_TIMER_BASE 0x00
126#define PCL812_AI_LSB_REG 0x04
127#define PCL812_AI_MSB_REG 0x05
128#define PCL812_AI_MSB_DRDY BIT(4)
129#define PCL812_AO_LSB_REG(x) (0x04 + ((x) * 2))

--- 1206 unchanged lines hidden ---
121/*
122 * Register I/O map
123 */
124#define PCL812_TIMER_BASE 0x00
125#define PCL812_AI_LSB_REG 0x04
126#define PCL812_AI_MSB_REG 0x05
127#define PCL812_AI_MSB_DRDY BIT(4)
128#define PCL812_AO_LSB_REG(x) (0x04 + ((x) * 2))

--- 1206 unchanged lines hidden ---