Home
last modified time | relevance | path

Searched refs:stmpconf (Results 1 – 3 of 3) 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()
H A Dbnxt_ptp.h164 struct kernel_hwtstamp_config *stmpconf,
167 struct kernel_hwtstamp_config *stmpconf);
/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 …]