Searched refs:stmpconf (Results 1 – 2 of 2) sorted by relevance
566 struct hwtstamp_config stmpconf; in bnxt_hwtstamp_set() local576 if (copy_from_user(&stmpconf, ifr->ifr_data, sizeof(stmpconf))) in bnxt_hwtstamp_set()580 stmpconf.tx_type != HWTSTAMP_TX_OFF) in bnxt_hwtstamp_set()586 switch (stmpconf.rx_filter) { in bnxt_hwtstamp_set()619 if (stmpconf.tx_type == HWTSTAMP_TX_ON) in bnxt_hwtstamp_set()628 stmpconf.rx_filter = ptp->rx_filter; in bnxt_hwtstamp_set()629 return copy_to_user(ifr->ifr_data, &stmpconf, sizeof(stmpconf)) ? in bnxt_hwtstamp_set()642 struct hwtstamp_config stmpconf; in bnxt_hwtstamp_get() local649 stmpconf.flags = 0; in bnxt_hwtstamp_get()652 stmpconf.rx_filter = ptp->rx_filter; in bnxt_hwtstamp_get()[all …]
13954 struct hwtstamp_config stmpconf; in tg3_hwtstamp_set() local13959 if (copy_from_user(&stmpconf, ifr->ifr_data, sizeof(stmpconf))) in tg3_hwtstamp_set()13962 if (stmpconf.tx_type != HWTSTAMP_TX_ON && in tg3_hwtstamp_set()13963 stmpconf.tx_type != HWTSTAMP_TX_OFF) in tg3_hwtstamp_set()13966 switch (stmpconf.rx_filter) { in tg3_hwtstamp_set()14026 if (stmpconf.tx_type == HWTSTAMP_TX_ON) in tg3_hwtstamp_set()14031 return copy_to_user(ifr->ifr_data, &stmpconf, sizeof(stmpconf)) ? in tg3_hwtstamp_set()14038 struct hwtstamp_config stmpconf; in tg3_hwtstamp_get() local14043 stmpconf.flags = 0; in tg3_hwtstamp_get()14049 stmpconf.rx_filter = HWTSTAMP_FILTER_NONE; in tg3_hwtstamp_get()[all …]