xref: /kernel/linux/linux-5.10/drivers/media/tuners/fc0013-priv.h (revision 8c2ecf20)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/drivers/media/tuners/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Fitipower FC0013 tuner driver
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright (C) 2012 Hans-Frieder Vogt <hfvogt@gmx.net>
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#ifndef _FC0013_PRIV_H_
98c2ecf20Sopenharmony_ci#define _FC0013_PRIV_H_
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#define LOG_PREFIX "fc0013"
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#undef err
148c2ecf20Sopenharmony_ci#define err(f, arg...)  printk(KERN_ERR     LOG_PREFIX": " f "\n" , ## arg)
158c2ecf20Sopenharmony_ci#undef info
168c2ecf20Sopenharmony_ci#define info(f, arg...) printk(KERN_INFO    LOG_PREFIX": " f "\n" , ## arg)
178c2ecf20Sopenharmony_ci#undef warn
188c2ecf20Sopenharmony_ci#define warn(f, arg...) printk(KERN_WARNING LOG_PREFIX": " f "\n" , ## arg)
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_cistruct fc0013_priv {
218c2ecf20Sopenharmony_ci	struct i2c_adapter *i2c;
228c2ecf20Sopenharmony_ci	u8 addr;
238c2ecf20Sopenharmony_ci	u8 dual_master;
248c2ecf20Sopenharmony_ci	u8 xtal_freq;
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci	u32 frequency;
278c2ecf20Sopenharmony_ci	u32 bandwidth;
288c2ecf20Sopenharmony_ci};
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci#endif
31

Indexes created Thu Nov 07 10:32:03 CST 2024