* |WARNING| pw147463 [PATCH v5 03/18] net/r8169: add hardware registers access routines
[not found] <20241028073112.107535-4-howard_wang@realsil.com.cn>
@ 2024-10-28 7:35 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2024-10-28 7:35 UTC (permalink / raw)
To: test-report; +Cc: Howard Wang
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/147463
_coding style issues_
CHECK:CAMELCASE: Avoid CamelCase: <CounterAddrLow>
#123: FILE: drivers/net/r8169/r8169_base.h:30:
+ CounterAddrLow = 0x10,
CHECK:CAMELCASE: Avoid CamelCase: <CounterAddrHigh>
#124: FILE: drivers/net/r8169/r8169_base.h:31:
+ CounterAddrHigh = 0x14,
CHECK:CAMELCASE: Avoid CamelCase: <CustomLED>
#125: FILE: drivers/net/r8169/r8169_base.h:32:
+ CustomLED = 0x18,
CHECK:CAMELCASE: Avoid CamelCase: <TxDescStartAddrLow>
#126: FILE: drivers/net/r8169/r8169_base.h:33:
+ TxDescStartAddrLow = 0x20,
CHECK:CAMELCASE: Avoid CamelCase: <TxDescStartAddrHigh>
#127: FILE: drivers/net/r8169/r8169_base.h:34:
+ TxDescStartAddrHigh = 0x24,
CHECK:CAMELCASE: Avoid CamelCase: <TxHDescStartAddrLow>
#128: FILE: drivers/net/r8169/r8169_base.h:35:
+ TxHDescStartAddrLow = 0x28,
CHECK:CAMELCASE: Avoid CamelCase: <TxHDescStartAddrHigh>
#129: FILE: drivers/net/r8169/r8169_base.h:36:
+ TxHDescStartAddrHigh = 0x2C,
CHECK:CAMELCASE: Avoid CamelCase: <ChipCmd>
#133: FILE: drivers/net/r8169/r8169_base.h:40:
+ ChipCmd = 0x37,
CHECK:CAMELCASE: Avoid CamelCase: <TxPoll>
#134: FILE: drivers/net/r8169/r8169_base.h:41:
+ TxPoll = 0x38,
CHECK:CAMELCASE: Avoid CamelCase: <IntrMask>
#135: FILE: drivers/net/r8169/r8169_base.h:42:
+ IntrMask = 0x3C,
CHECK:CAMELCASE: Avoid CamelCase: <IntrStatus>
#136: FILE: drivers/net/r8169/r8169_base.h:43:
+ IntrStatus = 0x3E,
CHECK:CAMELCASE: Avoid CamelCase: <TxConfig>
#137: FILE: drivers/net/r8169/r8169_base.h:44:
+ TxConfig = 0x40,
CHECK:CAMELCASE: Avoid CamelCase: <RxConfig>
#138: FILE: drivers/net/r8169/r8169_base.h:45:
+ RxConfig = 0x44,
CHECK:CAMELCASE: Avoid CamelCase: <Cfg9346>
#140: FILE: drivers/net/r8169/r8169_base.h:47:
+ Cfg9346 = 0x50,
CHECK:CAMELCASE: Avoid CamelCase: <Config0>
#141: FILE: drivers/net/r8169/r8169_base.h:48:
+ Config0 = 0x51,
CHECK:CAMELCASE: Avoid CamelCase: <Config1>
#142: FILE: drivers/net/r8169/r8169_base.h:49:
+ Config1 = 0x52,
CHECK:CAMELCASE: Avoid CamelCase: <Config2>
#143: FILE: drivers/net/r8169/r8169_base.h:50:
+ Config2 = 0x53,
CHECK:CAMELCASE: Avoid CamelCase: <Config3>
#144: FILE: drivers/net/r8169/r8169_base.h:51:
+ Config3 = 0x54,
CHECK:CAMELCASE: Avoid CamelCase: <Config4>
#145: FILE: drivers/net/r8169/r8169_base.h:52:
+ Config4 = 0x55,
CHECK:CAMELCASE: Avoid CamelCase: <Config5>
#146: FILE: drivers/net/r8169/r8169_base.h:53:
+ Config5 = 0x56,
CHECK:CAMELCASE: Avoid CamelCase: <TimeInt0>
#148: FILE: drivers/net/r8169/r8169_base.h:55:
+ TimeInt0 = 0x58,
CHECK:CAMELCASE: Avoid CamelCase: <TimeInt1>
#149: FILE: drivers/net/r8169/r8169_base.h:56:
+ TimeInt1 = 0x5C,
CHECK:CAMELCASE: Avoid CamelCase: <PHYstatus>
#153: FILE: drivers/net/r8169/r8169_base.h:60:
+ PHYstatus = 0x6C,
CHECK:CAMELCASE: Avoid CamelCase: <TimeInt2>
#162: FILE: drivers/net/r8169/r8169_base.h:69:
+ TimeInt2 = 0x8C,
CHECK:CAMELCASE: Avoid CamelCase: <SecMAC0>
#166: FILE: drivers/net/r8169/r8169_base.h:73:
+ SecMAC0 = 0xB4,
CHECK:CAMELCASE: Avoid CamelCase: <SecMAC4>
#167: FILE: drivers/net/r8169/r8169_base.h:74:
+ SecMAC4 = 0xB8,
CHECK:CAMELCASE: Avoid CamelCase: <TwiCmdReg>
#170: FILE: drivers/net/r8169/r8169_base.h:77:
+ TwiCmdReg = 0xD2,
CHECK:CAMELCASE: Avoid CamelCase: <MCUCmd_reg>
#171: FILE: drivers/net/r8169/r8169_base.h:78:
+ MCUCmd_reg = 0xD3,
CHECK:CAMELCASE: Avoid CamelCase: <RxMaxSize>
#172: FILE: drivers/net/r8169/r8169_base.h:79:
+ RxMaxSize = 0xDA,
CHECK:CAMELCASE: Avoid CamelCase: <CPlusCmd>
#174: FILE: drivers/net/r8169/r8169_base.h:81:
+ CPlusCmd = 0xE0,
CHECK:CAMELCASE: Avoid CamelCase: <IntrMitigate>
#175: FILE: drivers/net/r8169/r8169_base.h:82:
+ IntrMitigate = 0xE2,
CHECK:CAMELCASE: Avoid CamelCase: <RxDescAddrLow>
#176: FILE: drivers/net/r8169/r8169_base.h:83:
+ RxDescAddrLow = 0xE4,
CHECK:CAMELCASE: Avoid CamelCase: <RxDescAddrHigh>
#177: FILE: drivers/net/r8169/r8169_base.h:84:
+ RxDescAddrHigh = 0xE8,
CHECK:CAMELCASE: Avoid CamelCase: <FuncEvent>
#179: FILE: drivers/net/r8169/r8169_base.h:86:
+ FuncEvent = 0xF0,
CHECK:CAMELCASE: Avoid CamelCase: <FuncEventMask>
#181: FILE: drivers/net/r8169/r8169_base.h:88:
+ FuncEventMask = 0xF4,
CHECK:CAMELCASE: Avoid CamelCase: <TimeInt3>
#182: FILE: drivers/net/r8169/r8169_base.h:89:
+ TimeInt3 = 0xF4,
CHECK:CAMELCASE: Avoid CamelCase: <FuncPresetState>
#183: FILE: drivers/net/r8169/r8169_base.h:90:
+ FuncPresetState = 0xF8,
CHECK:CAMELCASE: Avoid CamelCase: <FuncForceEvent>
#188: FILE: drivers/net/r8169/r8169_base.h:95:
+ FuncForceEvent = 0xFC,
CHECK:CAMELCASE: Avoid CamelCase: <SYSErr>
#241: FILE: drivers/net/r8169/r8169_base.h:148:
+ SYSErr = 0x8000,
CHECK:CAMELCASE: Avoid CamelCase: <PCSTimeout>
#242: FILE: drivers/net/r8169/r8169_base.h:149:
+ PCSTimeout = 0x4000,
CHECK:CAMELCASE: Avoid CamelCase: <SWInt>
#243: FILE: drivers/net/r8169/r8169_base.h:150:
+ SWInt = 0x0100,
CHECK:CAMELCASE: Avoid CamelCase: <TxDescUnavail>
#244: FILE: drivers/net/r8169/r8169_base.h:151:
+ TxDescUnavail = 0x0080,
CHECK:CAMELCASE: Avoid CamelCase: <RxFIFOOver>
#245: FILE: drivers/net/r8169/r8169_base.h:152:
+ RxFIFOOver = 0x0040,
CHECK:CAMELCASE: Avoid CamelCase: <LinkChg>
#246: FILE: drivers/net/r8169/r8169_base.h:153:
+ LinkChg = 0x0020,
CHECK:CAMELCASE: Avoid CamelCase: <RxDescUnavail>
#247: FILE: drivers/net/r8169/r8169_base.h:154:
+ RxDescUnavail = 0x0010,
CHECK:CAMELCASE: Avoid CamelCase: <TxErr>
#248: FILE: drivers/net/r8169/r8169_base.h:155:
+ TxErr = 0x0008,
CHECK:CAMELCASE: Avoid CamelCase: <TxOK>
#249: FILE: drivers/net/r8169/r8169_base.h:156:
+ TxOK = 0x0004,
CHECK:CAMELCASE: Avoid CamelCase: <RxErr>
#250: FILE: drivers/net/r8169/r8169_base.h:157:
+ RxErr = 0x0002,
CHECK:CAMELCASE: Avoid CamelCase: <RxOK>
#251: FILE: drivers/net/r8169/r8169_base.h:158:
+ RxOK = 0x0001,
CHECK:CAMELCASE: Avoid CamelCase: <RxRWT>
#254: FILE: drivers/net/r8169/r8169_base.h:161:
+ RxRWT = (1UL << 22),
CHECK:CAMELCASE: Avoid CamelCase: <RxRES>
#255: FILE: drivers/net/r8169/r8169_base.h:162:
+ RxRES = (1UL << 21),
CHECK:CAMELCASE: Avoid CamelCase: <RxRUNT>
#256: FILE: drivers/net/r8169/r8169_base.h:163:
+ RxRUNT = (1UL << 20),
CHECK:CAMELCASE: Avoid CamelCase: <RxCRC>
#257: FILE: drivers/net/r8169/r8169_base.h:164:
+ RxCRC = (1UL << 19),
CHECK:CAMELCASE: Avoid CamelCase: <StopReq>
#260: FILE: drivers/net/r8169/r8169_base.h:167:
+ StopReq = 0x80,
CHECK:CAMELCASE: Avoid CamelCase: <CmdReset>
#261: FILE: drivers/net/r8169/r8169_base.h:168:
+ CmdReset = 0x10,
CHECK:CAMELCASE: Avoid CamelCase: <CmdRxEnb>
#262: FILE: drivers/net/r8169/r8169_base.h:169:
+ CmdRxEnb = 0x08,
CHECK:CAMELCASE: Avoid CamelCase: <CmdTxEnb>
#263: FILE: drivers/net/r8169/r8169_base.h:170:
+ CmdTxEnb = 0x04,
CHECK:CAMELCASE: Avoid CamelCase: <RxBufEmpty>
#264: FILE: drivers/net/r8169/r8169_base.h:171:
+ RxBufEmpty = 0x01,
CHECK:CAMELCASE: Avoid CamelCase: <Cfg9346_Lock>
#267: FILE: drivers/net/r8169/r8169_base.h:174:
+ Cfg9346_Lock = 0x00,
CHECK:CAMELCASE: Avoid CamelCase: <Cfg9346_Unlock>
#268: FILE: drivers/net/r8169/r8169_base.h:175:
+ Cfg9346_Unlock = 0xC0,
CHECK:CAMELCASE: Avoid CamelCase: <Cfg9346_EEDO>
#269: FILE: drivers/net/r8169/r8169_base.h:176:
+ Cfg9346_EEDO = (1UL << 0),
CHECK:CAMELCASE: Avoid CamelCase: <Cfg9346_EEDI>
#270: FILE: drivers/net/r8169/r8169_base.h:177:
+ Cfg9346_EEDI = (1UL << 1),
CHECK:CAMELCASE: Avoid CamelCase: <Cfg9346_EESK>
#271: FILE: drivers/net/r8169/r8169_base.h:178:
+ Cfg9346_EESK = (1UL << 2),
CHECK:CAMELCASE: Avoid CamelCase: <Cfg9346_EECS>
#272: FILE: drivers/net/r8169/r8169_base.h:179:
+ Cfg9346_EECS = (1UL << 3),
CHECK:CAMELCASE: Avoid CamelCase: <Cfg9346_EEM0>
#273: FILE: drivers/net/r8169/r8169_base.h:180:
+ Cfg9346_EEM0 = (1UL << 6),
CHECK:CAMELCASE: Avoid CamelCase: <Cfg9346_EEM1>
#274: FILE: drivers/net/r8169/r8169_base.h:181:
+ Cfg9346_EEM1 = (1UL << 7),
CHECK:CAMELCASE: Avoid CamelCase: <AcceptErr>
#277: FILE: drivers/net/r8169/r8169_base.h:184:
+ AcceptErr = 0x20,
CHECK:CAMELCASE: Avoid CamelCase: <AcceptRunt>
#278: FILE: drivers/net/r8169/r8169_base.h:185:
+ AcceptRunt = 0x10,
CHECK:CAMELCASE: Avoid CamelCase: <AcceptBroadcast>
#279: FILE: drivers/net/r8169/r8169_base.h:186:
+ AcceptBroadcast = 0x08,
CHECK:CAMELCASE: Avoid CamelCase: <AcceptMulticast>
#280: FILE: drivers/net/r8169/r8169_base.h:187:
+ AcceptMulticast = 0x04,
CHECK:CAMELCASE: Avoid CamelCase: <AcceptMyPhys>
#281: FILE: drivers/net/r8169/r8169_base.h:188:
+ AcceptMyPhys = 0x02,
CHECK:CAMELCASE: Avoid CamelCase: <AcceptAllPhys>
#282: FILE: drivers/net/r8169/r8169_base.h:189:
+ AcceptAllPhys = 0x01,
CHECK:CAMELCASE: Avoid CamelCase: <FSWInt>
#287: FILE: drivers/net/r8169/r8169_base.h:194:
+ FSWInt = 0x01,
CHECK:CAMELCASE: Avoid CamelCase: <Reserved2_shift>
#290: FILE: drivers/net/r8169/r8169_base.h:197:
+ Reserved2_shift = 13,
CHECK:CAMELCASE: Avoid CamelCase: <RxCfgDMAShift>
#291: FILE: drivers/net/r8169/r8169_base.h:198:
+ RxCfgDMAShift = 8,
CHECK:CAMELCASE: Avoid CamelCase: <EnableRxDescV3>
#292: FILE: drivers/net/r8169/r8169_base.h:199:
+ EnableRxDescV3 = (1 << 24),
CHECK:CAMELCASE: Avoid CamelCase: <EnableOuterVlan>
#293: FILE: drivers/net/r8169/r8169_base.h:200:
+ EnableOuterVlan = (1 << 23),
CHECK:CAMELCASE: Avoid CamelCase: <EnableInnerVlan>
#294: FILE: drivers/net/r8169/r8169_base.h:201:
+ EnableInnerVlan = (1 << 22),
CHECK:CAMELCASE: Avoid CamelCase: <RxCfg_128_int_en>
#295: FILE: drivers/net/r8169/r8169_base.h:202:
+ RxCfg_128_int_en = (1 << 15),
CHECK:CAMELCASE: Avoid CamelCase: <RxCfg_fet_multi_en>
#296: FILE: drivers/net/r8169/r8169_base.h:203:
+ RxCfg_fet_multi_en = (1 << 14),
CHECK:CAMELCASE: Avoid CamelCase: <RxCfg_half_refetch>
#297: FILE: drivers/net/r8169/r8169_base.h:204:
+ RxCfg_half_refetch = (1 << 13),
CHECK:CAMELCASE: Avoid CamelCase: <RxCfg_pause_slot_en>
#298: FILE: drivers/net/r8169/r8169_base.h:205:
+ RxCfg_pause_slot_en = (1 << 11),
CHECK:CAMELCASE: Avoid CamelCase: <RxCfg_9356SEL>
#299: FILE: drivers/net/r8169/r8169_base.h:206:
+ RxCfg_9356SEL = (1 << 6),
CHECK:CAMELCASE: Avoid CamelCase: <EnableRxDescV4_0>
#300: FILE: drivers/net/r8169/r8169_base.h:207:
+ EnableRxDescV4_0 = (1 << 1), /* Not in rcr */
CHECK:CAMELCASE: Avoid CamelCase: <TxInterFrameGapShift>
#303: FILE: drivers/net/r8169/r8169_base.h:210:
+ TxInterFrameGapShift = 24,
CHECK:CAMELCASE: Avoid CamelCase: <TxDMAShift>
#304: FILE: drivers/net/r8169/r8169_base.h:211:
+ TxDMAShift = 8, /* DMA burst value (0-7) is shift this many bits. */
CHECK:CAMELCASE: Avoid CamelCase: <TxMACLoopBack>
#305: FILE: drivers/net/r8169/r8169_base.h:212:
+ TxMACLoopBack = (1UL << 17), /* MAC loopback */
CHECK:CAMELCASE: Avoid CamelCase: <Speed_down>
#310: FILE: drivers/net/r8169/r8169_base.h:217:
+ Speed_down = (1UL << 4),
CHECK:CAMELCASE: Avoid CamelCase: <PMEnable>
#314: FILE: drivers/net/r8169/r8169_base.h:221:
+ PMEnable = (1UL << 0), /* Power management enable */
CHECK:CAMELCASE: Avoid CamelCase: <PMSTS_En>
#317: FILE: drivers/net/r8169/r8169_base.h:224:
+ PMSTS_En = (1UL << 5),
CHECK:CAMELCASE: Avoid CamelCase: <Isolate_en>
#320: FILE: drivers/net/r8169/r8169_base.h:227:
+ Isolate_en = (1UL << 12), /* Isolate enable */
CHECK:CAMELCASE: Avoid CamelCase: <MagicPacket>
#321: FILE: drivers/net/r8169/r8169_base.h:228:
+ MagicPacket = (1UL << 5), /* Wake up when receives a magic packet */
CHECK:CAMELCASE: Avoid CamelCase: <LinkUp>
#322: FILE: drivers/net/r8169/r8169_base.h:229:
+ LinkUp = (1UL << 4), /* This bit is reserved in RTL8125B. */
CHECK:CAMELCASE: Avoid CamelCase: <Jumbo_En0>
#326: FILE: drivers/net/r8169/r8169_base.h:233:
+ Jumbo_En0 = (1UL << 2), /* This bit is reserved in RTL8125B. */
CHECK:CAMELCASE: Avoid CamelCase: <Beacon_en>
#328: FILE: drivers/net/r8169/r8169_base.h:235:
+ Beacon_en = (1UL << 0), /* This bit is reserved in RTL8125B. */
CHECK:CAMELCASE: Avoid CamelCase: <Jumbo_En1>
#331: FILE: drivers/net/r8169/r8169_base.h:238:
+ Jumbo_En1 = (1UL << 1), /* This bit is reserved in RTL8125B. */
CHECK:CAMELCASE: Avoid CamelCase: <LanWake>
#337: FILE: drivers/net/r8169/r8169_base.h:244:
+ LanWake = (1UL << 1), /* LanWake enable/disable */
CHECK:CAMELCASE: Avoid CamelCase: <PMEStatus>
#338: FILE: drivers/net/r8169/r8169_base.h:245:
+ PMEStatus = (1UL << 0), /* PME status can be reset by PCI RST#. */
CHECK:CAMELCASE: Avoid CamelCase: <EnableBist>
#341: FILE: drivers/net/r8169/r8169_base.h:248:
+ EnableBist = (1UL << 15),
CHECK:CAMELCASE: Avoid CamelCase: <Macdbgo_oe>
#342: FILE: drivers/net/r8169/r8169_base.h:249:
+ Macdbgo_oe = (1UL << 14),
CHECK:CAMELCASE: Avoid CamelCase: <Normal_mode>
#343: FILE: drivers/net/r8169/r8169_base.h:250:
+ Normal_mode = (1UL << 13),
CHECK:CAMELCASE: Avoid CamelCase: <Force_halfdup>
#344: FILE: drivers/net/r8169/r8169_base.h:251:
+ Force_halfdup = (1UL << 12),
CHECK:CAMELCASE: Avoid CamelCase: <Force_rxflow_en>
#345: FILE: drivers/net/r8169/r8169_base.h:252:
+ Force_rxflow_en = (1UL << 11),
CHECK:CAMELCASE: Avoid CamelCase: <Force_txflow_en>
#346: FILE: drivers/net/r8169/r8169_base.h:253:
+ Force_txflow_en = (1UL << 10),
CHECK:CAMELCASE: Avoid CamelCase: <Cxpl_dbg_sel>
#347: FILE: drivers/net/r8169/r8169_base.h:254:
+ Cxpl_dbg_sel = (1UL << 9), /* This bit is reserved in RTL8125B. */
CHECK:CAMELCASE: Avoid CamelCase: <PktCntrDisable>
#349: FILE: drivers/net/r8169/r8169_base.h:256:
+ PktCntrDisable = (1UL << 7),
CHECK:CAMELCASE: Avoid CamelCase: <RxVlan>
#350: FILE: drivers/net/r8169/r8169_base.h:257:
+ RxVlan = (1UL << 6),
CHECK:CAMELCASE: Avoid CamelCase: <RxChkSum>
#351: FILE: drivers/net/r8169/r8169_base.h:258:
+ RxChkSum = (1UL << 5),
CHECK:CAMELCASE: Avoid CamelCase: <Macdbgo_sel>
#352: FILE: drivers/net/r8169/r8169_base.h:259:
+ Macdbgo_sel = 0x001C,
CHECK:CAMELCASE: Avoid CamelCase: <PowerSaveStatus>
#359: FILE: drivers/net/r8169/r8169_base.h:266:
+ PowerSaveStatus = 0x80,
CHECK:CAMELCASE: Avoid CamelCase: <TxFlowCtrl>
#361: FILE: drivers/net/r8169/r8169_base.h:268:
+ TxFlowCtrl = 0x40,
CHECK:CAMELCASE: Avoid CamelCase: <RxFlowCtrl>
#362: FILE: drivers/net/r8169/r8169_base.h:269:
+ RxFlowCtrl = 0x20,
CHECK:CAMELCASE: Avoid CamelCase: <LinkStatus>
#366: FILE: drivers/net/r8169/r8169_base.h:273:
+ LinkStatus = 0x02,
CHECK:CAMELCASE: Avoid CamelCase: <FullDup>
#367: FILE: drivers/net/r8169/r8169_base.h:274:
+ FullDup = 0x01,
CHECK:CAMELCASE: Avoid CamelCase: <Fix_Nak_1>
#370: FILE: drivers/net/r8169/r8169_base.h:277:
+ Fix_Nak_1 = (1UL << 4),
CHECK:CAMELCASE: Avoid CamelCase: <Fix_Nak_2>
#371: FILE: drivers/net/r8169/r8169_base.h:278:
+ Fix_Nak_2 = (1UL << 3),
CHECK:CAMELCASE: Avoid CamelCase: <CounterReset>
#375: FILE: drivers/net/r8169/r8169_base.h:282:
+ CounterReset = 0x1,
CHECK:CAMELCASE: Avoid CamelCase: <CounterDump>
#377: FILE: drivers/net/r8169/r8169_base.h:284:
+ CounterDump = 0x8,
CHECK:CAMELCASE: Avoid CamelCase: <PHYAR_Flag>
#380: FILE: drivers/net/r8169/r8169_base.h:287:
+ PHYAR_Flag = 0x80000000,
CHECK:CAMELCASE: Avoid CamelCase: <PHYAR_Write>
#381: FILE: drivers/net/r8169/r8169_base.h:288:
+ PHYAR_Write = 0x80000000,
CHECK:CAMELCASE: Avoid CamelCase: <PHYAR_Read>
#382: FILE: drivers/net/r8169/r8169_base.h:289:
+ PHYAR_Read = 0x00000000,
CHECK:CAMELCASE: Avoid CamelCase: <PHYAR_Reg_Mask>
#383: FILE: drivers/net/r8169/r8169_base.h:290:
+ PHYAR_Reg_Mask = 0x1f,
CHECK:CAMELCASE: Avoid CamelCase: <PHYAR_Reg_shift>
#384: FILE: drivers/net/r8169/r8169_base.h:291:
+ PHYAR_Reg_shift = 16,
CHECK:CAMELCASE: Avoid CamelCase: <PHYAR_Data_Mask>
#385: FILE: drivers/net/r8169/r8169_base.h:292:
+ PHYAR_Data_Mask = 0xffff,
CHECK:CAMELCASE: Avoid CamelCase: <EPHYAR_Flag>
#388: FILE: drivers/net/r8169/r8169_base.h:295:
+ EPHYAR_Flag = 0x80000000,
CHECK:CAMELCASE: Avoid CamelCase: <EPHYAR_Write>
#389: FILE: drivers/net/r8169/r8169_base.h:296:
+ EPHYAR_Write = 0x80000000,
CHECK:CAMELCASE: Avoid CamelCase: <EPHYAR_Read>
#390: FILE: drivers/net/r8169/r8169_base.h:297:
+ EPHYAR_Read = 0x00000000,
CHECK:CAMELCASE: Avoid CamelCase: <EPHYAR_Reg_Mask>
#391: FILE: drivers/net/r8169/r8169_base.h:298:
+ EPHYAR_Reg_Mask = 0x3f,
CHECK:CAMELCASE: Avoid CamelCase: <EPHYAR_Reg_Mask_v2>
#392: FILE: drivers/net/r8169/r8169_base.h:299:
+ EPHYAR_Reg_Mask_v2 = 0x7f,
CHECK:CAMELCASE: Avoid CamelCase: <EPHYAR_Reg_shift>
#393: FILE: drivers/net/r8169/r8169_base.h:300:
+ EPHYAR_Reg_shift = 16,
CHECK:CAMELCASE: Avoid CamelCase: <EPHYAR_Data_Mask>
#394: FILE: drivers/net/r8169/r8169_base.h:301:
+ EPHYAR_Data_Mask = 0xffff,
CHECK:CAMELCASE: Avoid CamelCase: <CSIAR_Flag>
#397: FILE: drivers/net/r8169/r8169_base.h:304:
+ CSIAR_Flag = 0x80000000,
CHECK:CAMELCASE: Avoid CamelCase: <CSIAR_Write>
#398: FILE: drivers/net/r8169/r8169_base.h:305:
+ CSIAR_Write = 0x80000000,
CHECK:CAMELCASE: Avoid CamelCase: <CSIAR_Read>
#399: FILE: drivers/net/r8169/r8169_base.h:306:
+ CSIAR_Read = 0x00000000,
CHECK:CAMELCASE: Avoid CamelCase: <CSIAR_ByteEn>
#400: FILE: drivers/net/r8169/r8169_base.h:307:
+ CSIAR_ByteEn = 0x0f,
CHECK:CAMELCASE: Avoid CamelCase: <CSIAR_ByteEn_shift>
#401: FILE: drivers/net/r8169/r8169_base.h:308:
+ CSIAR_ByteEn_shift = 12,
CHECK:CAMELCASE: Avoid CamelCase: <CSIAR_Addr_Mask>
#402: FILE: drivers/net/r8169/r8169_base.h:309:
+ CSIAR_Addr_Mask = 0x0fff,
CHECK:CAMELCASE: Avoid CamelCase: <ERIAR_Flag>
#405: FILE: drivers/net/r8169/r8169_base.h:312:
+ ERIAR_Flag = 0x80000000,
CHECK:CAMELCASE: Avoid CamelCase: <ERIAR_Write>
#406: FILE: drivers/net/r8169/r8169_base.h:313:
+ ERIAR_Write = 0x80000000,
CHECK:CAMELCASE: Avoid CamelCase: <ERIAR_Read>
#407: FILE: drivers/net/r8169/r8169_base.h:314:
+ ERIAR_Read = 0x00000000,
CHECK:CAMELCASE: Avoid CamelCase: <ERIAR_Addr_Align>
#408: FILE: drivers/net/r8169/r8169_base.h:315:
+ ERIAR_Addr_Align = 4, /* ERI access register address must be 4 byte alignment. */
CHECK:CAMELCASE: Avoid CamelCase: <ERIAR_ExGMAC>
#409: FILE: drivers/net/r8169/r8169_base.h:316:
+ ERIAR_ExGMAC = 0,
CHECK:CAMELCASE: Avoid CamelCase: <ERIAR_Type_shift>
#413: FILE: drivers/net/r8169/r8169_base.h:320:
+ ERIAR_Type_shift = 16,
CHECK:CAMELCASE: Avoid CamelCase: <ERIAR_ByteEn>
#414: FILE: drivers/net/r8169/r8169_base.h:321:
+ ERIAR_ByteEn = 0x0f,
CHECK:CAMELCASE: Avoid CamelCase: <ERIAR_ByteEn_shift>
#415: FILE: drivers/net/r8169/r8169_base.h:322:
+ ERIAR_ByteEn_shift = 12,
CHECK:CAMELCASE: Avoid CamelCase: <OCPDR_Write>
#418: FILE: drivers/net/r8169/r8169_base.h:325:
+ OCPDR_Write = 0x80000000,
CHECK:CAMELCASE: Avoid CamelCase: <OCPDR_Read>
#419: FILE: drivers/net/r8169/r8169_base.h:326:
+ OCPDR_Read = 0x00000000,
CHECK:CAMELCASE: Avoid CamelCase: <OCPDR_Reg_Mask>
#420: FILE: drivers/net/r8169/r8169_base.h:327:
+ OCPDR_Reg_Mask = 0xFF,
CHECK:CAMELCASE: Avoid CamelCase: <OCPDR_Data_Mask>
#421: FILE: drivers/net/r8169/r8169_base.h:328:
+ OCPDR_Data_Mask = 0xFFFF,
CHECK:CAMELCASE: Avoid CamelCase: <OCPDR_GPHY_Reg_shift>
#422: FILE: drivers/net/r8169/r8169_base.h:329:
+ OCPDR_GPHY_Reg_shift = 16,
CHECK:CAMELCASE: Avoid CamelCase: <OCPAR_Flag>
#423: FILE: drivers/net/r8169/r8169_base.h:330:
+ OCPAR_Flag = 0x80000000,
CHECK:CAMELCASE: Avoid CamelCase: <OCPAR_GPHY_Write>
#424: FILE: drivers/net/r8169/r8169_base.h:331:
+ OCPAR_GPHY_Write = 0x8000F060,
CHECK:CAMELCASE: Avoid CamelCase: <OCPAR_GPHY_Read>
#425: FILE: drivers/net/r8169/r8169_base.h:332:
+ OCPAR_GPHY_Read = 0x0000F060,
CHECK:CAMELCASE: Avoid CamelCase: <OCPR_Write>
#426: FILE: drivers/net/r8169/r8169_base.h:333:
+ OCPR_Write = 0x80000000,
CHECK:CAMELCASE: Avoid CamelCase: <OCPR_Read>
#427: FILE: drivers/net/r8169/r8169_base.h:334:
+ OCPR_Read = 0x00000000,
CHECK:CAMELCASE: Avoid CamelCase: <OCPR_Addr_Reg_shift>
#428: FILE: drivers/net/r8169/r8169_base.h:335:
+ OCPR_Addr_Reg_shift = 16,
CHECK:CAMELCASE: Avoid CamelCase: <OCPR_Flag>
#429: FILE: drivers/net/r8169/r8169_base.h:336:
+ OCPR_Flag = 0x80000000,
CHECK:CAMELCASE: Avoid CamelCase: <Now_is_oob>
#433: FILE: drivers/net/r8169/r8169_base.h:340:
+ Now_is_oob = (1UL << 7),
CHECK:CAMELCASE: Avoid CamelCase: <Txfifo_empty>
#434: FILE: drivers/net/r8169/r8169_base.h:341:
+ Txfifo_empty = (1UL << 5),
CHECK:CAMELCASE: Avoid CamelCase: <Rxfifo_empty>
#435: FILE: drivers/net/r8169/r8169_base.h:342:
+ Rxfifo_empty = (1UL << 4),
CHECK:CAMELCASE: Avoid CamelCase: <EFUSE_Reg_Mask>
#446: FILE: drivers/net/r8169/r8169_base.h:353:
+ EFUSE_Reg_Mask = 0x03FF,
CHECK:CAMELCASE: Avoid CamelCase: <EFUSE_Reg_Shift>
#447: FILE: drivers/net/r8169/r8169_base.h:354:
+ EFUSE_Reg_Shift = 8,
CHECK:CAMELCASE: Avoid CamelCase: <EFUSE_Check_Cnt>
#448: FILE: drivers/net/r8169/r8169_base.h:355:
+ EFUSE_Check_Cnt = 300,
CHECK:CAMELCASE: Avoid CamelCase: <EFUSE_Data_Mask>
#450: FILE: drivers/net/r8169/r8169_base.h:357:
+ EFUSE_Data_Mask = 0x000000FF,
WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#516: FILE: drivers/net/r8169/r8169_hw.c:6:
+#include <stdio.h>
total: 0 errors, 1 warnings, 164 checks, 528 lines checked
^ permalink raw reply [flat|nested] only message in thread