#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 git/refs/?h=nds-private-remove&id=d983001f044cf823490af7dcfcde39cfb42be0db'>refslogtreecommitdiff
path: root/drivers/usb/dwc2/hcd.c
ption>
AgeCommit message (Expand)AuthorFilesLines
space:
mode:
authorHelge Deller <deller@gmx.de>2017-01-28 11:52:02 +0100
committerHelge Deller <deller@gmx.de>2017-01-28 21:54:23 +0100
commit2ad5d52d42810bed95100a3d912679d8864421ec (patch)
tree7f93e2f906b1c86f5b76c0f4c0978d41a8a29861 /include/xen/arm/page-coherent.h
parent83b5d1e3d3013dbf90645a5d07179d018c8243fa (diff)
parisc: Don't use BITS_PER_LONG in userspace-exported swab.h header
In swab.h the "#if BITS_PER_LONG > 32" breaks compiling userspace programs if BITS_PER_LONG is #defined by userspace with the sizeof() compiler builtin. Solve this problem by using __BITS_PER_LONG instead. Since we now #include asm/bitsperlong.h avoid further potential userspace pollution by moving the #define of SHIFT_PER_LONG to bitops.h which is not exported to userspace. This patch unbreaks compiling qemu on hppa/parisc. Signed-off-by: Helge Deller <deller@gmx.de> Cc: <stable@vger.kernel.org>
Diffstat (limited to 'include/xen/arm/page-coherent.h')