Searched refs:new_advert (Results 1 – 1 of 1) sorted by relevance
300 static int fun_change_advert(struct funeth_priv *fp, u64 new_advert) in fun_change_advert() argument304 if (new_advert == fp->advertising) in fun_change_advert()307 err = fun_port_write_cmd(fp, FUN_ADMIN_PORT_KEY_ADVERT, new_advert); in fun_change_advert()309 fp->advertising = new_advert; in fun_change_advert()321 u64 new_advert; in fun_set_link_ksettings() local341 new_advert = fun_advert_modes(ks) | FUN_PORT_CAP_AUTONEG; in fun_set_link_ksettings()343 new_advert = fun_speed_to_link_mode(ks->base.speed); in fun_set_link_ksettings()344 new_advert &= fp->port_caps; in fun_set_link_ksettings()345 if (!new_advert) in fun_set_link_ksettings()348 new_advert |= fp->advertising & in fun_set_link_ksettings()[all …]