#ifndef CM9780_H_INCLUDED #define CM9780_H_INCLUDED #define CM9780_JACK 0x62 #define CM9780_MIXER 0x64 #define CM9780_GPIO_SETUP 0x70 #define CM9780_GPIO_STATUS 0x72 /* jack control */ #define CM9780_RSOE 0x0001 #define CM9780_CBOE 0x0002 #define CM9780_SSOE 0x0004 #define CM9780_FROE 0x0008 #define CM9780_HP2FMICOE 0x0010 #define CM9780_CB2MICOE 0x0020 #define CM9780_FMIC2LI 0x0040 #define CM9780_FMIC2MIC 0x0080 #define CM9780_HP2LI 0x0100 #define CM9780_HP2MIC 0x0200 #define CM9780_MIC2LI 0x0400 #define CM9780_MIC2MIC 0x0800 #define CM9780_LI2LI 0x1000 #define CM9780_LI2MIC 0x2000 #define CM9780_LO2LI 0x4000 #define CM9780_LO2MIC 0x8000 /* mixer control */ #define CM9780_BSTSEL 0x0001 #define CM9780_STRO_MIC 0x0002 #define CM9780_SPDI_FREX 0x0004 #define CM9780_SPDI_SSEX 0x0008 #define CM9780_SPDI_CBEX 0x0010 #define CM9780_SPDI_RSEX 0x0020 #define CM9780_MIX2FR 0x0040 #define CM9780_MIX2SS 0x0080 #define CM9780_MIX2CB 0x0100 #define CM9780_MIX2RS 0x0200 #define CM9780_MIX2FR_EX 0x0400 #define CM9780_MIX2SS_EX 0x0800 #define CM9780_MIX2CB_EX 0x1000 #define CM9780_MIX2RS_EX 0x2000 #define CM9780_P47_IO 0x4000 #define CM9780_PCBSW 0x8000 /* GPIO setup */ #define CM9780_GPI0EN 0x0001 #define CM9780_GPI1EN 0x0002 #define CM9780_SENSE_P 0x0004 #define CM9780_LOCK_P 0x0008 #define CM9780_GPIO0P 0x0010 #define CM9780_GPIO1P 0x0020 #define CM9780_GPIO0IO 0x0100 #define CM9780_GPIO1IO 0x0200 /* GPIO status */ #define CM9780_GPO0 0x0001 #define CM9780_GPO1 0x0002 #define CM9780_GPIO0S 0x0010 #define CM9780_GPIO1S 0x0020 #define CM9780_GPII0S 0x0100 #define CM9780_GPII1S 0x0200 #endif git.cgi/linux/net-next.git/refs/?id=c73e44269369e936165f0f9b61f1f09a11dae01c'>refslogtreecommitdiff
path: root/include/dt-bindings/clock/lsi,axm5516-clks.h
diff options
context:
space:
mode:
authorVincent <vincent.stehle@laposte.net>2017-01-30 15:06:43 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-31 13:07:40 -0500
commitc73e44269369e936165f0f9b61f1f09a11dae01c (patch)
treee2188e900ba06302f8ed2746cb07edd3efbc5c35 /include/dt-bindings/clock/lsi,axm5516-clks.h
parent040587af31228d82c52267f717c9fcdb65f36335 (diff)
net: thunderx: avoid dereferencing xcv when NULL
This fixes the following smatch and coccinelle warnings: drivers/net/ethernet/cavium/thunder/thunder_xcv.c:119 xcv_setup_link() error: we previously assumed 'xcv' could be null (see line 118) [smatch] drivers/net/ethernet/cavium/thunder/thunder_xcv.c:119:16-20: ERROR: xcv is NULL but dereferenced. [coccinelle] Fixes: 6465859aba1e66a5 ("net: thunderx: Add RGMII interface type support") Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> Cc: Sunil Goutham <sgoutham@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/dt-bindings/clock/lsi,axm5516-clks.h')