Searched refs:stmpconf (Results 1 – 2 of 2) sorted by relevance
409 struct hwtstamp_config stmpconf; in bnxt_hwtstamp_set() local419 if (copy_from_user(&stmpconf, ifr->ifr_data, sizeof(stmpconf))) in bnxt_hwtstamp_set()422 if (stmpconf.flags) in bnxt_hwtstamp_set()425 if (stmpconf.tx_type != HWTSTAMP_TX_ON && in bnxt_hwtstamp_set()426 stmpconf.tx_type != HWTSTAMP_TX_OFF) in bnxt_hwtstamp_set()432 switch (stmpconf.rx_filter) { in bnxt_hwtstamp_set()459 if (stmpconf.tx_type == HWTSTAMP_TX_ON) in bnxt_hwtstamp_set()468 stmpconf.rx_filter = ptp->rx_filter; in bnxt_hwtstamp_set()469 return copy_to_user(ifr->ifr_data, &stmpconf, sizeof(stmpconf)) ? in bnxt_hwtstamp_set()482 struct hwtstamp_config stmpconf; in bnxt_hwtstamp_get() local[all …]
13801 struct hwtstamp_config stmpconf; in tg3_hwtstamp_set() local13806 if (copy_from_user(&stmpconf, ifr->ifr_data, sizeof(stmpconf))) in tg3_hwtstamp_set()13809 if (stmpconf.flags) in tg3_hwtstamp_set()13812 if (stmpconf.tx_type != HWTSTAMP_TX_ON && in tg3_hwtstamp_set()13813 stmpconf.tx_type != HWTSTAMP_TX_OFF) in tg3_hwtstamp_set()13816 switch (stmpconf.rx_filter) { in tg3_hwtstamp_set()13876 if (stmpconf.tx_type == HWTSTAMP_TX_ON) in tg3_hwtstamp_set()13881 return copy_to_user(ifr->ifr_data, &stmpconf, sizeof(stmpconf)) ? in tg3_hwtstamp_set()13888 struct hwtstamp_config stmpconf; in tg3_hwtstamp_get() local13893 stmpconf.flags = 0; in tg3_hwtstamp_get()[all …]