Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ptp.c564 struct kernel_hwtstamp_config *stmpconf, in bnxt_hwtstamp_set() argument
577 if (stmpconf->tx_type != HWTSTAMP_TX_ON && in bnxt_hwtstamp_set()
578 stmpconf->tx_type != HWTSTAMP_TX_OFF) in bnxt_hwtstamp_set()
584 switch (stmpconf->rx_filter) { in bnxt_hwtstamp_set()
617 if (stmpconf->tx_type == HWTSTAMP_TX_ON) in bnxt_hwtstamp_set()
626 stmpconf->rx_filter = ptp->rx_filter; in bnxt_hwtstamp_set()
637 struct kernel_hwtstamp_config *stmpconf) in bnxt_hwtstamp_get() argument
646 stmpconf->flags = 0; in bnxt_hwtstamp_get()
647 stmpconf->tx_type = ptp->tx_tstamp_en ? HWTSTAMP_TX_ON in bnxt_hwtstamp_get()
650 stmpconf->rx_filter = ptp->rx_filter; in bnxt_hwtstamp_get()
/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c13918 struct kernel_hwtstamp_config *stmpconf, in tg3_hwtstamp_set() argument
13926 if (stmpconf->tx_type != HWTSTAMP_TX_ON && in tg3_hwtstamp_set()
13927 stmpconf->tx_type != HWTSTAMP_TX_OFF) in tg3_hwtstamp_set()
13930 switch (stmpconf->rx_filter) { in tg3_hwtstamp_set()
13990 if (stmpconf->tx_type == HWTSTAMP_TX_ON) in tg3_hwtstamp_set()
13999 struct kernel_hwtstamp_config *stmpconf) in tg3_hwtstamp_get() argument
14006 stmpconf->flags = 0; in tg3_hwtstamp_get()
14007 stmpconf->tx_type = tg3_flag(tp, TX_TSTAMP_EN) ? in tg3_hwtstamp_get()
14012 stmpconf->rx_filter = HWTSTAMP_FILTER_NONE; in tg3_hwtstamp_get()
14015 stmpconf->rx_filter = HWTSTAMP_FILTER_PTP_V1_L4_EVENT; in tg3_hwtstamp_get()
[all …]