Home
last modified time | relevance | path

Searched refs:sw_config (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-anarion.c39 uint32_t sw_config; in anarion_gmac_init() local
45 sw_config = gmac_read_reg(gmac, GMAC_SW_CONFIG_REG); in anarion_gmac_init()
46 sw_config &= ~GMAC_CONFIG_INTF_SEL_MASK; in anarion_gmac_init()
47 sw_config |= (gmac->phy_intf_sel & GMAC_CONFIG_INTF_SEL_MASK); in anarion_gmac_init()
48 gmac_write_reg(gmac, GMAC_SW_CONFIG_REG, sw_config); in anarion_gmac_init()
/linux-5.19.10/drivers/net/ethernet/intel/i40e/
Di40e_main.c14817 struct i40e_aqc_get_switch_config_resp *sw_config; in i40e_fetch_switch_configuration() local
14827 sw_config = (struct i40e_aqc_get_switch_config_resp *)aq_buf; in i40e_fetch_switch_configuration()
14831 ret = i40e_aq_get_switch_config(&pf->hw, sw_config, in i40e_fetch_switch_configuration()
14844 num_reported = le16_to_cpu(sw_config->header.num_reported); in i40e_fetch_switch_configuration()
14845 num_total = le16_to_cpu(sw_config->header.num_total); in i40e_fetch_switch_configuration()
14854 &sw_config->element[i]; in i40e_fetch_switch_configuration()