Searched refs:sw_config (Results 1 – 2 of 2) sorted by relevance
39 uint32_t sw_config; in anarion_gmac_init() local45 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()
14998 struct i40e_aqc_get_switch_config_resp *sw_config; in i40e_fetch_switch_configuration() local15008 sw_config = (struct i40e_aqc_get_switch_config_resp *)aq_buf; in i40e_fetch_switch_configuration()15012 ret = i40e_aq_get_switch_config(&pf->hw, sw_config, in i40e_fetch_switch_configuration()15025 num_reported = le16_to_cpu(sw_config->header.num_reported); in i40e_fetch_switch_configuration()15026 num_total = le16_to_cpu(sw_config->header.num_total); in i40e_fetch_switch_configuration()15035 &sw_config->element[i]; in i40e_fetch_switch_configuration()