stmpconf 13849 drivers/net/ethernet/broadcom/tg3.c struct hwtstamp_config stmpconf; stmpconf 13854 drivers/net/ethernet/broadcom/tg3.c if (copy_from_user(&stmpconf, ifr->ifr_data, sizeof(stmpconf))) stmpconf 13857 drivers/net/ethernet/broadcom/tg3.c if (stmpconf.flags) stmpconf 13860 drivers/net/ethernet/broadcom/tg3.c if (stmpconf.tx_type != HWTSTAMP_TX_ON && stmpconf 13861 drivers/net/ethernet/broadcom/tg3.c stmpconf.tx_type != HWTSTAMP_TX_OFF) stmpconf 13864 drivers/net/ethernet/broadcom/tg3.c switch (stmpconf.rx_filter) { stmpconf 13924 drivers/net/ethernet/broadcom/tg3.c if (stmpconf.tx_type == HWTSTAMP_TX_ON) stmpconf 13929 drivers/net/ethernet/broadcom/tg3.c return copy_to_user(ifr->ifr_data, &stmpconf, sizeof(stmpconf)) ? stmpconf 13936 drivers/net/ethernet/broadcom/tg3.c struct hwtstamp_config stmpconf; stmpconf 13941 drivers/net/ethernet/broadcom/tg3.c stmpconf.flags = 0; stmpconf 13942 drivers/net/ethernet/broadcom/tg3.c stmpconf.tx_type = (tg3_flag(tp, TX_TSTAMP_EN) ? stmpconf 13947 drivers/net/ethernet/broadcom/tg3.c stmpconf.rx_filter = HWTSTAMP_FILTER_NONE; stmpconf 13950 drivers/net/ethernet/broadcom/tg3.c stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V1_L4_EVENT; stmpconf 13953 drivers/net/ethernet/broadcom/tg3.c stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V1_L4_SYNC; stmpconf 13956 drivers/net/ethernet/broadcom/tg3.c stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ; stmpconf 13959 drivers/net/ethernet/broadcom/tg3.c stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; stmpconf 13962 drivers/net/ethernet/broadcom/tg3.c stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V2_L2_EVENT; stmpconf 13965 drivers/net/ethernet/broadcom/tg3.c stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V2_L4_EVENT; stmpconf 13968 drivers/net/ethernet/broadcom/tg3.c stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V2_SYNC; stmpconf 13971 drivers/net/ethernet/broadcom/tg3.c stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V2_L2_SYNC; stmpconf 13974 drivers/net/ethernet/broadcom/tg3.c stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V2_L4_SYNC; stmpconf 13977 drivers/net/ethernet/broadcom/tg3.c stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V2_DELAY_REQ; stmpconf 13980 drivers/net/ethernet/broadcom/tg3.c stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V2_L2_DELAY_REQ; stmpconf 13983 drivers/net/ethernet/broadcom/tg3.c stmpconf.rx_filter = HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ; stmpconf 13990 drivers/net/ethernet/broadcom/tg3.c return copy_to_user(ifr->ifr_data, &stmpconf, sizeof(stmpconf)) ?