Searched refs:stmpconf (Results 1 – 1 of 1) sorted by relevance
13847 struct hwtstamp_config stmpconf; in tg3_hwtstamp_set() local13852 if (copy_from_user(&stmpconf, ifr->ifr_data, sizeof(stmpconf))) in tg3_hwtstamp_set()13855 if (stmpconf.flags) in tg3_hwtstamp_set()13858 if (stmpconf.tx_type != HWTSTAMP_TX_ON && in tg3_hwtstamp_set()13859 stmpconf.tx_type != HWTSTAMP_TX_OFF) in tg3_hwtstamp_set()13862 switch (stmpconf.rx_filter) { in tg3_hwtstamp_set()13922 if (stmpconf.tx_type == HWTSTAMP_TX_ON) in tg3_hwtstamp_set()13927 return copy_to_user(ifr->ifr_data, &stmpconf, sizeof(stmpconf)) ? in tg3_hwtstamp_set()13934 struct hwtstamp_config stmpconf; in tg3_hwtstamp_get() local13939 stmpconf.flags = 0; in tg3_hwtstamp_get()[all …]