| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | port.c | 80 static void mlx5e_port_get_speed_arr(struct mlx5_core_dev *mdev, in mlx5e_port_get_speed_arr() 156 u32 mlx5e_port_ptys2speed(struct mlx5_core_dev *mdev, u32 eth_proto_oper, in mlx5e_port_ptys2speed() 172 int mlx5e_port_linkspeed(struct mlx5_core_dev *mdev, u32 *speed) in mlx5e_port_linkspeed() 197 int mlx5e_port_max_linkspeed(struct mlx5_core_dev *mdev, u32 *speed) in mlx5e_port_max_linkspeed() 221 u32 mlx5e_port_speed2linkmodes(struct mlx5_core_dev *mdev, u32 speed, in mlx5e_port_speed2linkmodes() 237 int mlx5e_port_query_pbmc(struct mlx5_core_dev *mdev, void *out) in mlx5e_port_query_pbmc() 254 int mlx5e_port_set_pbmc(struct mlx5_core_dev *mdev, void *in) in mlx5e_port_set_pbmc() 272 int mlx5e_port_query_priority2buffer(struct mlx5_core_dev *mdev, u8 *buffer) in mlx5e_port_query_priority2buffer() 304 int mlx5e_port_set_priority2buffer(struct mlx5_core_dev *mdev, u8 *buffer) in mlx5e_port_set_priority2buffer()
|
| D | params.c | 89 bool mlx5e_rx_mpwqe_is_linear_skb(struct mlx5_core_dev *mdev, in mlx5e_rx_mpwqe_is_linear_skb() 126 u8 mlx5e_mpwqe_get_log_stride_size(struct mlx5_core_dev *mdev, in mlx5e_mpwqe_get_log_stride_size() 136 u8 mlx5e_mpwqe_get_log_num_strides(struct mlx5_core_dev *mdev, in mlx5e_mpwqe_get_log_num_strides() 144 u16 mlx5e_get_rq_headroom(struct mlx5_core_dev *mdev, in mlx5e_get_rq_headroom()
|
| /Linux-v5.4/drivers/s390/crypto/ |
| D | vfio_ap_ops.c | 324 static int vfio_ap_mdev_create(struct kobject *kobj, struct mdev_device *mdev) in vfio_ap_mdev_create() 349 static int vfio_ap_mdev_remove(struct mdev_device *mdev) in vfio_ap_mdev_remove() 605 struct mdev_device *mdev = mdev_from_dev(dev); in assign_adapter_store() local 671 struct mdev_device *mdev = mdev_from_dev(dev); in unassign_adapter_store() local 751 struct mdev_device *mdev = mdev_from_dev(dev); in assign_domain_store() local 813 struct mdev_device *mdev = mdev_from_dev(dev); in unassign_domain_store() local 857 struct mdev_device *mdev = mdev_from_dev(dev); in assign_control_domain_store() local 906 struct mdev_device *mdev = mdev_from_dev(dev); in unassign_control_domain_store() local 936 struct mdev_device *mdev = mdev_from_dev(dev); in control_domains_show() local 955 struct mdev_device *mdev = mdev_from_dev(dev); in matrix_show() local [all …]
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_ethtool.c | 41 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_ethtool_get_drvinfo() local 199 static void mlx5e_ethtool_get_speed_arr(struct mlx5_core_dev *mdev, in mlx5e_ethtool_get_speed_arr() 522 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_set_priv_channels_coalesce() local 546 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_ethtool_set_coalesce() local 611 static void ptys2ethtool_supported_link(struct mlx5_core_dev *mdev, in ptys2ethtool_supported_link() 811 static void get_supported(struct mlx5_core_dev *mdev, u32 eth_proto_cap, in get_supported() 876 static void get_lp_advertising(struct mlx5_core_dev *mdev, u32 eth_proto_lp, in get_lp_advertising() 888 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_ethtool_get_link_ksettings() local 1047 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_ethtool_set_link_ksettings() local 1242 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_get_pfc_prevention_tout() local [all …]
|
| D | en_dcbnl.c | 52 #define MLX5_DSCP_SUPPORTED(mdev) (MLX5_CAP_GEN(mdev, qcam_reg) && \ argument 64 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_dcbnl_set_dcbx_mode() local 102 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_dcbnl_ieee_getets() local 243 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_dcbnl_ieee_setets_core() local 336 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_dcbnl_ieee_getpfc() local 356 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_dcbnl_ieee_setpfc() local 542 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_dcbnl_ieee_getmaxrate() local 577 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_dcbnl_ieee_setmaxrate() local 615 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_dcbnl_setall() local 728 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_dcbnl_getpgtccfgtx() local [all …]
|
| D | en_stats.c | 432 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_grp_vnic_env_update_stats() local 521 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_grp_vport_update_stats() local 581 #define MLX5_BASIC_PPCNT_SUPPORTED(mdev) \ argument 587 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_grp_802_3_update_stats() local 641 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_grp_2863_update_stats() local 702 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_grp_2819_update_stats() local 739 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_grp_phy_get_num_stats() local 757 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_grp_phy_fill_strings() local 779 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_grp_phy_fill_stats() local 806 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_grp_phy_update_stats() local [all …]
|
| D | wq.c | 62 int mlx5_wq_cyc_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param, in mlx5_wq_cyc_create() 99 int mlx5_wq_qp_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param, in mlx5_wq_qp_create() 159 int mlx5_cqwq_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param, in mlx5_cqwq_create() 197 int mlx5_wq_ll_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param, in mlx5_wq_ll_create()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| D | vxlan.c | 42 struct mlx5_core_dev *mdev; member 56 static inline u8 mlx5_vxlan_max_udp_ports(struct mlx5_core_dev *mdev) in mlx5_vxlan_max_udp_ports() 61 static int mlx5_vxlan_core_add_port_cmd(struct mlx5_core_dev *mdev, u16 port) in mlx5_vxlan_core_add_port_cmd() 72 static int mlx5_vxlan_core_del_port_cmd(struct mlx5_core_dev *mdev, u16 port) in mlx5_vxlan_core_del_port_cmd() 193 struct mlx5_vxlan *mlx5_vxlan_create(struct mlx5_core_dev *mdev) in mlx5_vxlan_create()
|
| D | geneve.c | 9 struct mlx5_core_dev *mdev; member 17 static int mlx5_geneve_tlv_option_create(struct mlx5_core_dev *mdev, in mlx5_geneve_tlv_option_create() 51 static void mlx5_geneve_tlv_option_destroy(struct mlx5_core_dev *mdev, u16 obj_id) in mlx5_geneve_tlv_option_destroy() 134 struct mlx5_geneve *mlx5_geneve_create(struct mlx5_core_dev *mdev) in mlx5_geneve_create()
|
| D | port_tun.c | 17 static void mlx5_query_port_tun_entropy(struct mlx5_core_dev *mdev, in mlx5_query_port_tun_entropy() 43 static int mlx5_set_port_tun_entropy_calc(struct mlx5_core_dev *mdev, u8 enable, in mlx5_set_port_tun_entropy_calc() 58 static int mlx5_set_port_gre_tun_entropy_calc(struct mlx5_core_dev *mdev, in mlx5_set_port_gre_tun_entropy_calc() 74 struct mlx5_core_dev *mdev) in mlx5_init_port_tun_entropy()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/ |
| D | en_main.c | 150 static void mlx4_en_get_profile(struct mlx4_en_dev *mdev) in mlx4_en_get_profile() 196 struct mlx4_en_dev *mdev = (struct mlx4_en_dev *) endev_ptr; in mlx4_en_event() local 229 struct mlx4_en_dev *mdev = endev_ptr; in mlx4_en_remove() local 254 struct mlx4_en_dev *mdev = ctx; in mlx4_en_activate() local 273 struct mlx4_en_dev *mdev; in mlx4_en_add() local
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
| D | core.c | 129 struct mlx5_core_dev *mdev = fdev->mdev; in mlx5_fpga_device_brb() local 165 int mlx5_fpga_device_start(struct mlx5_core_dev *mdev) in mlx5_fpga_device_start() 236 int mlx5_fpga_init(struct mlx5_core_dev *mdev) in mlx5_fpga_init() 257 void mlx5_fpga_device_stop(struct mlx5_core_dev *mdev) in mlx5_fpga_device_stop() 290 void mlx5_fpga_cleanup(struct mlx5_core_dev *mdev) in mlx5_fpga_cleanup()
|
| D | core.h | 46 struct mlx5_core_dev *mdev; member 94 static inline int mlx5_fpga_init(struct mlx5_core_dev *mdev) in mlx5_fpga_init() 99 static inline void mlx5_fpga_cleanup(struct mlx5_core_dev *mdev) in mlx5_fpga_cleanup() 103 static inline int mlx5_fpga_device_start(struct mlx5_core_dev *mdev) in mlx5_fpga_device_start() 108 static inline void mlx5_fpga_device_stop(struct mlx5_core_dev *mdev) in mlx5_fpga_device_stop()
|
| D | conn.c | 223 static int mlx5_fpga_conn_create_mkey(struct mlx5_core_dev *mdev, u32 pdn, in mlx5_fpga_conn_create_mkey() 431 struct mlx5_core_dev *mdev = fdev->mdev; in mlx5_fpga_conn_create_cq() local 523 struct mlx5_core_dev *mdev = fdev->mdev; in mlx5_fpga_conn_create_wq() local 537 struct mlx5_core_dev *mdev = fdev->mdev; in mlx5_fpga_conn_create_qp() local 671 struct mlx5_core_dev *mdev = conn->fdev->mdev; in mlx5_fpga_conn_reset_qp() local 682 struct mlx5_core_dev *mdev = fdev->mdev; in mlx5_fpga_conn_init_qp() local 718 struct mlx5_core_dev *mdev = fdev->mdev; in mlx5_fpga_conn_rtr_qp() local 763 struct mlx5_core_dev *mdev = fdev->mdev; in mlx5_fpga_conn_rts_qp() local 976 struct mlx5_core_dev *mdev = fdev->mdev; in mlx5_fpga_conn_destroy() local
|
| D | tls.c | 197 int mlx5_fpga_tls_resync_rx(struct mlx5_core_dev *mdev, u32 handle, u32 seq, in mlx5_fpga_tls_resync_rx() 239 static void mlx5_fpga_tls_send_teardown_cmd(struct mlx5_core_dev *mdev, in mlx5_fpga_tls_send_teardown_cmd() 265 void mlx5_fpga_tls_del_flow(struct mlx5_core_dev *mdev, u32 swid, in mlx5_fpga_tls_del_flow() 347 static int mlx5_fpga_tls_setup_stream_cmd(struct mlx5_core_dev *mdev, in mlx5_fpga_tls_setup_stream_cmd() 387 bool mlx5_fpga_is_tls_device(struct mlx5_core_dev *mdev) in mlx5_fpga_is_tls_device() 446 int mlx5_fpga_tls_init(struct mlx5_core_dev *mdev) in mlx5_fpga_tls_init() 498 void mlx5_fpga_tls_cleanup(struct mlx5_core_dev *mdev) in mlx5_fpga_tls_cleanup() 551 static int _mlx5_fpga_tls_add_flow(struct mlx5_core_dev *mdev, void *flow, in _mlx5_fpga_tls_add_flow() 584 int mlx5_fpga_tls_add_flow(struct mlx5_core_dev *mdev, void *flow, in mlx5_fpga_tls_add_flow()
|
| D | ipsec.c | 124 static bool mlx5_fpga_is_ipsec_device(struct mlx5_core_dev *mdev) in mlx5_fpga_is_ipsec_device() 216 static void *mlx5_fpga_ipsec_cmd_exec(struct mlx5_core_dev *mdev, in mlx5_fpga_ipsec_cmd_exec() 324 u32 mlx5_fpga_ipsec_device_caps(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_device_caps() 359 unsigned int mlx5_fpga_ipsec_counters_count(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_counters_count() 370 int mlx5_fpga_ipsec_counters_read(struct mlx5_core_dev *mdev, u64 *counters, in mlx5_fpga_ipsec_counters_read() 418 static int mlx5_fpga_ipsec_set_caps(struct mlx5_core_dev *mdev, u32 flags) in mlx5_fpga_ipsec_set_caps() 446 static int mlx5_fpga_ipsec_enable_supported_caps(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_enable_supported_caps() 458 mlx5_fpga_ipsec_build_hw_xfrm(struct mlx5_core_dev *mdev, in mlx5_fpga_ipsec_build_hw_xfrm() 522 mlx5_fpga_ipsec_build_hw_sa(struct mlx5_core_dev *mdev, in mlx5_fpga_ipsec_build_hw_sa() 665 void *mlx5_fpga_ipsec_create_sa_ctx(struct mlx5_core_dev *mdev, in mlx5_fpga_ipsec_create_sa_ctx() [all …]
|
| /Linux-v5.4/drivers/infiniband/hw/mlx5/ |
| D | ib_virt.c | 55 struct mlx5_core_dev *mdev = dev->mdev; in mlx5_ib_get_vf_config() local 97 struct mlx5_core_dev *mdev = dev->mdev; in mlx5_ib_set_vf_link_state() local 125 struct mlx5_core_dev *mdev; in mlx5_ib_get_vf_stats() local 155 struct mlx5_core_dev *mdev = dev->mdev; in set_vf_node_guid() local 176 struct mlx5_core_dev *mdev = dev->mdev; in set_vf_port_guid() local
|
| /Linux-v5.4/drivers/misc/mic/card/ |
| D | mic_x100.c | 36 u32 mic_read_spad(struct mic_device *mdev, unsigned int idx) in mic_read_spad() 48 void mic_send_intr(struct mic_device *mdev, int doorbell) in mic_send_intr() 102 u32 mic_ack_interrupt(struct mic_device *mdev) in mic_ack_interrupt() 173 mic_card_map(struct mic_device *mdev, dma_addr_t addr, size_t size) in mic_card_map() 185 void mic_card_unmap(struct mic_device *mdev, void __iomem *addr) in mic_card_unmap() 234 struct mic_device *mdev = &mdrv->mdev; in mic_probe() local
|
| /Linux-v5.4/drivers/gpu/drm/arm/display/komeda/ |
| D | komeda_kms.c | 30 struct komeda_dev *mdev = dev->dev_private; in komeda_gem_cma_dumb_create() local 41 struct komeda_dev *mdev = drm->dev_private; in komeda_kms_irq_handler() local 240 struct komeda_dev *mdev) in komeda_kms_mode_config_init() 259 struct komeda_kms_dev *komeda_kms_attach(struct komeda_dev *mdev) in komeda_kms_attach() 342 struct komeda_dev *mdev = drm->dev_private; in komeda_kms_detach() local
|
| /Linux-v5.4/include/linux/mlx5/ |
| D | vport.h | 41 #define MLX5_VPORT_ECPF_PLACEHOLDER(mdev) (mlx5_ecpf_vport_exists(mdev)) argument 43 #define MLX5_SPECIAL_VPORTS(mdev) (MLX5_VPORT_PF_PLACEHOLDER + \ argument 47 #define MLX5_VPORT_MANAGER(mdev) \ argument
|
| D | device.h | 1138 #define MLX5_CAP_GEN(mdev, cap) \ argument 1141 #define MLX5_CAP_GEN_64(mdev, cap) \ argument 1144 #define MLX5_CAP_GEN_MAX(mdev, cap) \ argument 1147 #define MLX5_CAP_ETH(mdev, cap) \ argument 1151 #define MLX5_CAP_ETH_MAX(mdev, cap) \ argument 1155 #define MLX5_CAP_IPOIB_ENHANCED(mdev, cap) \ argument 1159 #define MLX5_CAP_ROCE(mdev, cap) \ argument 1162 #define MLX5_CAP_ROCE_MAX(mdev, cap) \ argument 1165 #define MLX5_CAP_ATOMIC(mdev, cap) \ argument 1168 #define MLX5_CAP_ATOMIC_MAX(mdev, cap) \ argument [all …]
|
| /Linux-v5.4/samples/vfio-mdev/ |
| D | mtty.c | 136 struct mdev_device *mdev; member 634 static ssize_t mdev_access(struct mdev_device *mdev, u8 *buf, size_t count, in mdev_access() 711 static int mtty_create(struct kobject *kobj, struct mdev_device *mdev) in mtty_create() 761 static int mtty_remove(struct mdev_device *mdev) in mtty_remove() 783 static int mtty_reset(struct mdev_device *mdev) in mtty_reset() 799 static ssize_t mtty_read(struct mdev_device *mdev, char __user *buf, in mtty_read() 858 static ssize_t mtty_write(struct mdev_device *mdev, const char __user *buf, in mtty_write() 915 static int mtty_set_irqs(struct mdev_device *mdev, uint32_t flags, in mtty_set_irqs() 1043 static int mtty_get_region_info(struct mdev_device *mdev, in mtty_get_region_info() 1092 static int mtty_get_irq_info(struct mdev_device *mdev, in mtty_get_irq_info() [all …]
|
| D | mbochs.c | 167 struct mdev_device *mdev; member 438 static ssize_t mdev_access(struct mdev_device *mdev, char *buf, size_t count, in mdev_access() 506 static int mbochs_reset(struct mdev_device *mdev) in mbochs_reset() 519 static int mbochs_create(struct kobject *kobj, struct mdev_device *mdev) in mbochs_create() 572 static int mbochs_remove(struct mdev_device *mdev) in mbochs_remove() 584 static ssize_t mbochs_read(struct mdev_device *mdev, char __user *buf, in mbochs_read() 643 static ssize_t mbochs_write(struct mdev_device *mdev, const char __user *buf, in mbochs_write() 768 static int mbochs_mmap(struct mdev_device *mdev, struct vm_area_struct *vma) in mbochs_mmap() 1020 static int mbochs_get_region_info(struct mdev_device *mdev, in mbochs_get_region_info() 1076 static int mbochs_get_irq_info(struct mdev_device *mdev, in mbochs_get_irq_info() [all …]
|
| /Linux-v5.4/drivers/mcb/ |
| D | mcb-core.c | 34 struct mcb_device *mdev = to_mcb_device(dev); in mcb_match() local 46 struct mcb_device *mdev = to_mcb_device(dev); in mcb_uevent() local 59 struct mcb_device *mdev = to_mcb_device(dev); in mcb_probe() local 83 struct mcb_device *mdev = to_mcb_device(dev); in mcb_remove() local 99 struct mcb_device *mdev = to_mcb_device(dev); in mcb_shutdown() local 210 struct mcb_device *mdev = to_mcb_device(dev); in mcb_release_dev() local 390 struct mcb_device *mdev = to_mcb_device(dev); in __mcb_bus_add_devices() local
|
| /Linux-v5.4/drivers/net/wireless/mediatek/mt76/mt7615/ |
| D | pci.c | 31 mt7615_rx_poll_complete(struct mt76_dev *mdev, enum mt76_rxq_id q) in mt7615_rx_poll_complete() 87 struct mt76_dev *mdev; in mt7615_pci_probe() local 133 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt7615_pci_remove() local
|