Lines Matching refs:stmpconf

13847 	struct hwtstamp_config stmpconf;  in tg3_hwtstamp_set()  local
13852 if (copy_from_user(&stmpconf, ifr->ifr_data, sizeof(stmpconf))) in tg3_hwtstamp_set()
13855 if (stmpconf.flags) in tg3_hwtstamp_set()
13858 if (stmpconf.tx_type != HWTSTAMP_TX_ON && in tg3_hwtstamp_set()
13859 stmpconf.tx_type != HWTSTAMP_TX_OFF) in tg3_hwtstamp_set()
13862 switch (stmpconf.rx_filter) { in tg3_hwtstamp_set()
13922 if (stmpconf.tx_type == HWTSTAMP_TX_ON) in tg3_hwtstamp_set()
13927 return copy_to_user(ifr->ifr_data, &stmpconf, sizeof(stmpconf)) ? in tg3_hwtstamp_set()
13934 struct hwtstamp_config stmpconf; in tg3_hwtstamp_get() local
13939 stmpconf.flags = 0; in tg3_hwtstamp_get()
13940 stmpconf.tx_type = (tg3_flag(tp, TX_TSTAMP_EN) ? in tg3_hwtstamp_get()
13945 stmpconf.rx_filter = HWTSTAMP_FILTER_NONE; in tg3_hwtstamp_get()
13948 stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V1_L4_EVENT; in tg3_hwtstamp_get()
13951 stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V1_L4_SYNC; in tg3_hwtstamp_get()
13954 stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ; in tg3_hwtstamp_get()
13957 stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in tg3_hwtstamp_get()
13960 stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V2_L2_EVENT; in tg3_hwtstamp_get()
13963 stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V2_L4_EVENT; in tg3_hwtstamp_get()
13966 stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V2_SYNC; in tg3_hwtstamp_get()
13969 stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V2_L2_SYNC; in tg3_hwtstamp_get()
13972 stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V2_L4_SYNC; in tg3_hwtstamp_get()
13975 stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V2_DELAY_REQ; in tg3_hwtstamp_get()
13978 stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V2_L2_DELAY_REQ; in tg3_hwtstamp_get()
13981 stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ; in tg3_hwtstamp_get()
13988 return copy_to_user(ifr->ifr_data, &stmpconf, sizeof(stmpconf)) ? in tg3_hwtstamp_get()