Lines Matching refs:fbnic_dev
18 struct fbnic_dev { struct
67 static inline bool fbnic_present(struct fbnic_dev *fbd) in fbnic_present() argument
72 static inline void fbnic_wr32(struct fbnic_dev *fbd, u32 reg, u32 val) in fbnic_wr32()
80 u32 fbnic_rd32(struct fbnic_dev *fbd, u32 reg);
82 static inline void fbnic_wrfl(struct fbnic_dev *fbd) in fbnic_wrfl()
88 fbnic_rmw32(struct fbnic_dev *fbd, u32 reg, u32 mask, u32 val) in fbnic_rmw32()
102 bool fbnic_fw_present(struct fbnic_dev *fbd);
103 u32 fbnic_fw_rd32(struct fbnic_dev *fbd, u32 reg);
104 void fbnic_fw_wr32(struct fbnic_dev *fbd, u32 reg, u32 val);
110 static inline bool fbnic_bmc_present(struct fbnic_dev *fbd) in fbnic_bmc_present()
115 static inline bool fbnic_init_failure(struct fbnic_dev *fbd) in fbnic_init_failure()
122 void fbnic_devlink_free(struct fbnic_dev *fbd);
123 struct fbnic_dev *fbnic_devlink_alloc(struct pci_dev *pdev);
124 void fbnic_devlink_register(struct fbnic_dev *fbd);
125 void fbnic_devlink_unregister(struct fbnic_dev *fbd);
127 int fbnic_fw_enable_mbx(struct fbnic_dev *fbd);
128 void fbnic_fw_disable_mbx(struct fbnic_dev *fbd);
130 int fbnic_pcs_irq_enable(struct fbnic_dev *fbd);
131 void fbnic_pcs_irq_disable(struct fbnic_dev *fbd);
133 int fbnic_request_irq(struct fbnic_dev *dev, int nr, irq_handler_t handler,
135 void fbnic_free_irq(struct fbnic_dev *dev, int nr, void *data);
136 void fbnic_free_irqs(struct fbnic_dev *fbd);
137 int fbnic_alloc_irqs(struct fbnic_dev *fbd);
139 void fbnic_get_fw_ver_commit_str(struct fbnic_dev *fbd, char *fw_version,