Lines Matching defs:hdev

8 static int hclge_ptp_get_cycle(struct hclge_dev *hdev)  in hclge_ptp_get_cycle()
27 struct hclge_dev *hdev = hclge_ptp_get_hdev(ptp); in hclge_ptp_adjfine() local
58 struct hclge_dev *hdev = vport->back; in hclge_ptp_set_tx_info() local
77 void hclge_ptp_clean_tx_hwts(struct hclge_dev *hdev) in hclge_ptp_clean_tx_hwts()
109 struct hclge_dev *hdev = vport->back; in hclge_ptp_get_rx_hwts() local
134 struct hclge_dev *hdev = hclge_ptp_get_hdev(ptp); in hclge_ptp_gettimex() local
154 struct hclge_dev *hdev = hclge_ptp_get_hdev(ptp); in hclge_ptp_settime() local
173 struct hclge_dev *hdev = hclge_ptp_get_hdev(ptp); in hclge_ptp_adjtime() local
206 int hclge_ptp_get_cfg(struct hclge_dev *hdev, struct ifreq *ifr) in hclge_ptp_get_cfg()
215 static int hclge_ptp_int_en(struct hclge_dev *hdev, bool en) in hclge_ptp_int_en()
234 int hclge_ptp_cfg_qry(struct hclge_dev *hdev, u32 *cfg) in hclge_ptp_cfg_qry()
254 static int hclge_ptp_cfg(struct hclge_dev *hdev, u32 cfg) in hclge_ptp_cfg()
333 static int hclge_ptp_set_ts_mode(struct hclge_dev *hdev, in hclge_ptp_set_ts_mode()
361 int hclge_ptp_set_cfg(struct hclge_dev *hdev, struct ifreq *ifr) in hclge_ptp_set_cfg()
387 struct hclge_dev *hdev = vport->back; in hclge_ptp_get_ts_info() local
421 static int hclge_ptp_create_clock(struct hclge_dev *hdev) in hclge_ptp_create_clock()
462 static void hclge_ptp_destroy_clock(struct hclge_dev *hdev) in hclge_ptp_destroy_clock()
470 int hclge_ptp_init(struct hclge_dev *hdev) in hclge_ptp_init()
527 void hclge_ptp_uninit(struct hclge_dev *hdev) in hclge_ptp_uninit()