/***************************************************************************** * * Copyright (C) 2008 Cedric Bregardis and * Jean-Christian Hassler * * This file is part of the Audiowerk2 ALSA driver * * The Audiowerk2 ALSA driver is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2. * * The Audiowerk2 ALSA driver is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with the Audiowerk2 ALSA driver; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, * USA. * *****************************************************************************/ /* SAA7146 registers */ #define PCI_BT_A 0x4C #define IICTFR 0x8C #define IICSTA 0x90 #define BaseA1_in 0x94 #define ProtA1_in 0x98 #define PageA1_in 0x9C #define BaseA1_out 0xA0 #define ProtA1_out 0xA4 #define PageA1_out 0xA8 #define BaseA2_in 0xAC #define ProtA2_in 0xB0 #define PageA2_in 0xB4 #define BaseA2_out 0xB8 #define ProtA2_out 0xBC #define PageA2_out 0xC0 #define IER 0xDC #define GPIO_CTRL 0xE0 #define ACON1 0xF4 #define ACON2 0xF8 #define MC1 0xFC #define MC2 0x100 #define ISR 0x10C #define PSR 0x110 #define SSR 0x114 #define PCI_ADP1 0x12C #define PCI_ADP2 0x130 #define PCI_ADP3 0x134 #define PCI_ADP4 0x138 #define LEVEL_REP 0x140 #define FB_BUFFER1 0x144 #define FB_BUFFER2 0x148 #define TSL1 0x180 #define TSL2 0x1C0 #define ME (1UL << 11) #define LIMIT (1UL << 4) #define PV (1UL << 3) /* PSR/ISR/IER */ #define PPEF (1UL << 31) #define PABO (1UL << 30) #define IIC_S (1UL << 17) #define IIC_E (1UL << 16) #define A2_in (1UL << 15) #define A2_out (1UL << 14) #define A1_in (1UL << 13) #define A1_out (1UL << 12) #define AFOU (1UL << 11) #define PIN3 (1UL << 6) #define PIN2 (1UL << 5) #define PIN1 (1UL << 4) #define PIN0 (1UL << 3) #define ECS (1UL << 2) #define EC3S (1UL << 1) #define EC0S (1UL << 0) /* SSR */ #define PRQ (1UL << 31) #define PMA (1UL << 30) #define IIC_EA (1UL << 21) #define IIC_EW (1UL << 20) #define IIC_ER (1UL << 19) #define IIC_EL (1UL << 18) #define IIC_EF (1UL << 17) #define AF2_in (1UL << 10) #define AF2_out (1UL << 9) #define AF1_in (1UL << 8) #define AF1_out (1UL << 7) #define EC5S (1UL << 3) #define EC4S (1UL << 2) #define EC2S (1UL << 1) #define EC1S (1UL << 0) /* PCI_BT_A */ #define BurstA1_in (1UL << 26) #define ThreshA1_in (1UL << 24) #define BurstA1_out (1UL << 18) #define ThreshA1_out (1UL << 16) #define BurstA2_in (1UL << 10) #define ThreshA2_in (1UL << 8) #define BurstA2_out (1UL << 2) #define ThreshA2_out (1UL << 0) /* MC1 */ #define MRST_N (1UL << 15) #define EAP (1UL << 9) #define EI2C (1UL << 8) #define TR_E_A2_OUT (1UL << 3) #define TR_E_A2_IN (1UL << 2) #define TR_E_A1_OUT (1UL << 1) #define TR_E_A1_IN (1UL << 0) /* MC2 */ #define UPLD_IIC (1UL << 0) /* ACON1 */ #define AUDIO_MODE (1UL << 29) #define MAXLEVEL (1UL << 22) #define A1_SWAP (1UL << 21) #define A2_SWAP (1UL << 20) #define WS0_CTRL (1UL << 18) #define WS0_SYNC (1UL << 16) #define WS1_CTRL (1UL << 14) #define WS1_SYNC (1UL << 12) #define WS2_CTRL (1UL << 10) #define WS2_SYNC (1UL << 8) #define WS3_CTRL (1UL << 6) #define WS3_SYNC (1UL << 4) #define WS4_CTRL (1UL << 2) #define WS4_SYNC (1UL << 0) /* ACON2 */ #define A1_CLKSRC (1UL << 27) #define A2_CLKSRC (1UL << 22) #define INVERT_BCLK1 (1UL << 21) #define INVERT_BCLK2 (1UL << 20) #define BCLK1_OEN (1UL << 19) #define BCLK2_OEN (1UL << 18) /* IICSTA */ #define IICCC (1UL << 8) #define ABORT (1UL << 7) #define SPERR (1UL << 6) #define APERR (1UL << 5) #define DTERR (1UL << 4) #define DRERR (1UL << 3) #define AL (1UL << 2) #define ERR (1UL << 1) #define BUSY (1UL << 0) /* IICTFR */ #define BYTE2 (1UL << 24) #define BYTE1 (1UL << 16) #define BYTE0 (1UL << 8) #define ATRR2 (1UL << 6) #define ATRR1 (1UL << 4) #define ATRR0 (1UL << 2) #define ERR (1UL << 1) #define BUSY (1UL << 0) #define START 3 #define CONT 2 #define STOP 1 #define NOP 0 >mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-01-27 12:54:16 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-01-27 12:54:16 -0800
commit1b1bc42c1692e9b62756323c675a44cb1a1f9dbd (patch)
treed514a2d8512fc52c15747841e2368f8f99a50787 /drivers/usb/host/uhci-platform.c
parent3365135d43f861003555c963b309672d053a2228 (diff)
parent950eabbd6ddedc1b08350b9169a6a51b130ebaaf (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Pull networking fixes from David Miller: 1) GTP fixes from Andreas Schultz (missing genl module alias, clear IP DF on transmit). 2) Netfilter needs to reflect the fwmark when sending resets, from Pau Espin Pedrol. 3) nftable dump OOPS fix from Liping Zhang. 4) Fix erroneous setting of VIRTIO_NET_HDR_F_DATA_VALID on transmit, from Rolf Neugebauer. 5) Fix build error of ipt_CLUSTERIP when procfs is disabled, from Arnd Bergmann. 6) Fix regression in handling of NETIF_F_SG in harmonize_features(), from Eric Dumazet. 7) Fix RTNL deadlock wrt. lwtunnel module loading, from David Ahern. 8) tcp_fastopen_create_child() needs to setup tp->max_window, from Alexey Kodanev. 9) Missing kmemdup() failure check in ipv6 segment routing code, from Eric Dumazet. 10) Don't execute unix_bind() under the bindlock, otherwise we deadlock with splice. From WANG Cong. 11) ip6_tnl_parse_tlv_enc_lim() potentially reallocates the skb buffer, therefore callers must reload cached header pointers into that skb. Fix from Eric Dumazet. 12) Fix various bugs in legacy IRQ fallback handling in alx driver, from Tobias Regnery. 13) Do not allow lwtunnel drivers to be unloaded while they are referenced by active instances, from Robert Shearman. 14) Fix truncated PHY LED trigger names, from Geert Uytterhoeven. 15) Fix a few regressions from virtio_net XDP support, from John Fastabend and Jakub Kicinski. * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (102 commits) ISDN: eicon: silence misleading array-bounds warning net: phy: micrel: add support for KSZ8795 gtp: fix cross netns recv on gtp socket gtp: clear DF bit on GTP packet tx gtp: add genl family modules alias tcp: don't annotate mark on control socket from tcp_v6_send_response() ravb: unmap descriptors when freeing rings virtio_net: reject XDP programs using header adjustment virtio_net: use dev_kfree_skb for small buffer XDP receive r8152: check rx after napi is enabled r8152: re-schedule napi for tx r8152: avoid start_xmit to schedule napi when napi is disabled r8152: avoid start_xmit to call napi_schedule during autosuspend net: dsa: Bring back device detaching in dsa_slave_suspend() net: phy: leds: Fix truncated LED trigger names net: phy: leds: Break dependency of phy.h on phy_led_triggers.h net: phy: leds: Clear phy_num_led_triggers on failure to avoid crash net-next: ethernet: mediatek: change the compatible string Documentation: devicetree: change the mediatek ethernet compatible string bnxt_en: Fix RTNL lock usage on bnxt_get_port_module_status(). ...
Diffstat (limited to 'drivers/usb/host/uhci-platform.c')