| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * driver for ENE KB3926 B/C/D/E/F CIR (also known as ENE0XXX) |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2010 Maxim Levitsky <maximlevitsky@gmail.com> |
|---|
| 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 as |
|---|
| 8 | | - * published by the Free Software Foundation; either version 2 of the |
|---|
| 9 | | - * License, or (at your option) any later version. |
|---|
| 10 | | - * |
|---|
| 11 | | - * This program is distributed in the hope that it will be useful, but |
|---|
| 12 | | - * WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 13 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 14 | | - * General Public License for more details. |
|---|
| 15 | 6 | */ |
|---|
| 16 | 7 | #include <linux/spinlock.h> |
|---|
| 17 | 8 | |
|---|
| .. | .. |
|---|
| 118 | 109 | #define ENE_CIRDAT_IN 0xFEC7 |
|---|
| 119 | 110 | |
|---|
| 120 | 111 | |
|---|
| 121 | | -/* RLC configuration - sample period (1us resulution) + idle mode */ |
|---|
| 112 | +/* RLC configuration - sample period (1us resolution) + idle mode */ |
|---|
| 122 | 113 | #define ENE_CIRRLC_CFG 0xFEC8 |
|---|
| 123 | 114 | #define ENE_CIRRLC_CFG_OVERFLOW 0x80 /* interrupt on overflows if set */ |
|---|
| 124 | 115 | #define ENE_DEFAULT_SAMPLE_PERIOD 50 |
|---|