xref: /kernel/linux/linux-6.6/drivers/media/pci/cx18/cx18-gpio.h (revision 62306a36)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/drivers/media/pci/cx18/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci *  cx18 gpio functions
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci *  Derived from ivtv-gpio.h
662306a36Sopenharmony_ci *
762306a36Sopenharmony_ci *  Copyright (C) 2007  Hans Verkuil <hverkuil@xs4all.nl>
862306a36Sopenharmony_ci *  Copyright (C) 2008  Andy Walls <awalls@md.metrocast.net>
962306a36Sopenharmony_ci */
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_civoid cx18_gpio_init(struct cx18 *cx);
1262306a36Sopenharmony_ciint cx18_gpio_register(struct cx18 *cx, u32 hw);
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_cienum cx18_gpio_reset_type {
1562306a36Sopenharmony_ci	CX18_GPIO_RESET_I2C     = 0,
1662306a36Sopenharmony_ci	CX18_GPIO_RESET_Z8F0811 = 1,
1762306a36Sopenharmony_ci	CX18_GPIO_RESET_XC2028  = 2,
1862306a36Sopenharmony_ci};
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_civoid cx18_reset_ir_gpio(void *data);
2162306a36Sopenharmony_ciint cx18_reset_tuner_gpio(void *dev, int component, int cmd, int value);
22

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