Searched refs:fun_dev (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/net/ethernet/fungible/funcore/ |
H A D | fun_dev.h | 12 struct fun_dev; 33 typedef void (*fun_admin_callback_t)(struct fun_dev *fdev, void *rsp, 37 typedef void (*fun_admin_event_cb)(struct fun_dev *fdev, void *cqe); 40 typedef void (*fun_serv_cb)(struct fun_dev *fd); 49 struct fun_dev { struct 103 static inline u32 __iomem *fun_db_addr(const struct fun_dev *fdev, in fun_db_addr() argument 112 static inline u32 __iomem *fun_sq_db_addr(const struct fun_dev *fdev, in fun_sq_db_addr() 118 static inline u32 __iomem *fun_cq_db_addr(const struct fun_dev *fdev, in fun_cq_db_addr() 124 int fun_get_res_count(struct fun_dev *fdev, enum fun_admin_op res); 125 int fun_res_destroy(struct fun_dev *fdev, enum fun_admin_op res, [all …]
|
H A D | fun_dev.c | 43 static int fun_wait_ready(struct fun_dev *fdev, bool enabled) in fun_wait_ready() 77 static int fun_check_csts_rdy(struct fun_dev *fdev, unsigned int expected_rdy) in fun_check_csts_rdy() 96 static int fun_update_cc_enable(struct fun_dev *fdev, unsigned int initial_rdy) in fun_update_cc_enable() 106 static int fun_disable_ctrl(struct fun_dev *fdev) in fun_disable_ctrl() 112 static int fun_enable_ctrl(struct fun_dev *fdev, u32 admin_cqesz_log2, in fun_enable_ctrl() 123 static int fun_map_bars(struct fun_dev *fdev, const char *name) in fun_map_bars() 145 static void fun_unmap_bars(struct fun_dev *fdev) in fun_unmap_bars() 177 struct fun_dev *fdev = funq->fdev; in fun_complete_admin_cmd() 209 static int fun_init_cmd_ctx(struct fun_dev *fdev, unsigned int ntags) in fun_init_cmd_ctx() 224 static int fun_enable_admin_queue(struct fun_dev *fdev, in fun_enable_admin_queue() [all …]
|
H A D | Makefile | 5 funcore-y := fun_dev.o fun_queue.o
|
/linux/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth.h | 45 struct fun_dev fdev; 60 static inline struct fun_ethdev *to_fun_ethdev(struct fun_dev *p) in to_fun_ethdev() 83 struct fun_dev *fdev;
|
H A D | funeth_main.c | 153 static int fun_adi_write(struct fun_dev *fdev, enum fun_admin_adi_attr attr, in fun_adi_write() 1218 struct fun_dev *fdev = fp->fdev; in fun_set_vf_mac() 1246 struct fun_dev *fdev = fp->fdev; in fun_set_vf_vlan() 1280 struct fun_dev *fdev = fp->fdev; in fun_set_vf_rate() 1709 struct fun_dev *fdev = &ed->fdev; in fun_create_netdev() 1837 struct fun_dev *fd = &ed->fdev; in fun_create_ports() 1913 static void fun_event_cb(struct fun_dev *fdev, void *entry) in fun_event_cb() 1940 static void fun_service_cb(struct fun_dev *fdev) in fun_service_cb() 1963 struct fun_dev *fdev = pci_get_drvdata(pdev); in funeth_sriov_configure() 2010 struct fun_dev *fdev; in funeth_probe() [all …]
|