Lines Matching refs:nic
296 struct otx2_nic *nic; member
592 static inline void __iomem *otx2_get_regaddr(struct otx2_nic *nic, u64 offset) in otx2_get_regaddr() argument
598 blkaddr = nic->nix_blkaddr; in otx2_get_regaddr()
611 return nic->reg_base + offset; in otx2_get_regaddr()
614 static inline void otx2_write64(struct otx2_nic *nic, u64 offset, u64 val) in otx2_write64() argument
616 void __iomem *addr = otx2_get_regaddr(nic, offset); in otx2_write64()
621 static inline u64 otx2_read64(struct otx2_nic *nic, u64 offset) in otx2_read64() argument
623 void __iomem *addr = otx2_get_regaddr(nic, offset); in otx2_read64()
1005 int otx2_init_tc(struct otx2_nic *nic);
1006 void otx2_shutdown_tc(struct otx2_nic *nic);
1009 int otx2_tc_alloc_ent_bitmap(struct otx2_nic *nic);