Home
last modified time | relevance | path

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

12345678910>>...14

/OK3568_Linux_fs/kernel/drivers/s390/crypto/
H A Dvfio_ap_ops.c325 static int vfio_ap_mdev_create(struct kobject *kobj, struct mdev_device *mdev) in vfio_ap_mdev_create()
350 static int vfio_ap_mdev_remove(struct mdev_device *mdev) in vfio_ap_mdev_remove()
606 struct mdev_device *mdev = mdev_from_dev(dev); in assign_adapter_store() local
672 struct mdev_device *mdev = mdev_from_dev(dev); in unassign_adapter_store() local
752 struct mdev_device *mdev = mdev_from_dev(dev); in assign_domain_store() local
814 struct mdev_device *mdev = mdev_from_dev(dev); in unassign_domain_store() local
858 struct mdev_device *mdev = mdev_from_dev(dev); in assign_control_domain_store() local
907 struct mdev_device *mdev = mdev_from_dev(dev); in unassign_control_domain_store() local
937 struct mdev_device *mdev = mdev_from_dev(dev); in control_domains_show() local
956 struct mdev_device *mdev = mdev_from_dev(dev); in matrix_show() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/intersil/orinoco/
H A Dairport.c28 struct macio_dev *mdev; member
36 airport_suspend(struct macio_dev *mdev, pm_message_t state) in airport_suspend()
64 airport_resume(struct macio_dev *mdev) in airport_resume()
88 airport_detach(struct macio_dev *mdev) in airport_detach()
148 airport_attach(struct macio_dev *mdev, const struct of_device_id *match) in airport_attach()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/accel/
H A Dipsec_offload.h13 static inline bool mlx5_is_ipsec_device(struct mlx5_core_dev *mdev) in mlx5_is_ipsec_device()
31 mlx5_ipsec_offload_ops(struct mlx5_core_dev *mdev) { return NULL; } in mlx5_ipsec_offload_ops()
32 static inline bool mlx5_is_ipsec_device(struct mlx5_core_dev *mdev) in mlx5_is_ipsec_device()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/en/
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/drivers/media/mc/
H A Dmc-dev-allocator.c30 struct media_device mdev; member
37 to_media_device_instance(struct media_device *mdev) in to_media_device_instance()
101 struct media_device *mdev; in media_device_usb_allocate() local
119 void media_device_delete(struct media_device *mdev, const char *module_name, in media_device_delete()
/OK3568_Linux_fs/kernel/drivers/tty/serial/8250/
H A D8250_men_mcb.c29 static u32 men_lookup_uartclk(struct mcb_device *mdev) in men_lookup_uartclk()
54 static int get_num_ports(struct mcb_device *mdev, in get_num_ports()
70 static int serial_8250_men_mcb_probe(struct mcb_device *mdev, in serial_8250_men_mcb_probe()
134 static void serial_8250_men_mcb_remove(struct mcb_device *mdev) in serial_8250_men_mcb_remove()
/OK3568_Linux_fs/kernel/include/linux/mlx5/
H A 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 …]
H A 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
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/
H A 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
/OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/mt7615/
H A 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
H A 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
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/fpga/
H A 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()
H A 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()
H A 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 …]
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/arm/display/komeda/
H A 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
/OK3568_Linux_fs/kernel/drivers/vdpa/mlx5/net/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A 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()
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/samples/vfio-mdev/
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/mcb/
H A 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
/OK3568_Linux_fs/kernel/drivers/gpu/drm/mgag200/
H A 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()

12345678910>>...14