Home
last modified time | relevance | path

Searched refs:ts_cfg (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_ptp.c220 return copy_to_user(ifr->ifr_data, &hdev->ptp->ts_cfg, in hclge_ptp_get_cfg()
387 hdev->ptp->ts_cfg = cfg; in hclge_ptp_set_cfg()
468 ptp->ts_cfg.rx_filter = HWTSTAMP_FILTER_NONE; in hclge_ptp_create_clock()
469 ptp->ts_cfg.tx_type = HWTSTAMP_TX_OFF; in hclge_ptp_create_clock()
514 ret = hclge_ptp_set_ts_mode(hdev, &hdev->ptp->ts_cfg); in hclge_ptp_init()
550 ptp->ts_cfg.rx_filter = HWTSTAMP_FILTER_NONE; in hclge_ptp_uninit()
551 ptp->ts_cfg.tx_type = HWTSTAMP_TX_OFF; in hclge_ptp_uninit()
553 if (hclge_ptp_set_ts_mode(hdev, &ptp->ts_cfg)) in hclge_ptp_uninit()
Dhclge_ptp.h65 struct hwtstamp_config ts_cfg; member
Dhclge_debugfs.c2378 ptp->ts_cfg.tx_type, ptp->ts_cfg.rx_filter); in hclge_dbg_dump_ptp_info()