Lines Matching defs:ndev

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() local
565 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_peer_port_count() local
579 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_peer_port_number() local
600 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_peer_port_idx() local
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() local
923 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_link_enable() local
943 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_link_disable() local
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() local
1199 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_mw_get_align() local
1234 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_peer_mw_count() local
1255 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_peer_mw_get_addr() local
1290 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_peer_mw_set_trans() local
1359 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_peer_mw_clear_trans() local
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() local
1483 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_db_clear() local
1502 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_db_read_mask() local
1520 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_db_set_mask() local
1541 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_db_clear_mask() local
1562 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_peer_db_set() local
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() local
1695 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_msg_clear_sts() local
1714 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_msg_set_mask() local
1732 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_msg_clear_mask() local
1753 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_msg_read() local
1790 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_peer_msg_write() local
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() local
2000 struct idt_ntb_dev *ndev = dev_get_drvdata(dev); in idt_sysfs_set_temp() local
2034 struct idt_ntb_dev *ndev = dev_get_drvdata(dev); in idt_sysfs_reset_hist() local
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() local
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() local
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()
2602 struct idt_ntb_dev *ndev; in idt_create_dev() local
2637 static int idt_init_pci(struct idt_ntb_dev *ndev) in idt_init_pci()
2707 static void idt_deinit_pci(struct idt_ntb_dev *ndev) in idt_deinit_pci()
2738 struct idt_ntb_dev *ndev; in idt_pci_probe() local
2807 struct idt_ntb_dev *ndev = pci_get_drvdata(pdev); in idt_pci_remove() local