Lines Matching refs:N_ADVERTISE
248 assert_cc((ELEMENTSOF(ethtool_link_mode_bit_table)-1) / 32 < N_ADVERTISE);
925 const uint32_t advertise[static N_ADVERTISE], in ethtool_set_glinksettings() argument
940 if (autonegotiation < 0 && memeqzero(advertise, sizeof(uint32_t) * N_ADVERTISE) && in ethtool_set_glinksettings()
951 … if (autonegotiation == AUTONEG_ENABLE || !memeqzero(advertise, sizeof(uint32_t) * N_ADVERTISE)) { in ethtool_set_glinksettings()
987 if (!memeqzero(advertise, sizeof(uint32_t) * N_ADVERTISE)) { in ethtool_set_glinksettings()
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()
993 … ETHTOOL_LINK_MODE_MASK_MAX_KERNEL_NBYTES - 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()
996 ETHTOOL_LINK_MODE_MASK_MAX_KERNEL_NBYTES - sizeof(uint32_t) * N_ADVERTISE); in ethtool_set_glinksettings()
1251 memzero(advertise, sizeof(uint32_t) * N_ADVERTISE); in config_parse_advertise()