Home
last modified time | relevance | path

Searched defs:ntb (Results 1 – 13 of 13) sorted by relevance

/linux-4.19.296/drivers/ntb/
Dntb.c101 int ntb_register_device(struct ntb_dev *ntb) in ntb_register_device()
127 void ntb_unregister_device(struct ntb_dev *ntb) in ntb_unregister_device()
134 int ntb_set_ctx(struct ntb_dev *ntb, void *ctx, in ntb_set_ctx()
155 void ntb_clear_ctx(struct ntb_dev *ntb) in ntb_clear_ctx()
168 void ntb_link_event(struct ntb_dev *ntb) in ntb_link_event()
181 void ntb_db_event(struct ntb_dev *ntb, int vector) in ntb_db_event()
194 void ntb_msg_event(struct ntb_dev *ntb) in ntb_msg_event()
207 int ntb_default_port_number(struct ntb_dev *ntb) in ntb_default_port_number()
222 int ntb_default_peer_port_count(struct ntb_dev *ntb) in ntb_default_peer_port_count()
228 int ntb_default_peer_port_number(struct ntb_dev *ntb, int pidx) in ntb_default_peer_port_number()
[all …]
/linux-4.19.296/include/linux/
Dntb.h611 static inline int ntb_port_number(struct ntb_dev *ntb) in ntb_port_number()
629 static inline int ntb_peer_port_count(struct ntb_dev *ntb) in ntb_peer_port_count()
647 static inline int ntb_peer_port_number(struct ntb_dev *ntb, int pidx) in ntb_peer_port_number()
665 static inline int ntb_peer_port_idx(struct ntb_dev *ntb, int port) in ntb_peer_port_idx()
686 static inline u64 ntb_link_is_up(struct ntb_dev *ntb, in ntb_link_is_up()
706 static inline int ntb_link_enable(struct ntb_dev *ntb, in ntb_link_enable()
725 static inline int ntb_link_disable(struct ntb_dev *ntb) in ntb_link_disable()
744 static inline int ntb_mw_count(struct ntb_dev *ntb, int pidx) in ntb_mw_count()
765 static inline int ntb_mw_get_align(struct ntb_dev *ntb, int pidx, int widx, in ntb_mw_get_align()
796 static inline int ntb_mw_set_trans(struct ntb_dev *ntb, int pidx, int widx, in ntb_mw_set_trans()
[all …]
/linux-4.19.296/drivers/ntb/hw/idt/
Dntb_hw_idt.c547 static int idt_ntb_port_number(struct ntb_dev *ntb) in idt_ntb_port_number()
562 static int idt_ntb_peer_port_count(struct ntb_dev *ntb) in idt_ntb_peer_port_count()
576 static int idt_ntb_peer_port_number(struct ntb_dev *ntb, int pidx) in idt_ntb_peer_port_number()
597 static int idt_ntb_peer_port_idx(struct ntb_dev *ntb, int port) in idt_ntb_peer_port_idx()
880 static u64 idt_ntb_link_is_up(struct ntb_dev *ntb, in idt_ntb_link_is_up()
921 static int idt_ntb_link_enable(struct ntb_dev *ntb, enum ntb_speed speed, in idt_ntb_link_enable()
942 static int idt_ntb_link_disable(struct ntb_dev *ntb) in idt_ntb_link_disable()
1171 static int idt_ntb_mw_count(struct ntb_dev *ntb, int pidx) in idt_ntb_mw_count()
1195 static int idt_ntb_mw_get_align(struct ntb_dev *ntb, int pidx, int widx, in idt_ntb_mw_get_align()
1233 static int idt_ntb_peer_mw_count(struct ntb_dev *ntb) in idt_ntb_peer_mw_count()
[all …]
Dntb_hw_idt.h1050 struct ntb_dev ntb; member
/linux-4.19.296/drivers/ntb/hw/amd/
Dntb_hw_amd.c84 static int amd_ntb_mw_count(struct ntb_dev *ntb, int pidx) in amd_ntb_mw_count()
92 static int amd_ntb_mw_get_align(struct ntb_dev *ntb, int pidx, int idx, in amd_ntb_mw_get_align()
119 static int amd_ntb_mw_set_trans(struct ntb_dev *ntb, int pidx, int idx, in amd_ntb_mw_set_trans()
222 static u64 amd_ntb_link_is_up(struct ntb_dev *ntb, in amd_ntb_link_is_up()
250 static int amd_ntb_link_enable(struct ntb_dev *ntb, in amd_ntb_link_enable()
273 static int amd_ntb_link_disable(struct ntb_dev *ntb) in amd_ntb_link_disable()
294 static int amd_ntb_peer_mw_count(struct ntb_dev *ntb) in amd_ntb_peer_mw_count()
300 static int amd_ntb_peer_mw_get_addr(struct ntb_dev *ntb, int idx, in amd_ntb_peer_mw_get_addr()
319 static u64 amd_ntb_db_valid_mask(struct ntb_dev *ntb) in amd_ntb_db_valid_mask()
324 static int amd_ntb_db_vector_count(struct ntb_dev *ntb) in amd_ntb_db_vector_count()
[all …]
Dntb_hw_amd.h181 struct ntb_dev ntb; member
/linux-4.19.296/drivers/ntb/hw/intel/
Dntb_hw_gen1.c795 int intel_ntb_mw_count(struct ntb_dev *ntb, int pidx) in intel_ntb_mw_count()
803 int intel_ntb_mw_get_align(struct ntb_dev *ntb, int pidx, int idx, in intel_ntb_mw_get_align()
841 static int intel_ntb_mw_set_trans(struct ntb_dev *ntb, int pidx, int idx, in intel_ntb_mw_set_trans()
942 u64 intel_ntb_link_is_up(struct ntb_dev *ntb, enum ntb_speed *speed, in intel_ntb_link_is_up()
964 static int intel_ntb_link_enable(struct ntb_dev *ntb, in intel_ntb_link_enable()
995 int intel_ntb_link_disable(struct ntb_dev *ntb) in intel_ntb_link_disable()
1019 int intel_ntb_peer_mw_count(struct ntb_dev *ntb) in intel_ntb_peer_mw_count()
1025 int intel_ntb_peer_mw_get_addr(struct ntb_dev *ntb, int idx, in intel_ntb_peer_mw_get_addr()
1049 static int intel_ntb_db_is_unsafe(struct ntb_dev *ntb) in intel_ntb_db_is_unsafe()
1054 u64 intel_ntb_db_valid_mask(struct ntb_dev *ntb) in intel_ntb_db_valid_mask()
[all …]
Dntb_hw_gen3.c418 static int intel_ntb3_link_enable(struct ntb_dev *ntb, in intel_ntb3_link_enable()
444 static int intel_ntb3_mw_set_trans(struct ntb_dev *ntb, int pidx, int idx, in intel_ntb3_mw_set_trans()
535 static int intel_ntb3_peer_db_set(struct ntb_dev *ntb, u64 db_bits) in intel_ntb3_peer_db_set()
553 static u64 intel_ntb3_db_read(struct ntb_dev *ntb) in intel_ntb3_db_read()
562 static int intel_ntb3_db_clear(struct ntb_dev *ntb, u64 db_bits) in intel_ntb3_db_clear()
Dntb_hw_intel.h138 struct ntb_dev ntb; member
/linux-4.19.296/drivers/ntb/hw/mscc/
Dntb_hw_switchtec.c83 struct ntb_dev ntb; member
129 static struct switchtec_ntb *ntb_sndev(struct ntb_dev *ntb) in ntb_sndev()
202 static int switchtec_ntb_mw_count(struct ntb_dev *ntb, int pidx) in switchtec_ntb_mw_count()
227 static int switchtec_ntb_mw_get_align(struct ntb_dev *ntb, int pidx, in switchtec_ntb_mw_get_align()
303 static int switchtec_ntb_mw_set_trans(struct ntb_dev *ntb, int pidx, int widx, in switchtec_ntb_mw_set_trans()
374 static int switchtec_ntb_peer_mw_count(struct ntb_dev *ntb) in switchtec_ntb_peer_mw_count()
435 static int switchtec_ntb_peer_mw_get_addr(struct ntb_dev *ntb, int idx, in switchtec_ntb_peer_mw_get_addr()
580 static u64 switchtec_ntb_link_is_up(struct ntb_dev *ntb, in switchtec_ntb_link_is_up()
594 static int switchtec_ntb_link_enable(struct ntb_dev *ntb, in switchtec_ntb_link_enable()
610 static int switchtec_ntb_link_disable(struct ntb_dev *ntb) in switchtec_ntb_link_disable()
[all …]
/linux-4.19.296/drivers/ntb/test/
Dntb_pingpong.c100 struct ntb_dev *ntb; member
242 static int pp_check_ntb(struct ntb_dev *ntb) in pp_check_ntb()
276 static struct pp_ctx *pp_create_data(struct ntb_dev *ntb) in pp_create_data()
370 static int pp_probe(struct ntb_client *client, struct ntb_dev *ntb) in pp_probe()
398 static void pp_remove(struct ntb_client *client, struct ntb_dev *ntb) in pp_remove()
Dntb_perf.c187 struct ntb_dev *ntb; member
1357 static struct perf_ctx *perf_create_data(struct ntb_dev *ntb) in perf_create_data()
1449 static int perf_probe(struct ntb_client *client, struct ntb_dev *ntb) in perf_probe()
1477 static void perf_remove(struct ntb_client *client, struct ntb_dev *ntb) in perf_remove()
Dntb_tool.c257 struct ntb_dev *ntb; member
1445 static struct tool_ctx *tool_create_data(struct ntb_dev *ntb) in tool_create_data()
1614 static int tool_probe(struct ntb_client *self, struct ntb_dev *ntb) in tool_probe()
1656 static void tool_remove(struct ntb_client *self, struct ntb_dev *ntb) in tool_remove()