Lines Matching refs:stmpconf

13801 	struct hwtstamp_config stmpconf;  in tg3_hwtstamp_set()  local
13806 if (copy_from_user(&stmpconf, ifr->ifr_data, sizeof(stmpconf))) in tg3_hwtstamp_set()
13809 if (stmpconf.tx_type != HWTSTAMP_TX_ON && in tg3_hwtstamp_set()
13810 stmpconf.tx_type != HWTSTAMP_TX_OFF) in tg3_hwtstamp_set()
13813 switch (stmpconf.rx_filter) { in tg3_hwtstamp_set()
13873 if (stmpconf.tx_type == HWTSTAMP_TX_ON) in tg3_hwtstamp_set()
13878 return copy_to_user(ifr->ifr_data, &stmpconf, sizeof(stmpconf)) ? in tg3_hwtstamp_set()
13885 struct hwtstamp_config stmpconf; in tg3_hwtstamp_get() local
13890 stmpconf.flags = 0; in tg3_hwtstamp_get()
13891 stmpconf.tx_type = (tg3_flag(tp, TX_TSTAMP_EN) ? in tg3_hwtstamp_get()
13896 stmpconf.rx_filter = HWTSTAMP_FILTER_NONE; in tg3_hwtstamp_get()
13899 stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V1_L4_EVENT; in tg3_hwtstamp_get()
13902 stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V1_L4_SYNC; in tg3_hwtstamp_get()
13905 stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ; in tg3_hwtstamp_get()
13908 stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in tg3_hwtstamp_get()
13911 stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V2_L2_EVENT; in tg3_hwtstamp_get()
13914 stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V2_L4_EVENT; in tg3_hwtstamp_get()
13917 stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V2_SYNC; in tg3_hwtstamp_get()
13920 stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V2_L2_SYNC; in tg3_hwtstamp_get()
13923 stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V2_L4_SYNC; in tg3_hwtstamp_get()
13926 stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V2_DELAY_REQ; in tg3_hwtstamp_get()
13929 stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V2_L2_DELAY_REQ; in tg3_hwtstamp_get()
13932 stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ; in tg3_hwtstamp_get()
13939 return copy_to_user(ifr->ifr_data, &stmpconf, sizeof(stmpconf)) ? in tg3_hwtstamp_get()