Lines Matching defs:ndev
108 static int is_ntb_xeon(struct ntb_device *ndev) in is_ntb_xeon()
131 static int is_ntb_atom(struct ntb_device *ndev) in is_ntb_atom()
143 static void ntb_set_errata_flags(struct ntb_device *ndev) in ntb_set_errata_flags()
177 int ntb_register_event_callback(struct ntb_device *ndev, in ntb_register_event_callback()
195 void ntb_unregister_event_callback(struct ntb_device *ndev) in ntb_unregister_event_callback()
209 struct ntb_device *ndev = db_cb->ndev; in ntb_irq_work() local
231 int ntb_register_db_callback(struct ntb_device *ndev, unsigned int idx, in ntb_register_db_callback()
264 void ntb_unregister_db_callback(struct ntb_device *ndev, unsigned int idx) in ntb_unregister_db_callback()
291 struct ntb_device *ndev = pci_get_drvdata(pdev); in ntb_find_transport() local
306 struct ntb_device *ndev = pci_get_drvdata(pdev); in ntb_register_transport() local
322 void ntb_unregister_transport(struct ntb_device *ndev) in ntb_unregister_transport()
348 int ntb_write_local_spad(struct ntb_device *ndev, unsigned int idx, u32 val) in ntb_write_local_spad()
372 int ntb_read_local_spad(struct ntb_device *ndev, unsigned int idx, u32 *val) in ntb_read_local_spad()
397 int ntb_write_remote_spad(struct ntb_device *ndev, unsigned int idx, u32 val) in ntb_write_remote_spad()
421 int ntb_read_remote_spad(struct ntb_device *ndev, unsigned int idx, u32 *val) in ntb_read_remote_spad()
442 resource_size_t ntb_get_mw_base(struct ntb_device *ndev, unsigned int mw) in ntb_get_mw_base()
460 void __iomem *ntb_get_mw_vbase(struct ntb_device *ndev, unsigned int mw) in ntb_get_mw_vbase()
477 u64 ntb_get_mw_size(struct ntb_device *ndev, unsigned int mw) in ntb_get_mw_size()
495 void ntb_set_mw_addr(struct ntb_device *ndev, unsigned int mw, u64 addr) in ntb_set_mw_addr()
531 void ntb_ring_doorbell(struct ntb_device *ndev, unsigned int db) in ntb_ring_doorbell()
542 static void bwd_recover_link(struct ntb_device *ndev) in bwd_recover_link()
585 static void ntb_link_event(struct ntb_device *ndev, int link_state) in ntb_link_event()
626 static int ntb_link_status(struct ntb_device *ndev) in ntb_link_status()
660 struct ntb_device *ndev = container_of(work, struct ntb_device, in bwd_link_recovery() local
702 struct ntb_device *ndev = container_of(work, struct ntb_device, in bwd_link_poll() local
729 static int ntb_xeon_setup(struct ntb_device *ndev) in ntb_xeon_setup()
974 static int ntb_bwd_setup(struct ntb_device *ndev) in ntb_bwd_setup()
1030 static int ntb_device_setup(struct ntb_device *ndev) in ntb_device_setup()
1052 static void ntb_device_free(struct ntb_device *ndev) in ntb_device_free()
1063 struct ntb_device *ndev = db_cb->ndev; in bwd_callback_msix_irq() local
1088 struct ntb_device *ndev = db_cb->ndev; in xeon_callback_msix_irq() local
1114 struct ntb_device *ndev = dev; in xeon_event_msix_irq() local
1131 struct ntb_device *ndev = dev; in ntb_interrupt() local
1164 static int ntb_setup_snb_msix(struct ntb_device *ndev, int msix_entries) in ntb_setup_snb_msix()
1215 static int ntb_setup_bwd_msix(struct ntb_device *ndev, int msix_entries) in ntb_setup_bwd_msix()
1251 static int ntb_setup_msix(struct ntb_device *ndev) in ntb_setup_msix()
1292 static int ntb_setup_msi(struct ntb_device *ndev) in ntb_setup_msi()
1311 static int ntb_setup_intx(struct ntb_device *ndev) in ntb_setup_intx()
1329 static int ntb_setup_interrupts(struct ntb_device *ndev) in ntb_setup_interrupts()
1364 static void ntb_free_interrupts(struct ntb_device *ndev) in ntb_free_interrupts()
1395 static int ntb_create_callbacks(struct ntb_device *ndev) in ntb_create_callbacks()
1418 static void ntb_free_callbacks(struct ntb_device *ndev) in ntb_free_callbacks()
1431 struct ntb_device *ndev; in ntb_debugfs_read() local
1523 static void ntb_setup_debugfs(struct ntb_device *ndev) in ntb_setup_debugfs()
1540 static void ntb_free_debugfs(struct ntb_device *ndev) in ntb_free_debugfs()
1550 static void ntb_hw_link_up(struct ntb_device *ndev) in ntb_hw_link_up()
1570 static void ntb_hw_link_down(struct ntb_device *ndev) in ntb_hw_link_down()
1590 static void ntb_max_mw_detect(struct ntb_device *ndev) in ntb_max_mw_detect()
1598 static int ntb_xeon_detect(struct ntb_device *ndev) in ntb_xeon_detect()
1657 static int ntb_atom_detect(struct ntb_device *ndev) in ntb_atom_detect()
1688 static int ntb_device_detect(struct ntb_device *ndev) in ntb_device_detect()
1707 struct ntb_device *ndev; in ntb_pci_probe() local
1861 struct ntb_device *ndev = pci_get_drvdata(pdev); in ntb_pci_remove() local