brintos

brintos / linux-shallow public Read only

0
0
Text · 806 B · 1017447 Raw
37 lines · c
1/* SPDX-License-Identifier: GPL-2.0-or-later */2/*3 * Intel CE6230 DVB USB driver4 *5 * Copyright (C) 2009 Antti Palosaari <crope@iki.fi>6 */7 8#ifndef CE6230_H9#define CE6230_H10 11#include "dvb_usb.h"12#include "zl10353.h"13#include "mxl5005s.h"14 15#define CE6230_USB_TIMEOUT 100016 17struct usb_req {18	u8  cmd;       /* [1] */19	u16 value;     /* [2|3] */20	u16 index;     /* [4|5] */21	u16 data_len;  /* [6|7] */22	u8  *data;23};24 25enum ce6230_cmd {26	CONFIG_READ          = 0xd0, /* rd 0 (unclear) */27	UNKNOWN_WRITE        = 0xc7, /* wr 7 (unclear) */28	I2C_READ             = 0xd9, /* rd 9 (unclear) */29	I2C_WRITE            = 0xca, /* wr a */30	DEMOD_READ           = 0xdb, /* rd b */31	DEMOD_WRITE          = 0xcc, /* wr c */32	REG_READ             = 0xde, /* rd e */33	REG_WRITE            = 0xcf, /* wr f */34};35 36#endif37