Lines Matching defs:dsaf_device

212 	struct dsaf_device *dsaf_dev;
305 void (*dsaf_reset)(struct dsaf_device *dsaf_dev, bool dereset);
306 void (*xge_srst)(struct dsaf_device *dsaf_dev, u32 port, bool dereset);
307 void (*ge_srst)(struct dsaf_device *dsaf_dev, u32 port, bool dereset);
308 void (*ppe_srst)(struct dsaf_device *dsaf_dev, u32 port, bool dereset);
309 void (*ppe_comm_srst)(struct dsaf_device *dsaf_dev, bool dereset);
310 void (*hns_dsaf_srst_chns)(struct dsaf_device *dsaf_dev, u32 msk,
312 void (*hns_dsaf_roce_srst)(struct dsaf_device *dsaf_dev, bool dereset);
321 struct dsaf_device {
353 static inline void *hns_dsaf_dev_priv(const struct dsaf_device *dsaf_dev)
395 static inline void hns_dsaf_tbl_tcam_addr_cfg(struct dsaf_device *dsaf_dev,
403 static inline void hns_dsaf_tbl_tcam_load_pul(struct dsaf_device *dsaf_dev)
414 static inline void hns_dsaf_tbl_line_addr_cfg(struct dsaf_device *dsaf_dev,
428 int hns_dsaf_set_mac_uc_entry(struct dsaf_device *dsaf_dev,
430 int hns_dsaf_add_mac_mc_port(struct dsaf_device *dsaf_dev,
432 int hns_dsaf_del_mac_entry(struct dsaf_device *dsaf_dev, u16 vlan_id,
434 int hns_dsaf_del_mac_mc_port(struct dsaf_device *dsaf_dev,
438 int hns_dsaf_ae_init(struct dsaf_device *dsaf_dev);
439 void hns_dsaf_ae_uninit(struct dsaf_device *dsaf_dev);
441 void hns_dsaf_update_stats(struct dsaf_device *dsaf_dev, u32 inode_num);
443 int hns_dsaf_get_sset_count(struct dsaf_device *dsaf_dev, int stringset);
444 void hns_dsaf_get_stats(struct dsaf_device *ddev, u64 *data, int port);
446 struct dsaf_device *dsaf_dev);
448 void hns_dsaf_get_regs(struct dsaf_device *ddev, u32 port, void *data);
450 void hns_dsaf_set_promisc_mode(struct dsaf_device *dsaf_dev, u32 en);
451 void hns_dsaf_set_promisc_tcam(struct dsaf_device *dsaf_dev,
454 void hns_dsaf_get_rx_mac_pause_en(struct dsaf_device *dsaf_dev, int mac_id,
456 int hns_dsaf_set_rx_mac_pause_en(struct dsaf_device *dsaf_dev, int mac_id,
459 struct dsaf_device *dsaf_dev,
462 int hns_dsaf_clr_mac_mc_port(struct dsaf_device *dsaf_dev,
464 int hns_dsaf_wait_pkt_clean(struct dsaf_device *dsaf_dev, int port);