Lines Matching +full:eee +full:- +full:pcs

2  * Copyright (c) 2017-2018 Cavium, Inc. 
72 #define ETH_SPEED_SMARTLINQ 0x8 /* deprecated - use link_modes field instead */
86 #define ETH_LOOPBACK_MAC (4) /* MAC Loopback - not supported */
89 #define ETH_LOOPBACK_PCS_AH_ONLY (7) /* PCS loopback (TX to RX) */
90 #define ETH_LOOPBACK_REVERSE_MAC_AH_ONLY (8) /* Loop RX packet from PCS to TX */
94 #define EEE_CFG_EEE_ENABLED (1<<0) /* EEE is enabled (configuration). Refer to eee_status->active f…
121 u64 r64; /* 0x00 (Offset 0x00 ) RX 64-byte frame counter*/
129 u64 r1522; /* 0x06 (Offset 0x30 ) RX 1519 to 1522 byte VLAN-tagged frame counter */
154 u64 t64; /* 0x40 (Offset 0xa8 ) TX 64-byte frame counter */
196 /* HSI - Cannot add more stats to this struct. If needed, then need to open new struct */
209 /*-----+-----------------------------------------------------------------------------
210 * Chip | Number and | Ports in| Ports in|2 PHY-s |# of ports|# of engines
480 * msg contains 64 bit value of the message - opaque to the MFW
507 #define MODE_1P 1 /* TBD - NEED TO THINK OF A BETTER NAME */
514 s32 internal_temperature; /* Temperature in Celsius (-255C / +255C), measured every second. */
613 * Driver <-> FW Mailbox *
626 #define MCP_VALIDITY_LIC_KEY_IN_EFFECT_MASK 0x00000038 /* yaniv - tbd ? license */
687 u32 drv_phy_cfg_addr; /* Points to struct eth_phy_cfg (For READ-ONLY) */
773 #define ETH_TRANSCEIVER_TYPE_25G_CA_N 0x16 /* 25G Passive copper cable - short */
774 #define ETH_TRANSCEIVER_TYPE_25G_ACC_S 0x17 /* 25G Active copper cable - short */
775 #define ETH_TRANSCEIVER_TYPE_25G_CA_S 0x18 /* 25G Passive copper cable - medium */
776 #define ETH_TRANSCEIVER_TYPE_25G_ACC_M 0x19 /* 25G Active copper cable - medium */
777 #define ETH_TRANSCEIVER_TYPE_25G_CA_L 0x1a /* 25G Passive copper cable - long */
778 #define ETH_TRANSCEIVER_TYPE_25G_ACC_L 0x1b /* 25G Active copper cable - long */
799 #define EEE_ACTIVE_BIT (1<<0) /* Set when EEE negotiation is complete. */
801 #define EEE_LD_ADV_STATUS_MASK 0x000000f0 /* Shows the Local Device EEE capabilities */
808 #define EEE_SUPPORTED_SPEED_MASK 0x0000f000 /* Supported speeds for EEE */
813 u32 eee_remote; /* Used for EEE in LLDP */
858 /* For PCP values 0-3 use the map lower */
859 /* 0xFF000000 - PCP 0, 0x00FF0000 - PCP 1,
860 * 0x0000FF00 - PCP 2, 0x000000FF PCP 3
863 /* For PCP values 4-7 use the map upper */
864 /* 0xFF000000 - PCP 4, 0x00FF0000 - PCP 5,
865 * 0x0000FF00 - PCP 6, 0x000000FF PCP 7
894 /* value range - 0..100, increments in 1 % */
1033 u8 name[MCP_DRV_VER_STR_SIZE - 4];
1246 /* Params - FORCE - Reinitialize the link regardless of LFA */
1247 /* - DONT_CARE - Don't flap the link if up */
1274 #define DRV_MSG_CODE_GET_PPFID_BITMAP 0x43000000 /* params [31:8] - reserved, [7:0] - bitmap */
1288 …ry command to set secure mode, where the param is 0 (None secure) / 1 (Secure) / 2 (Full-Secure) */
1289 …0:15] - Address, [16:18] - lane# (0/1/2/3 - for single lane, 4/5 - for dual lanes, 6 - for all lan…
1290 …0:15] - Address, [16:18] - lane# (0/1/2/3 - for single lane, 4/5 - for dual lanes, 6 - for all lan…
1291 #define DRV_MSG_CODE_PHY_CORE_READ 0x000d0000 /* Param: [0:15] - Address, [30:31] - port */
1292 #define DRV_MSG_CODE_PHY_CORE_WRITE 0x000e0000 /* Param: [0:15] - Address, [30:31] - port */
1293 #define DRV_MSG_CODE_SET_VERSION 0x000f0000 /* Param: [0:3] - version, [4:15] - name (null termina…
1295 …110000 /* Set virtual mac address, params [31:6] - reserved, [5:4] - type, [3:0] - func, drv_data[…
1296 …120000 /* Set virtual mac address, params [31:6] - reserved, [5:4] - type, [3:0] - func, drv_data[…
1303 … 0x00130000 /* Get statistics from pf, params [31:4] - reserved, [3:0] - stats type …
1310 …E_TRANSCEIVER_READ 0x00160000 /* Param: [0:1] - Port, [2:7] - read size, [8:15] - I2C address, [1…
1311 …_TRANSCEIVER_WRITE 0x00170000 /* Param: [0:1] - Port, [2:7] - write size, [8:15] - I2C address, […
1313 #define DRV_MSG_CODE_SET_BW 0x00190000 /* Set function BW, params[15:8] - min, params[7:0] - max …
1320 #define DRV_MSG_CODE_INDUCE_FAILURE 0x001b0000 /* param[0] - Simulate fan failure, param[1] - sim…
1323 #define DRV_MSG_CODE_GPIO_READ 0x001c0000 /* Param: [0:15] - gpio number */
1324 #define DRV_MSG_CODE_GPIO_WRITE 0x001d0000 /* Param: [0:15] - gpio number, [16:31] - gpio value */
1325 …_MSG_CODE_BIST_TEST 0x001e0000 /* Param: [0:7] - test enum, [8:15] - image index, [16:31] -
1328 …ODE_TIMESTAMP 0x00210000 /* drv_data[7:0] - EPOC in seconds, drv_data[15:8] - dri…
1331 …G_CODE_RESOURCE_CMD 0x00230000 /* Param[0:4] - resource number (0-31), Param[5:7] - opcode, param…
1350 …DE_BUSY 2 /* resource is busy, param[7:0] indicates owner as follow 0-15 = PF0-15, 16 = MFW, 17 …
1359 #define DRV_MSG_CODE_MDUMP_CMD 0x00250000 /* Send crash dump commands with param[3:0] - opcode */
1362 …LUES 0x02 /* set epoc and personality as follow: drv_data[3:0] - epoch, drv_data[7:4] - personali…
1370 #define DRV_MSG_CODE_GPIO_INFO 0x00270000 /* Param: [0:15] - gpio number */
1398 #define DRV_MSG_CODE_PMBUS_READ 0x00380000 /* Param: [0:7] - Cmd, [8:9] - len */
1399 #define DRV_MSG_CODE_PMBUS_WRITE 0x00390000 /* Param: [0:7] - Cmd, [8:9] - len, [16:31] -data*/
1566 /* Resource Allocation params - Driver version support*/
1591 #define DRV_MB_PARAM_FEATURE_SUPPORT_PORT_EEE 0x00000002 /* driver supports EEE parameter */
1742 /* Resource Allocation params - MFW version support */
1756 #define FW_MB_PARAM_FEATURE_SUPPORT_EEE 0x00000002 /* MFW supports EEE */
1787 * (year-2001)*12*32 + month*32 + day.
1792 * OS-absent when it is not getting driver pulse.
1809 /* MFW - DRV MB */
1813 * 8-bit MFW counter per message
1814 * 8-bit ack-counter per message
1850 #define MFW_DRV_MSG_MAX_DWORDS(msgs) (((msgs - 1) >> 2) + 1)
1861 #define MFW_DRV_UPDATE(shmem_func, msg_id) (u8)((u8*)(MFW_MB_P(shmem_func)->msg))[msg_id]++;