~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/sound/usb/6fire/comm.h

Version: ~ [ linux-5.9-rc6 ] ~ [ linux-5.8.10 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.66 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.146 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.198 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.236 ] ~ [ linux-4.8.17 ] ~ [ linux-4.7.10 ] ~ [ linux-4.6.7 ] ~ [ linux-4.5.7 ] ~ [ linux-4.4.236 ] ~ [ linux-4.3.6 ] ~ [ linux-4.2.8 ] ~ [ linux-4.1.52 ] ~ [ linux-4.0.9 ] ~ [ linux-3.19.8 ] ~ [ linux-3.18.140 ] ~ [ linux-3.17.8 ] ~ [ linux-3.16.85 ] ~ [ linux-3.15.10 ] ~ [ linux-3.14.79 ] ~ [ linux-3.13.11 ] ~ [ linux-3.12.74 ] ~ [ linux-3.11.10 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.5 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  2  * Linux driver for TerraTec DMX 6Fire USB
  3  *
  4  * Author:      Torsten Schenk <torsten.schenk@zoho.com>
  5  * Created:     Jan 01, 2011
  6  * Copyright:   (C) Torsten Schenk
  7  *
  8  * This program is free software; you can redistribute it and/or modify
  9  * it under the terms of the GNU General Public License as published by
 10  * the Free Software Foundation; either version 2 of the License, or
 11  * (at your option) any later version.
 12  */
 13 #ifndef USB6FIRE_COMM_H
 14 #define USB6FIRE_COMM_H
 15 
 16 #include "common.h"
 17 
 18 enum /* settings for comm */
 19 {
 20         COMM_RECEIVER_BUFSIZE = 64,
 21 };
 22 
 23 struct comm_runtime {
 24         struct sfire_chip *chip;
 25 
 26         struct urb receiver;
 27         u8 *receiver_buffer;
 28 
 29         u8 serial; /* urb serial */
 30 
 31         void (*init_urb)(struct comm_runtime *rt, struct urb *urb, u8 *buffer,
 32                         void *context, void(*handler)(struct urb *urb));
 33         /* writes control data to the device */
 34         int (*write8)(struct comm_runtime *rt, u8 request, u8 reg, u8 value);
 35         int (*write16)(struct comm_runtime *rt, u8 request, u8 reg,
 36                         u8 vh, u8 vl);
 37 };
 38 
 39 int usb6fire_comm_init(struct sfire_chip *chip);
 40 void usb6fire_comm_abort(struct sfire_chip *chip);
 41 void usb6fire_comm_destroy(struct sfire_chip *chip);
 42 #endif /* USB6FIRE_COMM_H */
 43 
 44 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | Wiki (Japanese) | Wiki (English) | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

osdn.jp