Searched refs:stmpconf (Results 1 – 2 of 2) sorted by relevance
548 struct kernel_hwtstamp_config *stmpconf, in bnxt_hwtstamp_set() argument561 if (stmpconf->tx_type != HWTSTAMP_TX_ON && in bnxt_hwtstamp_set()562 stmpconf->tx_type != HWTSTAMP_TX_OFF) in bnxt_hwtstamp_set()568 switch (stmpconf->rx_filter) { in bnxt_hwtstamp_set()601 if (stmpconf->tx_type == HWTSTAMP_TX_ON) in bnxt_hwtstamp_set()610 stmpconf->rx_filter = ptp->rx_filter; in bnxt_hwtstamp_set()621 struct kernel_hwtstamp_config *stmpconf) in bnxt_hwtstamp_get() argument630 stmpconf->flags = 0; in bnxt_hwtstamp_get()631 stmpconf->tx_type = ptp->tx_tstamp_en ? HWTSTAMP_TX_ON in bnxt_hwtstamp_get()634 stmpconf->rx_filter = ptp->rx_filter; in bnxt_hwtstamp_get()
13917 struct kernel_hwtstamp_config *stmpconf, in tg3_hwtstamp_set() argument13925 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() argument14005 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 …]