xref: /kernel/linux/linux-5.10/drivers/media/pci/cx18/cx18-gpio.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/drivers/media/pci/cx18/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci *  cx18 gpio functions
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci *  Derived from ivtv-gpio.h
68c2ecf20Sopenharmony_ci *
78c2ecf20Sopenharmony_ci *  Copyright (C) 2007  Hans Verkuil <hverkuil@xs4all.nl>
88c2ecf20Sopenharmony_ci *  Copyright (C) 2008  Andy Walls <awalls@md.metrocast.net>
98c2ecf20Sopenharmony_ci */
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_civoid cx18_gpio_init(struct cx18 *cx);
128c2ecf20Sopenharmony_ciint cx18_gpio_register(struct cx18 *cx, u32 hw);
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_cienum cx18_gpio_reset_type {
158c2ecf20Sopenharmony_ci	CX18_GPIO_RESET_I2C     = 0,
168c2ecf20Sopenharmony_ci	CX18_GPIO_RESET_Z8F0811 = 1,
178c2ecf20Sopenharmony_ci	CX18_GPIO_RESET_XC2028  = 2,
188c2ecf20Sopenharmony_ci};
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_civoid cx18_reset_ir_gpio(void *data);
218c2ecf20Sopenharmony_ciint cx18_reset_tuner_gpio(void *dev, int component, int cmd, int value);
22

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