Lines Matching defs:nic
318 struct otx2_nic *nic;
619 static inline void __iomem *otx2_get_regaddr(struct otx2_nic *nic, u64 offset)
625 blkaddr = nic->nix_blkaddr;
638 return nic->reg_base + offset;
641 static inline void otx2_write64(struct otx2_nic *nic, u64 offset, u64 val)
643 void __iomem *addr = otx2_get_regaddr(nic, offset);
648 static inline u64 otx2_read64(struct otx2_nic *nic, u64 offset)
650 void __iomem *addr = otx2_get_regaddr(nic, offset);
1072 int otx2_init_tc(struct otx2_nic *nic);
1073 void otx2_shutdown_tc(struct otx2_nic *nic);
1076 void otx2_tc_apply_ingress_police_rules(struct otx2_nic *nic);