ddbridge.h (69716934c7c5fdaf057dcbdb75da75d067f10e60) ddbridge.h (bb4cec96e5d7f0ff7f397f4518399be77a2f12db)
1/*
2 * ddbridge.h: Digital Devices PCIe bridge driver
3 *
4 * Copyright (C) 2010-2017 Digital Devices GmbH
5 * Ralph Metzler <rmetzler@digitaldevices.de>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License

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

110 u32 mac;
111};
112
113struct ddb_info {
114 int type;
115#define DDB_NONE 0
116#define DDB_OCTOPUS 1
117#define DDB_OCTOPUS_CI 2
1/*
2 * ddbridge.h: Digital Devices PCIe bridge driver
3 *
4 * Copyright (C) 2010-2017 Digital Devices GmbH
5 * Ralph Metzler <rmetzler@digitaldevices.de>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License

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

110 u32 mac;
111};
112
113struct ddb_info {
114 int type;
115#define DDB_NONE 0
116#define DDB_OCTOPUS 1
117#define DDB_OCTOPUS_CI 2
118#define DDB_OCTOPUS_MAX 5
118#define DDB_OCTOPUS_MAX_CT 6
119 char *name;
120 u32 i2c_mask;
121 u8 port_num;
122 u8 led_num;
123 u8 fan_num;
124 u8 temp_num;
125 u8 temp_bus;

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

290#define HW_LSB_MASK 0x1000
291
292#define CM_IDLE 0
293#define CM_STARTUP 1
294#define CM_ADJUST 2
295
296#define TS_CAPTURE_LEN (4096)
297
119#define DDB_OCTOPUS_MAX_CT 6
120 char *name;
121 u32 i2c_mask;
122 u8 port_num;
123 u8 led_num;
124 u8 fan_num;
125 u8 temp_num;
126 u8 temp_bus;

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

291#define HW_LSB_MASK 0x1000
292
293#define CM_IDLE 0
294#define CM_STARTUP 1
295#define CM_ADJUST 2
296
297#define TS_CAPTURE_LEN (4096)
298
299struct ddb_lnb {
300 struct mutex lock;
301 u32 tone;
302 enum fe_sec_voltage oldvoltage[4];
303 u32 voltage[4];
304 u32 voltages;
305 u32 fmode;
306};
307
298struct ddb_link {
299 struct ddb *dev;
300 struct ddb_info *info;
301 u32 nr;
302 u32 regs;
303 spinlock_t lock;
304 struct mutex flash_mutex;
308struct ddb_link {
309 struct ddb *dev;
310 struct ddb_info *info;
311 u32 nr;
312 u32 regs;
313 spinlock_t lock;
314 struct mutex flash_mutex;
315 struct ddb_lnb lnb;
305 struct tasklet_struct tasklet;
306 struct ddb_ids ids;
307
308 spinlock_t temp_lock;
309 int overtemperature_error;
310 u8 temp_tab[11];
311};
312

--- 75 unchanged lines hidden ---
316 struct tasklet_struct tasklet;
317 struct ddb_ids ids;
318
319 spinlock_t temp_lock;
320 int overtemperature_error;
321 u8 temp_tab[11];
322};
323

--- 75 unchanged lines hidden ---