drivers/media/dvb-frontends/stv090x_reg.h

Source file repositories/reference/linux-study-clean/drivers/media/dvb-frontends/stv090x_reg.h

File Facts

System
Linux kernel
Corpus path
drivers/media/dvb-frontends/stv090x_reg.h
Extension
.h
Size
101091 bytes
Lines
2360
Domain
Driver Families
Bucket
drivers/media
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

STV0900/0903 Multistandard Broadcast Frontend driver
	Copyright (C) Manu Abraham <abraham.manu@gmail.com>

	Copyright (C) ST Microelectronics

*/

#ifndef __STV090x_REG_H
#define __STV090x_REG_H

#define STV090x_MID				0xf100
#define STV090x_OFFST_MCHIP_IDENT_FIELD		4
#define STV090x_WIDTH_MCHIP_IDENT_FIELD		4
#define STV090x_OFFST_MRELEASE_FIELD		0
#define STV090x_WIDTH_MRELEASE_FIELD		4

#define STV090x_DACR1				0xf113
#define STV090x_OFFST_DACR1_MODE_FIELD		5
#define STV090x_WIDTH_DACR1_MODE_FIELD		3
#define STV090x_OFFST_DACR1_VALUE_FIELD		0
#define STV090x_WIDTH_DACR1_VALUE_FIELD		4

#define STV090x_DACR2				0xf114
#define STV090x_OFFST_DACR2_VALUE_FIELD		0
#define STV090x_WIDTH_DACR2_VALUE_FIELD		8

#define STV090x_OUTCFG				0xf11c
#define STV090x_OFFST_OUTSERRS1_HZ_FIELD	6
#define STV090x_WIDTH_OUTSERRS1_HZ_FIELD	1
#define STV090x_OFFST_OUTSERRS2_HZ_FIELD	5
#define STV090x_WIDTH_OUTSERRS2_HZ_FIELD	1
#define STV090x_OFFST_OUTSERRS3_HZ_FIELD	4
#define STV090x_WIDTH_OUTSERRS3_HZ_FIELD	1
#define STV090x_OFFST_OUTPARRS3_HZ_FIELD	3
#define STV090x_WIDTH_OUTPARRS3_HZ_FIELD	1

#define STV090x_MODECFG				0xf11d

#define STV090x_IRQSTATUS3			0xf120
#define STV090x_OFFST_SPLL_LOCK_FIELD		5
#define STV090x_WIDTH_SPLL_LOCK_FIELD		1
#define STV090x_OFFST_SSTREAM_LCK_3_FIELD	4
#define STV090x_WIDTH_SSTREAM_LCK_3_FIELD	1
#define STV090x_OFFST_SSTREAM_LCK_2_FIELD	3
#define STV090x_WIDTH_SSTREAM_LCK_2_FIELD	1
#define STV090x_OFFST_SSTREAM_LCK_1_FIELD	2
#define STV090x_WIDTH_SSTREAM_LCK_1_FIELD	1
#define STV090x_OFFST_SDVBS1_PRF_2_FIELD	1
#define STV090x_WIDTH_SDVBS1_PRF_2_FIELD	1
#define STV090x_OFFST_SDVBS1_PRF_1_FIELD	0
#define STV090x_WIDTH_SDVBS1_PRF_1_FIELD	1

#define STV090x_IRQSTATUS2			0xf121
#define STV090x_OFFST_SSPY_ENDSIM_3_FIELD	7
#define STV090x_WIDTH_SSPY_ENDSIM_3_FIELD	1
#define STV090x_OFFST_SSPY_ENDSIM_2_FIELD	6
#define STV090x_WIDTH_SSPY_ENDSIM_2_FIELD	1
#define STV090x_OFFST_SSPY_ENDSIM_1_FIELD	5
#define STV090x_WIDTH_SSPY_ENDSIM_1_FIELD	1
#define STV090x_OFFST_SPKTDEL_ERROR_2_FIELD	4
#define STV090x_WIDTH_SPKTDEL_ERROR_2_FIELD	1
#define STV090x_OFFST_SPKTDEL_LOCKB_2_FIELD	3
#define STV090x_WIDTH_SPKTDEL_LOCKB_2_FIELD	1
#define STV090x_OFFST_SPKTDEL_LOCK_2_FIELD	2
#define STV090x_WIDTH_SPKTDEL_LOCK_2_FIELD	1
#define STV090x_OFFST_SPKTDEL_ERROR_1_FIELD	1
#define STV090x_WIDTH_SPKTDEL_ERROR_1_FIELD	1
#define STV090x_OFFST_SPKTDEL_LOCKB_1_FIELD	0
#define STV090x_WIDTH_SPKTDEL_LOCKB_1_FIELD	1

#define STV090x_IRQSTATUS1			0xf122
#define STV090x_OFFST_SPKTDEL_LOCK_1_FIELD	7
#define STV090x_WIDTH_SPKTDEL_LOCK_1_FIELD	1
#define STV090x_OFFST_SDEMOD_LOCKB_2_FIELD	2
#define STV090x_WIDTH_SDEMOD_LOCKB_2_FIELD	1
#define STV090x_OFFST_SDEMOD_LOCK_2_FIELD	1
#define STV090x_WIDTH_SDEMOD_LOCK_2_FIELD	1
#define STV090x_OFFST_SDEMOD_IRQ_2_FIELD	0
#define STV090x_WIDTH_SDEMOD_IRQ_2_FIELD	1

#define STV090x_IRQSTATUS0			0xf123
#define STV090x_OFFST_SDEMOD_LOCKB_1_FIELD	7
#define STV090x_WIDTH_SDEMOD_LOCKB_1_FIELD	1
#define STV090x_OFFST_SDEMOD_LOCK_1_FIELD	6
#define STV090x_WIDTH_SDEMOD_LOCK_1_FIELD	1
#define STV090x_OFFST_SDEMOD_IRQ_1_FIELD	5
#define STV090x_WIDTH_SDEMOD_IRQ_1_FIELD	1
#define STV090x_OFFST_SBCH_ERRFLAG_FIELD	4
#define STV090x_WIDTH_SBCH_ERRFLAG_FIELD	1
#define STV090x_OFFST_SDISEQC2RX_IRQ_FIELD	3

Annotation

Implementation Notes