Home
last modified time | relevance | path

Searched refs:ntb (Results 1 – 24 of 24) sorted by relevance

/src/sys/dev/ntb/ntb_hw/
H A Dntb_hw_intel.c127 #define HAS_FEATURE(ntb, feature) \ argument
128 (((ntb)->features & (feature)) != 0)
160 struct ntb_softc *ntb; member
296 bus_space_read_ ## SIZE (ntb->bar_info[(bar)].pci_bus_tag, \
297 ntb->bar_info[(bar)].pci_bus_handle, (offset))
299 bus_space_write_ ## SIZE (ntb->bar_info[(bar)].pci_bus_tag, \
300 ntb->bar_info[(bar)].pci_bus_handle, (offset), (val))
306 intel_ntb_bar_read(SIZE, intel_ntb_mw_to_bar(ntb, ntb->b2b_mw_idx), \
309 intel_ntb_bar_write(SIZE, intel_ntb_mw_to_bar(ntb, ntb->b2b_mw_idx), \
331 static int intel_ntb_map_pci_bars(struct ntb_softc *ntb);
[all …]
H A Dntb_hw_amd.c130 device_printf(ntb->device, __VA_ARGS__); \
159 struct amd_ntb_softc *ntb = device_get_softc(dev); in amd_ntb_port_number() local
161 amd_ntb_printf(1, "%s: conn_type %d\n", __func__, ntb->conn_type); in amd_ntb_port_number()
163 switch (ntb->conn_type) { in amd_ntb_port_number()
178 struct amd_ntb_softc *ntb = device_get_softc(dev); in amd_ntb_peer_port_count() local
187 struct amd_ntb_softc *ntb = device_get_softc(dev); in amd_ntb_peer_port_number() local
190 __func__, pidx, ntb->conn_type); in amd_ntb_peer_port_number()
195 switch (ntb->conn_type) { in amd_ntb_peer_port_number()
210 struct amd_ntb_softc *ntb = device_get_softc(dev); in amd_ntb_peer_port_idx() local
228 amd_link_is_up(struct amd_ntb_softc *ntb) in amd_link_is_up() argument
[all …]
H A Dntb_hw_amd.h69 bus_space_read_ ## SIZE (ntb->bar_info[(bar)].pci_bus_tag, \
70 ntb->bar_info[(bar)].pci_bus_handle, (offset))
72 bus_space_write_ ## SIZE (ntb->bar_info[(bar)].pci_bus_tag, \
73 ntb->bar_info[(bar)].pci_bus_handle, (offset), (val))
143 struct amd_ntb_softc *ntb; member
259 static void amd_init_side_info(struct amd_ntb_softc *ntb);
260 static void amd_deinit_side_info(struct amd_ntb_softc *ntb);
H A Dntb_hw_plx.c1108 MODULE_DEPEND(ntb_hw_plx, ntb, 1, 1, 1);
/src/sys/dev/ntb/
H A Dntb.h34 int ntb_register_device(device_t ntb);
35 int ntb_unregister_device(device_t ntb);
47 void ntb_link_event(device_t ntb);
62 void ntb_db_event(device_t ntb, uint32_t vec);
72 int ntb_port_number(device_t ntb);
82 int ntb_peer_port_count(device_t ntb);
94 int ntb_peer_port_number(device_t ntb, int pidx);
107 int ntb_peer_port_idx(device_t ntb, int port);
117 bool ntb_link_is_up(device_t ntb, enum ntb_speed *speed, enum ntb_width *width);
135 int ntb_link_enable(device_t ntb, enum ntb_speed speed, enum ntb_width width);
[all …]
H A Dntb.c39 SYSCTL_NODE(_hw, OID_AUTO, ntb, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
251 ntb_port_number(device_t ntb) in ntb_port_number() argument
253 return (NTB_PORT_NUMBER(device_get_parent(ntb))); in ntb_port_number()
257 ntb_peer_port_count(device_t ntb) in ntb_peer_port_count() argument
259 return (NTB_PEER_PORT_COUNT(device_get_parent(ntb))); in ntb_peer_port_count()
263 ntb_peer_port_number(device_t ntb, int pidx) in ntb_peer_port_number() argument
265 return (NTB_PEER_PORT_NUMBER(device_get_parent(ntb), pidx)); in ntb_peer_port_number()
269 ntb_peer_port_idx(device_t ntb, int port) in ntb_peer_port_idx() argument
271 return (NTB_PEER_PORT_IDX(device_get_parent(ntb), port)); in ntb_peer_port_idx()
275 ntb_link_is_up(device_t ntb, enum ntb_speed *speed, enum ntb_width *width) in ntb_link_is_up() argument
[all …]
H A Dntb_if.m31 INTERFACE ntb;
64 device_t ntb;
68 device_t ntb;
72 device_t ntb;
77 device_t ntb;
82 device_t ntb;
88 device_t ntb;
94 device_t ntb;
98 device_t ntb;
102 device_t ntb;
[all …]
H A Dntb_transport.c1692 MODULE_DEPEND(ntb_transport, ntb, 1, 1, 1);
/src/sys/modules/ntb/ntb/
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/ntb
3 KMOD = ntb
4 SRCS = ntb.c ntb_if.c
/src/tools/kerneldoc/subsys/
H A DDoxyfile-dev_ntb6 PROJECT_NAME = "FreeBSD kernel ntb device code"
12 INPUT = $(DOXYGEN_SRC_PATH)/dev/ntb/ \
/src/sbin/dump/
H A Dtape.c395 union u_spcl *ntb, *otb; in rollforward() local
397 ntb = (union u_spcl *)twp->tblock[1]; in rollforward()
417 *ntb++ = *otb++; /* copy the datablock also */ in rollforward()
426 ntb--; in rollforward()
441 size = (char *)ntb - (char *)q; in rollforward()
460 ntb = (union u_spcl *)twp->tblock; in rollforward()
467 *((union u_spcl *)twp->tblock) = *ntb; in rollforward()
468 ntb = (union u_spcl *)twp->tblock[1]; in rollforward()
/src/sys/conf/
H A Dfiles.x86303 dev/ntb/if_ntb/if_ntb.c optional if_ntb
304 dev/ntb/ntb_transport.c optional ntb_transport | if_ntb
305 dev/ntb/ntb.c optional ntb | ntb_transport | if_ntb | ntb_hw_amd | ntb_hw_intel | ntb_hw_plx | nt…
306 dev/ntb/ntb_if.m optional ntb | ntb_transport | if_ntb | ntb_hw_amd | ntb_hw_intel | ntb_hw_plx | …
307 dev/ntb/ntb_hw/ntb_hw_amd.c optional ntb_hw_amd | ntb_hw
308 dev/ntb/ntb_hw/ntb_hw_intel.c optional ntb_hw_intel | ntb_hw
309 dev/ntb/ntb_hw/ntb_hw_plx.c optional ntb_hw_plx | ntb_hw
310 dev/ntb/test/ntb_tool.c optional ntb_tool
/src/sys/modules/ntb/
H A DMakefile1 SUBDIR= ntb ntb_hw_amd ntb_hw_intel ntb_hw_plx ntb_transport ntb_tool if_ntb
/src/sys/modules/ntb/if_ntb/
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/ntb/if_ntb
/src/sys/modules/ntb/ntb_tool/
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/ntb/test
/src/sys/modules/ntb/ntb_transport/
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/ntb
/src/sys/modules/ntb/ntb_hw_plx/
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/ntb/ntb_hw
/src/sys/modules/ntb/ntb_hw_intel/
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/ntb/ntb_hw
/src/sys/modules/ntb/ntb_hw_amd/
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/ntb/ntb_hw
/src/sys/dev/ntb/if_ntb/
H A Dif_ntb.c501 static DEFINE_CLASS_0(ntb, ntb_net_driver, ntb_net_methods,
/src/sys/modules/
H A DMakefile781 _ntb= ntb
/src/share/man/man4/
H A DMakefile894 _ntb.4= ntb.4
/src/sys/dev/ntb/test/
H A Dntb_tool.c1490 MODULE_DEPEND(ntb_tool, ntb, 1, 1, 1);
/src/sys/x86/conf/
H A DNOTES517 device ntb # NTB hardware interface