File Index
Files and directories
Sign in
FILE

as102_fw.h

File preview with syntax highlighting.

linux-6.19.14/drivers/media/usb/as102/as102_fw.h C
 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
 7
 8extern int dual_tuner;
 9
10struct as10x_raw_fw_pkt {
11	unsigned char address[4];
12	unsigned char data[MAX_FW_PKT_SIZE - 6];
13} __packed;
14
15struct 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;
22
23#ifdef __KERNEL__
24int as102_fw_upload(struct as10x_bus_adapter_t *bus_adap);
25#endif
~/ Read-only file preview.