#ifndef XONAR_H_INCLUDED #define XONAR_H_INCLUDED #include "oxygen.h" struct xonar_generic { unsigned int anti_pop_delay; u16 output_enable_bit; u8 ext_power_reg; u8 ext_power_int_reg; u8 ext_power_bit; u8 has_power; }; struct xonar_hdmi { u8 params[5]; }; /* generic helper functions */ void xonar_enable_output(struct oxygen *chip); void xonar_disable_output(struct oxygen *chip); void xonar_init_ext_power(struct oxygen *chip); void xonar_init_cs53x1(struct oxygen *chip); void xonar_set_cs53x1_params(struct oxygen *chip, struct snd_pcm_hw_params *params); #define XONAR_GPIO_BIT_INVERT (1 << 16) int xonar_gpio_bit_switch_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value); int xonar_gpio_bit_switch_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value); /* model-specific card drivers */ int get_xonar_pcm179x_model(struct oxygen *chip, const struct pci_device_id *id); int get_xonar_cs43xx_model(struct oxygen *chip, const struct pci_device_id *id); int get_xonar_wm87x6_model(struct oxygen *chip, const struct pci_device_id *id); /* HDMI helper functions */ void xonar_hdmi_init(struct oxygen *chip, struct xonar_hdmi *data); void xonar_hdmi_cleanup(struct oxygen *chip); void xonar_hdmi_resume(struct oxygen *chip, struct xonar_hdmi *hdmi); void xonar_hdmi_pcm_hardware_filter(unsigned int channel, struct snd_pcm_hardware *hardware); void xonar_set_hdmi_params(struct oxygen *chip, struct xonar_hdmi *hdmi, struct snd_pcm_hw_params *params); void xonar_hdmi_uart_input(struct oxygen *chip); #endif xt.git/refs/?h=nds-private-remove'>refslogtreecommitdiff
path: root/Documentation/media/uapi/dvb/video-get-frame-rate.rst
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-10-20 15:44:19 +0200
committerTobias Klauser <tklauser@distanz.ch>2017-02-15 10:34:18 +0100
commit5db4992d8f040b8d8db0b86d42806e0c417f7ccf (patch)
tree5b06e952af482d45f3ade64e77824662e34b7fa2 /Documentation/media/uapi/dvb/video-get-frame-rate.rst
parent370ebb0ef6255132373ed35d13e7b1d8d2eb7003 (diff)
usbnet: pegasus: Use net_device_stats from struct net_devicends-private-remove
Instead of using a private copy of struct net_device_stats in struct pegasus, use stats from struct net_device. Also remove the now unnecessary .ndo_get_stats function. Cc: Petko Manolov <petkan@nucleusys.com> Cc: linux-usb@vger.kernel.org Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'Documentation/media/uapi/dvb/video-get-frame-rate.rst')