Home
last modified time | relevance | path

Searched refs:stmpconf (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ptp.c539 struct hwtstamp_config stmpconf; in bnxt_hwtstamp_set() local
549 if (copy_from_user(&stmpconf, ifr->ifr_data, sizeof(stmpconf))) in bnxt_hwtstamp_set()
552 if (stmpconf.tx_type != HWTSTAMP_TX_ON && in bnxt_hwtstamp_set()
553 stmpconf.tx_type != HWTSTAMP_TX_OFF) in bnxt_hwtstamp_set()
559 switch (stmpconf.rx_filter) { in bnxt_hwtstamp_set()
592 if (stmpconf.tx_type == HWTSTAMP_TX_ON) in bnxt_hwtstamp_set()
601 stmpconf.rx_filter = ptp->rx_filter; in bnxt_hwtstamp_set()
602 return copy_to_user(ifr->ifr_data, &stmpconf, sizeof(stmpconf)) in bnxt_hwtstamp_set()
615 struct hwtstamp_config stmpconf; bnxt_hwtstamp_get() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
H A Dtg3.c13887 struct hwtstamp_config stmpconf; in tg3_hwtstamp_set() local
13892 if (copy_from_user(&stmpconf, ifr->ifr_data, sizeof(stmpconf))) in tg3_hwtstamp_set()
13895 if (stmpconf.flags) in tg3_hwtstamp_set()
13898 if (stmpconf.tx_type != HWTSTAMP_TX_ON && in tg3_hwtstamp_set()
13899 stmpconf.tx_type != HWTSTAMP_TX_OFF) in tg3_hwtstamp_set()
13902 switch (stmpconf.rx_filter) { in tg3_hwtstamp_set()
13962 if (stmpconf.tx_type == HWTSTAMP_TX_ON) in tg3_hwtstamp_set()
13967 return copy_to_user(ifr->ifr_data, &stmpconf, sizeof(stmpconf)) in tg3_hwtstamp_set()
13974 struct hwtstamp_config stmpconf; tg3_hwtstamp_get() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/
H A Dtg3.c13836 struct hwtstamp_config stmpconf; in tg3_hwtstamp_set() local
13841 if (copy_from_user(&stmpconf, ifr->ifr_data, sizeof(stmpconf))) in tg3_hwtstamp_set()
13844 if (stmpconf.tx_type != HWTSTAMP_TX_ON && in tg3_hwtstamp_set()
13845 stmpconf.tx_type != HWTSTAMP_TX_OFF) in tg3_hwtstamp_set()
13848 switch (stmpconf.rx_filter) { in tg3_hwtstamp_set()
13908 if (stmpconf.tx_type == HWTSTAMP_TX_ON) in tg3_hwtstamp_set()
13913 return copy_to_user(ifr->ifr_data, &stmpconf, sizeof(stmpconf)) ? in tg3_hwtstamp_set()
13920 struct hwtstamp_config stmpconf; in tg3_hwtstamp_get() local
[all...]

Completed in 34 milliseconds