/* * wm8940.h -- WM8940 Soc Audio driver * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #ifndef _WM8940_H #define _WM8940_H struct wm8940_setup_data { /* Vref to analogue output resistance */ #define WM8940_VROI_1K 0 #define WM8940_VROI_30K 1 unsigned int vroi:1; }; /* WM8940 register space */ #define WM8940_SOFTRESET 0x00 #define WM8940_POWER1 0x01 #define WM8940_POWER2 0x02 #define WM8940_POWER3 0x03 #define WM8940_IFACE 0x04 #define WM8940_COMPANDINGCTL 0x05 #define WM8940_CLOCK 0x06 #define WM8940_ADDCNTRL 0x07 #define WM8940_GPIO 0x08 #define WM8940_CTLINT 0x09 #define WM8940_DAC 0x0A #define WM8940_DACVOL 0x0B #define WM8940_ADC 0x0E #define WM8940_ADCVOL 0x0F #define WM8940_NOTCH1 0x10 #define WM8940_NOTCH2 0x11 #define WM8940_NOTCH3 0x12 #define WM8940_NOTCH4 0x13 #define WM8940_NOTCH5 0x14 #define WM8940_NOTCH6 0x15 #define WM8940_NOTCH7 0x16 #define WM8940_NOTCH8 0x17 #define WM8940_DACLIM1 0x18 #define WM8940_DACLIM2 0x19 #define WM8940_ALC1 0x20 #define WM8940_ALC2 0x21 #define WM8940_ALC3 0x22 #define WM8940_NOISEGATE 0x23 #define WM8940_PLLN 0x24 #define WM8940_PLLK1 0x25 #define WM8940_PLLK2 0x26 #define WM8940_PLLK3 0x27 #define WM8940_ALC4 0x2A #define WM8940_INPUTCTL 0x2C #define WM8940_PGAGAIN 0x2D #define WM8940_ADCBOOST 0x2F #define WM8940_OUTPUTCTL 0x31 #define WM8940_SPKMIX 0x32 #define WM8940_SPKVOL 0x36 #define WM8940_MONOMIX 0x38 #define WM8940_CACHEREGNUM 0x57 /* Clock divider Id's */ #define WM8940_BCLKDIV 0 #define WM8940_MCLKDIV 1 #define WM8940_OPCLKDIV 2 /* MCLK clock dividers */ #define WM8940_MCLKDIV_1 0 #define WM8940_MCLKDIV_1_5 1 #define WM8940_MCLKDIV_2 2 #define WM8940_MCLKDIV_3 3 #define WM8940_MCLKDIV_4 4 #define WM8940_MCLKDIV_6 5 #define WM8940_MCLKDIV_8 6 #define WM8940_MCLKDIV_12 7 /* BCLK clock dividers */ #define WM8940_BCLKDIV_1 0 #define WM8940_BCLKDIV_2 1 #define WM8940_BCLKDIV_4 2 #define WM8940_BCLKDIV_8 3 #define WM8940_BCLKDIV_16 4 #define WM8940_BCLKDIV_32 5 /* PLL Out Dividers */ #define WM8940_OPCLKDIV_1 0 #define WM8940_OPCLKDIV_2 1 #define WM8940_OPCLKDIV_3 2 #define WM8940_OPCLKDIV_4 3 #endif /* _WM8940_H */ range'>range
path: root/net
AgeCommit message (Expand)AuthorFilesLines
2017-02-10devlink: allow to fillup eswitch attrs even if mode_get op does not existJiri Pirko1-7/+9
2017-02-10devlink: use nla_put_failure goto label instead of outJiri Pirko1-6/+6
2017-02-10devlink: rename devlink_eswitch_fill to devlink_nl_eswitch_fillJiri Pirko1-5/+5
2017-02-10devlink: fix the name of eswitch commandsJiri Pirko1-9/+9
2017-02-10Merge tag 'mac80211-next-for-davem-2017-02-09' of git://git.kernel.org/pub/sc...David S. Miller21-384/+219
2017-02-10net: cgroups: fix build errors when linux/phy*.h is removed from net/dsa.hRussell King1-0/+1
2017-02-10net: sunrpc: fix build errors when linux/phy*.h is removed from net/dsa.hRussell King1-0/+1
2017-02-10net: Fix checkpatch, Missing a blank line after declarationstcharding1-0/+13
2017-02-10net: Fix checkpatch block comments warningstcharding1-32/+33
2017-02-10net: Fix checkpatch whitespace errorstcharding1-19/+20
2017-02-10net: Fix checkpatch WARNING: please, no space before tabstcharding1-71/+71
2017-02-10net/act_pedit: Introduce 'add' operationAmir Vadai1-4/+26
2017-02-10net/act_pedit: Support using offset relative to the conventional network headersAmir Vadai1-16/+180
2017-02-10switchdev: bridge: Offload mc router portsNogah Frankel1-0/+15
2017-02-10bridge: mcast: Merge the mc router ports deletions to one functionNogah Frankel1-15/+9
2017-02-10switchdev: bridge: Offload multicast disabledNogah Frankel1-0/+16
2017-02-10sched: check negative err value to safe one level of indentJiri Pirko1-13/+9
2017-02-10sched: add missing curly braces in else branch in tc_ctl_tfilterJiri Pirko1-1/+2
2017-02-10sched: move err set right before goto errout in tc_ctl_tfilterJiri Pirko1-10/+19
2017-02-10sched: push TC filter protocol creation into a separate functionJiri Pirko1-51/+59
2017-02-10sched: move tcf_proto_destroy and tcf_destroy_chain helpers into cls_apiJiri Pirko13-24/+32
2017-02-10sched: rename tcf_destroy to tcf_destroy_protoJiri Pirko2-6/+6
2017-02-10ipv4: fib: Add events for FIB replace and appendIdo Schimmel1-13/+14
2017-02-10ipv4: fib: Send notification before deleting FIB aliasIdo Schimmel1-7/+7
2017-02-10ipv4: fib: Send deletion notification with actual FIB alias typeIdo Schimmel1-2/+2
2017-02-10ipv4: fib: Only flush FIB aliases belonging to currently flushed tableIdo Schimmel1-1/+2
2017-02-09openvswitch: Pack struct sw_flow_key.Jarno Rajahalme4-34/+39
2017-02-09openvswitch: Add force commit.Jarno Rajahalme1-2/+24
2017-02-09openvswitch: Add original direction conntrack tuple to sw_flow_key.Jarno Rajahalme