Home
last modified time | relevance | path

Searched refs:intel_ntb_dev (Results 1 – 7 of 7) sorted by relevance

/drivers/ntb/hw/intel/
Dntb_hw_gen1.c143 static int xeon_init_isr(struct intel_ntb_dev *ndev);
145 static inline void ndev_reset_unsafe_flags(struct intel_ntb_dev *ndev) in ndev_reset_unsafe_flags()
162 static inline int ndev_is_unsafe(struct intel_ntb_dev *ndev, in ndev_is_unsafe()
168 static inline int ndev_ignore_unsafe(struct intel_ntb_dev *ndev, in ndev_ignore_unsafe()
177 int ndev_mw_to_bar(struct intel_ntb_dev *ndev, int idx) in ndev_mw_to_bar()
184 void ndev_db_addr(struct intel_ntb_dev *ndev, in ndev_db_addr()
202 u64 ndev_db_read(struct intel_ntb_dev *ndev, in ndev_db_read()
211 int ndev_db_write(struct intel_ntb_dev *ndev, u64 db_bits, in ndev_db_write()
225 static inline int ndev_db_set_mask(struct intel_ntb_dev *ndev, u64 db_bits, in ndev_db_set_mask()
246 static inline int ndev_db_clear_mask(struct intel_ntb_dev *ndev, u64 db_bits, in ndev_db_clear_mask()
[all …]
Dntb_hw_intel.h99 struct intel_ntb_dev;
102 int (*poll_link)(struct intel_ntb_dev *ndev);
103 int (*link_is_up)(struct intel_ntb_dev *ndev);
134 struct intel_ntb_dev *ndev;
138 struct intel_ntb_dev { struct
190 #define ntb_ndev(__ntb) container_of(__ntb, struct intel_ntb_dev, ntb) argument
191 #define hb_ndev(__work) container_of(__work, struct intel_ntb_dev, \
Dntb_hw_gen1.h149 int ndev_init_isr(struct intel_ntb_dev *ndev, int msix_min, int msix_max,
151 enum ntb_topo xeon_ppd_topo(struct intel_ntb_dev *ndev, u8 ppd);
152 void ndev_db_addr(struct intel_ntb_dev *ndev,
155 u64 ndev_db_read(struct intel_ntb_dev *ndev, void __iomem *mmio);
156 int ndev_db_write(struct intel_ntb_dev *ndev, u64 db_bits,
158 int ndev_mw_to_bar(struct intel_ntb_dev *ndev, int idx);
183 int xeon_link_is_up(struct intel_ntb_dev *ndev);
Dntb_hw_gen4.c19 static int gen4_poll_link(struct intel_ntb_dev *ndev);
20 static int gen4_link_is_up(struct intel_ntb_dev *ndev);
49 static int gen4_poll_link(struct intel_ntb_dev *ndev) in gen4_poll_link()
71 static int gen4_link_is_up(struct intel_ntb_dev *ndev) in gen4_link_is_up()
76 static int gen4_init_isr(struct intel_ntb_dev *ndev) in gen4_init_isr()
96 static int gen4_setup_b2b_mw(struct intel_ntb_dev *ndev, in gen4_setup_b2b_mw()
127 static int gen4_init_ntb(struct intel_ntb_dev *ndev) in gen4_init_ntb()
159 static enum ntb_topo gen4_ppd_topo(struct intel_ntb_dev *ndev, u32 ppd) in gen4_ppd_topo()
171 static enum ntb_topo spr_ppd_topo(struct intel_ntb_dev *ndev, u32 ppd) in spr_ppd_topo()
183 int gen4_init_dev(struct intel_ntb_dev *ndev) in gen4_init_dev()
[all …]
Dntb_hw_gen3.c61 static int gen3_poll_link(struct intel_ntb_dev *ndev);
93 static int gen3_poll_link(struct intel_ntb_dev *ndev) in gen3_poll_link()
115 static int gen3_init_isr(struct intel_ntb_dev *ndev) in gen3_init_isr()
142 static int gen3_setup_b2b_mw(struct intel_ntb_dev *ndev, in gen3_setup_b2b_mw()
173 static int gen3_init_ntb(struct intel_ntb_dev *ndev) in gen3_init_ntb()
226 int gen3_init_dev(struct intel_ntb_dev *ndev) in gen3_init_dev()
258 struct intel_ntb_dev *ndev; in ndev_ntb3_debugfs_read()
421 struct intel_ntb_dev *ndev; in intel_ntb3_link_enable()
424 ndev = container_of(ntb, struct intel_ntb_dev, ntb); in intel_ntb3_link_enable()
446 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb3_mw_set_trans()
[all …]
Dntb_hw_gen3.h106 int gen3_init_dev(struct intel_ntb_dev *ndev);
Dntb_hw_gen4.h108 int gen4_init_dev(struct intel_ntb_dev *ndev);