Symbol: ntb_dev
drivers/net/ntb_netdev.c
609
struct ntb_dev *ntb;
drivers/ntb/core.c
101
int ntb_register_device(struct ntb_dev *ntb)
drivers/ntb/core.c
133
void ntb_unregister_device(struct ntb_dev *ntb)
drivers/ntb/core.c
140
int ntb_set_ctx(struct ntb_dev *ntb, void *ctx,
drivers/ntb/core.c
161
void ntb_clear_ctx(struct ntb_dev *ntb)
drivers/ntb/core.c
174
void ntb_link_event(struct ntb_dev *ntb)
drivers/ntb/core.c
187
void ntb_db_event(struct ntb_dev *ntb, int vector)
drivers/ntb/core.c
200
void ntb_msg_event(struct ntb_dev *ntb)
drivers/ntb/core.c
213
int ntb_default_port_number(struct ntb_dev *ntb)
drivers/ntb/core.c
228
int ntb_default_peer_port_count(struct ntb_dev *ntb)
drivers/ntb/core.c
234
int ntb_default_peer_port_number(struct ntb_dev *ntb, int pidx)
drivers/ntb/core.c
252
int ntb_default_peer_port_idx(struct ntb_dev *ntb, int port)
drivers/ntb/core.c
265
struct ntb_dev *ntb;
drivers/ntb/core.c
282
struct ntb_dev *ntb;
drivers/ntb/core.c
296
struct ntb_dev *ntb = dev_ntb(dev);
drivers/ntb/hw/amd/ntb_hw_amd.c
119
static int amd_ntb_mw_set_trans(struct ntb_dev *ntb, int pidx, int idx,
drivers/ntb/hw/amd/ntb_hw_amd.c
322
static u64 amd_ntb_link_is_up(struct ntb_dev *ntb,
drivers/ntb/hw/amd/ntb_hw_amd.c
350
static int amd_ntb_link_enable(struct ntb_dev *ntb,
drivers/ntb/hw/amd/ntb_hw_amd.c
368
static int amd_ntb_link_disable(struct ntb_dev *ntb)
drivers/ntb/hw/amd/ntb_hw_amd.c
384
static int amd_ntb_peer_mw_count(struct ntb_dev *ntb)
drivers/ntb/hw/amd/ntb_hw_amd.c
390
static int amd_ntb_peer_mw_get_addr(struct ntb_dev *ntb, int idx,
drivers/ntb/hw/amd/ntb_hw_amd.c
409
static u64 amd_ntb_db_valid_mask(struct ntb_dev *ntb)
drivers/ntb/hw/amd/ntb_hw_amd.c
414
static int amd_ntb_db_vector_count(struct ntb_dev *ntb)
drivers/ntb/hw/amd/ntb_hw_amd.c
419
static u64 amd_ntb_db_vector_mask(struct ntb_dev *ntb, int db_vector)
drivers/ntb/hw/amd/ntb_hw_amd.c
429
static u64 amd_ntb_db_read(struct ntb_dev *ntb)
drivers/ntb/hw/amd/ntb_hw_amd.c
437
static int amd_ntb_db_clear(struct ntb_dev *ntb, u64 db_bits)
drivers/ntb/hw/amd/ntb_hw_amd.c
447
static int amd_ntb_db_set_mask(struct ntb_dev *ntb, u64 db_bits)
drivers/ntb/hw/amd/ntb_hw_amd.c
464
static int amd_ntb_db_clear_mask(struct ntb_dev *ntb, u64 db_bits)
drivers/ntb/hw/amd/ntb_hw_amd.c
481
static int amd_ntb_peer_db_set(struct ntb_dev *ntb, u64 db_bits)
drivers/ntb/hw/amd/ntb_hw_amd.c
491
static int amd_ntb_spad_count(struct ntb_dev *ntb)
drivers/ntb/hw/amd/ntb_hw_amd.c
496
static u32 amd_ntb_spad_read(struct ntb_dev *ntb, int idx)
drivers/ntb/hw/amd/ntb_hw_amd.c
509
static int amd_ntb_spad_write(struct ntb_dev *ntb,
drivers/ntb/hw/amd/ntb_hw_amd.c
525
static u32 amd_ntb_peer_spad_read(struct ntb_dev *ntb, int pidx, int sidx)
drivers/ntb/hw/amd/ntb_hw_amd.c
538
static int amd_ntb_peer_spad_write(struct ntb_dev *ntb, int pidx,
drivers/ntb/hw/amd/ntb_hw_amd.c
84
static int amd_ntb_mw_count(struct ntb_dev *ntb, int pidx)
drivers/ntb/hw/amd/ntb_hw_amd.c
92
static int amd_ntb_mw_get_align(struct ntb_dev *ntb, int pidx, int idx,
drivers/ntb/hw/amd/ntb_hw_amd.h
182
struct ntb_dev ntb;
drivers/ntb/hw/epf/ntb_hw_epf.c
101
struct ntb_dev ntb;
drivers/ntb/hw/epf/ntb_hw_epf.c
177
static int ntb_epf_mw_count(struct ntb_dev *ntb, int pidx)
drivers/ntb/hw/epf/ntb_hw_epf.c
190
static int ntb_epf_mw_get_align(struct ntb_dev *ntb, int pidx, int idx,
drivers/ntb/hw/epf/ntb_hw_epf.c
220
static u64 ntb_epf_link_is_up(struct ntb_dev *ntb,
drivers/ntb/hw/epf/ntb_hw_epf.c
232
static u32 ntb_epf_spad_read(struct ntb_dev *ntb, int idx)
drivers/ntb/hw/epf/ntb_hw_epf.c
249
static int ntb_epf_spad_write(struct ntb_dev *ntb,
drivers/ntb/hw/epf/ntb_hw_epf.c
268
static u32 ntb_epf_peer_spad_read(struct ntb_dev *ntb, int pidx, int idx)
drivers/ntb/hw/epf/ntb_hw_epf.c
288
static int ntb_epf_peer_spad_write(struct ntb_dev *ntb, int pidx,
drivers/ntb/hw/epf/ntb_hw_epf.c
311
static int ntb_epf_link_enable(struct ntb_dev *ntb,
drivers/ntb/hw/epf/ntb_hw_epf.c
328
static int ntb_epf_link_disable(struct ntb_dev *ntb)
drivers/ntb/hw/epf/ntb_hw_epf.c
422
static int ntb_epf_peer_mw_count(struct ntb_dev *ntb)
drivers/ntb/hw/epf/ntb_hw_epf.c
427
static int ntb_epf_spad_count(struct ntb_dev *ntb)
drivers/ntb/hw/epf/ntb_hw_epf.c
432
static u64 ntb_epf_db_valid_mask(struct ntb_dev *ntb)
drivers/ntb/hw/epf/ntb_hw_epf.c
437
static int ntb_epf_db_vector_count(struct ntb_dev *ntb)
drivers/ntb/hw/epf/ntb_hw_epf.c
452
static u64 ntb_epf_db_vector_mask(struct ntb_dev *ntb, int db_vector)
drivers/ntb/hw/epf/ntb_hw_epf.c
467
static int ntb_epf_db_set_mask(struct ntb_dev *ntb, u64 db_bits)
drivers/ntb/hw/epf/ntb_hw_epf.c
472
static int ntb_epf_mw_set_trans(struct ntb_dev *ntb, int pidx, int idx,
drivers/ntb/hw/epf/ntb_hw_epf.c
506
static int ntb_epf_mw_clear_trans(struct ntb_dev *ntb, int pidx, int idx)
drivers/ntb/hw/epf/ntb_hw_epf.c
519
static int ntb_epf_peer_mw_get_addr(struct ntb_dev *ntb, int idx,
drivers/ntb/hw/epf/ntb_hw_epf.c
542
static int ntb_epf_peer_db_set(struct ntb_dev *ntb, u64 db_bits)
drivers/ntb/hw/epf/ntb_hw_epf.c
575
static u64 ntb_epf_db_read(struct ntb_dev *ntb)
drivers/ntb/hw/epf/ntb_hw_epf.c
582
static int ntb_epf_db_clear_mask(struct ntb_dev *ntb, u64 db_bits)
drivers/ntb/hw/epf/ntb_hw_epf.c
587
static int ntb_epf_db_clear(struct ntb_dev *ntb, u64 db_bits)
drivers/ntb/hw/idt/ntb_hw_idt.c
1166
static int idt_ntb_mw_count(struct ntb_dev *ntb, int pidx)
drivers/ntb/hw/idt/ntb_hw_idt.c
1190
static int idt_ntb_mw_get_align(struct ntb_dev *ntb, int pidx, int widx,
drivers/ntb/hw/idt/ntb_hw_idt.c
1228
static int idt_ntb_peer_mw_count(struct ntb_dev *ntb)
drivers/ntb/hw/idt/ntb_hw_idt.c
1248
static int idt_ntb_peer_mw_get_addr(struct ntb_dev *ntb, int widx,
drivers/ntb/hw/idt/ntb_hw_idt.c
1283
static int idt_ntb_peer_mw_set_trans(struct ntb_dev *ntb, int pidx, int widx,
drivers/ntb/hw/idt/ntb_hw_idt.c
1352
static int idt_ntb_peer_mw_clear_trans(struct ntb_dev *ntb, int pidx,
drivers/ntb/hw/idt/ntb_hw_idt.c
1443
static u64 idt_ntb_db_valid_mask(struct ntb_dev *ntb)
drivers/ntb/hw/idt/ntb_hw_idt.c
1457
static u64 idt_ntb_db_read(struct ntb_dev *ntb)
drivers/ntb/hw/idt/ntb_hw_idt.c
1477
static int idt_ntb_db_clear(struct ntb_dev *ntb, u64 db_bits)
drivers/ntb/hw/idt/ntb_hw_idt.c
1496
static u64 idt_ntb_db_read_mask(struct ntb_dev *ntb)
drivers/ntb/hw/idt/ntb_hw_idt.c
1514
static int idt_ntb_db_set_mask(struct ntb_dev *ntb, u64 db_bits)
drivers/ntb/hw/idt/ntb_hw_idt.c
1535
static int idt_ntb_db_clear_mask(struct ntb_dev *ntb, u64 db_bits)
drivers/ntb/hw/idt/ntb_hw_idt.c
1556
static int idt_ntb_peer_db_set(struct ntb_dev *ntb, u64 db_bits)
drivers/ntb/hw/idt/ntb_hw_idt.c
1625
static int idt_ntb_msg_count(struct ntb_dev *ntb)
drivers/ntb/hw/idt/ntb_hw_idt.c
1640
static u64 idt_ntb_msg_inbits(struct ntb_dev *ntb)
drivers/ntb/hw/idt/ntb_hw_idt.c
1655
static u64 idt_ntb_msg_outbits(struct ntb_dev *ntb)
drivers/ntb/hw/idt/ntb_hw_idt.c
1669
static u64 idt_ntb_msg_read_sts(struct ntb_dev *ntb)
drivers/ntb/hw/idt/ntb_hw_idt.c
1689
static int idt_ntb_msg_clear_sts(struct ntb_dev *ntb, u64 sts_bits)
drivers/ntb/hw/idt/ntb_hw_idt.c
1708
static int idt_ntb_msg_set_mask(struct ntb_dev *ntb, u64 mask_bits)
drivers/ntb/hw/idt/ntb_hw_idt.c
1726
static int idt_ntb_msg_clear_mask(struct ntb_dev *ntb, u64 mask_bits)
drivers/ntb/hw/idt/ntb_hw_idt.c
1747
static u32 idt_ntb_msg_read(struct ntb_dev *ntb, int *pidx, int midx)
drivers/ntb/hw/idt/ntb_hw_idt.c
1783
static int idt_ntb_peer_msg_write(struct ntb_dev *ntb, int pidx, int midx,
drivers/ntb/hw/idt/ntb_hw_idt.c
548
static int idt_ntb_port_number(struct ntb_dev *ntb)
drivers/ntb/hw/idt/ntb_hw_idt.c
563
static int idt_ntb_peer_port_count(struct ntb_dev *ntb)
drivers/ntb/hw/idt/ntb_hw_idt.c
577
static int idt_ntb_peer_port_number(struct ntb_dev *ntb, int pidx)
drivers/ntb/hw/idt/ntb_hw_idt.c
598
static int idt_ntb_peer_port_idx(struct ntb_dev *ntb, int port)
drivers/ntb/hw/idt/ntb_hw_idt.c
879
static u64 idt_ntb_link_is_up(struct ntb_dev *ntb,
drivers/ntb/hw/idt/ntb_hw_idt.c
920
static int idt_ntb_link_enable(struct ntb_dev *ntb, enum ntb_speed speed,
drivers/ntb/hw/idt/ntb_hw_idt.c
941
static int idt_ntb_link_disable(struct ntb_dev *ntb)
drivers/ntb/hw/idt/ntb_hw_idt.h
1125
struct ntb_dev ntb;
drivers/ntb/hw/intel/ntb_hw_gen1.c
1021
int intel_ntb_peer_mw_count(struct ntb_dev *ntb)
drivers/ntb/hw/intel/ntb_hw_gen1.c
1027
int intel_ntb_peer_mw_get_addr(struct ntb_dev *ntb, int idx,
drivers/ntb/hw/intel/ntb_hw_gen1.c
1051
static int intel_ntb_db_is_unsafe(struct ntb_dev *ntb)
drivers/ntb/hw/intel/ntb_hw_gen1.c
1056
u64 intel_ntb_db_valid_mask(struct ntb_dev *ntb)
drivers/ntb/hw/intel/ntb_hw_gen1.c
1061
int intel_ntb_db_vector_count(struct ntb_dev *ntb)
drivers/ntb/hw/intel/ntb_hw_gen1.c
1070
u64 intel_ntb_db_vector_mask(struct ntb_dev *ntb, int db_vector)
drivers/ntb/hw/intel/ntb_hw_gen1.c
1080
static u64 intel_ntb_db_read(struct ntb_dev *ntb)
drivers/ntb/hw/intel/ntb_hw_gen1.c
1089
static int intel_ntb_db_clear(struct ntb_dev *ntb, u64 db_bits)
drivers/ntb/hw/intel/ntb_hw_gen1.c
1098
int intel_ntb_db_set_mask(struct ntb_dev *ntb, u64 db_bits)
drivers/ntb/hw/intel/ntb_hw_gen1.c
1107
int intel_ntb_db_clear_mask(struct ntb_dev *ntb, u64 db_bits)
drivers/ntb/hw/intel/ntb_hw_gen1.c
1116
static int intel_ntb_peer_db_addr(struct ntb_dev *ntb, phys_addr_t *db_addr,
drivers/ntb/hw/intel/ntb_hw_gen1.c
1140
static int intel_ntb_peer_db_set(struct ntb_dev *ntb, u64 db_bits)
drivers/ntb/hw/intel/ntb_hw_gen1.c
1149
int intel_ntb_spad_is_unsafe(struct ntb_dev *ntb)
drivers/ntb/hw/intel/ntb_hw_gen1.c
1154
int intel_ntb_spad_count(struct ntb_dev *ntb)
drivers/ntb/hw/intel/ntb_hw_gen1.c
1163
u32 intel_ntb_spad_read(struct ntb_dev *ntb, int idx)
drivers/ntb/hw/intel/ntb_hw_gen1.c
1172
int intel_ntb_spad_write(struct ntb_dev *ntb, int idx, u32 val)
drivers/ntb/hw/intel/ntb_hw_gen1.c
1181
int intel_ntb_peer_spad_addr(struct ntb_dev *ntb, int pidx, int sidx,
drivers/ntb/hw/intel/ntb_hw_gen1.c
1190
u32 intel_ntb_peer_spad_read(struct ntb_dev *ntb, int pidx, int sidx)
drivers/ntb/hw/intel/ntb_hw_gen1.c
1199
int intel_ntb_peer_spad_write(struct ntb_dev *ntb, int pidx, int sidx,
drivers/ntb/hw/intel/ntb_hw_gen1.c
797
int intel_ntb_mw_count(struct ntb_dev *ntb, int pidx)
drivers/ntb/hw/intel/ntb_hw_gen1.c
805
int intel_ntb_mw_get_align(struct ntb_dev *ntb, int pidx, int idx,
drivers/ntb/hw/intel/ntb_hw_gen1.c
843
static int intel_ntb_mw_set_trans(struct ntb_dev *ntb, int pidx, int idx,
drivers/ntb/hw/intel/ntb_hw_gen1.c
944
u64 intel_ntb_link_is_up(struct ntb_dev *ntb, enum ntb_speed *speed,
drivers/ntb/hw/intel/ntb_hw_gen1.c
966
static int intel_ntb_link_enable(struct ntb_dev *ntb,
drivers/ntb/hw/intel/ntb_hw_gen1.c
997
int intel_ntb_link_disable(struct ntb_dev *ntb)
drivers/ntb/hw/intel/ntb_hw_gen1.h
159
int intel_ntb_mw_count(struct ntb_dev *ntb, int pidx);
drivers/ntb/hw/intel/ntb_hw_gen1.h
160
int intel_ntb_mw_get_align(struct ntb_dev *ntb, int pidx, int idx,
drivers/ntb/hw/intel/ntb_hw_gen1.h
163
int intel_ntb_peer_mw_count(struct ntb_dev *ntb);
drivers/ntb/hw/intel/ntb_hw_gen1.h
164
int intel_ntb_peer_mw_get_addr(struct ntb_dev *ntb, int idx,
drivers/ntb/hw/intel/ntb_hw_gen1.h
166
u64 intel_ntb_link_is_up(struct ntb_dev *ntb, enum ntb_speed *speed,
drivers/ntb/hw/intel/ntb_hw_gen1.h
168
int intel_ntb_link_disable(struct ntb_dev *ntb);
drivers/ntb/hw/intel/ntb_hw_gen1.h
169
u64 intel_ntb_db_valid_mask(struct ntb_dev *ntb);
drivers/ntb/hw/intel/ntb_hw_gen1.h
170
int intel_ntb_db_vector_count(struct ntb_dev *ntb);
drivers/ntb/hw/intel/ntb_hw_gen1.h
171
u64 intel_ntb_db_vector_mask(struct ntb_dev *ntb, int db_vector);
drivers/ntb/hw/intel/ntb_hw_gen1.h
172
int intel_ntb_db_set_mask(struct ntb_dev *ntb, u64 db_bits);
drivers/ntb/hw/intel/ntb_hw_gen1.h
173
int intel_ntb_db_clear_mask(struct ntb_dev *ntb, u64 db_bits);
drivers/ntb/hw/intel/ntb_hw_gen1.h
174
int intel_ntb_spad_is_unsafe(struct ntb_dev *ntb);
drivers/ntb/hw/intel/ntb_hw_gen1.h
175
int intel_ntb_spad_count(struct ntb_dev *ntb);
drivers/ntb/hw/intel/ntb_hw_gen1.h
176
u32 intel_ntb_spad_read(struct ntb_dev *ntb, int idx);
drivers/ntb/hw/intel/ntb_hw_gen1.h
177
int intel_ntb_spad_write(struct ntb_dev *ntb, int idx, u32 val);
drivers/ntb/hw/intel/ntb_hw_gen1.h
178
u32 intel_ntb_peer_spad_read(struct ntb_dev *ntb, int pidx, int sidx);
drivers/ntb/hw/intel/ntb_hw_gen1.h
179
int intel_ntb_peer_spad_write(struct ntb_dev *ntb, int pidx, int sidx,
drivers/ntb/hw/intel/ntb_hw_gen1.h
181
int intel_ntb_peer_spad_addr(struct ntb_dev *ntb, int pidx, int sidx,
drivers/ntb/hw/intel/ntb_hw_gen3.c
421
int intel_ntb3_link_enable(struct ntb_dev *ntb, enum ntb_speed max_speed,
drivers/ntb/hw/intel/ntb_hw_gen3.c
446
static int intel_ntb3_mw_set_trans(struct ntb_dev *ntb, int pidx, int idx,
drivers/ntb/hw/intel/ntb_hw_gen3.c
537
int intel_ntb3_peer_db_addr(struct ntb_dev *ntb, phys_addr_t *db_addr,
drivers/ntb/hw/intel/ntb_hw_gen3.c
568
int intel_ntb3_peer_db_set(struct ntb_dev *ntb, u64 db_bits)
drivers/ntb/hw/intel/ntb_hw_gen3.c
586
u64 intel_ntb3_db_read(struct ntb_dev *ntb)
drivers/ntb/hw/intel/ntb_hw_gen3.c
595
int intel_ntb3_db_clear(struct ntb_dev *ntb, u64 db_bits)
drivers/ntb/hw/intel/ntb_hw_gen3.h
107
int intel_ntb3_link_enable(struct ntb_dev *ntb, enum ntb_speed max_speed,
drivers/ntb/hw/intel/ntb_hw_gen3.h
109
u64 intel_ntb3_db_read(struct ntb_dev *ntb);
drivers/ntb/hw/intel/ntb_hw_gen3.h
110
int intel_ntb3_db_clear(struct ntb_dev *ntb, u64 db_bits);
drivers/ntb/hw/intel/ntb_hw_gen3.h
111
int intel_ntb3_peer_db_set(struct ntb_dev *ntb, u64 db_bits);
drivers/ntb/hw/intel/ntb_hw_gen3.h
112
int intel_ntb3_peer_db_addr(struct ntb_dev *ntb, phys_addr_t *db_addr,
drivers/ntb/hw/intel/ntb_hw_gen4.c
347
static int intel_ntb4_mw_set_trans(struct ntb_dev *ntb, int pidx, int idx,
drivers/ntb/hw/intel/ntb_hw_gen4.c
441
static int intel_ntb4_link_enable(struct ntb_dev *ntb,
drivers/ntb/hw/intel/ntb_hw_gen4.c
507
static int intel_ntb4_link_disable(struct ntb_dev *ntb)
drivers/ntb/hw/intel/ntb_hw_gen4.c
536
static int intel_ntb4_mw_get_align(struct ntb_dev *ntb, int pidx, int idx,
drivers/ntb/hw/intel/ntb_hw_intel.h
140
struct ntb_dev ntb;
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
166
static int switchtec_ntb_mw_count(struct ntb_dev *ntb, int pidx)
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
191
static int switchtec_ntb_mw_get_align(struct ntb_dev *ntb, int pidx,
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
270
static int switchtec_ntb_mw_set_trans(struct ntb_dev *ntb, int pidx, int widx,
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
341
static int switchtec_ntb_peer_mw_count(struct ntb_dev *ntb)
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
402
static int switchtec_ntb_peer_mw_get_addr(struct ntb_dev *ntb, int idx,
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
46
struct ntb_dev ntb;
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
559
static u64 switchtec_ntb_link_is_up(struct ntb_dev *ntb,
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
573
static int switchtec_ntb_link_enable(struct ntb_dev *ntb,
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
589
static int switchtec_ntb_link_disable(struct ntb_dev *ntb)
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
603
static u64 switchtec_ntb_db_valid_mask(struct ntb_dev *ntb)
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
610
static int switchtec_ntb_db_vector_count(struct ntb_dev *ntb)
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
615
static u64 switchtec_ntb_db_vector_mask(struct ntb_dev *ntb, int db_vector)
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
625
static u64 switchtec_ntb_db_read(struct ntb_dev *ntb)
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
635
static int switchtec_ntb_db_clear(struct ntb_dev *ntb, u64 db_bits)
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
644
static int switchtec_ntb_db_set_mask(struct ntb_dev *ntb, u64 db_bits)
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
662
static int switchtec_ntb_db_clear_mask(struct ntb_dev *ntb, u64 db_bits)
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
680
static u64 switchtec_ntb_db_read_mask(struct ntb_dev *ntb)
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
687
static int switchtec_ntb_peer_db_addr(struct ntb_dev *ntb,
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
714
static int switchtec_ntb_peer_db_set(struct ntb_dev *ntb, u64 db_bits)
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
724
static int switchtec_ntb_spad_count(struct ntb_dev *ntb)
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
731
static u32 switchtec_ntb_spad_read(struct ntb_dev *ntb, int idx)
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
744
static int switchtec_ntb_spad_write(struct ntb_dev *ntb, int idx, u32 val)
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
759
static u32 switchtec_ntb_peer_spad_read(struct ntb_dev *ntb, int pidx,
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
776
static int switchtec_ntb_peer_spad_write(struct ntb_dev *ntb, int pidx,
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
795
static int switchtec_ntb_peer_spad_addr(struct ntb_dev *ntb, int pidx,
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
93
static struct switchtec_ntb *ntb_sndev(struct ntb_dev *ntb)
drivers/ntb/msi.c
174
void ntb_msi_clear_mws(struct ntb_dev *ntb)
drivers/ntb/msi.c
190
struct ntb_dev *ntb;
drivers/ntb/msi.c
195
static int ntb_msi_set_desc(struct ntb_dev *ntb, struct msi_desc *entry,
drivers/ntb/msi.c
235
static int ntbm_msi_setup_callback(struct ntb_dev *ntb, struct msi_desc *entry,
drivers/ntb/msi.c
280
int ntbm_msi_request_threaded_irq(struct ntb_dev *ntb, irq_handler_t handler,
drivers/ntb/msi.c
31
int ntb_msi_init(struct ntb_dev *ntb,
drivers/ntb/msi.c
330
int ntb_msi_peer_trigger(struct ntb_dev *ntb, int peer,
drivers/ntb/msi.c
95
int ntb_msi_setup_mws(struct ntb_dev *ntb)
drivers/ntb/ntb_transport.c
1013
struct ntb_dev *ndev = nt->ndev;
drivers/ntb/ntb_transport.c
1236
static int ntb_transport_probe(struct ntb_client *self, struct ntb_dev *ndev)
drivers/ntb/ntb_transport.c
1397
static void ntb_transport_free(struct ntb_client *self, struct ntb_dev *ndev)
drivers/ntb/ntb_transport.c
140
struct ntb_dev *ndev;
drivers/ntb/ntb_transport.c
2026
struct ntb_dev *ndev;
drivers/ntb/ntb_transport.c
239
struct ntb_dev *ndev;
drivers/ntb/ntb_transport.c
587
struct ntb_dev *ndev = nt->ndev;
drivers/ntb/ntb_transport.c
779
struct device *ntb_dev, size_t align)
drivers/ntb/ntb_transport.c
797
alloc_addr = dma_alloc_attrs(ntb_dev, mw->alloc_size,
drivers/ntb/ntb_transport.c
801
dev_err(ntb_dev, "Unable to alloc MW buff of size %zu\n",
drivers/ntb/ntb_transport.c
831
dma_free_attrs(ntb_dev, mw->alloc_size, alloc_addr, dma_addr,
drivers/ntb/test/ntb_msi_test.c
20
struct ntb_dev *ntb;
drivers/ntb/test/ntb_msi_test.c
319
static int ntb_msit_probe(struct ntb_client *client, struct ntb_dev *ntb)
drivers/ntb/test/ntb_msi_test.c
388
static void ntb_msit_remove(struct ntb_client *client, struct ntb_dev *ntb)
drivers/ntb/test/ntb_perf.c
1388
static struct perf_ctx *perf_create_data(struct ntb_dev *ntb)
drivers/ntb/test/ntb_perf.c
1482
static int perf_probe(struct ntb_client *client, struct ntb_dev *ntb)
drivers/ntb/test/ntb_perf.c
1510
static void perf_remove(struct ntb_client *client, struct ntb_dev *ntb)
drivers/ntb/test/ntb_perf.c
188
struct ntb_dev *ntb;
drivers/ntb/test/ntb_pingpong.c
100
struct ntb_dev *ntb;
drivers/ntb/test/ntb_pingpong.c
242
static int pp_check_ntb(struct ntb_dev *ntb)
drivers/ntb/test/ntb_pingpong.c
276
static struct pp_ctx *pp_create_data(struct ntb_dev *ntb)
drivers/ntb/test/ntb_pingpong.c
366
static int pp_probe(struct ntb_client *client, struct ntb_dev *ntb)
drivers/ntb/test/ntb_pingpong.c
394
static void pp_remove(struct ntb_client *client, struct ntb_dev *ntb)
drivers/ntb/test/ntb_tool.c
1438
static struct tool_ctx *tool_create_data(struct ntb_dev *ntb)
drivers/ntb/test/ntb_tool.c
1605
static int tool_probe(struct ntb_client *self, struct ntb_dev *ntb)
drivers/ntb/test/ntb_tool.c
1647
static void tool_remove(struct ntb_client *self, struct ntb_dev *ntb)
drivers/ntb/test/ntb_tool.c
257
struct ntb_dev *ntb;
drivers/ntb/test/ntb_tool.c
343
u64 (*fn_read)(struct ntb_dev *))
drivers/ntb/test/ntb_tool.c
362
int (*fn_set)(struct ntb_dev *, u64),
drivers/ntb/test/ntb_tool.c
363
int (*fn_clear)(struct ntb_dev *, u64))
drivers/pci/endpoint/functions/pci-epf-vntb.c
1348
static int vntb_epf_mw_count(struct ntb_dev *ntb, int pidx)
drivers/pci/endpoint/functions/pci-epf-vntb.c
135
struct ntb_dev ntb;
drivers/pci/endpoint/functions/pci-epf-vntb.c
1355
static int vntb_epf_spad_count(struct ntb_dev *ntb)
drivers/pci/endpoint/functions/pci-epf-vntb.c
1360
static int vntb_epf_peer_mw_count(struct ntb_dev *ntb)
drivers/pci/endpoint/functions/pci-epf-vntb.c
1365
static int vntb_epf_db_vector_count(struct ntb_dev *ntb)
drivers/pci/endpoint/functions/pci-epf-vntb.c
1384
static u64 vntb_epf_db_valid_mask(struct ntb_dev *ntb)
drivers/pci/endpoint/functions/pci-epf-vntb.c
1394
static u64 vntb_epf_db_vector_mask(struct ntb_dev *ntb, int db_vector)
drivers/pci/endpoint/functions/pci-epf-vntb.c
1409
static int vntb_epf_db_set_mask(struct ntb_dev *ntb, u64 db_bits)
drivers/pci/endpoint/functions/pci-epf-vntb.c
1414
static int vntb_epf_mw_set_trans(struct ntb_dev *ndev, int pidx, int idx,
drivers/pci/endpoint/functions/pci-epf-vntb.c
1438
static int vntb_epf_mw_clear_trans(struct ntb_dev *ntb, int pidx, int idx)
drivers/pci/endpoint/functions/pci-epf-vntb.c
1443
static int vntb_epf_peer_mw_get_addr(struct ntb_dev *ndev, int idx,
drivers/pci/endpoint/functions/pci-epf-vntb.c
1458
static int vntb_epf_link_enable(struct ntb_dev *ntb,
drivers/pci/endpoint/functions/pci-epf-vntb.c
1465
static u32 vntb_epf_spad_read(struct ntb_dev *ndev, int idx)
drivers/pci/endpoint/functions/pci-epf-vntb.c
1476
static int vntb_epf_spad_write(struct ntb_dev *ndev, int idx, u32 val)
drivers/pci/endpoint/functions/pci-epf-vntb.c
1487
static u32 vntb_epf_peer_spad_read(struct ntb_dev *ndev, int pidx, int idx)
drivers/pci/endpoint/functions/pci-epf-vntb.c
1499
static int vntb_epf_peer_spad_write(struct ntb_dev *ndev, int pidx, int idx, u32 val)
drivers/pci/endpoint/functions/pci-epf-vntb.c
1571
static int vntb_epf_peer_db_set(struct ntb_dev *ndev, u64 db_bits)
drivers/pci/endpoint/functions/pci-epf-vntb.c
1590
static u64 vntb_epf_db_read(struct ntb_dev *ndev)
drivers/pci/endpoint/functions/pci-epf-vntb.c
1597
static int vntb_epf_mw_get_align(struct ntb_dev *ndev, int pidx, int idx,
drivers/pci/endpoint/functions/pci-epf-vntb.c
1616
static u64 vntb_epf_link_is_up(struct ntb_dev *ndev,
drivers/pci/endpoint/functions/pci-epf-vntb.c
1625
static int vntb_epf_db_clear_mask(struct ntb_dev *ndev, u64 db_bits)
drivers/pci/endpoint/functions/pci-epf-vntb.c
1630
static int vntb_epf_db_clear(struct ntb_dev *ndev, u64 db_bits)
drivers/pci/endpoint/functions/pci-epf-vntb.c
1638
static int vntb_epf_link_disable(struct ntb_dev *ntb)
drivers/pci/endpoint/functions/pci-epf-vntb.c
1643
static struct device *vntb_epf_get_dma_dev(struct ntb_dev *ndev)
include/linux/ntb.h
1012
static inline int ntb_db_vector_count(struct ntb_dev *ntb)
include/linux/ntb.h
1029
static inline u64 ntb_db_vector_mask(struct ntb_dev *ntb, int vector)
include/linux/ntb.h
1045
static inline u64 ntb_db_read(struct ntb_dev *ntb)
include/linux/ntb.h
1062
static inline int ntb_db_set(struct ntb_dev *ntb, u64 db_bits)
include/linux/ntb.h
1080
static inline int ntb_db_clear(struct ntb_dev *ntb, u64 db_bits)
include/linux/ntb.h
1095
static inline u64 ntb_db_read_mask(struct ntb_dev *ntb)
include/linux/ntb.h
1114
static inline int ntb_db_set_mask(struct ntb_dev *ntb, u64 db_bits)
include/linux/ntb.h
1133
static inline int ntb_db_clear_mask(struct ntb_dev *ntb, u64 db_bits)
include/linux/ntb.h
1156
static inline int ntb_peer_db_addr(struct ntb_dev *ntb,
include/linux/ntb.h
1177
static inline u64 ntb_peer_db_read(struct ntb_dev *ntb)
include/linux/ntb.h
1195
static inline int ntb_peer_db_set(struct ntb_dev *ntb, u64 db_bits)
include/linux/ntb.h
1212
static inline int ntb_peer_db_clear(struct ntb_dev *ntb, u64 db_bits)
include/linux/ntb.h
1230
static inline u64 ntb_peer_db_read_mask(struct ntb_dev *ntb)
include/linux/ntb.h
1251
static inline int ntb_peer_db_set_mask(struct ntb_dev *ntb, u64 db_bits)
include/linux/ntb.h
1273
static inline int ntb_peer_db_clear_mask(struct ntb_dev *ntb, u64 db_bits)
include/linux/ntb.h
1291
static inline int ntb_spad_is_unsafe(struct ntb_dev *ntb)
include/linux/ntb.h
1308
static inline int ntb_spad_count(struct ntb_dev *ntb)
include/linux/ntb.h
1325
static inline u32 ntb_spad_read(struct ntb_dev *ntb, int sidx)
include/linux/ntb.h
1343
static inline int ntb_spad_write(struct ntb_dev *ntb, int sidx, u32 val)
include/linux/ntb.h
1363
static inline int ntb_peer_spad_addr(struct ntb_dev *ntb, int pidx, int sidx,
include/linux/ntb.h
1382
static inline u32 ntb_peer_spad_read(struct ntb_dev *ntb, int pidx, int sidx)
include/linux/ntb.h
1401
static inline int ntb_peer_spad_write(struct ntb_dev *ntb, int pidx, int sidx,
include/linux/ntb.h
1418
static inline int ntb_msg_count(struct ntb_dev *ntb)
include/linux/ntb.h
1435
static inline u64 ntb_msg_inbits(struct ntb_dev *ntb)
include/linux/ntb.h
1452
static inline u64 ntb_msg_outbits(struct ntb_dev *ntb)
include/linux/ntb.h
1470
static inline u64 ntb_msg_read_sts(struct ntb_dev *ntb)
include/linux/ntb.h
1487
static inline int ntb_msg_clear_sts(struct ntb_dev *ntb, u64 sts_bits)
include/linux/ntb.h
1504
static inline int ntb_msg_set_mask(struct ntb_dev *ntb, u64 mask_bits)
include/linux/ntb.h
1521
static inline int ntb_msg_clear_mask(struct ntb_dev *ntb, u64 mask_bits)
include/linux/ntb.h
1540
static inline u32 ntb_msg_read(struct ntb_dev *ntb, int *pidx, int midx)
include/linux/ntb.h
1561
static inline int ntb_peer_msg_write(struct ntb_dev *ntb, int pidx, int midx,
include/linux/ntb.h
1582
static inline struct device *ntb_get_dma_dev(struct ntb_dev *ntb)
include/linux/ntb.h
1621
static inline int ntb_peer_resource_idx(struct ntb_dev *ntb, int pidx)
include/linux/ntb.h
1649
static inline int ntb_peer_highest_mw_idx(struct ntb_dev *ntb, int pidx)
include/linux/ntb.h
1667
int ntb_msi_init(struct ntb_dev *ntb, void (*desc_changed)(void *ctx));
include/linux/ntb.h
1668
int ntb_msi_setup_mws(struct ntb_dev *ntb);
include/linux/ntb.h
1669
void ntb_msi_clear_mws(struct ntb_dev *ntb);
include/linux/ntb.h
1670
int ntbm_msi_request_threaded_irq(struct ntb_dev *ntb, irq_handler_t handler,
include/linux/ntb.h
1674
int ntb_msi_peer_trigger(struct ntb_dev *ntb, int peer,
include/linux/ntb.h
1679
static inline int ntb_msi_init(struct ntb_dev *ntb,
include/linux/ntb.h
1684
static inline int ntb_msi_setup_mws(struct ntb_dev *ntb)
include/linux/ntb.h
1688
static inline void ntb_msi_clear_mws(struct ntb_dev *ntb) {}
include/linux/ntb.h
1689
static inline int ntbm_msi_request_threaded_irq(struct ntb_dev *ntb,
include/linux/ntb.h
1697
static inline int ntb_msi_peer_trigger(struct ntb_dev *ntb, int peer,
include/linux/ntb.h
1704
static inline int ntbm_msi_request_irq(struct ntb_dev *ntb,
include/linux/ntb.h
174
int (*probe)(struct ntb_client *client, struct ntb_dev *ntb);
include/linux/ntb.h
175
void (*remove)(struct ntb_client *client, struct ntb_dev *ntb);
include/linux/ntb.h
262
int (*port_number)(struct ntb_dev *ntb);
include/linux/ntb.h
263
int (*peer_port_count)(struct ntb_dev *ntb);
include/linux/ntb.h
264
int (*peer_port_number)(struct ntb_dev *ntb, int pidx);
include/linux/ntb.h
265
int (*peer_port_idx)(struct ntb_dev *ntb, int port);
include/linux/ntb.h
267
u64 (*link_is_up)(struct ntb_dev *ntb,
include/linux/ntb.h
269
int (*link_enable)(struct ntb_dev *ntb,
include/linux/ntb.h
271
int (*link_disable)(struct ntb_dev *ntb);
include/linux/ntb.h
273
int (*mw_count)(struct ntb_dev *ntb, int pidx);
include/linux/ntb.h
274
int (*mw_get_align)(struct ntb_dev *ntb, int pidx, int widx,
include/linux/ntb.h
278
int (*mw_set_trans)(struct ntb_dev *ntb, int pidx, int widx,
include/linux/ntb.h
280
int (*mw_clear_trans)(struct ntb_dev *ntb, int pidx, int widx);
include/linux/ntb.h
281
int (*peer_mw_count)(struct ntb_dev *ntb);
include/linux/ntb.h
282
int (*peer_mw_get_addr)(struct ntb_dev *ntb, int widx,
include/linux/ntb.h
284
int (*peer_mw_set_trans)(struct ntb_dev *ntb, int pidx, int widx,
include/linux/ntb.h
286
int (*peer_mw_clear_trans)(struct ntb_dev *ntb, int pidx, int widx);
include/linux/ntb.h
288
int (*db_is_unsafe)(struct ntb_dev *ntb);
include/linux/ntb.h
289
u64 (*db_valid_mask)(struct ntb_dev *ntb);
include/linux/ntb.h
290
int (*db_vector_count)(struct ntb_dev *ntb);
include/linux/ntb.h
291
u64 (*db_vector_mask)(struct ntb_dev *ntb, int db_vector);
include/linux/ntb.h
293
u64 (*db_read)(struct ntb_dev *ntb);
include/linux/ntb.h
294
int (*db_set)(struct ntb_dev *ntb, u64 db_bits);
include/linux/ntb.h
295
int (*db_clear)(struct ntb_dev *ntb, u64 db_bits);
include/linux/ntb.h
297
u64 (*db_read_mask)(struct ntb_dev *ntb);
include/linux/ntb.h
298
int (*db_set_mask)(struct ntb_dev *ntb, u64 db_bits);
include/linux/ntb.h
299
int (*db_clear_mask)(struct ntb_dev *ntb, u64 db_bits);
include/linux/ntb.h
301
int (*peer_db_addr)(struct ntb_dev *ntb,
include/linux/ntb.h
304
u64 (*peer_db_read)(struct ntb_dev *ntb);
include/linux/ntb.h
305
int (*peer_db_set)(struct ntb_dev *ntb, u64 db_bits);
include/linux/ntb.h
306
int (*peer_db_clear)(struct ntb_dev *ntb, u64 db_bits);
include/linux/ntb.h
308
u64 (*peer_db_read_mask)(struct ntb_dev *ntb);
include/linux/ntb.h
309
int (*peer_db_set_mask)(struct ntb_dev *ntb, u64 db_bits);
include/linux/ntb.h
310
int (*peer_db_clear_mask)(struct ntb_dev *ntb, u64 db_bits);
include/linux/ntb.h
312
int (*spad_is_unsafe)(struct ntb_dev *ntb);
include/linux/ntb.h
313
int (*spad_count)(struct ntb_dev *ntb);
include/linux/ntb.h
315
u32 (*spad_read)(struct ntb_dev *ntb, int sidx);
include/linux/ntb.h
316
int (*spad_write)(struct ntb_dev *ntb, int sidx, u32 val);
include/linux/ntb.h
318
int (*peer_spad_addr)(struct ntb_dev *ntb, int pidx, int sidx,
include/linux/ntb.h
320
u32 (*peer_spad_read)(struct ntb_dev *ntb, int pidx, int sidx);
include/linux/ntb.h
321
int (*peer_spad_write)(struct ntb_dev *ntb, int pidx, int sidx,
include/linux/ntb.h
324
int (*msg_count)(struct ntb_dev *ntb);
include/linux/ntb.h
325
u64 (*msg_inbits)(struct ntb_dev *ntb);
include/linux/ntb.h
326
u64 (*msg_outbits)(struct ntb_dev *ntb);
include/linux/ntb.h
327
u64 (*msg_read_sts)(struct ntb_dev *ntb);
include/linux/ntb.h
328
int (*msg_clear_sts)(struct ntb_dev *ntb, u64 sts_bits);
include/linux/ntb.h
329
int (*msg_set_mask)(struct ntb_dev *ntb, u64 mask_bits);
include/linux/ntb.h
330
int (*msg_clear_mask)(struct ntb_dev *ntb, u64 mask_bits);
include/linux/ntb.h
331
u32 (*msg_read)(struct ntb_dev *ntb, int *pidx, int midx);
include/linux/ntb.h
332
int (*peer_msg_write)(struct ntb_dev *ntb, int pidx, int midx, u32 msg);
include/linux/ntb.h
333
struct device *(*get_dma_dev)(struct ntb_dev *ntb);
include/linux/ntb.h
440
#define dev_ntb(__dev) container_of((__dev), struct ntb_dev, dev)
include/linux/ntb.h
482
int ntb_register_device(struct ntb_dev *ntb);
include/linux/ntb.h
492
void ntb_unregister_device(struct ntb_dev *ntb);
include/linux/ntb.h
506
int ntb_set_ctx(struct ntb_dev *ntb, void *ctx,
include/linux/ntb.h
516
void ntb_clear_ctx(struct ntb_dev *ntb);
include/linux/ntb.h
525
void ntb_link_event(struct ntb_dev *ntb);
include/linux/ntb.h
540
void ntb_db_event(struct ntb_dev *ntb, int vector);
include/linux/ntb.h
552
void ntb_msg_event(struct ntb_dev *ntb);
include/linux/ntb.h
567
int ntb_default_port_number(struct ntb_dev *ntb);
include/linux/ntb.h
580
int ntb_default_peer_port_count(struct ntb_dev *ntb);
include/linux/ntb.h
595
int ntb_default_peer_port_number(struct ntb_dev *ntb, int pidx);
include/linux/ntb.h
612
int ntb_default_peer_port_idx(struct ntb_dev *ntb, int port);
include/linux/ntb.h
622
static inline int ntb_port_number(struct ntb_dev *ntb)
include/linux/ntb.h
639
static inline int ntb_peer_port_count(struct ntb_dev *ntb)
include/linux/ntb.h
64
struct ntb_dev;
include/linux/ntb.h
657
static inline int ntb_peer_port_number(struct ntb_dev *ntb, int pidx)
include/linux/ntb.h
679
static inline int ntb_logical_port_number(struct ntb_dev *ntb)
include/linux/ntb.h
709
static inline int ntb_peer_logical_port_number(struct ntb_dev *ntb, int pidx)
include/linux/ntb.h
727
static inline int ntb_peer_port_idx(struct ntb_dev *ntb, int port)
include/linux/ntb.h
748
static inline u64 ntb_link_is_up(struct ntb_dev *ntb,
include/linux/ntb.h
768
static inline int ntb_link_enable(struct ntb_dev *ntb,
include/linux/ntb.h
787
static inline int ntb_link_disable(struct ntb_dev *ntb)
include/linux/ntb.h
806
static inline int ntb_mw_count(struct ntb_dev *ntb, int pidx)
include/linux/ntb.h
827
static inline int ntb_mw_get_align(struct ntb_dev *ntb, int pidx, int widx,
include/linux/ntb.h
858
static inline int ntb_mw_set_trans(struct ntb_dev *ntb, int pidx, int widx,
include/linux/ntb.h
879
static inline int ntb_mw_clear_trans(struct ntb_dev *ntb, int pidx, int widx)
include/linux/ntb.h
898
static inline int ntb_peer_mw_count(struct ntb_dev *ntb)
include/linux/ntb.h
916
static inline int ntb_peer_mw_get_addr(struct ntb_dev *ntb, int widx,
include/linux/ntb.h
940
static inline int ntb_peer_mw_set_trans(struct ntb_dev *ntb, int pidx, int widx,
include/linux/ntb.h
964
static inline int ntb_peer_mw_clear_trans(struct ntb_dev *ntb, int pidx,
include/linux/ntb.h
983
static inline int ntb_db_is_unsafe(struct ntb_dev *ntb)
include/linux/ntb.h
999
static inline u64 ntb_db_valid_mask(struct ntb_dev *ntb)