WIP FPC-III support
[linux/fpc-iii.git] / drivers / media / usb / as102 / as102_fw.h
blobf7bbc17b96564898cb39621fdc6c76ad5ded0489
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * Abilis Systems Single DVB-T Receiver
4 * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.com>
5 */
6 #define MAX_FW_PKT_SIZE 64
8 extern int dual_tuner;
10 struct as10x_raw_fw_pkt {
11 unsigned char address[4];
12 unsigned char data[MAX_FW_PKT_SIZE - 6];
13 } __packed;
15 struct as10x_fw_pkt_t {
16 union {
17 unsigned char request[2];
18 unsigned char length[2];
19 } __packed u;
20 struct as10x_raw_fw_pkt raw;
21 } __packed;
23 #ifdef __KERNEL__
24 int as102_fw_upload(struct as10x_bus_adapter_t *bus_adap);
25 #endif