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()
14995 struct i40e_aqc_get_switch_config_resp *sw_config; in i40e_fetch_switch_configuration() local15005 sw_config = (struct i40e_aqc_get_switch_config_resp *)aq_buf; in i40e_fetch_switch_configuration()15009 ret = i40e_aq_get_switch_config(&pf->hw, sw_config, in i40e_fetch_switch_configuration()15022 num_reported = le16_to_cpu(sw_config->header.num_reported); in i40e_fetch_switch_configuration()15023 num_total = le16_to_cpu(sw_config->header.num_total); in i40e_fetch_switch_configuration()15032 &sw_config->element[i]; in i40e_fetch_switch_configuration()