Lines Matching refs:idt_ntb_dev
299 static void idt_nt_write(struct idt_ntb_dev *ndev, in idt_nt_write()
322 static u32 idt_nt_read(struct idt_ntb_dev *ndev, const unsigned int reg) in idt_nt_read()
343 static void idt_sw_write(struct idt_ntb_dev *ndev, in idt_sw_write()
374 static u32 idt_sw_read(struct idt_ntb_dev *ndev, const unsigned int reg) in idt_sw_read()
414 static inline int idt_reg_set_bits(struct idt_ntb_dev *ndev, unsigned int reg, in idt_reg_set_bits()
450 static inline void idt_reg_clear_bits(struct idt_ntb_dev *ndev, in idt_reg_clear_bits()
480 static int idt_scan_ports(struct idt_ntb_dev *ndev) in idt_scan_ports()
550 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_port_number()
565 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_peer_port_count()
579 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_peer_port_number()
600 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_peer_port_idx()
621 static void idt_ntb_local_link_disable(struct idt_ntb_dev *ndev);
635 static void idt_init_link(struct idt_ntb_dev *ndev) in idt_init_link()
681 static void idt_deinit_link(struct idt_ntb_dev *ndev) in idt_deinit_link()
699 static void idt_se_isr(struct idt_ntb_dev *ndev, u32 ntint_sts) in idt_se_isr()
730 static void idt_ntb_local_link_enable(struct idt_ntb_dev *ndev) in idt_ntb_local_link_enable()
767 static void idt_ntb_local_link_disable(struct idt_ntb_dev *ndev) in idt_ntb_local_link_disable()
798 static bool idt_ntb_local_link_is_up(struct idt_ntb_dev *ndev) in idt_ntb_local_link_is_up()
835 static bool idt_ntb_peer_link_is_up(struct idt_ntb_dev *ndev, int pidx) in idt_ntb_peer_link_is_up()
882 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_link_is_up()
923 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_link_enable()
943 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_link_disable()
1041 static struct idt_mw_cfg *idt_scan_mws(struct idt_ntb_dev *ndev, int port, in idt_scan_mws()
1127 static int idt_init_mws(struct idt_ntb_dev *ndev) in idt_init_mws()
1172 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_mw_count()
1199 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_mw_get_align()
1234 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_peer_mw_count()
1255 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_peer_mw_get_addr()
1290 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_peer_mw_set_trans()
1359 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_peer_mw_clear_trans()
1426 static void idt_db_isr(struct idt_ntb_dev *ndev, u32 ntint_sts) in idt_db_isr()
1463 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_db_read()
1483 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_db_clear()
1502 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_db_read_mask()
1520 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_db_set_mask()
1541 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_db_clear_mask()
1562 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_peer_db_set()
1588 static void idt_init_msg(struct idt_ntb_dev *ndev) in idt_init_msg()
1609 static void idt_msg_isr(struct idt_ntb_dev *ndev, u32 ntint_sts) in idt_msg_isr()
1675 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_msg_read_sts()
1695 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_msg_clear_sts()
1714 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_msg_set_mask()
1732 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_msg_clear_mask()
1753 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_msg_read()
1790 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_peer_msg_write()
1889 static void idt_read_temp(struct idt_ntb_dev *ndev, in idt_read_temp()
1930 static void idt_write_temp(struct idt_ntb_dev *ndev, in idt_write_temp()
1978 struct idt_ntb_dev *ndev = dev_get_drvdata(dev); in idt_sysfs_show_temp()
2000 struct idt_ntb_dev *ndev = dev_get_drvdata(dev); in idt_sysfs_set_temp()
2034 struct idt_ntb_dev *ndev = dev_get_drvdata(dev); in idt_sysfs_reset_hist()
2080 static void idt_init_temp(struct idt_ntb_dev *ndev) in idt_init_temp()
2125 static int idt_init_isr(struct idt_ntb_dev *ndev) in idt_init_isr()
2174 static void idt_deinit_isr(struct idt_ntb_dev *ndev) in idt_deinit_isr()
2203 struct idt_ntb_dev *ndev = devid; in idt_thread_isr()
2279 static int idt_register_device(struct idt_ntb_dev *ndev) in idt_register_device()
2302 static void idt_unregister_device(struct idt_ntb_dev *ndev) in idt_unregister_device()
2337 struct idt_ntb_dev *ndev = filp->private_data; in idt_dbgfs_info_read()
2507 static int idt_init_dbgfs(struct idt_ntb_dev *ndev) in idt_init_dbgfs()
2537 static void idt_deinit_dbgfs(struct idt_ntb_dev *ndev) in idt_deinit_dbgfs()
2599 static struct idt_ntb_dev *idt_create_dev(struct pci_dev *pdev, in idt_create_dev()
2602 struct idt_ntb_dev *ndev; in idt_create_dev()
2637 static int idt_init_pci(struct idt_ntb_dev *ndev) in idt_init_pci()
2703 static void idt_deinit_pci(struct idt_ntb_dev *ndev) in idt_deinit_pci()
2731 struct idt_ntb_dev *ndev; in idt_pci_probe()
2800 struct idt_ntb_dev *ndev = pci_get_drvdata(pdev); in idt_pci_remove()