Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ptp.c545 struct kernel_hwtstamp_config *stmpconf, in bnxt_hwtstamp_set() argument
558 if (stmpconf->tx_type != HWTSTAMP_TX_ON && in bnxt_hwtstamp_set()
559 stmpconf->tx_type != HWTSTAMP_TX_OFF) in bnxt_hwtstamp_set()
565 switch (stmpconf->rx_filter) { in bnxt_hwtstamp_set()
598 if (stmpconf->tx_type == HWTSTAMP_TX_ON) in bnxt_hwtstamp_set()
607 stmpconf->rx_filter = ptp->rx_filter; in bnxt_hwtstamp_set()
618 struct kernel_hwtstamp_config *stmpconf) in bnxt_hwtstamp_get() argument
627 stmpconf->flags = 0; in bnxt_hwtstamp_get()
628 stmpconf->tx_type = ptp->tx_tstamp_en ? HWTSTAMP_TX_ON in bnxt_hwtstamp_get()
631 stmpconf->rx_filter = ptp->rx_filter; in bnxt_hwtstamp_get()
/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c13917 struct kernel_hwtstamp_config *stmpconf, in tg3_hwtstamp_set() argument
13925 if (stmpconf->tx_type != HWTSTAMP_TX_ON && in tg3_hwtstamp_set()
13926 stmpconf->tx_type != HWTSTAMP_TX_OFF) in tg3_hwtstamp_set()
13929 switch (stmpconf->rx_filter) { in tg3_hwtstamp_set()
13989 if (stmpconf->tx_type == HWTSTAMP_TX_ON) in tg3_hwtstamp_set()
13998 struct kernel_hwtstamp_config *stmpconf) in tg3_hwtstamp_get() argument
14005 stmpconf->flags = 0; in tg3_hwtstamp_get()
14006 stmpconf->tx_type = tg3_flag(tp, TX_TSTAMP_EN) ? in tg3_hwtstamp_get()
14011 stmpconf->rx_filter = HWTSTAMP_FILTER_NONE; in tg3_hwtstamp_get()
14014 stmpconf->rx_filter = HWTSTAMP_FILTER_PTP_V1_L4_EVENT; in tg3_hwtstamp_get()
[all …]