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_adjfreq() local
70 struct hclge_dev *hdev = vport->back; in hclge_ptp_set_tx_info() local
86 void hclge_ptp_clean_tx_hwts(struct hclge_dev *hdev) in hclge_ptp_clean_tx_hwts()
118 struct hclge_dev *hdev = vport->back; in hclge_ptp_get_rx_hwts() local
143 struct hclge_dev *hdev = hclge_ptp_get_hdev(ptp); in hclge_ptp_gettimex() local
163 struct hclge_dev *hdev = hclge_ptp_get_hdev(ptp); in hclge_ptp_settime() local
182 struct hclge_dev *hdev = hclge_ptp_get_hdev(ptp); in hclge_ptp_adjtime() local
215 int hclge_ptp_get_cfg(struct hclge_dev *hdev, struct ifreq *ifr) in hclge_ptp_get_cfg()
224 static int hclge_ptp_int_en(struct hclge_dev *hdev, bool en) in hclge_ptp_int_en()
243 int hclge_ptp_cfg_qry(struct hclge_dev *hdev, u32 *cfg) in hclge_ptp_cfg_qry()
263 static int hclge_ptp_cfg(struct hclge_dev *hdev, u32 cfg) in hclge_ptp_cfg()
342 static int hclge_ptp_set_ts_mode(struct hclge_dev *hdev, in hclge_ptp_set_ts_mode()
370 int hclge_ptp_set_cfg(struct hclge_dev *hdev, struct ifreq *ifr) in hclge_ptp_set_cfg()
396 struct hclge_dev *hdev = vport->back; in hclge_ptp_get_ts_info() local
434 static int hclge_ptp_create_clock(struct hclge_dev *hdev) in hclge_ptp_create_clock()
475 static void hclge_ptp_destroy_clock(struct hclge_dev *hdev) in hclge_ptp_destroy_clock()
483 int hclge_ptp_init(struct hclge_dev *hdev) in hclge_ptp_init()
540 void hclge_ptp_uninit(struct hclge_dev *hdev) in hclge_ptp_uninit()