Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_ptp.c535 struct hwtstamp_config stmpconf; in bnxt_hwtstamp_set() local
545 if (copy_from_user(&stmpconf, ifr->ifr_data, sizeof(stmpconf))) in bnxt_hwtstamp_set()
549 stmpconf.tx_type != HWTSTAMP_TX_OFF) in bnxt_hwtstamp_set()
555 switch (stmpconf.rx_filter) { in bnxt_hwtstamp_set()
588 if (stmpconf.tx_type == HWTSTAMP_TX_ON) in bnxt_hwtstamp_set()
597 stmpconf.rx_filter = ptp->rx_filter; in bnxt_hwtstamp_set()
598 return copy_to_user(ifr->ifr_data, &stmpconf, sizeof(stmpconf)) ? in bnxt_hwtstamp_set()
611 struct hwtstamp_config stmpconf; in bnxt_hwtstamp_get() local
618 stmpconf.flags = 0; in bnxt_hwtstamp_get()
621 stmpconf.rx_filter = ptp->rx_filter; in bnxt_hwtstamp_get()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/broadcom/
A Dtg3.c13793 struct hwtstamp_config stmpconf; in tg3_hwtstamp_set() local
13798 if (copy_from_user(&stmpconf, ifr->ifr_data, sizeof(stmpconf))) in tg3_hwtstamp_set()
13801 if (stmpconf.tx_type != HWTSTAMP_TX_ON && in tg3_hwtstamp_set()
13802 stmpconf.tx_type != HWTSTAMP_TX_OFF) in tg3_hwtstamp_set()
13805 switch (stmpconf.rx_filter) { in tg3_hwtstamp_set()
13865 if (stmpconf.tx_type == HWTSTAMP_TX_ON) in tg3_hwtstamp_set()
13870 return copy_to_user(ifr->ifr_data, &stmpconf, sizeof(stmpconf)) ? in tg3_hwtstamp_set()
13877 struct hwtstamp_config stmpconf; in tg3_hwtstamp_get() local
13882 stmpconf.flags = 0; in tg3_hwtstamp_get()
13888 stmpconf.rx_filter = HWTSTAMP_FILTER_NONE; in tg3_hwtstamp_get()
[all …]

Completed in 26 milliseconds