Lines Matching refs:link_modes

806 …memcpy(u->link_modes.supported, &ecmd.link_mode_data[offset], 4 * ecmd.req.link_mode_masks_nwords);  in get_glinksettings()
809 …memcpy(u->link_modes.advertising, &ecmd.link_mode_data[offset], 4 * ecmd.req.link_mode_masks_nword… in get_glinksettings()
812 …memcpy(u->link_modes.lp_advertising, &ecmd.link_mode_data[offset], 4 * ecmd.req.link_mode_masks_nw… in get_glinksettings()
850 .link_modes.supported[0] = ecmd.supported, in get_gset()
851 .link_modes.advertising[0] = ecmd.advertising, in get_gset()
852 .link_modes.lp_advertising[0] = ecmd.lp_advertising, in get_gset()
877 …memcpy(&ecmd.link_mode_data[offset], u->link_modes.supported, 4 * ecmd.req.link_mode_masks_nwords); in set_slinksettings()
880 …memcpy(&ecmd.link_mode_data[offset], u->link_modes.advertising, 4 * ecmd.req.link_mode_masks_nword… in set_slinksettings()
883 …memcpy(&ecmd.link_mode_data[offset], u->link_modes.lp_advertising, 4 * ecmd.req.link_mode_masks_nw… in set_slinksettings()
902 ecmd.supported = u->link_modes.supported[0]; in set_sset()
903 ecmd.advertising = u->link_modes.advertising[0]; in set_sset()
904 ecmd.lp_advertising = u->link_modes.lp_advertising[0]; in set_sset()
991 … memcmp(&u->link_modes.advertising, advertise, sizeof(uint32_t) * N_ADVERTISE) != 0 || in ethtool_set_glinksettings()
992 … !memeqzero((uint8_t*) &u->link_modes.advertising + sizeof(uint32_t) * N_ADVERTISE, in ethtool_set_glinksettings()
994 memcpy(&u->link_modes.advertising, advertise, sizeof(uint32_t) * N_ADVERTISE); in ethtool_set_glinksettings()
995 memzero((uint8_t*) &u->link_modes.advertising + sizeof(uint32_t) * N_ADVERTISE, in ethtool_set_glinksettings()