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

TOMOYO Linux Cross Reference
Linux/sound/soc/codecs/wm8804.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0-only */
  2 /*
  3  * wm8804.h  --  WM8804 S/PDIF transceiver driver
  4  *
  5  * Copyright 2010 Wolfson Microelectronics plc
  6  *
  7  * Author: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
  8  */
  9 
 10 #ifndef _WM8804_H
 11 #define _WM8804_H
 12 
 13 #include <linux/regmap.h>
 14 
 15 /*
 16  * Register values.
 17  */
 18 #define WM8804_RST_DEVID1                       0x00
 19 #define WM8804_DEVID2                           0x01
 20 #define WM8804_DEVREV                           0x02
 21 #define WM8804_PLL1                             0x03
 22 #define WM8804_PLL2                             0x04
 23 #define WM8804_PLL3                             0x05
 24 #define WM8804_PLL4                             0x06
 25 #define WM8804_PLL5                             0x07
 26 #define WM8804_PLL6                             0x08
 27 #define WM8804_SPDMODE                          0x09
 28 #define WM8804_INTMASK                          0x0A
 29 #define WM8804_INTSTAT                          0x0B
 30 #define WM8804_SPDSTAT                          0x0C
 31 #define WM8804_RXCHAN1                          0x0D
 32 #define WM8804_RXCHAN2                          0x0E
 33 #define WM8804_RXCHAN3                          0x0F
 34 #define WM8804_RXCHAN4                          0x10
 35 #define WM8804_RXCHAN5                          0x11
 36 #define WM8804_SPDTX1                           0x12
 37 #define WM8804_SPDTX2                           0x13
 38 #define WM8804_SPDTX3                           0x14
 39 #define WM8804_SPDTX4                           0x15
 40 #define WM8804_SPDTX5                           0x16
 41 #define WM8804_GPO0                             0x17
 42 #define WM8804_GPO1                             0x18
 43 #define WM8804_GPO2                             0x1A
 44 #define WM8804_AIFTX                            0x1B
 45 #define WM8804_AIFRX                            0x1C
 46 #define WM8804_SPDRX1                           0x1D
 47 #define WM8804_PWRDN                            0x1E
 48 
 49 #define WM8804_REGISTER_COUNT                   30
 50 #define WM8804_MAX_REGISTER                     0x1E
 51 
 52 #define WM8804_TX_CLKSRC_MCLK                   1
 53 #define WM8804_TX_CLKSRC_PLL                    2
 54 
 55 #define WM8804_CLKOUT_SRC_CLK1                  3
 56 #define WM8804_CLKOUT_SRC_OSCCLK                4
 57 
 58 #define WM8804_CLKOUT_DIV                       1
 59 #define WM8804_MCLK_DIV                         2
 60 
 61 #define WM8804_MCLKDIV_256FS                    0
 62 #define WM8804_MCLKDIV_128FS                    1
 63 
 64 extern const struct regmap_config wm8804_regmap_config;
 65 extern const struct dev_pm_ops wm8804_pm;
 66 
 67 int wm8804_probe(struct device *dev, struct regmap *regmap);
 68 void wm8804_remove(struct device *dev);
 69 
 70 #endif  /* _WM8804_H */
 71 

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

kernel.org | git.kernel.org | LWN.net | Project Home | 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.

sflogo.php