Searched refs:stmpconf (Results 1 – 2 of 2) sorted by relevance
535 struct hwtstamp_config stmpconf; in bnxt_hwtstamp_set() local545 if (copy_from_user(&stmpconf, ifr->ifr_data, sizeof(stmpconf))) in bnxt_hwtstamp_set()549 stmpconf.tx_type != HWTSTAMP_TX_OFF) in bnxt_hwtstamp_set()555 switch (stmpconf.rx_filter) { in bnxt_hwtstamp_set()588 if (stmpconf.tx_type == HWTSTAMP_TX_ON) in bnxt_hwtstamp_set()597 stmpconf.rx_filter = ptp->rx_filter; in bnxt_hwtstamp_set()598 return copy_to_user(ifr->ifr_data, &stmpconf, sizeof(stmpconf)) ? in bnxt_hwtstamp_set()611 struct hwtstamp_config stmpconf; in bnxt_hwtstamp_get() local618 stmpconf.flags = 0; in bnxt_hwtstamp_get()621 stmpconf.rx_filter = ptp->rx_filter; in bnxt_hwtstamp_get()[all …]
13793 struct hwtstamp_config stmpconf; in tg3_hwtstamp_set() local13798 if (copy_from_user(&stmpconf, ifr->ifr_data, sizeof(stmpconf))) in tg3_hwtstamp_set()13801 if (stmpconf.tx_type != HWTSTAMP_TX_ON && in tg3_hwtstamp_set()13802 stmpconf.tx_type != HWTSTAMP_TX_OFF) in tg3_hwtstamp_set()13805 switch (stmpconf.rx_filter) { in tg3_hwtstamp_set()13865 if (stmpconf.tx_type == HWTSTAMP_TX_ON) in tg3_hwtstamp_set()13870 return copy_to_user(ifr->ifr_data, &stmpconf, sizeof(stmpconf)) ? in tg3_hwtstamp_set()13877 struct hwtstamp_config stmpconf; in tg3_hwtstamp_get() local13882 stmpconf.flags = 0; in tg3_hwtstamp_get()13888 stmpconf.rx_filter = HWTSTAMP_FILTER_NONE; in tg3_hwtstamp_get()[all …]
Completed in 26 milliseconds