| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Silicon Labs Si2168 DVB-T/T2/C demodulator driver |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2014 Antti Palosaari <crope@iki.fi> |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 8 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 9 | | - * (at your option) any later version. |
|---|
| 10 | | - * |
|---|
| 11 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 12 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 13 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 14 | | - * GNU General Public License for more details. |
|---|
| 15 | 6 | */ |
|---|
| 16 | 7 | |
|---|
| 17 | 8 | #ifndef SI2168_PRIV_H |
|---|
| .. | .. |
|---|
| 43 | 34 | unsigned int chip_id; |
|---|
| 44 | 35 | unsigned int version; |
|---|
| 45 | 36 | const char *firmware_name; |
|---|
| 46 | | - bool active; |
|---|
| 47 | | - bool warm; |
|---|
| 48 | 37 | u8 ts_mode; |
|---|
| 49 | | - bool ts_clock_inv; |
|---|
| 50 | | - bool ts_clock_gapped; |
|---|
| 51 | | - bool spectral_inversion; |
|---|
| 38 | + unsigned int active:1; |
|---|
| 39 | + unsigned int warm:1; |
|---|
| 40 | + unsigned int ts_clock_inv:1; |
|---|
| 41 | + unsigned int ts_clock_gapped:1; |
|---|
| 42 | + unsigned int spectral_inversion:1; |
|---|
| 52 | 43 | }; |
|---|
| 53 | 44 | |
|---|
| 54 | 45 | /* firmware command struct */ |
|---|