Lines Matching defs:ndev
76 static int ndev_mw_to_bar(struct amd_ntb_dev *ndev, int idx) in ndev_mw_to_bar()
97 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_mw_get_align() local
122 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_mw_set_trans() local
198 static int amd_ntb_get_link_status(struct amd_ntb_dev *ndev) in amd_ntb_get_link_status()
246 static int amd_link_is_up(struct amd_ntb_dev *ndev) in amd_link_is_up()
317 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_link_is_up() local
345 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_link_enable() local
361 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_link_disable() local
384 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_peer_mw_get_addr() local
412 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_db_vector_mask() local
422 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_db_read() local
430 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_db_clear() local
440 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_db_set_mask() local
457 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_db_clear_mask() local
474 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_peer_db_set() local
489 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_spad_read() local
503 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_spad_write() local
518 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_peer_spad_read() local
532 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_peer_spad_write() local
569 static void amd_ack_smu(struct amd_ntb_dev *ndev, u32 bit) in amd_ack_smu()
579 static void amd_handle_event(struct amd_ntb_dev *ndev, int vec) in amd_handle_event()
650 static void amd_handle_db_event(struct amd_ntb_dev *ndev, int vec) in amd_handle_db_event()
680 static irqreturn_t ndev_interrupt(struct amd_ntb_dev *ndev, int vec) in ndev_interrupt()
704 struct amd_ntb_dev *ndev = dev; in ndev_irq_isr() local
709 static int ndev_init_isr(struct amd_ntb_dev *ndev, in ndev_init_isr()
810 static void ndev_deinit_isr(struct amd_ntb_dev *ndev) in ndev_deinit_isr()
841 struct amd_ntb_dev *ndev; in ndev_debugfs_read() local
935 static void ndev_init_debugfs(struct amd_ntb_dev *ndev) in ndev_init_debugfs()
951 static void ndev_deinit_debugfs(struct amd_ntb_dev *ndev) in ndev_deinit_debugfs()
956 static inline void ndev_init_struct(struct amd_ntb_dev *ndev, in ndev_init_struct()
966 static int amd_poll_link(struct amd_ntb_dev *ndev) in amd_poll_link()
985 struct amd_ntb_dev *ndev = hb_ndev(work); in amd_link_hb() local
994 static int amd_init_isr(struct amd_ntb_dev *ndev) in amd_init_isr()
999 static void amd_set_side_info_reg(struct amd_ntb_dev *ndev, bool peer) in amd_set_side_info_reg()
1016 static void amd_clear_side_info_reg(struct amd_ntb_dev *ndev, bool peer) in amd_clear_side_info_reg()
1034 static void amd_init_side_info(struct amd_ntb_dev *ndev) in amd_init_side_info()
1046 static void amd_deinit_side_info(struct amd_ntb_dev *ndev) in amd_deinit_side_info()
1058 static int amd_init_ntb(struct amd_ntb_dev *ndev) in amd_init_ntb()
1094 static enum ntb_topo amd_get_topo(struct amd_ntb_dev *ndev) in amd_get_topo()
1106 static int amd_init_dev(struct amd_ntb_dev *ndev) in amd_init_dev()
1152 static void amd_deinit_dev(struct amd_ntb_dev *ndev) in amd_deinit_dev()
1159 static int amd_ntb_init_pci(struct amd_ntb_dev *ndev, in amd_ntb_init_pci()
1202 static void amd_ntb_deinit_pci(struct amd_ntb_dev *ndev) in amd_ntb_deinit_pci()
1216 struct amd_ntb_dev *ndev; in amd_ntb_pci_probe() local
1267 struct amd_ntb_dev *ndev = pci_get_drvdata(pdev); in amd_ntb_pci_remove() local
1285 struct amd_ntb_dev *ndev = pci_get_drvdata(pdev); in amd_ntb_pci_shutdown() local