| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | phylink.h | 21 MLO_AN_FIXED, /* Fixed-link mode */ 22 MLO_AN_INBAND, /* In-band protocol */ 25 static inline bool phylink_autoneg_inband(unsigned int mode) in phylink_autoneg_inband() argument 27 return mode == MLO_AN_INBAND; in phylink_autoneg_inband() 31 * struct phylink_link_state - link state structure 35 * @interface: link &typedef phy_interface_t mode 37 * @duplex: link duplex mode, one of DUPLEX_* constants. 61 * struct phylink_config - PHYLINK configuration structure 62 * @dev: a pointer to a struct device associated with the MAC 64 * @pcs_poll: MAC PCS cannot provide link change interrupt [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | hwif.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 13 u32 reg = readl(priv->ioaddr + id_reg); in stmmac_get_id() 16 dev_info(priv->device, "Version ID not available\n"); in stmmac_get_id() 20 dev_info(priv->device, "User ID: 0x%x, Synopsys ID: 0x%x\n", in stmmac_get_id() 28 u32 reg = readl(priv->ioaddr + id_reg); in stmmac_get_dev_id() 31 dev_info(priv->device, "Version ID not available\n"); in stmmac_get_dev_id() 41 struct mac_device_info *mac = priv->hw; in stmmac_dwmac_mode_quirk() local 43 if (priv->chain_mode) { in stmmac_dwmac_mode_quirk() 44 dev_info(priv->device, "Chain mode enabled\n"); in stmmac_dwmac_mode_quirk() 45 priv->mode = STMMAC_CHAIN_MODE; in stmmac_dwmac_mode_quirk() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8712/ |
| H A D | rtl871x_cmd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved. 45 u8 *cmd_buf; /*shall be non-paged, and 4 bytes aligned*/ 47 u8 *rsp_buf; /*shall be non-paged, and 4 bytes aligned*/ 66 u8 *evt_buf; /*shall be non-paged, and 4 bytes aligned*/ 74 INIT_LIST_HEAD(&pcmd->list);\ 75 pcmd->cmdcode = code;\ 76 pcmd->parmbuf = (u8 *)(pparm);\ 77 pcmd->cmdsz = sizeof(*pparm);\ 78 pcmd->rsp = NULL;\ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/include/ |
| H A D | rtw_cmd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 43 INIT_LIST_HEAD(&pcmd->list);\ 44 pcmd->cmdcode = code;\ 45 pcmd->parmbuf = (u8 *)(pparm);\ 46 pcmd->cmdsz = sizeof(*pparm);\ 47 pcmd->rsp = NULL;\ 48 pcmd->rspsz = 0;\ 69 CHECK_HIQ_WK_CID,/* for softap mode, check hi queue if empty */ 92 * Caller Mode: Infra, Ad-HoC(C) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/include/ |
| H A D | rtw_cmd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 45 u8 *cmd_buf; /* shall be non-paged, and 4 bytes aligned */ 47 u8 *rsp_buf; /* shall be non-paged, and 4 bytes aligned */ 66 u8 *evt_buf; /* shall be non-paged, and 4 bytes aligned */ 75 INIT_LIST_HEAD(&pcmd->list);\ 76 pcmd->cmdcode = code;\ 77 pcmd->parmbuf = (u8 *)(pparm);\ 78 pcmd->cmdsz = sizeof(*pparm);\ 79 pcmd->rsp = NULL;\ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/include/ |
| H A D | rtw_cmd.h | 3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 66 u8 *cmd_buf; //shall be non-paged, and 4 bytes aligned 68 u8 *rsp_buf; //shall be non-paged, and 4 bytes aligned 112 u8 *evt_buf; //shall be non-paged, and 4 bytes aligned 127 _rtw_init_listhead(&pcmd->list);\ 128 pcmd->cmdcode = code;\ 129 pcmd->parmbuf = (u8 *)(pparm);\ 130 pcmd->cmdsz = sizeof (*pparm);\ 131 pcmd->rsp = NULL;\ 132 pcmd->rspsz = 0;\ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/include/ |
| H A D | rtw_cmd.h | 3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 67 u8 *cmd_buf; //shall be non-paged, and 4 bytes aligned 69 u8 *rsp_buf; //shall be non-paged, and 4 bytes aligned 113 u8 *evt_buf; //shall be non-paged, and 4 bytes aligned 128 _rtw_init_listhead(&pcmd->list);\ 129 pcmd->cmdcode = code;\ 130 pcmd->parmbuf = (u8 *)(pparm);\ 131 pcmd->cmdsz = sizeof (*pparm);\ 132 pcmd->rsp = NULL;\ 133 pcmd->rspsz = 0;\ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/include/ |
| H A D | rtw_cmd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2017 Realtek Corporation. 57 u8 *cmd_buf; /* shall be non-paged, and 4 bytes aligned */ 59 u8 *rsp_buf; /* shall be non-paged, and 4 bytes aligned */ 106 u8 *evt_buf; /* shall be non-paged, and 4 bytes aligned */ 118 _rtw_init_listhead(&pcmd->list);\ 119 pcmd->cmdcode = code;\ 120 pcmd->parmbuf = (u8 *)(pparm);\ 121 pcmd->cmdsz = sizeof (*pparm);\ 122 pcmd->rsp = NULL;\ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/include/ |
| H A D | rtw_cmd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2017 Realtek Corporation. 57 u8 *cmd_buf; /* shall be non-paged, and 4 bytes aligned */ 59 u8 *rsp_buf; /* shall be non-paged, and 4 bytes aligned */ 106 u8 *evt_buf; /* shall be non-paged, and 4 bytes aligned */ 118 _rtw_init_listhead(&pcmd->list);\ 119 pcmd->cmdcode = code;\ 120 pcmd->parmbuf = (u8 *)(pparm);\ 121 pcmd->cmdsz = sizeof (*pparm);\ 122 pcmd->rsp = NULL;\ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/include/ |
| H A D | rtw_cmd.h | 3 * Copyright(c) 2007 - 2017 Realtek Corporation. 56 u8 *cmd_buf; /* shall be non-paged, and 4 bytes aligned */ 58 u8 *rsp_buf; /* shall be non-paged, and 4 bytes aligned */ 105 u8 *evt_buf; /* shall be non-paged, and 4 bytes aligned */ 117 _rtw_init_listhead(&pcmd->list);\ 118 pcmd->cmdcode = code;\ 119 pcmd->parmbuf = (u8 *)(pparm);\ 120 pcmd->cmdsz = sizeof (*pparm);\ 121 pcmd->rsp = NULL;\ 122 pcmd->rspsz = 0;\ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/include/ |
| H A D | rtw_cmd.h | 3 * Copyright(c) 2007 - 2017 Realtek Corporation. 56 u8 *cmd_buf; /* shall be non-paged, and 4 bytes aligned */ 58 u8 *rsp_buf; /* shall be non-paged, and 4 bytes aligned */ 105 u8 *evt_buf; /* shall be non-paged, and 4 bytes aligned */ 117 _rtw_init_listhead(&pcmd->list);\ 118 pcmd->cmdcode = code;\ 119 pcmd->parmbuf = (u8 *)(pparm);\ 120 pcmd->cmdsz = sizeof (*pparm);\ 121 pcmd->rsp = NULL;\ 122 pcmd->rspsz = 0;\ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/include/ |
| H A D | rtw_cmd.h | 3 * Copyright(c) 2007 - 2017 Realtek Corporation. 56 u8 *cmd_buf; /* shall be non-paged, and 4 bytes aligned */ 58 u8 *rsp_buf; /* shall be non-paged, and 4 bytes aligned */ 105 u8 *evt_buf; /* shall be non-paged, and 4 bytes aligned */ 117 _rtw_init_listhead(&pcmd->list);\ 118 pcmd->cmdcode = code;\ 119 pcmd->parmbuf = (u8 *)(pparm);\ 120 pcmd->cmdsz = sizeof (*pparm);\ 121 pcmd->rsp = NULL;\ 122 pcmd->rspsz = 0;\ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/include/ |
| H A D | rtw_cmd.h | 3 * Copyright(c) 2007 - 2017 Realtek Corporation. 56 u8 *cmd_buf; /* shall be non-paged, and 4 bytes aligned */ 58 u8 *rsp_buf; /* shall be non-paged, and 4 bytes aligned */ 105 u8 *evt_buf; /* shall be non-paged, and 4 bytes aligned */ 117 _rtw_init_listhead(&pcmd->list);\ 118 pcmd->cmdcode = code;\ 119 pcmd->parmbuf = (u8 *)(pparm);\ 120 pcmd->cmdsz = sizeof (*pparm);\ 121 pcmd->rsp = NULL;\ 122 pcmd->rspsz = 0;\ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/include/ |
| H A D | rtw_cmd.h | 3 * Copyright(c) 2007 - 2017 Realtek Corporation. 56 u8 *cmd_buf; /* shall be non-paged, and 4 bytes aligned */ 58 u8 *rsp_buf; /* shall be non-paged, and 4 bytes aligned */ 105 u8 *evt_buf; /* shall be non-paged, and 4 bytes aligned */ 117 _rtw_init_listhead(&pcmd->list);\ 118 pcmd->cmdcode = code;\ 119 pcmd->parmbuf = (u8 *)(pparm);\ 120 pcmd->cmdsz = sizeof (*pparm);\ 121 pcmd->rsp = NULL;\ 122 pcmd->rspsz = 0;\ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/include/ |
| H A D | rtw_cmd.h | 3 * Copyright(c) 2007 - 2017 Realtek Corporation. 56 u8 *cmd_buf; /* shall be non-paged, and 4 bytes aligned */ 58 u8 *rsp_buf; /* shall be non-paged, and 4 bytes aligned */ 105 u8 *evt_buf; /* shall be non-paged, and 4 bytes aligned */ 117 _rtw_init_listhead(&pcmd->list);\ 118 pcmd->cmdcode = code;\ 119 pcmd->parmbuf = (u8 *)(pparm);\ 120 pcmd->cmdsz = sizeof (*pparm);\ 121 pcmd->rsp = NULL;\ 122 pcmd->rspsz = 0;\ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/include/ |
| H A D | rtw_cmd.h | 3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 66 u8 *cmd_buf; /* shall be non-paged, and 4 bytes aligned */ 68 u8 *rsp_buf; /* shall be non-paged, and 4 bytes aligned */ 112 u8 *evt_buf; /* shall be non-paged, and 4 bytes aligned */ 127 _rtw_init_listhead(&pcmd->list);\ 128 pcmd->cmdcode = code;\ 129 pcmd->parmbuf = (u8 *)(pparm);\ 130 pcmd->cmdsz = sizeof (*pparm);\ 131 pcmd->rsp = NULL;\ 132 pcmd->rspsz = 0;\ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/include/ |
| H A D | rtw_cmd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2017 Realtek Corporation. 57 u8 *cmd_buf; /* shall be non-paged, and 4 bytes aligned */ 59 u8 *rsp_buf; /* shall be non-paged, and 4 bytes aligned */ 106 u8 *evt_buf; /* shall be non-paged, and 4 bytes aligned */ 118 _rtw_init_listhead(&pcmd->list);\ 119 pcmd->cmdcode = code;\ 120 pcmd->parmbuf = (u8 *)(pparm);\ 121 pcmd->cmdsz = sizeof (*pparm);\ 122 pcmd->rsp = NULL;\ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/include/ |
| H A D | rtw_cmd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2017 Realtek Corporation. 57 u8 *cmd_buf; /* shall be non-paged, and 4 bytes aligned */ 59 u8 *rsp_buf; /* shall be non-paged, and 4 bytes aligned */ 106 u8 *evt_buf; /* shall be non-paged, and 4 bytes aligned */ 118 _rtw_init_listhead(&pcmd->list);\ 119 pcmd->cmdcode = code;\ 120 pcmd->parmbuf = (u8 *)(pparm);\ 121 pcmd->cmdsz = sizeof (*pparm);\ 122 pcmd->rsp = NULL;\ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/include/ |
| H A D | rtw_cmd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2017 Realtek Corporation. 57 u8 *cmd_buf; /* shall be non-paged, and 4 bytes aligned */ 59 u8 *rsp_buf; /* shall be non-paged, and 4 bytes aligned */ 106 u8 *evt_buf; /* shall be non-paged, and 4 bytes aligned */ 118 _rtw_init_listhead(&pcmd->list);\ 119 pcmd->cmdcode = code;\ 120 pcmd->parmbuf = (u8 *)(pparm);\ 121 pcmd->cmdsz = sizeof (*pparm);\ 122 pcmd->rsp = NULL;\ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/include/ |
| H A D | rtw_cmd.h | 3 * Copyright(c) 2007 - 2017 Realtek Corporation. 56 u8 *cmd_buf; /* shall be non-paged, and 4 bytes aligned */ 58 u8 *rsp_buf; /* shall be non-paged, and 4 bytes aligned */ 105 u8 *evt_buf; /* shall be non-paged, and 4 bytes aligned */ 117 _rtw_init_listhead(&pcmd->list);\ 118 pcmd->cmdcode = code;\ 119 pcmd->parmbuf = (u8 *)(pparm);\ 120 pcmd->cmdsz = sizeof (*pparm);\ 121 pcmd->rsp = NULL;\ 122 pcmd->rspsz = 0;\ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/include/ |
| H A D | rtw_cmd.h | 3 * Copyright(c) 2007 - 2017 Realtek Corporation. 62 u8 *cmd_buf; /* shall be non-paged, and 4 bytes aligned */ 64 u8 *rsp_buf; /* shall be non-paged, and 4 bytes aligned */ 111 u8 *evt_buf; /* shall be non-paged, and 4 bytes aligned */ 126 _rtw_init_listhead(&pcmd->list);\ 127 pcmd->cmdcode = code;\ 128 pcmd->parmbuf = (u8 *)(pparm);\ 129 pcmd->cmdsz = sizeof (*pparm);\ 130 pcmd->rsp = NULL;\ 131 pcmd->rspsz = 0;\ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/include/ |
| H A D | rtw_cmd.h | 3 * Copyright(c) 2007 - 2019 Realtek Corporation. 50 u8 *cmd_buf; /* shall be non-paged, and 4 bytes aligned */ 52 u8 *rsp_buf; /* shall be non-paged, and 4 bytes aligned */ 77 _rtw_init_listhead(&pcmd->list);\ 78 pcmd->cmdcode = code;\ 79 pcmd->parmbuf = (u8 *)(pparm);\ 80 pcmd->cmdsz = sizeof (*pparm);\ 81 pcmd->rsp = NULL;\ 82 pcmd->rspsz = 0;\ 87 _rtw_init_listhead(&pcmd->list);\ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/include/ |
| H A D | rtw_cmd.h | 3 * Copyright(c) 2007 - 2019 Realtek Corporation. 50 u8 *cmd_buf; /* shall be non-paged, and 4 bytes aligned */ 52 u8 *rsp_buf; /* shall be non-paged, and 4 bytes aligned */ 77 _rtw_init_listhead(&pcmd->list);\ 78 pcmd->cmdcode = code;\ 79 pcmd->parmbuf = (u8 *)(pparm);\ 80 pcmd->cmdsz = sizeof (*pparm);\ 81 pcmd->rsp = NULL;\ 82 pcmd->rspsz = 0;\ 87 _rtw_init_listhead(&pcmd->list);\ [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/networking/ |
| H A D | sfp-phylink.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 phylink is a mechanism to support hot-pluggable networking modules 11 directly connected to a MAC without needing to re-initialise the 12 adapter on hot-plug events. 14 phylink supports conventional phylib-based setups, fixed link setups 23 1. PHY mode 25 In PHY mode, we use phylib to read the current link settings from 26 the PHY, and pass them to the MAC driver. We expect the MAC driver 30 2. Fixed mode 32 Fixed mode is the same as PHY mode as far as the MAC driver is [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/ |
| H A D | keystone-netcp.txt | 6 switch sub-module to send and receive packets. NetCP also includes a packet 13 includes a 3-port Ethernet switch sub-module capable of 10Gb/s and 1Gb/s rates 16 Keystone NetCP driver has a plug-in module architecture where each of the NetCP 17 sub-modules exist as a loadable kernel module which plug in to the netcp core. 18 These sub-modules are represented as "netcp-devices" in the dts bindings. It is 19 mandatory to have the ethernet switch sub-module for the ethernet interface to 20 be operational. Any other sub-module like the PA is optional. 24 ----------------------------- 26 ----------------------------- 28 |-> NetCP Devices -> | [all …]
|