Home
last modified time | relevance | path

Searched defs:mdev (Results 51 – 75 of 313) sorted by relevance

12345678910>>...13

/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dport.c84 bool mlx5e_ptys_ext_supported(struct mlx5_core_dev *mdev) in mlx5e_ptys_ext_supported()
99 static void mlx5e_port_get_speed_arr(struct mlx5_core_dev *mdev, in mlx5e_port_get_speed_arr()
175 u32 mlx5e_port_ptys2speed(struct mlx5_core_dev *mdev, u32 eth_proto_oper, in mlx5e_port_ptys2speed()
191 int mlx5e_port_linkspeed(struct mlx5_core_dev *mdev, u32 *speed) in mlx5e_port_linkspeed()
216 int mlx5e_port_max_linkspeed(struct mlx5_core_dev *mdev, u32 *speed) in mlx5e_port_max_linkspeed()
240 u32 mlx5e_port_speed2linkmodes(struct mlx5_core_dev *mdev, u32 speed, in mlx5e_port_speed2linkmodes()
256 int mlx5e_port_query_pbmc(struct mlx5_core_dev *mdev, void *out) in mlx5e_port_query_pbmc()
273 int mlx5e_port_set_pbmc(struct mlx5_core_dev *mdev, void *in) in mlx5e_port_set_pbmc()
291 int mlx5e_port_query_priority2buffer(struct mlx5_core_dev *mdev, u8 *buffer) in mlx5e_port_query_priority2buffer()
323 int mlx5e_port_set_priority2buffer(struct mlx5_core_dev *mdev, u8 *buffer) in mlx5e_port_set_priority2buffer()
Dparams.c90 bool mlx5e_rx_mpwqe_is_linear_skb(struct mlx5_core_dev *mdev, in mlx5e_rx_mpwqe_is_linear_skb()
127 u8 mlx5e_mpwqe_get_log_stride_size(struct mlx5_core_dev *mdev, in mlx5e_mpwqe_get_log_stride_size()
137 u8 mlx5e_mpwqe_get_log_num_strides(struct mlx5_core_dev *mdev, in mlx5e_mpwqe_get_log_num_strides()
145 u16 mlx5e_get_rq_headroom(struct mlx5_core_dev *mdev, in mlx5e_get_rq_headroom()
/linux-5.10/drivers/s390/crypto/
Dvfio_ap_ops.c324 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-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
Dmmio.c80 mt7615_rx_poll_complete(struct mt76_dev *mdev, enum mt76_rxq_id q) in mt7615_rx_poll_complete()
147 static u32 mt7615_rr(struct mt76_dev *mdev, u32 offset) in mt7615_rr()
155 static void mt7615_wr(struct mt76_dev *mdev, u32 offset, u32 val) in mt7615_wr()
163 static u32 mt7615_rmw(struct mt76_dev *mdev, u32 offset, u32 mask, u32 val) in mt7615_rmw()
193 struct mt76_dev *mdev; in mt7615_mmio_probe() local
Dpci.c62 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt7615_pci_remove() local
73 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt7615_pci_suspend() local
140 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt7615_pci_resume() local
/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Den_main.c150 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-5.10/drivers/vdpa/mlx5/net/
Dmain.c14 static bool required_caps_supported(struct mlx5_core_dev *mdev) in required_caps_supported()
34 static void *mlx5_vdpa_add(struct mlx5_core_dev *mdev) in mlx5_vdpa_add()
52 static void mlx5_vdpa_remove(struct mlx5_core_dev *mdev, void *context) in mlx5_vdpa_remove()
/linux-5.10/include/linux/mlx5/
Ddevice.h1189 #define MLX5_CAP_GEN(mdev, cap) \ argument
1192 #define MLX5_CAP_GEN_64(mdev, cap) \ argument
1195 #define MLX5_CAP_GEN_MAX(mdev, cap) \ argument
1198 #define MLX5_CAP_ETH(mdev, cap) \ argument
1202 #define MLX5_CAP_ETH_MAX(mdev, cap) \ argument
1206 #define MLX5_CAP_IPOIB_ENHANCED(mdev, cap) \ argument
1210 #define MLX5_CAP_ROCE(mdev, cap) \ argument
1213 #define MLX5_CAP_ROCE_MAX(mdev, cap) \ argument
1216 #define MLX5_CAP_ATOMIC(mdev, cap) \ argument
1219 #define MLX5_CAP_ATOMIC_MAX(mdev, cap) \ argument
[all …]
Dvport.h41 #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
/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c41 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_ethtool_get_drvinfo() local
217 static void mlx5e_ethtool_get_speed_arr(struct mlx5_core_dev *mdev, in mlx5e_ethtool_get_speed_arr()
521 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_set_priv_channels_coalesce() local
545 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_ethtool_set_coalesce() local
623 static void ptys2ethtool_supported_link(struct mlx5_core_dev *mdev, in ptys2ethtool_supported_link()
834 static void get_supported(struct mlx5_core_dev *mdev, u32 eth_proto_cap, in get_supported()
899 static void get_lp_advertising(struct mlx5_core_dev *mdev, u32 eth_proto_lp, in get_lp_advertising()
911 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_ethtool_get_link_ksettings() local
1066 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_ethtool_set_link_ksettings() local
1264 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_get_pfc_prevention_tout() local
[all …]
/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dcore.h46 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()
Dcore.c142 struct mlx5_core_dev *mdev = fdev->mdev; in mlx5_fpga_device_brb() local
178 int mlx5_fpga_device_start(struct mlx5_core_dev *mdev) in mlx5_fpga_device_start()
254 int mlx5_fpga_init(struct mlx5_core_dev *mdev) in mlx5_fpga_init()
275 void mlx5_fpga_device_stop(struct mlx5_core_dev *mdev) in mlx5_fpga_device_stop()
311 void mlx5_fpga_cleanup(struct mlx5_core_dev *mdev) in mlx5_fpga_cleanup()
Dipsec.c127 static bool mlx5_fpga_is_ipsec_device(struct mlx5_core_dev *mdev) in mlx5_fpga_is_ipsec_device()
219 static void *mlx5_fpga_ipsec_cmd_exec(struct mlx5_core_dev *mdev, in mlx5_fpga_ipsec_cmd_exec()
327 u32 mlx5_fpga_ipsec_device_caps(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_device_caps()
362 static unsigned int mlx5_fpga_ipsec_counters_count(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_counters_count()
373 static int mlx5_fpga_ipsec_counters_read(struct mlx5_core_dev *mdev, u64 *counters, in mlx5_fpga_ipsec_counters_read()
421 static int mlx5_fpga_ipsec_set_caps(struct mlx5_core_dev *mdev, u32 flags) in mlx5_fpga_ipsec_set_caps()
449 static int mlx5_fpga_ipsec_enable_supported_caps(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_enable_supported_caps()
461 mlx5_fpga_ipsec_build_hw_xfrm(struct mlx5_core_dev *mdev, in mlx5_fpga_ipsec_build_hw_xfrm()
525 mlx5_fpga_ipsec_build_hw_sa(struct mlx5_core_dev *mdev, in mlx5_fpga_ipsec_build_hw_sa()
668 static void *mlx5_fpga_ipsec_create_sa_ctx(struct mlx5_core_dev *mdev, in mlx5_fpga_ipsec_create_sa_ctx()
[all …]
Dtls.c197 int mlx5_fpga_tls_resync_rx(struct mlx5_core_dev *mdev, __be32 handle, 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()
/linux-5.10/drivers/gpu/drm/arm/display/komeda/
Dkomeda_kms.c31 struct komeda_dev *mdev = dev->dev_private; in komeda_gem_cma_dumb_create() local
42 struct komeda_dev *mdev = drm->dev_private; in komeda_kms_irq_handler() local
234 struct komeda_dev *mdev) in komeda_kms_mode_config_init()
253 struct komeda_kms_dev *komeda_kms_attach(struct komeda_dev *mdev) in komeda_kms_attach()
327 struct komeda_dev *mdev = drm->dev_private; in komeda_kms_detach() local
Dkomeda_pipeline.c14 komeda_pipeline_add(struct komeda_dev *mdev, size_t size, in komeda_pipeline_add()
44 void komeda_pipeline_destroy(struct komeda_dev *mdev, in komeda_pipeline_destroy()
68 struct komeda_dev *mdev = pipe->mdev; in komeda_pipeline_get_component_pos() local
226 void komeda_component_destroy(struct komeda_dev *mdev, in komeda_component_destroy()
337 int komeda_assemble_pipelines(struct komeda_dev *mdev) in komeda_assemble_pipelines()
/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dgeneve.c9 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()
Dvxlan.c42 struct mlx5_core_dev *mdev; member
53 static int mlx5_vxlan_core_add_port_cmd(struct mlx5_core_dev *mdev, u16 port) in mlx5_vxlan_core_add_port_cmd()
63 static int mlx5_vxlan_core_del_port_cmd(struct mlx5_core_dev *mdev, u16 port) in mlx5_vxlan_core_del_port_cmd()
148 struct mlx5_vxlan *mlx5_vxlan_create(struct mlx5_core_dev *mdev) in mlx5_vxlan_create()
Dport_tun.c16 static void mlx5_query_port_tun_entropy(struct mlx5_core_dev *mdev, in mlx5_query_port_tun_entropy()
42 static int mlx5_set_port_tun_entropy_calc(struct mlx5_core_dev *mdev, u8 enable, in mlx5_set_port_tun_entropy_calc()
57 static int mlx5_set_port_gre_tun_entropy_calc(struct mlx5_core_dev *mdev, in mlx5_set_port_gre_tun_entropy_calc()
73 struct mlx5_core_dev *mdev) in mlx5_init_port_tun_entropy()
/linux-5.10/drivers/gpu/drm/mgag200/
Dmgag200_mm.c35 static size_t mgag200_probe_vram(struct mga_device *mdev, void __iomem *mem, in mgag200_probe_vram()
80 struct mga_device *mdev = to_mga_device(dev); in mgag200_mm_release() local
90 int mgag200_mm_init(struct mga_device *mdev) in mgag200_mm_init()
/linux-5.10/samples/vfio-mdev/
Dmtty.c136 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 …]
Dmbochs.c167 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()
1005 static int mbochs_get_region_info(struct mdev_device *mdev, in mbochs_get_region_info()
1061 static int mbochs_get_irq_info(struct mdev_device *mdev, in mbochs_get_irq_info()
[all …]
/linux-5.10/drivers/mcb/
Dmcb-core.c34 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-5.10/drivers/net/wireless/mediatek/mt76/mt7915/
Dpci.c21 mt7915_rx_poll_complete(struct mt76_dev *mdev, enum mt76_rxq_id q) in mt7915_rx_poll_complete()
118 struct mt76_dev *mdev; in mt7915_pci_probe() local
172 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt7915_pci_remove() local
/linux-5.10/drivers/media/mc/
Dmc-request.c64 struct media_device *mdev = req->mdev; in media_request_release() local
121 struct media_device *mdev = req->mdev; in media_request_ioctl_queue() local
190 struct media_device *mdev = req->mdev; in media_request_ioctl_reinit() local
247 media_request_get_by_fd(struct media_device *mdev, int request_fd) in media_request_get_by_fd()
288 int media_request_alloc(struct media_device *mdev, int *alloc_fd) in media_request_alloc()

12345678910>>...13