ntb_dev 403 drivers/net/ntb_netdev.c struct ntb_dev *ntb; ntb_dev 101 drivers/ntb/core.c int ntb_register_device(struct ntb_dev *ntb) ntb_dev 127 drivers/ntb/core.c void ntb_unregister_device(struct ntb_dev *ntb) ntb_dev 134 drivers/ntb/core.c int ntb_set_ctx(struct ntb_dev *ntb, void *ctx, ntb_dev 155 drivers/ntb/core.c void ntb_clear_ctx(struct ntb_dev *ntb) ntb_dev 168 drivers/ntb/core.c void ntb_link_event(struct ntb_dev *ntb) ntb_dev 181 drivers/ntb/core.c void ntb_db_event(struct ntb_dev *ntb, int vector) ntb_dev 194 drivers/ntb/core.c void ntb_msg_event(struct ntb_dev *ntb) ntb_dev 207 drivers/ntb/core.c int ntb_default_port_number(struct ntb_dev *ntb) ntb_dev 224 drivers/ntb/core.c int ntb_default_peer_port_count(struct ntb_dev *ntb) ntb_dev 230 drivers/ntb/core.c int ntb_default_peer_port_number(struct ntb_dev *ntb, int pidx) ntb_dev 250 drivers/ntb/core.c int ntb_default_peer_port_idx(struct ntb_dev *ntb, int port) ntb_dev 263 drivers/ntb/core.c struct ntb_dev *ntb; ntb_dev 280 drivers/ntb/core.c struct ntb_dev *ntb; ntb_dev 296 drivers/ntb/core.c struct ntb_dev *ntb = dev_ntb(dev); ntb_dev 84 drivers/ntb/hw/amd/ntb_hw_amd.c static int amd_ntb_mw_count(struct ntb_dev *ntb, int pidx) ntb_dev 92 drivers/ntb/hw/amd/ntb_hw_amd.c static int amd_ntb_mw_get_align(struct ntb_dev *ntb, int pidx, int idx, ntb_dev 119 drivers/ntb/hw/amd/ntb_hw_amd.c static int amd_ntb_mw_set_trans(struct ntb_dev *ntb, int pidx, int idx, ntb_dev 222 drivers/ntb/hw/amd/ntb_hw_amd.c static u64 amd_ntb_link_is_up(struct ntb_dev *ntb, ntb_dev 250 drivers/ntb/hw/amd/ntb_hw_amd.c static int amd_ntb_link_enable(struct ntb_dev *ntb, ntb_dev 273 drivers/ntb/hw/amd/ntb_hw_amd.c static int amd_ntb_link_disable(struct ntb_dev *ntb) ntb_dev 294 drivers/ntb/hw/amd/ntb_hw_amd.c static int amd_ntb_peer_mw_count(struct ntb_dev *ntb) ntb_dev 300 drivers/ntb/hw/amd/ntb_hw_amd.c static int amd_ntb_peer_mw_get_addr(struct ntb_dev *ntb, int idx, ntb_dev 319 drivers/ntb/hw/amd/ntb_hw_amd.c static u64 amd_ntb_db_valid_mask(struct ntb_dev *ntb) ntb_dev 324 drivers/ntb/hw/amd/ntb_hw_amd.c static int amd_ntb_db_vector_count(struct ntb_dev *ntb) ntb_dev 329 drivers/ntb/hw/amd/ntb_hw_amd.c static u64 amd_ntb_db_vector_mask(struct ntb_dev *ntb, int db_vector) ntb_dev 339 drivers/ntb/hw/amd/ntb_hw_amd.c static u64 amd_ntb_db_read(struct ntb_dev *ntb) ntb_dev 347 drivers/ntb/hw/amd/ntb_hw_amd.c static int amd_ntb_db_clear(struct ntb_dev *ntb, u64 db_bits) ntb_dev 357 drivers/ntb/hw/amd/ntb_hw_amd.c static int amd_ntb_db_set_mask(struct ntb_dev *ntb, u64 db_bits) ntb_dev 374 drivers/ntb/hw/amd/ntb_hw_amd.c static int amd_ntb_db_clear_mask(struct ntb_dev *ntb, u64 db_bits) ntb_dev 391 drivers/ntb/hw/amd/ntb_hw_amd.c static int amd_ntb_peer_db_set(struct ntb_dev *ntb, u64 db_bits) ntb_dev 401 drivers/ntb/hw/amd/ntb_hw_amd.c static int amd_ntb_spad_count(struct ntb_dev *ntb) ntb_dev 406 drivers/ntb/hw/amd/ntb_hw_amd.c static u32 amd_ntb_spad_read(struct ntb_dev *ntb, int idx) ntb_dev 419 drivers/ntb/hw/amd/ntb_hw_amd.c static int amd_ntb_spad_write(struct ntb_dev *ntb, ntb_dev 435 drivers/ntb/hw/amd/ntb_hw_amd.c static u32 amd_ntb_peer_spad_read(struct ntb_dev *ntb, int pidx, int sidx) ntb_dev 448 drivers/ntb/hw/amd/ntb_hw_amd.c static int amd_ntb_peer_spad_write(struct ntb_dev *ntb, int pidx, ntb_dev 184 drivers/ntb/hw/amd/ntb_hw_amd.h struct ntb_dev ntb; ntb_dev 548 drivers/ntb/hw/idt/ntb_hw_idt.c static int idt_ntb_port_number(struct ntb_dev *ntb) ntb_dev 563 drivers/ntb/hw/idt/ntb_hw_idt.c static int idt_ntb_peer_port_count(struct ntb_dev *ntb) ntb_dev 577 drivers/ntb/hw/idt/ntb_hw_idt.c static int idt_ntb_peer_port_number(struct ntb_dev *ntb, int pidx) ntb_dev 598 drivers/ntb/hw/idt/ntb_hw_idt.c static int idt_ntb_peer_port_idx(struct ntb_dev *ntb, int port) ntb_dev 879 drivers/ntb/hw/idt/ntb_hw_idt.c static u64 idt_ntb_link_is_up(struct ntb_dev *ntb, ntb_dev 920 drivers/ntb/hw/idt/ntb_hw_idt.c static int idt_ntb_link_enable(struct ntb_dev *ntb, enum ntb_speed speed, ntb_dev 941 drivers/ntb/hw/idt/ntb_hw_idt.c static int idt_ntb_link_disable(struct ntb_dev *ntb) ntb_dev 1170 drivers/ntb/hw/idt/ntb_hw_idt.c static int idt_ntb_mw_count(struct ntb_dev *ntb, int pidx) ntb_dev 1194 drivers/ntb/hw/idt/ntb_hw_idt.c static int idt_ntb_mw_get_align(struct ntb_dev *ntb, int pidx, int widx, ntb_dev 1232 drivers/ntb/hw/idt/ntb_hw_idt.c static int idt_ntb_peer_mw_count(struct ntb_dev *ntb) ntb_dev 1252 drivers/ntb/hw/idt/ntb_hw_idt.c static int idt_ntb_peer_mw_get_addr(struct ntb_dev *ntb, int widx, ntb_dev 1287 drivers/ntb/hw/idt/ntb_hw_idt.c static int idt_ntb_peer_mw_set_trans(struct ntb_dev *ntb, int pidx, int widx, ntb_dev 1356 drivers/ntb/hw/idt/ntb_hw_idt.c static int idt_ntb_peer_mw_clear_trans(struct ntb_dev *ntb, int pidx, ntb_dev 1447 drivers/ntb/hw/idt/ntb_hw_idt.c static u64 idt_ntb_db_valid_mask(struct ntb_dev *ntb) ntb_dev 1461 drivers/ntb/hw/idt/ntb_hw_idt.c static u64 idt_ntb_db_read(struct ntb_dev *ntb) ntb_dev 1481 drivers/ntb/hw/idt/ntb_hw_idt.c static int idt_ntb_db_clear(struct ntb_dev *ntb, u64 db_bits) ntb_dev 1500 drivers/ntb/hw/idt/ntb_hw_idt.c static u64 idt_ntb_db_read_mask(struct ntb_dev *ntb) ntb_dev 1518 drivers/ntb/hw/idt/ntb_hw_idt.c static int idt_ntb_db_set_mask(struct ntb_dev *ntb, u64 db_bits) ntb_dev 1539 drivers/ntb/hw/idt/ntb_hw_idt.c static int idt_ntb_db_clear_mask(struct ntb_dev *ntb, u64 db_bits) ntb_dev 1560 drivers/ntb/hw/idt/ntb_hw_idt.c static int idt_ntb_peer_db_set(struct ntb_dev *ntb, u64 db_bits) ntb_dev 1629 drivers/ntb/hw/idt/ntb_hw_idt.c static int idt_ntb_msg_count(struct ntb_dev *ntb) ntb_dev 1644 drivers/ntb/hw/idt/ntb_hw_idt.c static u64 idt_ntb_msg_inbits(struct ntb_dev *ntb) ntb_dev 1659 drivers/ntb/hw/idt/ntb_hw_idt.c static u64 idt_ntb_msg_outbits(struct ntb_dev *ntb) ntb_dev 1673 drivers/ntb/hw/idt/ntb_hw_idt.c static u64 idt_ntb_msg_read_sts(struct ntb_dev *ntb) ntb_dev 1693 drivers/ntb/hw/idt/ntb_hw_idt.c static int idt_ntb_msg_clear_sts(struct ntb_dev *ntb, u64 sts_bits) ntb_dev 1712 drivers/ntb/hw/idt/ntb_hw_idt.c static int idt_ntb_msg_set_mask(struct ntb_dev *ntb, u64 mask_bits) ntb_dev 1730 drivers/ntb/hw/idt/ntb_hw_idt.c static int idt_ntb_msg_clear_mask(struct ntb_dev *ntb, u64 mask_bits) ntb_dev 1751 drivers/ntb/hw/idt/ntb_hw_idt.c static u32 idt_ntb_msg_read(struct ntb_dev *ntb, int *pidx, int midx) ntb_dev 1787 drivers/ntb/hw/idt/ntb_hw_idt.c static int idt_ntb_peer_msg_write(struct ntb_dev *ntb, int pidx, int midx, ntb_dev 1125 drivers/ntb/hw/idt/ntb_hw_idt.h struct ntb_dev ntb; ntb_dev 793 drivers/ntb/hw/intel/ntb_hw_gen1.c int intel_ntb_mw_count(struct ntb_dev *ntb, int pidx) ntb_dev 801 drivers/ntb/hw/intel/ntb_hw_gen1.c int intel_ntb_mw_get_align(struct ntb_dev *ntb, int pidx, int idx, ntb_dev 839 drivers/ntb/hw/intel/ntb_hw_gen1.c static int intel_ntb_mw_set_trans(struct ntb_dev *ntb, int pidx, int idx, ntb_dev 940 drivers/ntb/hw/intel/ntb_hw_gen1.c u64 intel_ntb_link_is_up(struct ntb_dev *ntb, enum ntb_speed *speed, ntb_dev 962 drivers/ntb/hw/intel/ntb_hw_gen1.c static int intel_ntb_link_enable(struct ntb_dev *ntb, ntb_dev 993 drivers/ntb/hw/intel/ntb_hw_gen1.c int intel_ntb_link_disable(struct ntb_dev *ntb) ntb_dev 1017 drivers/ntb/hw/intel/ntb_hw_gen1.c int intel_ntb_peer_mw_count(struct ntb_dev *ntb) ntb_dev 1023 drivers/ntb/hw/intel/ntb_hw_gen1.c int intel_ntb_peer_mw_get_addr(struct ntb_dev *ntb, int idx, ntb_dev 1047 drivers/ntb/hw/intel/ntb_hw_gen1.c static int intel_ntb_db_is_unsafe(struct ntb_dev *ntb) ntb_dev 1052 drivers/ntb/hw/intel/ntb_hw_gen1.c u64 intel_ntb_db_valid_mask(struct ntb_dev *ntb) ntb_dev 1057 drivers/ntb/hw/intel/ntb_hw_gen1.c int intel_ntb_db_vector_count(struct ntb_dev *ntb) ntb_dev 1066 drivers/ntb/hw/intel/ntb_hw_gen1.c u64 intel_ntb_db_vector_mask(struct ntb_dev *ntb, int db_vector) ntb_dev 1076 drivers/ntb/hw/intel/ntb_hw_gen1.c static u64 intel_ntb_db_read(struct ntb_dev *ntb) ntb_dev 1085 drivers/ntb/hw/intel/ntb_hw_gen1.c static int intel_ntb_db_clear(struct ntb_dev *ntb, u64 db_bits) ntb_dev 1094 drivers/ntb/hw/intel/ntb_hw_gen1.c int intel_ntb_db_set_mask(struct ntb_dev *ntb, u64 db_bits) ntb_dev 1103 drivers/ntb/hw/intel/ntb_hw_gen1.c int intel_ntb_db_clear_mask(struct ntb_dev *ntb, u64 db_bits) ntb_dev 1112 drivers/ntb/hw/intel/ntb_hw_gen1.c static int intel_ntb_peer_db_addr(struct ntb_dev *ntb, phys_addr_t *db_addr, ntb_dev 1136 drivers/ntb/hw/intel/ntb_hw_gen1.c static int intel_ntb_peer_db_set(struct ntb_dev *ntb, u64 db_bits) ntb_dev 1145 drivers/ntb/hw/intel/ntb_hw_gen1.c int intel_ntb_spad_is_unsafe(struct ntb_dev *ntb) ntb_dev 1150 drivers/ntb/hw/intel/ntb_hw_gen1.c int intel_ntb_spad_count(struct ntb_dev *ntb) ntb_dev 1159 drivers/ntb/hw/intel/ntb_hw_gen1.c u32 intel_ntb_spad_read(struct ntb_dev *ntb, int idx) ntb_dev 1168 drivers/ntb/hw/intel/ntb_hw_gen1.c int intel_ntb_spad_write(struct ntb_dev *ntb, int idx, u32 val) ntb_dev 1177 drivers/ntb/hw/intel/ntb_hw_gen1.c int intel_ntb_peer_spad_addr(struct ntb_dev *ntb, int pidx, int sidx, ntb_dev 1186 drivers/ntb/hw/intel/ntb_hw_gen1.c u32 intel_ntb_peer_spad_read(struct ntb_dev *ntb, int pidx, int sidx) ntb_dev 1195 drivers/ntb/hw/intel/ntb_hw_gen1.c int intel_ntb_peer_spad_write(struct ntb_dev *ntb, int pidx, int sidx, ntb_dev 157 drivers/ntb/hw/intel/ntb_hw_gen1.h int intel_ntb_mw_count(struct ntb_dev *ntb, int pidx); ntb_dev 158 drivers/ntb/hw/intel/ntb_hw_gen1.h int intel_ntb_mw_get_align(struct ntb_dev *ntb, int pidx, int idx, ntb_dev 161 drivers/ntb/hw/intel/ntb_hw_gen1.h int intel_ntb_peer_mw_count(struct ntb_dev *ntb); ntb_dev 162 drivers/ntb/hw/intel/ntb_hw_gen1.h int intel_ntb_peer_mw_get_addr(struct ntb_dev *ntb, int idx, ntb_dev 164 drivers/ntb/hw/intel/ntb_hw_gen1.h u64 intel_ntb_link_is_up(struct ntb_dev *ntb, enum ntb_speed *speed, ntb_dev 166 drivers/ntb/hw/intel/ntb_hw_gen1.h int intel_ntb_link_disable(struct ntb_dev *ntb); ntb_dev 167 drivers/ntb/hw/intel/ntb_hw_gen1.h u64 intel_ntb_db_valid_mask(struct ntb_dev *ntb); ntb_dev 168 drivers/ntb/hw/intel/ntb_hw_gen1.h int intel_ntb_db_vector_count(struct ntb_dev *ntb); ntb_dev 169 drivers/ntb/hw/intel/ntb_hw_gen1.h u64 intel_ntb_db_vector_mask(struct ntb_dev *ntb, int db_vector); ntb_dev 170 drivers/ntb/hw/intel/ntb_hw_gen1.h int intel_ntb_db_set_mask(struct ntb_dev *ntb, u64 db_bits); ntb_dev 171 drivers/ntb/hw/intel/ntb_hw_gen1.h int intel_ntb_db_clear_mask(struct ntb_dev *ntb, u64 db_bits); ntb_dev 172 drivers/ntb/hw/intel/ntb_hw_gen1.h int intel_ntb_spad_is_unsafe(struct ntb_dev *ntb); ntb_dev 173 drivers/ntb/hw/intel/ntb_hw_gen1.h int intel_ntb_spad_count(struct ntb_dev *ntb); ntb_dev 174 drivers/ntb/hw/intel/ntb_hw_gen1.h u32 intel_ntb_spad_read(struct ntb_dev *ntb, int idx); ntb_dev 175 drivers/ntb/hw/intel/ntb_hw_gen1.h int intel_ntb_spad_write(struct ntb_dev *ntb, int idx, u32 val); ntb_dev 176 drivers/ntb/hw/intel/ntb_hw_gen1.h u32 intel_ntb_peer_spad_read(struct ntb_dev *ntb, int pidx, int sidx); ntb_dev 177 drivers/ntb/hw/intel/ntb_hw_gen1.h int intel_ntb_peer_spad_write(struct ntb_dev *ntb, int pidx, int sidx, ntb_dev 179 drivers/ntb/hw/intel/ntb_hw_gen1.h int intel_ntb_peer_spad_addr(struct ntb_dev *ntb, int pidx, int sidx, ntb_dev 418 drivers/ntb/hw/intel/ntb_hw_gen3.c static int intel_ntb3_link_enable(struct ntb_dev *ntb, ntb_dev 444 drivers/ntb/hw/intel/ntb_hw_gen3.c static int intel_ntb3_mw_set_trans(struct ntb_dev *ntb, int pidx, int idx, ntb_dev 535 drivers/ntb/hw/intel/ntb_hw_gen3.c static int intel_ntb3_peer_db_addr(struct ntb_dev *ntb, phys_addr_t *db_addr, ntb_dev 566 drivers/ntb/hw/intel/ntb_hw_gen3.c static int intel_ntb3_peer_db_set(struct ntb_dev *ntb, u64 db_bits) ntb_dev 584 drivers/ntb/hw/intel/ntb_hw_gen3.c static u64 intel_ntb3_db_read(struct ntb_dev *ntb) ntb_dev 593 drivers/ntb/hw/intel/ntb_hw_gen3.c static int intel_ntb3_db_clear(struct ntb_dev *ntb, u64 db_bits) ntb_dev 139 drivers/ntb/hw/intel/ntb_hw_intel.h struct ntb_dev ntb; ntb_dev 46 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct ntb_dev ntb; ntb_dev 93 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static struct switchtec_ntb *ntb_sndev(struct ntb_dev *ntb) ntb_dev 166 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int switchtec_ntb_mw_count(struct ntb_dev *ntb, int pidx) ntb_dev 191 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int switchtec_ntb_mw_get_align(struct ntb_dev *ntb, int pidx, ntb_dev 270 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int switchtec_ntb_mw_set_trans(struct ntb_dev *ntb, int pidx, int widx, ntb_dev 341 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int switchtec_ntb_peer_mw_count(struct ntb_dev *ntb) ntb_dev 402 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int switchtec_ntb_peer_mw_get_addr(struct ntb_dev *ntb, int idx, ntb_dev 557 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static u64 switchtec_ntb_link_is_up(struct ntb_dev *ntb, ntb_dev 571 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int switchtec_ntb_link_enable(struct ntb_dev *ntb, ntb_dev 587 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int switchtec_ntb_link_disable(struct ntb_dev *ntb) ntb_dev 601 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static u64 switchtec_ntb_db_valid_mask(struct ntb_dev *ntb) ntb_dev 608 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int switchtec_ntb_db_vector_count(struct ntb_dev *ntb) ntb_dev 613 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static u64 switchtec_ntb_db_vector_mask(struct ntb_dev *ntb, int db_vector) ntb_dev 623 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static u64 switchtec_ntb_db_read(struct ntb_dev *ntb) ntb_dev 633 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int switchtec_ntb_db_clear(struct ntb_dev *ntb, u64 db_bits) ntb_dev 642 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int switchtec_ntb_db_set_mask(struct ntb_dev *ntb, u64 db_bits) ntb_dev 660 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int switchtec_ntb_db_clear_mask(struct ntb_dev *ntb, u64 db_bits) ntb_dev 678 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static u64 switchtec_ntb_db_read_mask(struct ntb_dev *ntb) ntb_dev 685 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int switchtec_ntb_peer_db_addr(struct ntb_dev *ntb, ntb_dev 712 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int switchtec_ntb_peer_db_set(struct ntb_dev *ntb, u64 db_bits) ntb_dev 722 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int switchtec_ntb_spad_count(struct ntb_dev *ntb) ntb_dev 729 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static u32 switchtec_ntb_spad_read(struct ntb_dev *ntb, int idx) ntb_dev 742 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int switchtec_ntb_spad_write(struct ntb_dev *ntb, int idx, u32 val) ntb_dev 757 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static u32 switchtec_ntb_peer_spad_read(struct ntb_dev *ntb, int pidx, ntb_dev 774 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int switchtec_ntb_peer_spad_write(struct ntb_dev *ntb, int pidx, ntb_dev 793 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int switchtec_ntb_peer_spad_addr(struct ntb_dev *ntb, int pidx, ntb_dev 31 drivers/ntb/msi.c int ntb_msi_init(struct ntb_dev *ntb, ntb_dev 97 drivers/ntb/msi.c int ntb_msi_setup_mws(struct ntb_dev *ntb) ntb_dev 174 drivers/ntb/msi.c void ntb_msi_clear_mws(struct ntb_dev *ntb) ntb_dev 190 drivers/ntb/msi.c struct ntb_dev *ntb; ntb_dev 195 drivers/ntb/msi.c static int ntb_msi_set_desc(struct ntb_dev *ntb, struct msi_desc *entry, ntb_dev 235 drivers/ntb/msi.c static int ntbm_msi_setup_callback(struct ntb_dev *ntb, struct msi_desc *entry, ntb_dev 279 drivers/ntb/msi.c int ntbm_msi_request_threaded_irq(struct ntb_dev *ntb, irq_handler_t handler, ntb_dev 322 drivers/ntb/msi.c struct ntb_dev *ntb = dev_ntb(dev); ntb_dev 337 drivers/ntb/msi.c void ntbm_msi_free_irq(struct ntb_dev *ntb, unsigned int irq, void *dev_id) ntb_dev 363 drivers/ntb/msi.c int ntb_msi_peer_trigger(struct ntb_dev *ntb, int peer, ntb_dev 393 drivers/ntb/msi.c int ntb_msi_peer_addr(struct ntb_dev *ntb, int peer, ntb_dev 133 drivers/ntb/ntb_transport.c struct ntb_dev *ndev; ntb_dev 226 drivers/ntb/ntb_transport.c struct ntb_dev *ndev; ntb_dev 620 drivers/ntb/ntb_transport.c struct ntb_dev *ndev = nt->ndev; ntb_dev 1024 drivers/ntb/ntb_transport.c struct ntb_dev *ndev = nt->ndev; ntb_dev 1243 drivers/ntb/ntb_transport.c static int ntb_transport_probe(struct ntb_client *self, struct ntb_dev *ndev) ntb_dev 1403 drivers/ntb/ntb_transport.c static void ntb_transport_free(struct ntb_client *self, struct ntb_dev *ndev) ntb_dev 1980 drivers/ntb/ntb_transport.c struct ntb_dev *ndev; ntb_dev 20 drivers/ntb/test/ntb_msi_test.c struct ntb_dev *ntb; ntb_dev 319 drivers/ntb/test/ntb_msi_test.c static int ntb_msit_probe(struct ntb_client *client, struct ntb_dev *ntb) ntb_dev 389 drivers/ntb/test/ntb_msi_test.c static void ntb_msit_remove(struct ntb_client *client, struct ntb_dev *ntb) ntb_dev 185 drivers/ntb/test/ntb_perf.c struct ntb_dev *ntb; ntb_dev 1355 drivers/ntb/test/ntb_perf.c static struct perf_ctx *perf_create_data(struct ntb_dev *ntb) ntb_dev 1436 drivers/ntb/test/ntb_perf.c static int perf_probe(struct ntb_client *client, struct ntb_dev *ntb) ntb_dev 1464 drivers/ntb/test/ntb_perf.c static void perf_remove(struct ntb_client *client, struct ntb_dev *ntb) ntb_dev 100 drivers/ntb/test/ntb_pingpong.c struct ntb_dev *ntb; ntb_dev 243 drivers/ntb/test/ntb_pingpong.c static int pp_check_ntb(struct ntb_dev *ntb) ntb_dev 277 drivers/ntb/test/ntb_pingpong.c static struct pp_ctx *pp_create_data(struct ntb_dev *ntb) ntb_dev 371 drivers/ntb/test/ntb_pingpong.c static int pp_probe(struct ntb_client *client, struct ntb_dev *ntb) ntb_dev 399 drivers/ntb/test/ntb_pingpong.c static void pp_remove(struct ntb_client *client, struct ntb_dev *ntb) ntb_dev 257 drivers/ntb/test/ntb_tool.c struct ntb_dev *ntb; ntb_dev 343 drivers/ntb/test/ntb_tool.c u64 (*fn_read)(struct ntb_dev *)) ntb_dev 362 drivers/ntb/test/ntb_tool.c int (*fn_set)(struct ntb_dev *, u64), ntb_dev 363 drivers/ntb/test/ntb_tool.c int (*fn_clear)(struct ntb_dev *, u64)) ntb_dev 1441 drivers/ntb/test/ntb_tool.c static struct tool_ctx *tool_create_data(struct ntb_dev *ntb) ntb_dev 1610 drivers/ntb/test/ntb_tool.c static int tool_probe(struct ntb_client *self, struct ntb_dev *ntb) ntb_dev 1652 drivers/ntb/test/ntb_tool.c static void tool_remove(struct ntb_client *self, struct ntb_dev *ntb) ntb_dev 64 include/linux/ntb.h struct ntb_dev; ntb_dev 174 include/linux/ntb.h int (*probe)(struct ntb_client *client, struct ntb_dev *ntb); ntb_dev 175 include/linux/ntb.h void (*remove)(struct ntb_client *client, struct ntb_dev *ntb); ntb_dev 261 include/linux/ntb.h int (*port_number)(struct ntb_dev *ntb); ntb_dev 262 include/linux/ntb.h int (*peer_port_count)(struct ntb_dev *ntb); ntb_dev 263 include/linux/ntb.h int (*peer_port_number)(struct ntb_dev *ntb, int pidx); ntb_dev 264 include/linux/ntb.h int (*peer_port_idx)(struct ntb_dev *ntb, int port); ntb_dev 266 include/linux/ntb.h u64 (*link_is_up)(struct ntb_dev *ntb, ntb_dev 268 include/linux/ntb.h int (*link_enable)(struct ntb_dev *ntb, ntb_dev 270 include/linux/ntb.h int (*link_disable)(struct ntb_dev *ntb); ntb_dev 272 include/linux/ntb.h int (*mw_count)(struct ntb_dev *ntb, int pidx); ntb_dev 273 include/linux/ntb.h int (*mw_get_align)(struct ntb_dev *ntb, int pidx, int widx, ntb_dev 277 include/linux/ntb.h int (*mw_set_trans)(struct ntb_dev *ntb, int pidx, int widx, ntb_dev 279 include/linux/ntb.h int (*mw_clear_trans)(struct ntb_dev *ntb, int pidx, int widx); ntb_dev 280 include/linux/ntb.h int (*peer_mw_count)(struct ntb_dev *ntb); ntb_dev 281 include/linux/ntb.h int (*peer_mw_get_addr)(struct ntb_dev *ntb, int widx, ntb_dev 283 include/linux/ntb.h int (*peer_mw_set_trans)(struct ntb_dev *ntb, int pidx, int widx, ntb_dev 285 include/linux/ntb.h int (*peer_mw_clear_trans)(struct ntb_dev *ntb, int pidx, int widx); ntb_dev 287 include/linux/ntb.h int (*db_is_unsafe)(struct ntb_dev *ntb); ntb_dev 288 include/linux/ntb.h u64 (*db_valid_mask)(struct ntb_dev *ntb); ntb_dev 289 include/linux/ntb.h int (*db_vector_count)(struct ntb_dev *ntb); ntb_dev 290 include/linux/ntb.h u64 (*db_vector_mask)(struct ntb_dev *ntb, int db_vector); ntb_dev 292 include/linux/ntb.h u64 (*db_read)(struct ntb_dev *ntb); ntb_dev 293 include/linux/ntb.h int (*db_set)(struct ntb_dev *ntb, u64 db_bits); ntb_dev 294 include/linux/ntb.h int (*db_clear)(struct ntb_dev *ntb, u64 db_bits); ntb_dev 296 include/linux/ntb.h u64 (*db_read_mask)(struct ntb_dev *ntb); ntb_dev 297 include/linux/ntb.h int (*db_set_mask)(struct ntb_dev *ntb, u64 db_bits); ntb_dev 298 include/linux/ntb.h int (*db_clear_mask)(struct ntb_dev *ntb, u64 db_bits); ntb_dev 300 include/linux/ntb.h int (*peer_db_addr)(struct ntb_dev *ntb, ntb_dev 303 include/linux/ntb.h u64 (*peer_db_read)(struct ntb_dev *ntb); ntb_dev 304 include/linux/ntb.h int (*peer_db_set)(struct ntb_dev *ntb, u64 db_bits); ntb_dev 305 include/linux/ntb.h int (*peer_db_clear)(struct ntb_dev *ntb, u64 db_bits); ntb_dev 307 include/linux/ntb.h u64 (*peer_db_read_mask)(struct ntb_dev *ntb); ntb_dev 308 include/linux/ntb.h int (*peer_db_set_mask)(struct ntb_dev *ntb, u64 db_bits); ntb_dev 309 include/linux/ntb.h int (*peer_db_clear_mask)(struct ntb_dev *ntb, u64 db_bits); ntb_dev 311 include/linux/ntb.h int (*spad_is_unsafe)(struct ntb_dev *ntb); ntb_dev 312 include/linux/ntb.h int (*spad_count)(struct ntb_dev *ntb); ntb_dev 314 include/linux/ntb.h u32 (*spad_read)(struct ntb_dev *ntb, int sidx); ntb_dev 315 include/linux/ntb.h int (*spad_write)(struct ntb_dev *ntb, int sidx, u32 val); ntb_dev 317 include/linux/ntb.h int (*peer_spad_addr)(struct ntb_dev *ntb, int pidx, int sidx, ntb_dev 319 include/linux/ntb.h u32 (*peer_spad_read)(struct ntb_dev *ntb, int pidx, int sidx); ntb_dev 320 include/linux/ntb.h int (*peer_spad_write)(struct ntb_dev *ntb, int pidx, int sidx, ntb_dev 323 include/linux/ntb.h int (*msg_count)(struct ntb_dev *ntb); ntb_dev 324 include/linux/ntb.h u64 (*msg_inbits)(struct ntb_dev *ntb); ntb_dev 325 include/linux/ntb.h u64 (*msg_outbits)(struct ntb_dev *ntb); ntb_dev 326 include/linux/ntb.h u64 (*msg_read_sts)(struct ntb_dev *ntb); ntb_dev 327 include/linux/ntb.h int (*msg_clear_sts)(struct ntb_dev *ntb, u64 sts_bits); ntb_dev 328 include/linux/ntb.h int (*msg_set_mask)(struct ntb_dev *ntb, u64 mask_bits); ntb_dev 329 include/linux/ntb.h int (*msg_clear_mask)(struct ntb_dev *ntb, u64 mask_bits); ntb_dev 330 include/linux/ntb.h u32 (*msg_read)(struct ntb_dev *ntb, int *pidx, int midx); ntb_dev 331 include/linux/ntb.h int (*peer_msg_write)(struct ntb_dev *ntb, int pidx, int midx, u32 msg); ntb_dev 436 include/linux/ntb.h #define dev_ntb(__dev) container_of((__dev), struct ntb_dev, dev) ntb_dev 478 include/linux/ntb.h int ntb_register_device(struct ntb_dev *ntb); ntb_dev 488 include/linux/ntb.h void ntb_unregister_device(struct ntb_dev *ntb); ntb_dev 502 include/linux/ntb.h int ntb_set_ctx(struct ntb_dev *ntb, void *ctx, ntb_dev 512 include/linux/ntb.h void ntb_clear_ctx(struct ntb_dev *ntb); ntb_dev 521 include/linux/ntb.h void ntb_link_event(struct ntb_dev *ntb); ntb_dev 536 include/linux/ntb.h void ntb_db_event(struct ntb_dev *ntb, int vector); ntb_dev 548 include/linux/ntb.h void ntb_msg_event(struct ntb_dev *ntb); ntb_dev 563 include/linux/ntb.h int ntb_default_port_number(struct ntb_dev *ntb); ntb_dev 576 include/linux/ntb.h int ntb_default_peer_port_count(struct ntb_dev *ntb); ntb_dev 591 include/linux/ntb.h int ntb_default_peer_port_number(struct ntb_dev *ntb, int pidx); ntb_dev 608 include/linux/ntb.h int ntb_default_peer_port_idx(struct ntb_dev *ntb, int port); ntb_dev 618 include/linux/ntb.h static inline int ntb_port_number(struct ntb_dev *ntb) ntb_dev 635 include/linux/ntb.h static inline int ntb_peer_port_count(struct ntb_dev *ntb) ntb_dev 653 include/linux/ntb.h static inline int ntb_peer_port_number(struct ntb_dev *ntb, int pidx) ntb_dev 675 include/linux/ntb.h static inline int ntb_logical_port_number(struct ntb_dev *ntb) ntb_dev 705 include/linux/ntb.h static inline int ntb_peer_logical_port_number(struct ntb_dev *ntb, int pidx) ntb_dev 723 include/linux/ntb.h static inline int ntb_peer_port_idx(struct ntb_dev *ntb, int port) ntb_dev 744 include/linux/ntb.h static inline u64 ntb_link_is_up(struct ntb_dev *ntb, ntb_dev 764 include/linux/ntb.h static inline int ntb_link_enable(struct ntb_dev *ntb, ntb_dev 783 include/linux/ntb.h static inline int ntb_link_disable(struct ntb_dev *ntb) ntb_dev 802 include/linux/ntb.h static inline int ntb_mw_count(struct ntb_dev *ntb, int pidx) ntb_dev 823 include/linux/ntb.h static inline int ntb_mw_get_align(struct ntb_dev *ntb, int pidx, int widx, ntb_dev 854 include/linux/ntb.h static inline int ntb_mw_set_trans(struct ntb_dev *ntb, int pidx, int widx, ntb_dev 875 include/linux/ntb.h static inline int ntb_mw_clear_trans(struct ntb_dev *ntb, int pidx, int widx) ntb_dev 894 include/linux/ntb.h static inline int ntb_peer_mw_count(struct ntb_dev *ntb) ntb_dev 912 include/linux/ntb.h static inline int ntb_peer_mw_get_addr(struct ntb_dev *ntb, int widx, ntb_dev 936 include/linux/ntb.h static inline int ntb_peer_mw_set_trans(struct ntb_dev *ntb, int pidx, int widx, ntb_dev 960 include/linux/ntb.h static inline int ntb_peer_mw_clear_trans(struct ntb_dev *ntb, int pidx, ntb_dev 979 include/linux/ntb.h static inline int ntb_db_is_unsafe(struct ntb_dev *ntb) ntb_dev 995 include/linux/ntb.h static inline u64 ntb_db_valid_mask(struct ntb_dev *ntb) ntb_dev 1008 include/linux/ntb.h static inline int ntb_db_vector_count(struct ntb_dev *ntb) ntb_dev 1025 include/linux/ntb.h static inline u64 ntb_db_vector_mask(struct ntb_dev *ntb, int vector) ntb_dev 1041 include/linux/ntb.h static inline u64 ntb_db_read(struct ntb_dev *ntb) ntb_dev 1058 include/linux/ntb.h static inline int ntb_db_set(struct ntb_dev *ntb, u64 db_bits) ntb_dev 1076 include/linux/ntb.h static inline int ntb_db_clear(struct ntb_dev *ntb, u64 db_bits) ntb_dev 1091 include/linux/ntb.h static inline u64 ntb_db_read_mask(struct ntb_dev *ntb) ntb_dev 1110 include/linux/ntb.h static inline int ntb_db_set_mask(struct ntb_dev *ntb, u64 db_bits) ntb_dev 1129 include/linux/ntb.h static inline int ntb_db_clear_mask(struct ntb_dev *ntb, u64 db_bits) ntb_dev 1152 include/linux/ntb.h static inline int ntb_peer_db_addr(struct ntb_dev *ntb, ntb_dev 1173 include/linux/ntb.h static inline u64 ntb_peer_db_read(struct ntb_dev *ntb) ntb_dev 1191 include/linux/ntb.h static inline int ntb_peer_db_set(struct ntb_dev *ntb, u64 db_bits) ntb_dev 1208 include/linux/ntb.h static inline int ntb_peer_db_clear(struct ntb_dev *ntb, u64 db_bits) ntb_dev 1226 include/linux/ntb.h static inline u64 ntb_peer_db_read_mask(struct ntb_dev *ntb) ntb_dev 1247 include/linux/ntb.h static inline int ntb_peer_db_set_mask(struct ntb_dev *ntb, u64 db_bits) ntb_dev 1269 include/linux/ntb.h static inline int ntb_peer_db_clear_mask(struct ntb_dev *ntb, u64 db_bits) ntb_dev 1287 include/linux/ntb.h static inline int ntb_spad_is_unsafe(struct ntb_dev *ntb) ntb_dev 1304 include/linux/ntb.h static inline int ntb_spad_count(struct ntb_dev *ntb) ntb_dev 1321 include/linux/ntb.h static inline u32 ntb_spad_read(struct ntb_dev *ntb, int sidx) ntb_dev 1339 include/linux/ntb.h static inline int ntb_spad_write(struct ntb_dev *ntb, int sidx, u32 val) ntb_dev 1359 include/linux/ntb.h static inline int ntb_peer_spad_addr(struct ntb_dev *ntb, int pidx, int sidx, ntb_dev 1378 include/linux/ntb.h static inline u32 ntb_peer_spad_read(struct ntb_dev *ntb, int pidx, int sidx) ntb_dev 1397 include/linux/ntb.h static inline int ntb_peer_spad_write(struct ntb_dev *ntb, int pidx, int sidx, ntb_dev 1414 include/linux/ntb.h static inline int ntb_msg_count(struct ntb_dev *ntb) ntb_dev 1431 include/linux/ntb.h static inline u64 ntb_msg_inbits(struct ntb_dev *ntb) ntb_dev 1448 include/linux/ntb.h static inline u64 ntb_msg_outbits(struct ntb_dev *ntb) ntb_dev 1466 include/linux/ntb.h static inline u64 ntb_msg_read_sts(struct ntb_dev *ntb) ntb_dev 1483 include/linux/ntb.h static inline int ntb_msg_clear_sts(struct ntb_dev *ntb, u64 sts_bits) ntb_dev 1500 include/linux/ntb.h static inline int ntb_msg_set_mask(struct ntb_dev *ntb, u64 mask_bits) ntb_dev 1517 include/linux/ntb.h static inline int ntb_msg_clear_mask(struct ntb_dev *ntb, u64 mask_bits) ntb_dev 1536 include/linux/ntb.h static inline u32 ntb_msg_read(struct ntb_dev *ntb, int *pidx, int midx) ntb_dev 1557 include/linux/ntb.h static inline int ntb_peer_msg_write(struct ntb_dev *ntb, int pidx, int midx, ntb_dev 1597 include/linux/ntb.h static inline int ntb_peer_resource_idx(struct ntb_dev *ntb, int pidx) ntb_dev 1625 include/linux/ntb.h static inline int ntb_peer_highest_mw_idx(struct ntb_dev *ntb, int pidx) ntb_dev 1643 include/linux/ntb.h int ntb_msi_init(struct ntb_dev *ntb, void (*desc_changed)(void *ctx)); ntb_dev 1644 include/linux/ntb.h int ntb_msi_setup_mws(struct ntb_dev *ntb); ntb_dev 1645 include/linux/ntb.h void ntb_msi_clear_mws(struct ntb_dev *ntb); ntb_dev 1646 include/linux/ntb.h int ntbm_msi_request_threaded_irq(struct ntb_dev *ntb, irq_handler_t handler, ntb_dev 1650 include/linux/ntb.h void ntbm_msi_free_irq(struct ntb_dev *ntb, unsigned int irq, void *dev_id); ntb_dev 1651 include/linux/ntb.h int ntb_msi_peer_trigger(struct ntb_dev *ntb, int peer, ntb_dev 1653 include/linux/ntb.h int ntb_msi_peer_addr(struct ntb_dev *ntb, int peer, ntb_dev 1659 include/linux/ntb.h static inline int ntb_msi_init(struct ntb_dev *ntb, ntb_dev 1664 include/linux/ntb.h static inline int ntb_msi_setup_mws(struct ntb_dev *ntb) ntb_dev 1668 include/linux/ntb.h static inline void ntb_msi_clear_mws(struct ntb_dev *ntb) {} ntb_dev 1669 include/linux/ntb.h static inline int ntbm_msi_request_threaded_irq(struct ntb_dev *ntb, ntb_dev 1677 include/linux/ntb.h static inline void ntbm_msi_free_irq(struct ntb_dev *ntb, unsigned int irq, ntb_dev 1679 include/linux/ntb.h static inline int ntb_msi_peer_trigger(struct ntb_dev *ntb, int peer, ntb_dev 1684 include/linux/ntb.h static inline int ntb_msi_peer_addr(struct ntb_dev *ntb, int peer, ntb_dev 1694 include/linux/ntb.h static inline int ntbm_msi_request_irq(struct ntb_dev *ntb,