Searched refs:ntb_softc (Results 1 – 3 of 3) sorted by relevance
| /trueos/sys/dev/ntb/ntb_hw/ |
| HD | ntb_hw.h | 32 struct ntb_softc; 50 int ntb_register_event_callback(struct ntb_softc *ntb, ntb_event_callback func); 51 void ntb_unregister_event_callback(struct ntb_softc *ntb); 52 int ntb_register_db_callback(struct ntb_softc *ntb, unsigned int idx, 54 void ntb_unregister_db_callback(struct ntb_softc *ntb, unsigned int idx); 55 void *ntb_find_transport(struct ntb_softc *ntb); 56 struct ntb_softc *ntb_register_transport(struct ntb_softc *ntb, 58 void ntb_unregister_transport(struct ntb_softc *ntb); 59 int ntb_get_max_spads(struct ntb_softc *ntb); 60 int ntb_write_local_spad(struct ntb_softc *ntb, unsigned int idx, uint32_t val); [all …]
|
| HD | ntb_hw.c | 72 #define DEVICE2SOFTC(dev) ((struct ntb_softc *) device_get_softc(dev)) 113 struct ntb_softc *ntb; 116 struct ntb_softc { struct 170 typedef int (*bar_map_strategy)(struct ntb_softc *ntb, argument 176 static int ntb_map_pci_bars(struct ntb_softc *ntb); 177 static int map_pci_bar(struct ntb_softc *ntb, bar_map_strategy strategy, 179 static int map_mmr_bar(struct ntb_softc *ntb, struct ntb_pci_bar_info *bar); 180 static int map_memory_window_bar(struct ntb_softc *ntb, 182 static void ntb_unmap_pci_bar(struct ntb_softc *ntb); 183 static int ntb_setup_interrupts(struct ntb_softc *ntb); [all …]
|
| /trueos/sys/dev/ntb/if_ntb/ |
| HD | if_ntb.c | 101 struct ntb_softc *ntb; 168 struct ntb_softc *ntb; 220 static int ntb_transport_init(struct ntb_softc *ntb); 226 struct ntb_softc *pdev, const struct ntb_queue_handlers *handlers); 359 struct ntb_netdev *ntb_softc = arg; in ntb_net_init() local 360 struct ifnet *ifp = ntb_softc->ifp; in ntb_net_init() 458 ntb_transport_init(struct ntb_softc *ntb) in ntb_transport_init() 501 struct ntb_softc *ntb = nt->ntb; in ntb_transport_free() 610 ntb_transport_create_queue(void *data, struct ntb_softc *pdev, in ntb_transport_create_queue() 1020 struct ntb_softc *ntb = nt->ntb; in ntb_transport_link_work() [all …]
|