Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
drivers
media
usb
dvb-usb-v2
cypress_firmware.h
Go to the documentation of this file.
1
/* cypress_firmware.h is part of the DVB USB library.
2
*
3
* Copyright (C) 2004-6 Patrick Boettcher (
[email protected]
)
4
* see dvb-usb-init.c for copyright information.
5
*
6
* This file contains functions for downloading the firmware to Cypress FX 1
7
* and 2 based devices.
8
*
9
*/
10
11
#ifndef CYPRESS_FIRMWARE_H
12
#define CYPRESS_FIRMWARE_H
13
14
#define CYPRESS_AN2135 0
15
#define CYPRESS_AN2235 1
16
#define CYPRESS_FX2 2
17
18
/* commonly used firmware download types and function */
19
struct
hexline
{
20
u8
len
;
21
u32
addr
;
22
u8
type
;
23
u8
data
[255];
24
u8
chk
;
25
};
26
extern
int
usbv2_cypress_load_firmware
(
struct
usb_device *,
27
const
struct
firmware
*,
int
);
28
extern
int
dvb_usbv2_get_hexline
(
const
struct
firmware
*,
29
struct
hexline
*,
int
*);
30
31
#endif
Generated on Thu Jan 10 2013 13:51:11 for Linux Kernel by
1.8.2