Searched refs:stmpconf (Results 1 – 2 of 2) sorted by relevance
540 struct hwtstamp_config stmpconf; in bnxt_hwtstamp_set() local550 if (copy_from_user(&stmpconf, ifr->ifr_data, sizeof(stmpconf))) in bnxt_hwtstamp_set()553 if (stmpconf.tx_type != HWTSTAMP_TX_ON && in bnxt_hwtstamp_set()554 stmpconf.tx_type != HWTSTAMP_TX_OFF) in bnxt_hwtstamp_set()560 switch (stmpconf.rx_filter) { in bnxt_hwtstamp_set()593 if (stmpconf.tx_type == HWTSTAMP_TX_ON) in bnxt_hwtstamp_set()602 stmpconf.rx_filter = ptp->rx_filter; in bnxt_hwtstamp_set()603 return copy_to_user(ifr->ifr_data, &stmpconf, sizeof(stmpconf)) ? in bnxt_hwtstamp_set()616 struct hwtstamp_config stmpconf; in bnxt_hwtstamp_get() local623 stmpconf.flags = 0; in bnxt_hwtstamp_get()[all …]
13797 struct hwtstamp_config stmpconf; in tg3_hwtstamp_set() local13802 if (copy_from_user(&stmpconf, ifr->ifr_data, sizeof(stmpconf))) in tg3_hwtstamp_set()13805 if (stmpconf.tx_type != HWTSTAMP_TX_ON && in tg3_hwtstamp_set()13806 stmpconf.tx_type != HWTSTAMP_TX_OFF) in tg3_hwtstamp_set()13809 switch (stmpconf.rx_filter) { in tg3_hwtstamp_set()13869 if (stmpconf.tx_type == HWTSTAMP_TX_ON) in tg3_hwtstamp_set()13874 return copy_to_user(ifr->ifr_data, &stmpconf, sizeof(stmpconf)) ? in tg3_hwtstamp_set()13881 struct hwtstamp_config stmpconf; in tg3_hwtstamp_get() local13886 stmpconf.flags = 0; in tg3_hwtstamp_get()13887 stmpconf.tx_type = (tg3_flag(tp, TX_TSTAMP_EN) ? in tg3_hwtstamp_get()[all …]