fbnic.h (a1ff5a7d78a036d6c2178ee5acd6ba4946243800) | fbnic.h (bd2557a554a0d61c81ef0c1aee2c16d02e225770) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* Copyright (c) Meta Platforms, Inc. and affiliates. */ 3 4#ifndef _FBNIC_H_ 5#define _FBNIC_H_ 6 7#include <linux/interrupt.h> 8#include <linux/io.h> --- 118 unchanged lines hidden (view full) --- 127void fbnic_pcs_irq_disable(struct fbnic_dev *fbd); 128 129int fbnic_request_irq(struct fbnic_dev *dev, int nr, irq_handler_t handler, 130 unsigned long flags, const char *name, void *data); 131void fbnic_free_irq(struct fbnic_dev *dev, int nr, void *data); 132void fbnic_free_irqs(struct fbnic_dev *fbd); 133int fbnic_alloc_irqs(struct fbnic_dev *fbd); 134 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* Copyright (c) Meta Platforms, Inc. and affiliates. */ 3 4#ifndef _FBNIC_H_ 5#define _FBNIC_H_ 6 7#include <linux/interrupt.h> 8#include <linux/io.h> --- 118 unchanged lines hidden (view full) --- 127void fbnic_pcs_irq_disable(struct fbnic_dev *fbd); 128 129int fbnic_request_irq(struct fbnic_dev *dev, int nr, irq_handler_t handler, 130 unsigned long flags, const char *name, void *data); 131void fbnic_free_irq(struct fbnic_dev *dev, int nr, void *data); 132void fbnic_free_irqs(struct fbnic_dev *fbd); 133int fbnic_alloc_irqs(struct fbnic_dev *fbd); 134 |
135void fbnic_get_fw_ver_commit_str(struct fbnic_dev *fbd, char *fw_version, 136 const size_t str_sz); 137 |
|
135enum fbnic_boards { 136 fbnic_board_asic 137}; 138 139struct fbnic_info { 140 unsigned int max_num_queues; 141 unsigned int bar_mask; 142}; 143 144#endif /* _FBNIC_H_ */ | 138enum fbnic_boards { 139 fbnic_board_asic 140}; 141 142struct fbnic_info { 143 unsigned int max_num_queues; 144 unsigned int bar_mask; 145}; 146 147#endif /* _FBNIC_H_ */ |