Searched refs:fun_dev (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/net/ethernet/fungible/funcore/ |
H A D | fun_dev.h | 12 struct fun_dev; 40 typedef void (*fun_serv_cb)(struct fun_dev *fd); 49 struct fun_dev { struct 133 int fun_submit_admin_sync_cmd(struct fun_dev *fdev, 137 int fun_dev_enable(struct fun_dev *fdev, struct pci_dev *pdev, 139 void fun_dev_disable(struct fun_dev *fdev); 141 int fun_reserve_irqs(struct fun_dev *fdev, unsigned int nirqs, 143 void fun_release_irqs(struct fun_dev *fdev, unsigned int nirqs, 146 void fun_serv_stop(struct fun_dev *fd); 147 void fun_serv_restart(struct fun_dev *fd); [all …]
|
H A D | fun_dev.c | 106 static int fun_disable_ctrl(struct fun_dev *fdev) in fun_disable_ctrl() 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() 426 static void fun_admin_stop(struct fun_dev *fdev) in fun_admin_stop() 619 static int fun_alloc_irq_mgr(struct fun_dev *fdev) in fun_alloc_irq_mgr() 677 struct fun_dev *fd = container_of(work, struct fun_dev, service_task); in fun_serv_handler() 685 void fun_serv_stop(struct fun_dev *fd) in fun_serv_stop() 692 void fun_serv_restart(struct fun_dev *fd) in fun_serv_restart() 700 void fun_serv_sched(struct fun_dev *fd) in fun_serv_sched() 710 static int sanitize_dev(struct fun_dev *fdev) in sanitize_dev() [all …]
|
H A D | fun_queue.h | 10 struct fun_dev; 25 struct fun_dev *fdev; 132 int fun_sq_create(struct fun_dev *fdev, u16 flags, u32 sqid, u32 cqid, 137 int fun_cq_create(struct fun_dev *fdev, u16 flags, u32 cqid, u32 rqid, 154 struct fun_queue *fun_alloc_queue(struct fun_dev *fdev, int qid,
|
H A D | fun_queue.c | 75 int fun_sq_create(struct fun_dev *fdev, u16 flags, u32 sqid, u32 cqid, in fun_sq_create() 125 int fun_cq_create(struct fun_dev *fdev, u16 flags, u32 cqid, u32 rqid, in fun_cq_create() 171 struct fun_dev *fdev = funq->fdev; in fun_clean_rq() 405 struct fun_queue *fun_alloc_queue(struct fun_dev *fdev, int qid, in fun_alloc_queue() 488 struct fun_dev *fdev = funq->fdev; in fun_create_cq() 508 struct fun_dev *fdev = funq->fdev; in fun_create_sq() 525 struct fun_dev *fdev = funq->fdev; in fun_create_rq()
|
H A D | Makefile | 5 funcore-y := fun_dev.o fun_queue.o
|
/openbmc/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 …]
|