/* * cs4265.h -- CS4265 ALSA SoC audio driver * * Copyright 2014 Cirrus Logic, Inc. * * Author: Paul Handrigan * * 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 __CS4265_H__ #define __CS4265_H__ #define CS4265_CHIP_ID 0x1 #define CS4265_CHIP_ID_VAL 0xD0 #define CS4265_CHIP_ID_MASK 0xF0 #define CS4265_REV_ID_MASK 0x0F #define CS4265_PWRCTL 0x02 #define CS4265_PWRCTL_PDN 1 #define CS4265_DAC_CTL 0x3 #define CS4265_DAC_CTL_MUTE (1 << 2) #define CS4265_DAC_CTL_DIF (3 << 4) #define CS4265_ADC_CTL 0x4 #define CS4265_ADC_MASTER 1 #define CS4265_ADC_DIF (1 << 4) #define CS4265_ADC_FM (3 << 6) #define CS4265_MCLK_FREQ 0x5 #define CS4265_MCLK_FREQ_MASK (7 << 4) #define CS4265_SIG_SEL 0x6 #define CS4265_SIG_SEL_LOOP (1 << 1) #define CS4265_CHB_PGA_CTL 0x7 #define CS4265_CHA_PGA_CTL 0x8 #define CS4265_ADC_CTL2 0x9 #define CS4265_DAC_CHA_VOL 0xA #define CS4265_DAC_CHB_VOL 0xB #define CS4265_DAC_CTL2 0xC #define CS4265_INT_STATUS 0xD #define CS4265_INT_MASK 0xE #define CS4265_STATUS_MODE_MSB 0xF #define CS4265_STATUS_MODE_LSB 0x10 #define CS4265_SPDIF_CTL1 0x11 #define CS4265_SPDIF_CTL2 0x12 #define CS4265_SPDIF_CTL2_MUTE (1 << 4) #define CS4265_SPDIF_CTL2_DIF (3 << 6) #define CS4265_C_DATA_BUFF 0x13 #define CS4265_MAX_REGISTER 0x2A #endif /net-next.git/'>summaryrefslogtreecommitdiff
path: root/include/net
AgeCommit message (Collapse)AuthorFilesLines
2017-02-10ipv4: fib: Add events for FIB replace and appendIdo Schimmel1-1/+2
The FIB notification chain currently uses the NLM_F_{REPLACE,APPEND} flags to signal routes being replaced or appended. Instead of using netlink flags for in-kernel notifications we can simply introduce two new events in the FIB notification chain. This has the added advantage of making the API cleaner, thereby making it clear that these events should be supported by listeners of the notification chain. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> CC: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-09sctp: implement sender-side procedures for Add Incoming/Outgoing Streams ↵Xin Long1-0/+2
Request Parameter This patch is to implement Sender-Side Procedures for the Add Outgoing and Incoming Streams Request Parameter described in rfc6525 section 5.1.5-5.1.6. It is also to add sockopt SCTP_ADD_STREAMS in rfc6525 section 6.3.4 for users. Signed-off-by: Xin Long <lucien.xin@gmail.com> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-09sctp: add support for generating stream reconf add incoming/outgoing streams ↵Xin Long1-0/+3
request chunk This patch is to define Add Incoming/Outgoing Streams Request Parameter described in rfc6525 section 4.5 and 4.6. They can be in one same chunk trunk as rfc6525 section 3.1-7 describes, so make them in one function. Signed-off-by: Xin Long <lucien.xin@gmail.com> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-09sctp: implement sender-side procedures for SSN/TSN Reset Request ParameterXin Long1-0/+1
This patch is to implement Sender-Side Procedures for the SSN/TSN Reset Request Parameter descibed in rfc6525 section 5.1.4. It is also to add sockopt SCTP_RESET_ASSOC in rfc6525 section 6.3.3 for users. Signed-off-by: Xin Long <lucien.xin@gmail.com> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-09sctp: add support for generating stream reconf ssn/tsn reset request chunkXin Long1-0/+2
This patch is to define SSN/TSN Reset Request Parameter described in rfc6525 section 4.3. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-08ipv4: fib: Notify about nexthop status changesIdo Schimmel1-0/+7
When a multipath route is hit the kernel doesn't consider nexthops that are DEAD or LINKDOWN when IN_DEV_IGNORE_ROUTES_WITH_LINKDOWN is set. Devices that offload multipath routes need to be made aware of nexthop status changes. Otherwise, the device will keep forwarding packets to non-functional nexthops. Add the FIB_EVENT_NH_{ADD,DEL} events to the fib notification chain, which notify capable devices when they should add or delete a nexthop from their tables. Cc: Roopa Prabhu <roopa@cumulusnetworks.com> Cc: David Ahern <dsa@cumulusnetworks.com> Cc: Andy Gospodarek <andy@greyhouse.net> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Andy Gospodarek <gospo@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-08gro_cells: move to net/core/gro_cells.cEric Dumazet1-82/+4
We have many gro cells users, so lets move the code to avoid duplication. This creates a CONFIG_GRO_CELLS option. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller