cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

as102_fw.h (554B)


      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