#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
>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/net/ipv4/gre_offload.c'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/net/ipv4/gre_offload.c?id=71810db27c1c853b335675bee335d893bc3d324b'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/net/ipv4/gre_offload.c?id=71810db27c1c853b335675bee335d893bc3d324b'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/net/ipv4/gre_offload.c?id=71810db27c1c853b335675bee335d893bc3d324b'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/net/ipv4/gre_offload.c'>
<input type='hidden' name='id' value='71810db27c1c853b335675bee335d893bc3d324b'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?id=71810db27c1c853b335675bee335d893bc3d324b'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/net?id=71810db27c1c853b335675bee335d893bc3d324b'>net</a>/<a href='/cgit.cgi/linux/net-next.git/log/net/ipv4?id=71810db27c1c853b335675bee335d893bc3d324b'>ipv4</a>/<a href='/cgit.cgi/linux/net-next.git/log/net/ipv4/gre_offload.c?id=71810db27c1c853b335675bee335d893bc3d324b'>gre_offload.c</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/net/ipv4/gre_offload.c?id=71810db27c1c853b335675bee335d893bc3d324b&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>