Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/broadcom/
Dtg3.c13787 struct hwtstamp_config stmpconf; in tg3_hwtstamp_set() local
13792 if (copy_from_user(&stmpconf, ifr->ifr_data, sizeof(stmpconf))) in tg3_hwtstamp_set()
13795 if (stmpconf.flags) in tg3_hwtstamp_set()
13798 if (stmpconf.tx_type != HWTSTAMP_TX_ON && in tg3_hwtstamp_set()
13799 stmpconf.tx_type != HWTSTAMP_TX_OFF) in tg3_hwtstamp_set()
13802 switch (stmpconf.rx_filter) { in tg3_hwtstamp_set()
13862 if (stmpconf.tx_type == HWTSTAMP_TX_ON) in tg3_hwtstamp_set()
13867 return copy_to_user(ifr->ifr_data, &stmpconf, sizeof(stmpconf)) ? in tg3_hwtstamp_set()
13874 struct hwtstamp_config stmpconf; in tg3_hwtstamp_get() local
13879 stmpconf.flags = 0; in tg3_hwtstamp_get()
[all …]