| /kernel/linux/linux-6.6/drivers/pinctrl/renesas/ |
| D | Makefile | 4 obj-$(CONFIG_PINCTRL_PFC_EMEV2) += pfc-emev2.o 5 obj-$(CONFIG_PINCTRL_PFC_R8A73A4) += pfc-r8a73a4.o 6 obj-$(CONFIG_PINCTRL_PFC_R8A7740) += pfc-r8a7740.o 7 obj-$(CONFIG_PINCTRL_PFC_R8A7742) += pfc-r8a7790.o 8 obj-$(CONFIG_PINCTRL_PFC_R8A7743) += pfc-r8a7791.o 9 obj-$(CONFIG_PINCTRL_PFC_R8A7744) += pfc-r8a7791.o 10 obj-$(CONFIG_PINCTRL_PFC_R8A7745) += pfc-r8a7794.o 11 obj-$(CONFIG_PINCTRL_PFC_R8A77470) += pfc-r8a77470.o 12 obj-$(CONFIG_PINCTRL_PFC_R8A774A1) += pfc-r8a7796.o 13 obj-$(CONFIG_PINCTRL_PFC_R8A774B1) += pfc-r8a77965.o [all …]
|
| D | pinctrl.c | 8 #define DRV_NAME "sh-pfc" 39 struct sh_pfc *pfc; member 49 return pmx->pfc->info->nr_groups; in sh_pfc_get_groups_count() 57 return pmx->pfc->info->groups[selector].name; in sh_pfc_get_group_name() 65 *pins = pmx->pfc->info->groups[selector].pins; in sh_pfc_get_group_pins() 66 *num_pins = pmx->pfc->info->groups[selector].nr_pins; in sh_pfc_get_group_pins() 105 struct device *dev = pmx->pfc->dev; in sh_pfc_dt_subnode_to_map() 243 struct device *dev = pmx->pfc->dev; in sh_pfc_dt_node_to_map() 298 return pmx->pfc->info->nr_functions; in sh_pfc_get_functions_count() 306 return pmx->pfc->info->functions[selector].name; in sh_pfc_get_function_name() [all …]
|
| D | core.c | 11 #define DRV_NAME "sh-pfc" 30 static int sh_pfc_map_resources(struct sh_pfc *pfc, in sh_pfc_map_resources() argument 54 windows = devm_kcalloc(pfc->dev, num_windows, sizeof(*windows), in sh_pfc_map_resources() 59 pfc->num_windows = num_windows; in sh_pfc_map_resources() 60 pfc->windows = windows; in sh_pfc_map_resources() 63 irqs = devm_kcalloc(pfc->dev, num_irqs, sizeof(*irqs), in sh_pfc_map_resources() 68 pfc->num_irqs = num_irqs; in sh_pfc_map_resources() 69 pfc->irqs = irqs; in sh_pfc_map_resources() 87 static void __iomem *sh_pfc_phys_to_virt(struct sh_pfc *pfc, u32 reg) in sh_pfc_phys_to_virt() argument 94 for (i = 0; i < pfc->num_windows; i++) { in sh_pfc_phys_to_virt() [all …]
|
| D | gpio.c | 29 struct sh_pfc *pfc; member 40 return chip->pfc; in gpio_to_pfc() 47 int idx = sh_pfc_get_pin_index(chip->pfc, offset); in gpio_get_data_reg() 74 struct sh_pfc *pfc = chip->pfc; in gpio_setup_data_reg() local 76 const struct sh_pfc_pin *pin = &pfc->info->pins[idx]; in gpio_setup_data_reg() 81 for (i = 0, dreg = pfc->info->data_regs; dreg->reg_width; ++i, ++dreg) { in gpio_setup_data_reg() 96 struct sh_pfc *pfc = chip->pfc; in gpio_setup_data_regs() local 103 for (i = 0; pfc->info->data_regs[i].reg_width; ++i) in gpio_setup_data_regs() 106 chip->regs = devm_kcalloc(pfc->dev, i, sizeof(*chip->regs), in gpio_setup_data_regs() 111 for (i = 0, dreg = pfc->info->data_regs; dreg->reg_width; ++i, ++dreg) { in gpio_setup_data_regs() [all …]
|
| /kernel/linux/linux-5.10/drivers/pinctrl/renesas/ |
| D | Makefile | 4 obj-$(CONFIG_PINCTRL_PFC_EMEV2) += pfc-emev2.o 5 obj-$(CONFIG_PINCTRL_PFC_R8A73A4) += pfc-r8a73a4.o 6 obj-$(CONFIG_PINCTRL_PFC_R8A7740) += pfc-r8a7740.o 7 obj-$(CONFIG_PINCTRL_PFC_R8A7742) += pfc-r8a7790.o 8 obj-$(CONFIG_PINCTRL_PFC_R8A7743) += pfc-r8a7791.o 9 obj-$(CONFIG_PINCTRL_PFC_R8A7744) += pfc-r8a7791.o 10 obj-$(CONFIG_PINCTRL_PFC_R8A7745) += pfc-r8a7794.o 11 obj-$(CONFIG_PINCTRL_PFC_R8A77470) += pfc-r8a77470.o 12 obj-$(CONFIG_PINCTRL_PFC_R8A774A1) += pfc-r8a7796.o 13 obj-$(CONFIG_PINCTRL_PFC_R8A774B1) += pfc-r8a77965.o [all …]
|
| D | core.c | 11 #define DRV_NAME "sh-pfc" 30 static int sh_pfc_map_resources(struct sh_pfc *pfc, in sh_pfc_map_resources() argument 54 windows = devm_kcalloc(pfc->dev, num_windows, sizeof(*windows), in sh_pfc_map_resources() 59 pfc->num_windows = num_windows; in sh_pfc_map_resources() 60 pfc->windows = windows; in sh_pfc_map_resources() 63 irqs = devm_kcalloc(pfc->dev, num_irqs, sizeof(*irqs), in sh_pfc_map_resources() 68 pfc->num_irqs = num_irqs; in sh_pfc_map_resources() 69 pfc->irqs = irqs; in sh_pfc_map_resources() 87 static void __iomem *sh_pfc_phys_to_virt(struct sh_pfc *pfc, u32 reg) in sh_pfc_phys_to_virt() argument 94 for (i = 0; i < pfc->num_windows; i++) { in sh_pfc_phys_to_virt() [all …]
|
| D | pinctrl.c | 8 #define DRV_NAME "sh-pfc" 38 struct sh_pfc *pfc; member 52 return pmx->pfc->info->nr_groups; in sh_pfc_get_groups_count() 60 return pmx->pfc->info->groups[selector].name; in sh_pfc_get_group_name() 68 *pins = pmx->pfc->info->groups[selector].pins; in sh_pfc_get_group_pins() 69 *num_pins = pmx->pfc->info->groups[selector].nr_pins; in sh_pfc_get_group_pins() 108 struct device *dev = pmx->pfc->dev; in sh_pfc_dt_subnode_to_map() 263 struct device *dev = pmx->pfc->dev; in sh_pfc_dt_node_to_map() 318 return pmx->pfc->info->nr_functions; in sh_pfc_get_functions_count() 326 return pmx->pfc->info->functions[selector].name; in sh_pfc_get_function_name() [all …]
|
| D | gpio.c | 30 struct sh_pfc *pfc; member 41 return chip->pfc; in gpio_to_pfc() 48 int idx = sh_pfc_get_pin_index(chip->pfc, offset); in gpio_get_data_reg() 75 struct sh_pfc *pfc = chip->pfc; in gpio_setup_data_reg() local 77 const struct sh_pfc_pin *pin = &pfc->info->pins[idx]; in gpio_setup_data_reg() 82 for (i = 0, dreg = pfc->info->data_regs; dreg->reg_width; ++i, ++dreg) { in gpio_setup_data_reg() 97 struct sh_pfc *pfc = chip->pfc; in gpio_setup_data_regs() local 104 for (i = 0; pfc->info->data_regs[i].reg_width; ++i) in gpio_setup_data_regs() 107 chip->regs = devm_kcalloc(pfc->dev, i, sizeof(*chip->regs), in gpio_setup_data_regs() 112 for (i = 0, dreg = pfc->info->data_regs; dreg->reg_width; ++i, ++dreg) { in gpio_setup_data_regs() [all …]
|
| D | core.h | 19 int sh_pfc_register_gpiochip(struct sh_pfc *pfc); 21 int sh_pfc_register_pinctrl(struct sh_pfc *pfc); 26 u32 sh_pfc_read(struct sh_pfc *pfc, u32 reg); 27 void sh_pfc_write(struct sh_pfc *pfc, u32 reg, u32 data); 29 int sh_pfc_get_pin_index(struct sh_pfc *pfc, unsigned int pin); 30 int sh_pfc_config_mux(struct sh_pfc *pfc, unsigned mark, int pinmux_type); 33 sh_pfc_pin_to_bias_reg(const struct sh_pfc *pfc, unsigned int pin,
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/ |
| D | renesas,pfc.yaml | 4 $id: http://devicetree.org/schemas/pinctrl/renesas,pfc.yaml# 13 The Pin Function Controller (PFC) is a Pin Mux/Config controller. 19 - renesas,pfc-emev2 # EMMA Mobile EV2 20 - renesas,pfc-r8a73a4 # R-Mobile APE6 21 - renesas,pfc-r8a7740 # R-Mobile A1 22 - renesas,pfc-r8a7742 # RZ/G1H 23 - renesas,pfc-r8a7743 # RZ/G1M 24 - renesas,pfc-r8a7744 # RZ/G1N 25 - renesas,pfc-r8a7745 # RZ/G1E 26 - renesas,pfc-r8a77470 # RZ/G1C [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
| D | renesas,pfc.yaml | 4 $id: http://devicetree.org/schemas/pinctrl/renesas,pfc.yaml# 13 The Pin Function Controller (PFC) is a Pin Mux/Config controller. 19 - renesas,pfc-emev2 # EMMA Mobile EV2 20 - renesas,pfc-r8a73a4 # R-Mobile APE6 21 - renesas,pfc-r8a7740 # R-Mobile A1 22 - renesas,pfc-r8a7742 # RZ/G1H 23 - renesas,pfc-r8a7743 # RZ/G1M 24 - renesas,pfc-r8a7744 # RZ/G1N 25 - renesas,pfc-r8a7745 # RZ/G1E 26 - renesas,pfc-r8a77470 # RZ/G1C [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/ |
| D | dpaa2-eth-dcb.c | 7 struct ieee_pfc *pfc) in dpaa2_eth_dcbnl_ieee_getpfc() argument 14 memcpy(pfc, &priv->pfc, sizeof(priv->pfc)); in dpaa2_eth_dcbnl_ieee_getpfc() 15 pfc->pfc_cap = dpaa2_eth_tc_count(priv); in dpaa2_eth_dcbnl_ieee_getpfc() 42 * disables generation of PFC frames for them in dpaa2_eth_set_pfc_cn() 62 struct ieee_pfc *pfc) in dpaa2_eth_dcbnl_ieee_setpfc() argument 69 if (pfc->mbc || pfc->delay) in dpaa2_eth_dcbnl_ieee_setpfc() 72 /* If same PFC enabled mask, nothing to do */ in dpaa2_eth_dcbnl_ieee_setpfc() 73 if (priv->pfc.pfc_en == pfc->pfc_en) in dpaa2_eth_dcbnl_ieee_setpfc() 76 /* We allow PFC configuration even if it won't have any effect until in dpaa2_eth_dcbnl_ieee_setpfc() 81 netdev_warn(net_dev, "Pause support must be enabled in order for PFC to work!\n"); in dpaa2_eth_dcbnl_ieee_setpfc() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/ |
| D | dpaa2-eth-dcb.c | 7 struct ieee_pfc *pfc) in dpaa2_eth_dcbnl_ieee_getpfc() argument 14 memcpy(pfc, &priv->pfc, sizeof(priv->pfc)); in dpaa2_eth_dcbnl_ieee_getpfc() 15 pfc->pfc_cap = dpaa2_eth_tc_count(priv); in dpaa2_eth_dcbnl_ieee_getpfc() 42 * disables generation of PFC frames for them in dpaa2_eth_set_pfc_cn() 62 struct ieee_pfc *pfc) in dpaa2_eth_dcbnl_ieee_setpfc() argument 69 if (pfc->mbc || pfc->delay) in dpaa2_eth_dcbnl_ieee_setpfc() 72 /* If same PFC enabled mask, nothing to do */ in dpaa2_eth_dcbnl_ieee_setpfc() 73 if (priv->pfc.pfc_en == pfc->pfc_en) in dpaa2_eth_dcbnl_ieee_setpfc() 76 /* We allow PFC configuration even if it won't have any effect until in dpaa2_eth_dcbnl_ieee_setpfc() 81 netdev_warn(net_dev, "Pause support must be enabled in order for PFC to work!\n"); in dpaa2_eth_dcbnl_ieee_setpfc() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/ |
| D | xgbe-dcb.c | 211 struct ieee_pfc *pfc) in xgbe_dcb_ieee_getpfc() argument 215 /* Set number of supported PFC traffic classes */ in xgbe_dcb_ieee_getpfc() 216 pfc->pfc_cap = pdata->hw_feat.tc_cnt; in xgbe_dcb_ieee_getpfc() 218 if (pdata->pfc) { in xgbe_dcb_ieee_getpfc() 219 pfc->pfc_en = pdata->pfc->pfc_en; in xgbe_dcb_ieee_getpfc() 220 pfc->mbc = pdata->pfc->mbc; in xgbe_dcb_ieee_getpfc() 221 pfc->delay = pdata->pfc->delay; in xgbe_dcb_ieee_getpfc() 228 struct ieee_pfc *pfc) in xgbe_dcb_ieee_setpfc() argument 234 pfc->pfc_cap, pfc->pfc_en, pfc->mbc, pfc->delay); in xgbe_dcb_ieee_setpfc() 236 /* Check PFC for supported number of traffic classes */ in xgbe_dcb_ieee_setpfc() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/amd/xgbe/ |
| D | xgbe-dcb.c | 211 struct ieee_pfc *pfc) in xgbe_dcb_ieee_getpfc() argument 215 /* Set number of supported PFC traffic classes */ in xgbe_dcb_ieee_getpfc() 216 pfc->pfc_cap = pdata->hw_feat.tc_cnt; in xgbe_dcb_ieee_getpfc() 218 if (pdata->pfc) { in xgbe_dcb_ieee_getpfc() 219 pfc->pfc_en = pdata->pfc->pfc_en; in xgbe_dcb_ieee_getpfc() 220 pfc->mbc = pdata->pfc->mbc; in xgbe_dcb_ieee_getpfc() 221 pfc->delay = pdata->pfc->delay; in xgbe_dcb_ieee_getpfc() 228 struct ieee_pfc *pfc) in xgbe_dcb_ieee_setpfc() argument 234 pfc->pfc_cap, pfc->pfc_en, pfc->mbc, pfc->delay); in xgbe_dcb_ieee_setpfc() 236 /* Check PFC for supported number of traffic classes */ in xgbe_dcb_ieee_setpfc() [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/renesas/ |
| D | r8a7740-armadillo800eva.dts | 49 gpio = <&pfc 75 GPIO_ACTIVE_HIGH>; 61 enable-gpios = <&pfc 74 GPIO_ACTIVE_HIGH>; 62 gpios = <&pfc 17 GPIO_ACTIVE_HIGH>; 81 gpios = <&pfc 99 GPIO_ACTIVE_LOW>; 88 gpios = <&pfc 100 GPIO_ACTIVE_LOW>; 94 gpios = <&pfc 97 GPIO_ACTIVE_LOW>; 100 gpios = <&pfc 98 GPIO_ACTIVE_LOW>; 109 gpios = <&pfc 102 GPIO_ACTIVE_HIGH>; 113 gpios = <&pfc 111 GPIO_ACTIVE_HIGH>; 117 gpios = <&pfc 110 GPIO_ACTIVE_HIGH>; [all …]
|
| D | r8a73a4-ape6evm.dts | 51 gpio = <&pfc 76 GPIO_ACTIVE_HIGH>; 75 gpios = <&pfc 28 GPIO_ACTIVE_HIGH>; 79 gpios = <&pfc 126 GPIO_ACTIVE_HIGH>; 83 gpios = <&pfc 132 GPIO_ACTIVE_HIGH>; 87 gpios = <&pfc 232 GPIO_ACTIVE_HIGH>; 91 gpios = <&pfc 250 GPIO_ACTIVE_HIGH>; 95 gpios = <&pfc 288 GPIO_ACTIVE_HIGH>; 107 gpios = <&pfc 324 GPIO_ACTIVE_LOW>; 114 gpios = <&pfc 325 GPIO_ACTIVE_LOW>; 120 gpios = <&pfc 326 GPIO_ACTIVE_LOW>; [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/ |
| D | i40e_dcb_nl.c | 13 * i40e_get_pfc_delay - retrieve PFC Link Delay 15 * @delay: holds the PFC Link delay value 17 * Returns PFC Link Delay from the PRTDCB_GENC.PFCLDA 67 * i40e_dcbnl_ieee_getpfc - retrieve local IEEE PFC configuration 69 * @pfc: structure to hold the PFC information 71 * Returns local IEEE PFC configuration 74 struct ieee_pfc *pfc) in i40e_dcbnl_ieee_getpfc() argument 85 pfc->pfc_cap = dcbxcfg->pfc.pfccap; in i40e_dcbnl_ieee_getpfc() 86 pfc->pfc_en = dcbxcfg->pfc.pfcenable; in i40e_dcbnl_ieee_getpfc() 87 pfc->mbc = dcbxcfg->pfc.mbc; in i40e_dcbnl_ieee_getpfc() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | r8a7740-armadillo800eva.dts | 49 gpio = <&pfc 75 GPIO_ACTIVE_HIGH>; 61 enable-gpio = <&pfc 74 GPIO_ACTIVE_HIGH>; 62 gpios = <&pfc 17 GPIO_ACTIVE_HIGH>; 81 gpios = <&pfc 99 GPIO_ACTIVE_LOW>; 88 gpios = <&pfc 100 GPIO_ACTIVE_LOW>; 94 gpios = <&pfc 97 GPIO_ACTIVE_LOW>; 100 gpios = <&pfc 98 GPIO_ACTIVE_LOW>; 109 gpios = <&pfc 102 GPIO_ACTIVE_HIGH>; 113 gpios = <&pfc 111 GPIO_ACTIVE_HIGH>; 117 gpios = <&pfc 110 GPIO_ACTIVE_HIGH>; [all …]
|
| D | r8a73a4-ape6evm.dts | 51 gpio = <&pfc 76 GPIO_ACTIVE_HIGH>; 75 gpios = <&pfc 28 GPIO_ACTIVE_HIGH>; 79 gpios = <&pfc 126 GPIO_ACTIVE_HIGH>; 83 gpios = <&pfc 132 GPIO_ACTIVE_HIGH>; 87 gpios = <&pfc 232 GPIO_ACTIVE_HIGH>; 91 gpios = <&pfc 250 GPIO_ACTIVE_HIGH>; 95 gpios = <&pfc 288 GPIO_ACTIVE_HIGH>; 107 gpios = <&pfc 324 GPIO_ACTIVE_LOW>; 114 gpios = <&pfc 325 GPIO_ACTIVE_LOW>; 120 gpios = <&pfc 326 GPIO_ACTIVE_LOW>; [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/fm10k/ |
| D | fm10k_dcbnl.c | 73 * fm10k_dcbnl_ieee_getpfc - get the PFC configuration for the device 75 * @pfc: PFC structure to push configuration to 77 static int fm10k_dcbnl_ieee_getpfc(struct net_device *dev, struct ieee_pfc *pfc) in fm10k_dcbnl_ieee_getpfc() argument 82 pfc->pfc_cap = IEEE_8021QAZ_MAX_TCS; in fm10k_dcbnl_ieee_getpfc() 83 pfc->pfc_en = interface->pfc_en; in fm10k_dcbnl_ieee_getpfc() 89 * fm10k_dcbnl_ieee_setpfc - set the PFC configuration for the device 91 * @pfc: PFC structure to pull configuration from 93 static int fm10k_dcbnl_ieee_setpfc(struct net_device *dev, struct ieee_pfc *pfc) in fm10k_dcbnl_ieee_setpfc() argument 97 /* record PFC configuration to interface */ in fm10k_dcbnl_ieee_setpfc() 98 interface->pfc_en = pfc->pfc_en; in fm10k_dcbnl_ieee_setpfc()
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/ |
| D | fm10k_dcbnl.c | 73 * fm10k_dcbnl_ieee_getpfc - get the PFC configuration for the device 75 * @pfc: PFC structure to push configuration to 77 static int fm10k_dcbnl_ieee_getpfc(struct net_device *dev, struct ieee_pfc *pfc) in fm10k_dcbnl_ieee_getpfc() argument 82 pfc->pfc_cap = IEEE_8021QAZ_MAX_TCS; in fm10k_dcbnl_ieee_getpfc() 83 pfc->pfc_en = interface->pfc_en; in fm10k_dcbnl_ieee_getpfc() 89 * fm10k_dcbnl_ieee_setpfc - set the PFC configuration for the device 91 * @pfc: PFC structure to pull configuration from 93 static int fm10k_dcbnl_ieee_setpfc(struct net_device *dev, struct ieee_pfc *pfc) in fm10k_dcbnl_ieee_setpfc() argument 97 /* record PFC configuration to interface */ in fm10k_dcbnl_ieee_setpfc() 98 interface->pfc_en = pfc->pfc_en; in fm10k_dcbnl_ieee_setpfc()
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
| D | i40e_dcb_nl.c | 9 * i40e_get_pfc_delay - retrieve PFC Link Delay 11 * @delay: holds the PFC Link delay value 13 * Returns PFC Link Delay from the PRTDCB_GENC.PFCLDA 64 * i40e_dcbnl_ieee_getpfc - retrieve local IEEE PFC configuration 66 * @pfc: structure to hold the PFC information 68 * Returns local IEEE PFC configuration 71 struct ieee_pfc *pfc) in i40e_dcbnl_ieee_getpfc() argument 82 pfc->pfc_cap = dcbxcfg->pfc.pfccap; in i40e_dcbnl_ieee_getpfc() 83 pfc->pfc_en = dcbxcfg->pfc.pfcenable; in i40e_dcbnl_ieee_getpfc() 84 pfc->mbc = dcbxcfg->pfc.mbc; in i40e_dcbnl_ieee_getpfc() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
| D | ice_dcb_nl.c | 206 * ice_get_pfc_delay - Retrieve PFC Link Delay 208 * @delay: holds the PFC Link Delay value 219 * ice_dcbnl_getpfc - retrieve local IEEE PFC config 221 * @pfc: struct to hold PFC info 223 static int ice_dcbnl_getpfc(struct net_device *netdev, struct ieee_pfc *pfc) in ice_dcbnl_getpfc() argument 231 pfc->pfc_cap = dcbxcfg->pfc.pfccap; in ice_dcbnl_getpfc() 232 pfc->pfc_en = dcbxcfg->pfc.pfcena; in ice_dcbnl_getpfc() 233 pfc->mbc = dcbxcfg->pfc.mbc; in ice_dcbnl_getpfc() 234 ice_get_pfc_delay(&pf->hw, &pfc->delay); in ice_dcbnl_getpfc() 237 pfc->requests[i] = pf->stats.priority_xoff_tx[i]; in ice_dcbnl_getpfc() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
| D | ice_dcb_nl.c | 221 * ice_get_pfc_delay - Retrieve PFC Link Delay 223 * @delay: holds the PFC Link Delay value 234 * ice_dcbnl_getpfc - retrieve local IEEE PFC config 236 * @pfc: struct to hold PFC info 238 static int ice_dcbnl_getpfc(struct net_device *netdev, struct ieee_pfc *pfc) in ice_dcbnl_getpfc() argument 246 pfc->pfc_cap = dcbxcfg->pfc.pfccap; in ice_dcbnl_getpfc() 247 pfc->pfc_en = dcbxcfg->pfc.pfcena; in ice_dcbnl_getpfc() 248 pfc->mbc = dcbxcfg->pfc.mbc; in ice_dcbnl_getpfc() 249 ice_get_pfc_delay(&pf->hw, &pfc->delay); in ice_dcbnl_getpfc() 252 pfc->requests[i] = pf->stats.priority_xoff_tx[i]; in ice_dcbnl_getpfc() [all …]
|