#ifndef __USBAUDIO_HELPER_H #define __USBAUDIO_HELPER_H unsigned int snd_usb_combine_bytes(unsigned char *bytes, int size); void *snd_usb_find_desc(void *descstart, int desclen, void *after, u8 dtype); void *snd_usb_find_csint_desc(void *descstart, int desclen, void *after, u8 dsubtype); int snd_usb_ctl_msg(struct usb_device *dev, unsigned int pipe, __u8 request, __u8 requesttype, __u16 value, __u16 index, void *data, __u16 size); unsigned char snd_usb_parse_datainterval(struct snd_usb_audio *chip, struct usb_host_interface *alts); /* * retrieve usb_interface descriptor from the host interface * (conditional for compatibility with the older API) */ #ifndef get_iface_desc #define get_iface_desc(iface) (&(iface)->desc) #define get_endpoint(alt,ep) (&(alt)->endpoint[ep].desc) #define get_ep_desc(ep) (&(ep)->desc) #define get_cfg_desc(cfg) (&(cfg)->desc) #endif #ifndef snd_usb_get_speed #define snd_usb_get_speed(dev) ((dev)->speed) #endif static inline int snd_usb_ctrl_intf(struct snd_usb_audio *chip) { return get_iface_desc(chip->ctrl_intf)->bInterfaceNumber; } #endif /* __USBAUDIO_HELPER_H */ move' selected='selected'>nds-private-remove</option> <option value='packet-loop-back'>packet-loop-back</option> <option value='packet-rx-pump-back'>packet-rx-pump-back</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table> <table class='tabs'><tr><td> <a href='/cgit.cgi/linux/net-next.git/?h=nds-private-remove'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?h=nds-private-remove&id=40cf6560aeee0a191a9bef1c80a2af071dbe078a'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/net/ipv4/xfrm4_policy.c?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/net/ipv4/xfrm4_policy.c?h=nds-private-remove&id=40cf6560aeee0a191a9bef1c80a2af071dbe078a'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/net/ipv4/xfrm4_policy.c?h=nds-private-remove&id=40cf6560aeee0a191a9bef1c80a2af071dbe078a'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/net/ipv4/xfrm4_policy.c?h=nds-private-remove&id=40cf6560aeee0a191a9bef1c80a2af071dbe078a'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/net/ipv4/xfrm4_policy.c'> <input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='40cf6560aeee0a191a9bef1c80a2af071dbe078a'/><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/?h=nds-private-remove&id=40cf6560aeee0a191a9bef1c80a2af071dbe078a'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/net?h=nds-private-remove&id=40cf6560aeee0a191a9bef1c80a2af071dbe078a'>net</a>/<a href='/cgit.cgi/linux/net-next.git/log/net/ipv4?h=nds-private-remove&id=40cf6560aeee0a191a9bef1c80a2af071dbe078a'>ipv4</a>/<a href='/cgit.cgi/linux/net-next.git/log/net/ipv4/xfrm4_policy.c?h=nds-private-remove&id=40cf6560aeee0a191a9bef1c80a2af071dbe078a'>xfrm4_policy.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/xfrm4_policy.c?h=nds-private-remove&id=40cf6560aeee0a191a9bef1c80a2af071dbe078a&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>