/freebsd/sys/dev/mlx5/mlx5_fpga/ |
H A D | ipsec.h | 54 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 D | mlx5fpga_ipsec.c | 78 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 D | core.h | 59 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 D | mlx5fpga_core.c | 184 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/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_vsc.c | 33 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 D | mlx5_vport.c | 37 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 D | mlx5_fwdump.c | 54 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 D | mlx5_uar.c | 60 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 D | mlx5_tls.c | 36 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 D | mlx5_port.c | 70 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/sys/dev/mthca/ |
H A D | mthca_main.c | 137 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/sys/contrib/dev/mediatek/mt76/mt76x2/ |
H A D | pci.c | 38 struct mt76_dev *mdev; in mt76x2e_probe() local 102 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt76x2e_remove() local 113 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt76x2e_suspend() local 142 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt76x2e_resume() local
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/ |
H A D | pci.c | 148 static u32 mt7921_rr(struct mt76_dev *mdev, u32 offset) in mt7921_rr() 156 static void mt7921_wr(struct mt76_dev *mdev, u32 offset, u32 val) in mt7921_wr() 164 static u32 mt7921_rmw(struct mt76_dev *mdev, u32 offset, u32 mask, u32 val) in mt7921_rmw() 282 struct mt76_dev *mdev; in mt7921_pci_probe() local 409 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt7921_pci_remove() local 428 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt7921_pci_suspend() local 511 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt7921_pci_resume() local
|
H A D | sdio.c | 29 struct mt76_dev *mdev = container_of(sdio, struct mt76_dev, sdio); in mt7921s_txrx_worker() local 127 struct mt76_dev *mdev; in mt7921s_probe() local 210 struct mt76_dev *mdev = &dev->mt76; in mt7921s_suspend() local 286 struct mt76_dev *mdev = &dev->mt76; in mt7921s_resume() local
|
/freebsd/sys/dev/mlx5/mlx5_accel/ |
H A D | mlx5_ipsec_fs.c | 235 ipsec_chains_create(struct mlx5_core_dev *mdev, struct mlx5_flow_table *miss_ft, in ipsec_chains_create() 302 static int ipsec_miss_create(struct mlx5_core_dev *mdev, in ipsec_miss_create() 350 static int setup_modify_header(struct mlx5_core_dev *mdev, u32 val, u8 dir, in setup_modify_header() 438 static int setup_pkt_reformat(struct mlx5_core_dev *mdev, in setup_pkt_reformat() 522 struct mlx5_core_dev *mdev = mlx5e_ipsec_sa2dev(sa_entry); in rx_add_rule() local 648 static int ipsec_counter_rule_tx(struct mlx5_core_dev *mdev, struct mlx5e_ipsec_tx *tx) in ipsec_counter_rule_tx() 706 static int ipsec_tx_roce_rule_setup(struct mlx5_core_dev *mdev, in ipsec_tx_roce_rule_setup() 730 static int ipsec_tx_create_roce(struct mlx5_core_dev *mdev, struct mlx5e_ipsec_tx *tx) in ipsec_tx_create_roce() 794 static int tx_create_kspi_bypass_rules(struct mlx5_core_dev *mdev, in tx_create_kspi_bypass_rules() 845 static int tx_create(struct mlx5_core_dev *mdev, struct mlx5e_ipsec_tx *tx) in tx_create() [all …]
|
/freebsd/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_main.c | 75 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 D | mlx4_en_netdev.c | 406 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/sys/contrib/dev/mediatek/mt76/mt7925/ |
H A D | pci.c | 184 static u32 mt7925_rr(struct mt76_dev *mdev, u32 offset) in mt7925_rr() 192 static void mt7925_wr(struct mt76_dev *mdev, u32 offset, u32 val) in mt7925_wr() 200 static u32 mt7925_rmw(struct mt76_dev *mdev, u32 offset, u32 mask, u32 val) in mt7925_rmw() 307 struct mt76_dev *mdev; in mt7925_pci_probe() local 429 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt7925_pci_remove() local 443 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt7925_pci_suspend() local 535 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt7925_pci_resume() local
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/ |
H A D | mmio.c | 67 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() 190 struct mt76_dev *mdev; in mt7615_mmio_probe() local
|
H A D | sdio.c | 31 struct mt76_dev *mdev = container_of(sdio, struct mt76_dev, sdio); in mt7663s_txrx_worker() local 104 struct mt76_dev *mdev; in mt7663s_probe() local 187 struct mt7615_dev *mdev = sdio_get_drvdata(func); in mt7663s_suspend() local 220 struct mt7615_dev *mdev = sdio_get_drvdata(func); in mt7663s_resume() local
|
H A D | pci.c | 63 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/sys/contrib/dev/mediatek/mt76/mt7996/ |
H A D | mmio.c | 237 static u32 mt7996_rr(struct mt76_dev *mdev, u32 offset) in mt7996_rr() 252 static void mt7996_wr(struct mt76_dev *mdev, u32 offset, u32 val) in mt7996_wr() 267 static u32 mt7996_rmw(struct mt76_dev *mdev, u32 offset, u32 mask, u32 val) in mt7996_rmw() 285 struct mt76_dev *mdev = container_of(wed, struct mt76_dev, mmio.wed); in mt7996_mmio_wed_reset() local 445 static int mt7996_mmio_init(struct mt76_dev *mdev, in mt7996_mmio_init() 494 struct mt76_dev *mdev = &dev->mt76; in mt7996_dual_hif_set_irq_mask() local 519 static void mt7996_rx_poll_complete(struct mt76_dev *mdev, in mt7996_rx_poll_complete() 641 struct mt76_dev *mdev; in mt7996_mmio_probe() local
|
/freebsd/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_ethtool.c | 111 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/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | mmio.c | 543 static u32 mt7915_rr(struct mt76_dev *mdev, u32 offset) in mt7915_rr() 558 static void mt7915_wr(struct mt76_dev *mdev, u32 offset, u32 val) in mt7915_wr() 573 static u32 mt7915_rmw(struct mt76_dev *mdev, u32 offset, u32 mask, u32 val) in mt7915_rmw() 616 struct mt76_dev *mdev = container_of(wed, struct mt76_dev, mmio.wed); in mt7915_mmio_wed_reset() local 745 static int mt7915_mmio_init(struct mt76_dev *mdev, in mt7915_mmio_init() 802 struct mt76_dev *mdev = &dev->mt76; in mt7915_dual_hif_set_irq_mask() local 822 static void mt7915_rx_poll_complete(struct mt76_dev *mdev, in mt7915_rx_poll_complete() 946 struct mt76_dev *mdev; in mt7915_mmio_probe() local
|
/freebsd/sys/dev/mlx5/ |
H A D | device.h | 1050 #define MLX5_CAP_GEN(mdev, cap) \ argument 1053 #define MLX5_CAP_GEN_64(mdev, cap) \ argument 1056 #define MLX5_CAP_GEN_MAX(mdev, cap) \ argument 1059 #define MLX5_CAP_GEN_2(mdev, cap) \ argument 1062 #define MLX5_CAP_ETH(mdev, cap) \ argument 1066 #define MLX5_CAP_ETH_MAX(mdev, cap) \ argument 1070 #define MLX5_CAP_ROCE(mdev, cap) \ argument 1073 #define MLX5_CAP_ROCE_MAX(mdev, cap) \ argument 1076 #define MLX5_CAP_ATOMIC(mdev, cap) \ argument 1079 #define MLX5_CAP_ATOMIC_MAX(mdev, cap) \ argument [all …]
|