Home
last modified time | relevance | path

Searched defs:mdev (Results 26 – 50 of 313) sorted by relevance

12345678910>>...13

/linux-5.10/drivers/mailbox/
Dmailbox-sti.c36 #define MBOX_BASE(mdev, inst) ((mdev)->base + ((inst) * 4)) argument
81 struct sti_mbox_device *mdev; member
89 struct sti_mbox_device *mdev = chan_info->mdev; in sti_mbox_channel_is_enabled() local
122 struct sti_mbox_device *mdev = chan_info->mdev; in sti_mbox_enable_channel() local
137 struct sti_mbox_device *mdev = chan_info->mdev; in sti_mbox_disable_channel() local
152 struct sti_mbox_device *mdev = chan_info->mdev; in sti_mbox_clear_irq() local
160 static struct mbox_chan *sti_mbox_irq_to_channel(struct sti_mbox_device *mdev, in sti_mbox_irq_to_channel()
193 struct sti_mbox_device *mdev = data; in sti_mbox_thread_handler() local
215 struct sti_mbox_device *mdev = data; in sti_mbox_irq_handler() local
254 struct sti_mbox_device *mdev = chan_info->mdev; in sti_mbox_tx_is_ready() local
[all …]
/linux-5.10/drivers/dma/
Daltera-msgdma.c209 static struct msgdma_sw_desc *msgdma_get_descriptor(struct msgdma_device *mdev) in msgdma_get_descriptor()
229 static void msgdma_free_descriptor(struct msgdma_device *mdev, in msgdma_free_descriptor()
247 static void msgdma_free_desc_list(struct msgdma_device *mdev, in msgdma_free_desc_list()
305 struct msgdma_device *mdev = to_mdev(tx->chan); in msgdma_tx_submit() local
334 struct msgdma_device *mdev = to_mdev(dchan); in msgdma_prep_memcpy() local
392 struct msgdma_device *mdev = to_mdev(dchan); in msgdma_prep_slave_sg() local
463 struct msgdma_device *mdev = to_mdev(dchan); in msgdma_dma_config() local
470 static void msgdma_reset(struct msgdma_device *mdev) in msgdma_reset()
495 static void msgdma_copy_one(struct msgdma_device *mdev, in msgdma_copy_one()
533 static void msgdma_copy_desc_to_fifo(struct msgdma_device *mdev, in msgdma_copy_desc_to_fifo()
[all …]
/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/accel/
Dipsec_offload.c28 static u32 mlx5_ipsec_offload_device_caps(struct mlx5_core_dev *mdev) in mlx5_ipsec_offload_device_caps()
57 mlx5_ipsec_offload_esp_validate_xfrm_attrs(struct mlx5_core_dev *mdev, in mlx5_ipsec_offload_esp_validate_xfrm_attrs()
96 mlx5_ipsec_offload_esp_create_xfrm(struct mlx5_core_dev *mdev, in mlx5_ipsec_offload_esp_create_xfrm()
135 static int mlx5_create_ipsec_obj(struct mlx5_core_dev *mdev, in mlx5_create_ipsec_obj()
192 static void mlx5_destroy_ipsec_obj(struct mlx5_core_dev *mdev, u32 ipsec_id) in mlx5_destroy_ipsec_obj()
206 static void *mlx5_ipsec_offload_create_sa_ctx(struct mlx5_core_dev *mdev, in mlx5_ipsec_offload_create_sa_ctx()
277 static int mlx5_ipsec_offload_init(struct mlx5_core_dev *mdev) in mlx5_ipsec_offload_init()
282 static int mlx5_modify_ipsec_obj(struct mlx5_core_dev *mdev, in mlx5_modify_ipsec_obj()
334 struct mlx5_core_dev *mdev = xfrm->mdev; in mlx5_ipsec_offload_esp_modify_xfrm() local
379 const struct mlx5_accel_ipsec_ops *mlx5_ipsec_offload_ops(struct mlx5_core_dev *mdev) in mlx5_ipsec_offload_ops()
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()
/linux-5.10/samples/vfio-mdev/
Dmdpy.c94 struct mdev_device *mdev; member
175 static ssize_t mdev_access(struct mdev_device *mdev, char *buf, size_t count, in mdev_access()
215 static int mdpy_reset(struct mdev_device *mdev) in mdpy_reset()
229 static int mdpy_create(struct kobject *kobj, struct mdev_device *mdev) in mdpy_create()
275 static int mdpy_remove(struct mdev_device *mdev) in mdpy_remove()
291 static ssize_t mdpy_read(struct mdev_device *mdev, char __user *buf, in mdpy_read()
350 static ssize_t mdpy_write(struct mdev_device *mdev, const char __user *buf, in mdpy_write()
407 static int mdpy_mmap(struct mdev_device *mdev, struct vm_area_struct *vma) in mdpy_mmap()
425 static int mdpy_get_region_info(struct mdev_device *mdev, in mdpy_get_region_info()
463 static int mdpy_get_irq_info(struct mdev_device *mdev, in mdpy_get_irq_info()
[all …]
/linux-5.10/drivers/s390/cio/
Dvfio_ccw_ops.c20 static int vfio_ccw_mdev_reset(struct mdev_device *mdev) in vfio_ccw_mdev_reset()
113 static int vfio_ccw_mdev_create(struct kobject *kobj, struct mdev_device *mdev) in vfio_ccw_mdev_create()
135 static int vfio_ccw_mdev_remove(struct mdev_device *mdev) in vfio_ccw_mdev_remove()
159 static int vfio_ccw_mdev_open(struct mdev_device *mdev) in vfio_ccw_mdev_open()
194 static void vfio_ccw_mdev_release(struct mdev_device *mdev) in vfio_ccw_mdev_release()
233 static ssize_t vfio_ccw_mdev_read(struct mdev_device *mdev, in vfio_ccw_mdev_read()
288 static ssize_t vfio_ccw_mdev_write(struct mdev_device *mdev, in vfio_ccw_mdev_write()
314 struct mdev_device *mdev) in vfio_ccw_mdev_get_device_info()
327 struct mdev_device *mdev, in vfio_ccw_mdev_get_region_info()
407 static int vfio_ccw_mdev_set_irqs(struct mdev_device *mdev, in vfio_ccw_mdev_set_irqs()
[all …]
/linux-5.10/drivers/mtd/maps/
Dvmu-flash.c24 struct maple_device *mdev; member
60 struct maple_device *mdev; in ofs_to_block() local
91 struct maple_device *mdev; in vmu_blockread() local
114 struct maple_device *mdev; in maple_vmu_read_block() local
231 struct maple_device *mdev; in maple_vmu_write_block() local
308 struct maple_device *mdev; in vmu_flash_read_char() local
353 struct maple_device *mdev; in vmu_flash_read() local
419 struct maple_device *mdev; in vmu_flash_write() local
501 struct maple_device *mdev; in vmu_queryblocks() local
597 static int vmu_connect(struct maple_device *mdev) in vmu_connect()
[all …]
/linux-5.10/sound/usb/
Dmedia.c36 struct media_device *mdev; in snd_media_stream_init() local
122 struct media_device *mdev; in snd_media_stream_delete() local
169 struct media_device *mdev = chip->media_dev; in snd_media_mixer_init() local
230 struct media_device *mdev = chip->media_dev; in snd_media_mixer_delete() local
257 struct media_device *mdev; in snd_media_device_create() local
312 struct media_device *mdev = chip->media_dev; in snd_media_device_delete() local
/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c92 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_alloc_tx_queue_per_tc() local
476 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_vlan_rx_add_vid() local
506 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_vlan_rx_kill_vid() local
561 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_uc_steer_add() local
613 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_uc_steer_release() local
639 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_get_qp() local
678 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_put_qp() local
698 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_replace_mac() local
748 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_update_user_mac() local
783 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_set_mac() local
[all …]
/linux-5.10/drivers/dma/qcom/
Dhidma_mgmt_sys.c14 struct hidma_mgmt_dev *mdev; member
72 static int set_weight(struct hidma_mgmt_dev *mdev, unsigned int i, u64 val) in set_weight()
102 struct hidma_mgmt_dev *mdev = dev_get_drvdata(dev); in show_values() local
119 struct hidma_mgmt_dev *mdev = dev_get_drvdata(dev); in set_values() local
144 struct hidma_mgmt_dev *mdev; in show_values_channel() local
162 struct hidma_mgmt_dev *mdev; in set_values_channel() local
208 static int create_sysfs_entry_channel(struct hidma_mgmt_dev *mdev, char *name, in create_sysfs_entry_channel()
234 int hidma_mgmt_init_sys(struct hidma_mgmt_dev *mdev) in hidma_mgmt_init_sys()
/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.h40 static inline int mlx5_clock_get_ptp_index(struct mlx5_core_dev *mdev) in mlx5_clock_get_ptp_index()
60 static inline void mlx5_init_clock(struct mlx5_core_dev *mdev) {} in mlx5_init_clock()
61 static inline void mlx5_cleanup_clock(struct mlx5_core_dev *mdev) {} in mlx5_cleanup_clock()
62 static inline int mlx5_clock_get_ptp_index(struct mlx5_core_dev *mdev) in mlx5_clock_get_ptp_index()
/linux-5.10/drivers/gpu/drm/arm/display/komeda/d71/
Dd71_dev.c178 d71_irq_handler(struct komeda_dev *mdev, struct komeda_events *evts) in d71_irq_handler()
218 static int d71_enable_irq(struct komeda_dev *mdev) in d71_enable_irq()
238 static int d71_disable_irq(struct komeda_dev *mdev) in d71_disable_irq()
257 static void d71_on_off_vblank(struct komeda_dev *mdev, int master_pipe, bool on) in d71_on_off_vblank()
283 static int d71_change_opmode(struct komeda_dev *mdev, int new_mode) in d71_change_opmode()
297 static void d71_flush(struct komeda_dev *mdev, in d71_flush()
338 static void d71_cleanup(struct komeda_dev *mdev) in d71_cleanup()
349 static int d71_enum_resources(struct komeda_dev *mdev) in d71_enum_resources()
547 static void d71_init_fmt_tbl(struct komeda_dev *mdev) in d71_init_fmt_tbl()
556 static int d71_connect_iommu(struct komeda_dev *mdev) in d71_connect_iommu()
[all …]
/linux-5.10/drivers/most/
Dmost_usb.c77 struct most_dev *mdev; member
237 struct most_dev *mdev = to_mdev(iface); in hdm_poison_channel() local
275 static int hdm_add_padding(struct most_dev *mdev, int channel, struct mbo *mbo) in hdm_add_padding()
308 static int hdm_remove_padding(struct most_dev *mdev, int channel, in hdm_remove_padding()
342 struct most_dev *mdev = to_mdev(mbo->ifp); in hdm_write_completion() local
394 struct most_dev *mdev = to_mdev(mbo->ifp); in hdm_read_completion() local
459 struct most_dev *mdev = to_mdev(iface); in hdm_enqueue() local
536 struct most_dev *mdev = to_mdev(mbo->ifp); in hdm_dma_alloc() local
544 struct most_dev *mdev = to_mdev(mbo->ifp); in hdm_dma_free() local
570 struct most_dev *mdev = to_mdev(iface); in hdm_configure_channel() local
[all …]
/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_dcbnl.c60 #define MLX5_DSCP_SUPPORTED(mdev) (MLX5_CAP_GEN(mdev, qcam_reg) && \ argument
72 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_dcbnl_set_dcbx_mode() local
110 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_dcbnl_ieee_getets() local
251 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_dcbnl_ieee_setets_core() local
344 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_dcbnl_ieee_getpfc() local
364 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_dcbnl_ieee_setpfc() local
550 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_dcbnl_ieee_getmaxrate() local
585 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_dcbnl_ieee_setmaxrate() local
623 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_dcbnl_setall() local
736 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_dcbnl_getpgtccfgtx() local
[all …]
Den_main.c68 bool mlx5e_check_fragmented_striding_rq_cap(struct mlx5_core_dev *mdev) in mlx5e_check_fragmented_striding_rq_cap()
86 void mlx5e_init_rq_type_params(struct mlx5_core_dev *mdev, in mlx5e_init_rq_type_params()
102 bool mlx5e_striding_rq_possible(struct mlx5_core_dev *mdev, in mlx5e_striding_rq_possible()
123 void mlx5e_set_rq_type(struct mlx5_core_dev *mdev, struct mlx5e_params *params) in mlx5e_set_rq_type()
133 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_update_carrier() local
247 static int mlx5e_create_umr_mkey(struct mlx5_core_dev *mdev, in mlx5e_create_umr_mkey()
298 static int mlx5e_create_rq_umr_mkey(struct mlx5_core_dev *mdev, struct mlx5e_rq *rq) in mlx5e_create_rq_umr_mkey()
401 struct mlx5_core_dev *mdev = c->mdev; in mlx5e_alloc_rq() local
657 struct mlx5_core_dev *mdev = rq->mdev; in mlx5e_create_rq() local
694 struct mlx5_core_dev *mdev = rq->mdev; in mlx5e_modify_rq_state() local
[all …]
Den_stats.c537 struct mlx5_core_dev *mdev = priv->mdev; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() local
620 struct mlx5_core_dev *mdev = priv->mdev; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() local
676 #define MLX5_BASIC_PPCNT_SUPPORTED(mdev) \ argument
682 struct mlx5_core_dev *mdev = priv->mdev; variable
705 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_stats_pause_get() local
763 struct mlx5_core_dev *mdev = priv->mdev; variable
822 struct mlx5_core_dev *mdev = priv->mdev; variable
859 struct mlx5_core_dev *mdev = priv->mdev; in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS() local
876 struct mlx5_core_dev *mdev = priv->mdev; in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS() local
898 struct mlx5_core_dev *mdev = priv->mdev; in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS() local
[all …]
/linux-5.10/drivers/media/mc/
Dmc-entity.c145 void media_gobj_create(struct media_device *mdev, in media_gobj_create()
200 struct media_device *mdev = entity->graph_obj.mdev; in media_entity_pads_init() local
278 struct media_graph *graph, struct media_device *mdev) in media_graph_walk_init()
410 struct media_device *mdev = entity->graph_obj.mdev; in __media_pipeline_start() local
535 struct media_device *mdev = entity->graph_obj.mdev; in media_pipeline_start() local
576 struct media_device *mdev = entity->graph_obj.mdev; in media_pipeline_stop() local
715 int media_create_pad_links(const struct media_device *mdev, in media_create_pad_links()
794 struct media_device *mdev = entity->graph_obj.mdev; in media_entity_remove_links() local
833 struct media_device *mdev; in __media_entity_setup_link() local
925 static void media_interface_init(struct media_device *mdev, in media_interface_init()
[all …]
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()
/linux-5.10/drivers/isdn/mISDN/
Dcore.c34 struct mISDNdevice *mdev = dev_to_mISDN(dev); in id_show() local
45 struct mISDNdevice *mdev = dev_to_mISDN(dev); in nrbchan_show() local
56 struct mISDNdevice *mdev = dev_to_mISDN(dev); in d_protocols_show() local
67 struct mISDNdevice *mdev = dev_to_mISDN(dev); in b_protocols_show() local
78 struct mISDNdevice *mdev = dev_to_mISDN(dev); in protocol_show() local
119 struct mISDNdevice *mdev = dev_to_mISDN(dev); in channelmap_show() local
144 struct mISDNdevice *mdev = dev_to_mISDN(dev); in mISDN_uevent() local
172 struct mISDNdevice *mdev = dev_to_mISDN(dev); in _get_mdevice() local
/linux-5.10/drivers/vfio/mdev/
Dmdev_driver.c16 static int mdev_attach_iommu(struct mdev_device *mdev) in mdev_attach_iommu()
34 static void mdev_detach_iommu(struct mdev_device *mdev) in mdev_detach_iommu()
43 struct mdev_device *mdev = to_mdev_device(dev); in mdev_probe() local
62 struct mdev_device *mdev = to_mdev_device(dev); in mdev_remove() local
/linux-5.10/drivers/net/wireless/mediatek/mt76/mt76x2/
Dpci.c37 struct mt76_dev *mdev; in mt76x2e_probe() local
100 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt76x2e_remove() local
111 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt76x2e_suspend() local
140 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt76x2e_resume() local
/linux-5.10/drivers/gpu/drm/arm/display/komeda/
Dkomeda_crtc.c111 struct komeda_dev *mdev = kcrtc->base.dev->dev_private; in komeda_crtc_prepare() local
164 struct komeda_dev *mdev = kcrtc->base.dev->dev_private; in komeda_crtc_unprepare() local
249 struct komeda_dev *mdev = kcrtc->base.dev->dev_private; in komeda_crtc_do_flush() local
290 struct komeda_dev *mdev = kcrtc->master->mdev; in komeda_crtc_flush_and_wait_for_flip_done() local
409 struct komeda_dev *mdev = crtc->dev->dev_private; in komeda_crtc_get_aclk() local
421 struct komeda_dev *mdev = crtc->dev->dev_private; in komeda_crtc_mode_valid() local
527 struct komeda_dev *mdev = crtc->dev->dev_private; in komeda_crtc_vblank_enable() local
536 struct komeda_dev *mdev = crtc->dev->dev_private; in komeda_crtc_vblank_disable() local
555 struct komeda_dev *mdev) in komeda_kms_setup_crtcs()
625 int komeda_kms_add_crtcs(struct komeda_kms_dev *kms, struct komeda_dev *mdev) in komeda_kms_add_crtcs()
/linux-5.10/drivers/net/wireless/intersil/orinoco/
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()
/linux-5.10/drivers/infiniband/hw/mlx5/
Dib_virt.c55 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
178 struct mlx5_core_dev *mdev = dev->mdev; in set_vf_port_guid() local
214 struct mlx5_core_dev *mdev = dev->mdev; in mlx5_ib_get_vf_guid() local
/linux-5.10/drivers/tty/serial/8250/
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()

12345678910>>...13