Searched refs:stmpconf (Results 1 – 1 of 1) sorted by relevance
13887 struct hwtstamp_config stmpconf; in tg3_hwtstamp_set() local13892 if (copy_from_user(&stmpconf, ifr->ifr_data, sizeof(stmpconf))) in tg3_hwtstamp_set()13895 if (stmpconf.flags) in tg3_hwtstamp_set()13898 if (stmpconf.tx_type != HWTSTAMP_TX_ON && in tg3_hwtstamp_set()13899 stmpconf.tx_type != HWTSTAMP_TX_OFF) in tg3_hwtstamp_set()13902 switch (stmpconf.rx_filter) { in tg3_hwtstamp_set()13962 if (stmpconf.tx_type == HWTSTAMP_TX_ON) in tg3_hwtstamp_set()13967 return copy_to_user(ifr->ifr_data, &stmpconf, sizeof(stmpconf)) ? in tg3_hwtstamp_set()13974 struct hwtstamp_config stmpconf; in tg3_hwtstamp_get() local13979 stmpconf.flags = 0; in tg3_hwtstamp_get()[all …]