Home
last modified time | relevance | path

Searched refs:stmpconf (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/broadcom/
Dtg3.c13849 struct hwtstamp_config stmpconf; in tg3_hwtstamp_set() local
13854 if (copy_from_user(&stmpconf, ifr->ifr_data, sizeof(stmpconf))) in tg3_hwtstamp_set()
13857 if (stmpconf.flags) in tg3_hwtstamp_set()
13860 if (stmpconf.tx_type != HWTSTAMP_TX_ON && in tg3_hwtstamp_set()
13861 stmpconf.tx_type != HWTSTAMP_TX_OFF) in tg3_hwtstamp_set()
13864 switch (stmpconf.rx_filter) { in tg3_hwtstamp_set()
13924 if (stmpconf.tx_type == HWTSTAMP_TX_ON) in tg3_hwtstamp_set()
13929 return copy_to_user(ifr->ifr_data, &stmpconf, sizeof(stmpconf)) ? in tg3_hwtstamp_set()
13936 struct hwtstamp_config stmpconf; in tg3_hwtstamp_get() local
13941 stmpconf.flags = 0; in tg3_hwtstamp_get()
[all …]