Home
last modified time | relevance | path

Searched defs:mdev (Results 1 – 25 of 123) sorted by relevance

12345

/freebsd-src/sys/dev/mlx5/mlx5_fpga/
H A Dipsec.h54 static inline void *mlx5_fpga_ipsec_sa_cmd_exec(struct mlx5_core_dev *mdev, in mlx5_fpga_ipsec_sa_cmd_exec()
65 static inline u32 mlx5_fpga_ipsec_device_caps(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_device_caps()
71 mlx5_fpga_ipsec_counters_count(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_counters_count()
76 static inline int mlx5_fpga_ipsec_counters_read(struct mlx5_core_dev *mdev, in mlx5_fpga_ipsec_counters_read()
82 static inline int mlx5_fpga_ipsec_init(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_init()
87 static inline void mlx5_fpga_ipsec_cleanup(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_cleanup()
H A Dmlx5fpga_ipsec.c78 static bool mlx5_fpga_is_ipsec_device(struct mlx5_core_dev *mdev) in mlx5_fpga_is_ipsec_device()
174 void *mlx5_fpga_ipsec_sa_cmd_exec(struct mlx5_core_dev *mdev, in mlx5_fpga_ipsec_sa_cmd_exec()
236 u32 mlx5_fpga_ipsec_device_caps(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_device_caps()
261 unsigned int mlx5_fpga_ipsec_counters_count(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_counters_count()
272 int mlx5_fpga_ipsec_counters_read(struct mlx5_core_dev *mdev, u64 *counters, in mlx5_fpga_ipsec_counters_read()
320 int mlx5_fpga_ipsec_init(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_init()
365 void mlx5_fpga_ipsec_cleanup(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_cleanup()
H A Dcore.h59 struct mlx5_core_dev *mdev; member
114 static inline int mlx5_fpga_init(struct mlx5_core_dev *mdev) in mlx5_fpga_init()
119 static inline void mlx5_fpga_cleanup(struct mlx5_core_dev *mdev) in mlx5_fpga_cleanup()
123 static inline int mlx5_fpga_device_start(struct mlx5_core_dev *mdev) in mlx5_fpga_device_start()
128 static inline void mlx5_fpga_device_stop(struct mlx5_core_dev *mdev) in mlx5_fpga_device_stop()
132 static inline void mlx5_fpga_event(struct mlx5_core_dev *mdev, u8 event, in mlx5_fpga_event()
H A Dmlx5fpga_core.c184 struct mlx5_core_dev *mdev = fdev->mdev; in mlx5_fpga_device_brb() local
204 int mlx5_fpga_device_start(struct mlx5_core_dev *mdev) in mlx5_fpga_device_start()
330 int mlx5_fpga_init(struct mlx5_core_dev *mdev) in mlx5_fpga_init()
359 void mlx5_fpga_device_stop(struct mlx5_core_dev *mdev) in mlx5_fpga_device_stop()
416 void mlx5_fpga_cleanup(struct mlx5_core_dev *mdev) in mlx5_fpga_cleanup()
452 void mlx5_fpga_event(struct mlx5_core_dev *mdev, u8 event, void *data) in mlx5_fpga_event()
/freebsd-src/sys/dev/mlx5/mlx5_core/
H A Dmlx5_vsc.c33 int mlx5_vsc_lock(struct mlx5_core_dev *mdev) in mlx5_vsc_lock()
73 void mlx5_vsc_unlock(struct mlx5_core_dev *mdev) in mlx5_vsc_unlock()
87 mlx5_vsc_wait_on_flag(struct mlx5_core_dev *mdev, u32 expected) in mlx5_vsc_wait_on_flag()
109 int mlx5_vsc_set_space(struct mlx5_core_dev *mdev, u16 space) in mlx5_vsc_set_space()
132 int mlx5_vsc_write(struct mlx5_core_dev *mdev, u32 addr, const u32 *data) in mlx5_vsc_write()
156 int mlx5_vsc_read(struct mlx5_core_dev *mdev, u32 addr, u32 *data) in mlx5_vsc_read()
182 int mlx5_vsc_lock_addr_space(struct mlx5_core_dev *mdev, u32 addr) in mlx5_vsc_lock_addr_space()
212 int mlx5_vsc_unlock_addr_space(struct mlx5_core_dev *mdev, u32 addr) in mlx5_vsc_unlock_addr_space()
236 int mlx5_vsc_find_cap(struct mlx5_core_dev *mdev) in mlx5_vsc_find_cap()
H A Dmlx5_vport.c37 static int _mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, in _mlx5_query_vport_state()
57 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport) in mlx5_query_vport_state()
67 u8 mlx5_query_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport) in mlx5_query_vport_admin_state()
77 int mlx5_modify_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod, in mlx5_modify_vport_admin_state()
102 static int mlx5_query_nic_vport_context(struct mlx5_core_dev *mdev, u16 vport, in mlx5_query_nic_vport_context()
117 static u32 mlx5_vport_max_q_counter_allocator(struct mlx5_core_dev *mdev, in mlx5_vport_max_q_counter_allocator()
132 int mlx5_vport_alloc_q_counter(struct mlx5_core_dev *mdev, in mlx5_vport_alloc_q_counter()
157 int mlx5_vport_dealloc_q_counter(struct mlx5_core_dev *mdev, in mlx5_vport_dealloc_q_counter()
179 int mlx5_vport_query_q_counter(struct mlx5_core_dev *mdev, in mlx5_vport_query_q_counter()
194 int mlx5_vport_query_out_of_rx_buffer(struct mlx5_core_dev *mdev, in mlx5_vport_query_out_of_rx_buffer()
[all …]
H A Dmlx5_uar.c60 static int uars_per_sys_page(struct mlx5_core_dev *mdev) in uars_per_sys_page()
68 static u64 uar2pfn(struct mlx5_core_dev *mdev, u32 index) in uar2pfn()
93 static struct mlx5_uars_page *alloc_uars_page(struct mlx5_core_dev *mdev, in alloc_uars_page()
161 struct mlx5_uars_page *mlx5_get_uars_page(struct mlx5_core_dev *mdev) in mlx5_get_uars_page()
183 void mlx5_put_uars_page(struct mlx5_core_dev *mdev, struct mlx5_uars_page *up) in mlx5_put_uars_page()
191 static unsigned long map_offset(struct mlx5_core_dev *mdev, int dbi) in map_offset()
201 static int alloc_bfreg(struct mlx5_core_dev *mdev, struct mlx5_sq_bfreg *bfreg, in alloc_bfreg()
254 int mlx5_alloc_bfreg(struct mlx5_core_dev *mdev, struct mlx5_sq_bfreg *bfreg, in mlx5_alloc_bfreg()
286 void mlx5_free_bfreg(struct mlx5_core_dev *mdev, struct mlx5_sq_bfreg *bfreg) in mlx5_free_bfreg()
H A Dmlx5_fwdump.c54 mlx5_fwdump_destroy_dd(struct mlx5_core_dev *mdev) in mlx5_fwdump_destroy_dd()
68 mlx5_fwdump_prep(struct mlx5_core_dev *mdev) in mlx5_fwdump_prep()
190 mlx5_fwdump(struct mlx5_core_dev *mdev) in mlx5_fwdump()
235 mlx5_fwdump_clean(struct mlx5_core_dev *mdev) in mlx5_fwdump_clean()
247 mlx5_fwdump_reset(struct mlx5_core_dev *mdev) in mlx5_fwdump_reset()
268 struct mlx5_core_dev **mdev) in mlx5_dbsf_to_core()
287 mlx5_fwdump_copyout(struct mlx5_core_dev *mdev, struct mlx5_fwdump_get *fwg) in mlx5_fwdump_copyout()
335 mlx5_fw_reset(struct mlx5_core_dev *mdev) in mlx5_fw_reset()
404 struct mlx5_core_dev *mdev; in mlx5_ctl_ioctl() local
H A Dmlx5_tls.c36 int mlx5_tls_open_tis(struct mlx5_core_dev *mdev, int tc, int tdn, int pdn, u32 *p_tisn) in mlx5_encryption_key_create() argument
84 mlx5_encryption_key_destroy(struct mlx5_core_dev * mdev,u32 oid) mlx5_encryption_key_destroy() argument
96 mlx5_tls_open_tis(struct mlx5_core_dev * mdev,int tc,int tdn,int pdn,u32 * p_tisn) mlx5_tls_open_tis() argument
116 mlx5_tls_close_tis(struct mlx5_core_dev * mdev,u32 tisn) mlx5_tls_close_tis() argument
122 mlx5_tls_open_tir(struct mlx5_core_dev * mdev,int tdn,int rqtn,u32 * p_tirn) mlx5_tls_open_tir() argument
146 mlx5_tls_close_tir(struct mlx5_core_dev * mdev,u32 tirn) mlx5_tls_close_tir() argument
H A Dmlx5_port.c70 int mlx5_query_qcam_reg(struct mlx5_core_dev *mdev, u32 *qcam, in mlx5_query_qcam_reg()
792 int mlx5_query_port_cong_status(struct mlx5_core_dev *mdev, int protocol, in mlx5_query_port_cong_status()
812 int mlx5_modify_port_cong_status(struct mlx5_core_dev *mdev, int protocol, in mlx5_modify_port_cong_status()
827 int mlx5_query_port_cong_params(struct mlx5_core_dev *mdev, int protocol, in mlx5_query_port_cong_params()
839 static int mlx5_query_port_qetcr_reg(struct mlx5_core_dev *mdev, u32 *out, in mlx5_query_port_qetcr_reg()
852 int mlx5_max_tc(struct mlx5_core_dev *mdev) in mlx5_max_tc()
860 static int mlx5_set_port_qetcr_reg(struct mlx5_core_dev *mdev, u32 *in, in mlx5_set_port_qetcr_reg()
872 int mlx5_query_port_tc_rate_limit(struct mlx5_core_dev *mdev, in mlx5_query_port_tc_rate_limit()
898 int mlx5_modify_port_tc_rate_limit(struct mlx5_core_dev *mdev, in mlx5_modify_port_tc_rate_limit()
922 int mlx5_query_port_prio_tc(struct mlx5_core_dev *mdev, in mlx5_query_port_prio_tc()
[all …]
/freebsd-src/sys/dev/mthca/
H A Dmthca_main.c137 static int mthca_tune_pci(struct mthca_dev *mdev) in mthca_tune_pci()
165 static int mthca_dev_lim(struct mthca_dev *mdev, struct mthca_dev_lim *dev_lim) in mthca_dev_lim()
288 static int mthca_init_tavor(struct mthca_dev *mdev) in mthca_init_tavor()
346 static int mthca_load_fw(struct mthca_dev *mdev) in mthca_load_fw()
381 static int mthca_init_icm(struct mthca_dev *mdev, in mthca_init_icm()
557 static void mthca_free_icms(struct mthca_dev *mdev) in mthca_free_icms()
575 static int mthca_init_arbel(struct mthca_dev *mdev) in mthca_init_arbel()
648 static void mthca_close_hca(struct mthca_dev *mdev) in mthca_close_hca()
664 static int mthca_init_hca(struct mthca_dev *mdev) in mthca_init_hca()
852 static int mthca_enable_msi_x(struct mthca_dev *mdev) in mthca_enable_msi_x()
[all …]
/freebsd-src/sys/contrib/dev/mediatek/mt76/mt76x2/
H A Dpci.c37 struct mt76_dev *mdev; in mt76x2e_probe() local
101 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt76x2e_remove() local
112 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt76x2e_suspend() local
141 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt76x2e_resume() local
/freebsd-src/sys/contrib/dev/mediatek/mt76/mt7921/
H A Dpci.c139 static u32 mt7921_rr(struct mt76_dev *mdev, u32 offset) in mt7921_rr()
147 static void mt7921_wr(struct mt76_dev *mdev, u32 offset, u32 val) in mt7921_wr()
155 static u32 mt7921_rmw(struct mt76_dev *mdev, u32 offset, u32 mask, u32 val) in mt7921_rmw()
272 struct mt76_dev *mdev; in mt7921_pci_probe() local
388 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt7921_pci_remove() local
401 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt7921_pci_suspend() local
475 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt7921_pci_resume() local
H A Dsdio.c29 struct mt76_dev *mdev = container_of(sdio, struct mt76_dev, sdio); in mt7921s_txrx_worker() local
126 struct mt76_dev *mdev; in mt7921s_probe() local
209 struct mt76_dev *mdev = &dev->mt76; in mt7921s_suspend() local
282 struct mt76_dev *mdev = &dev->mt76; in mt7921s_resume() local
/freebsd-src/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_main.c75 static int mlx4_en_get_profile(struct mlx4_en_dev *mdev) in mlx4_en_get_profile()
114 struct mlx4_en_dev *mdev = (struct mlx4_en_dev *) endev_ptr; in mlx4_en_event() local
147 struct mlx4_en_dev *mdev = endev_ptr; in mlx4_en_remove() local
170 struct mlx4_en_dev *mdev = ctx; in mlx4_en_activate() local
182 struct mlx4_en_dev *mdev; in mlx4_en_add() local
H A Dmlx4_en_netdev.c406 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_vlan_rx_add_vid() local
433 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_vlan_rx_kill_vid() local
478 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_uc_steer_add() local
530 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_uc_steer_release() local
556 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_get_qp() local
592 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_put_qp() local
742 struct mlx4_en_dev *mdev) in mlx4_en_set_promisc_mode()
800 struct mlx4_en_dev *mdev) in mlx4_en_clear_promisc_mode()
846 struct mlx4_en_dev *mdev) in mlx4_en_do_multicast()
981 struct mlx4_en_dev *mdev) in mlx4_en_do_unicast()
[all …]
/freebsd-src/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dmmio.c177 static u32 mt7996_rr(struct mt76_dev *mdev, u32 offset) in mt7996_rr()
184 static void mt7996_wr(struct mt76_dev *mdev, u32 offset, u32 val) in mt7996_wr()
191 static u32 mt7996_rmw(struct mt76_dev *mdev, u32 offset, u32 mask, u32 val) in mt7996_rmw()
198 static int mt7996_mmio_init(struct mt76_dev *mdev, in mt7996_mmio_init()
239 struct mt76_dev *mdev = &dev->mt76; in mt7996_dual_hif_set_irq_mask() local
255 static void mt7996_rx_poll_complete(struct mt76_dev *mdev, in mt7996_rx_poll_complete()
350 struct mt76_dev *mdev; in mt7996_mmio_probe() local
/freebsd-src/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dmmio.c67 mt7615_rx_poll_complete(struct mt76_dev *mdev, enum mt76_rxq_id q) in mt7615_rx_poll_complete()
142 static u32 mt7615_rr(struct mt76_dev *mdev, u32 offset) in mt7615_rr()
150 static void mt7615_wr(struct mt76_dev *mdev, u32 offset, u32 val) in mt7615_wr()
158 static u32 mt7615_rmw(struct mt76_dev *mdev, u32 offset, u32 mask, u32 val) in mt7615_rmw()
189 struct mt76_dev *mdev; in mt7615_mmio_probe() local
H A Dsdio.c31 struct mt76_dev *mdev = container_of(sdio, struct mt76_dev, sdio); in mt7663s_txrx_worker() local
103 struct mt76_dev *mdev; in mt7663s_probe() local
186 struct mt7615_dev *mdev = sdio_get_drvdata(func); in mt7663s_suspend() local
219 struct mt7615_dev *mdev = sdio_get_drvdata(func); in mt7663s_resume() local
H A Dpci.c63 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt7615_pci_remove() local
74 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt7615_pci_suspend() local
141 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt7615_pci_resume() local
/freebsd-src/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_ethtool.c111 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_getmaxrate() local
147 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_get_max_alloc() local
170 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_get_dscp() local
225 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_tc_maxrate_handler() local
268 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_tc_rate_share_handler() local
312 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_get_prio_tc() local
335 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_prio_to_tc_handler() local
372 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_fec_update() local
442 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_fec_mask_10x_25x_handler() local
547 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_fec_mask_50x_handler() local
[all …]
/freebsd-src/sys/contrib/dev/mediatek/mt76/mt76x0/
H A Dpci.c167 struct mt76_dev *mdev; in mt76x0e_probe() local
231 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt76x0e_remove() local
242 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt76x0e_suspend() local
268 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt76x0e_resume() local
/freebsd-src/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dmmio.c524 static u32 mt7915_rr(struct mt76_dev *mdev, u32 offset) in mt7915_rr()
532 static void mt7915_wr(struct mt76_dev *mdev, u32 offset, u32 val) in mt7915_wr()
540 static u32 mt7915_rmw(struct mt76_dev *mdev, u32 offset, u32 mask, u32 val) in mt7915_rmw()
675 struct mt76_dev *mdev = container_of(wed, struct mt76_dev, mmio.wed); in mt7915_mmio_wed_reset() local
811 static int mt7915_mmio_init(struct mt76_dev *mdev, in mt7915_mmio_init()
867 struct mt76_dev *mdev = &dev->mt76; in mt7915_dual_hif_set_irq_mask() local
887 static void mt7915_rx_poll_complete(struct mt76_dev *mdev, in mt7915_rx_poll_complete()
1009 struct mt76_dev *mdev; in mt7915_mmio_probe() local
/freebsd-src/sys/contrib/dev/mediatek/mt76/mt7603/
H A Dpci.c18 struct mt76_dev *mdev; in mt76pci_probe() local
68 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt76pci_remove() local
H A Dsoc.c14 struct mt76_dev *mdev; in mt76_wmac_probe() local
58 struct mt76_dev *mdev = platform_get_drvdata(pdev); in mt76_wmac_remove() local

12345