Home
last modified time | relevance | path

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

12345678910>>...12

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dport.c98 int mlx5_query_qcam_reg(struct mlx5_core_dev *mdev, u32 *qcam, in mlx5_query_qcam_reg()
546 int mlx5_max_tc(struct mlx5_core_dev *mdev) in mlx5_max_tc()
553 int mlx5_query_port_dcbx_param(struct mlx5_core_dev *mdev, u32 *out) in mlx5_query_port_dcbx_param()
563 int mlx5_set_port_dcbx_param(struct mlx5_core_dev *mdev, u32 *in) in mlx5_set_port_dcbx_param()
573 int mlx5_set_port_prio_tc(struct mlx5_core_dev *mdev, u8 *prio_tc) in mlx5_set_port_prio_tc()
597 int mlx5_query_port_prio_tc(struct mlx5_core_dev *mdev, in mlx5_query_port_prio_tc()
619 static int mlx5_set_port_qetcr_reg(struct mlx5_core_dev *mdev, u32 *in, in mlx5_set_port_qetcr_reg()
631 static int mlx5_query_port_qetcr_reg(struct mlx5_core_dev *mdev, u32 *out, in mlx5_query_port_qetcr_reg()
644 int mlx5_set_port_tc_group(struct mlx5_core_dev *mdev, u8 *tc_group) in mlx5_set_port_tc_group()
658 int mlx5_query_port_tc_group(struct mlx5_core_dev *mdev, in mlx5_query_port_tc_group()
[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
267 static int mlx5e_create_umr_mkey(struct mlx5_core_dev *mdev, in mlx5e_create_umr_mkey()
301 static int mlx5e_create_rq_umr_mkey(struct mlx5_core_dev *mdev, struct mlx5e_rq *rq) in mlx5e_create_rq_umr_mkey()
381 struct mlx5_core_dev *mdev = c->mdev; in mlx5e_alloc_rq() local
677 struct mlx5_core_dev *mdev = rq->mdev; in mlx5e_create_rq() local
714 struct mlx5_core_dev *mdev = rq->mdev; in mlx5e_modify_rq_state() local
[all …]
/Linux-v5.4/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-v5.4/drivers/dma/
Daltera-msgdma.c208 static struct msgdma_sw_desc *msgdma_get_descriptor(struct msgdma_device *mdev) in msgdma_get_descriptor()
228 static void msgdma_free_descriptor(struct msgdma_device *mdev, in msgdma_free_descriptor()
246 static void msgdma_free_desc_list(struct msgdma_device *mdev, in msgdma_free_desc_list()
303 struct msgdma_device *mdev = to_mdev(tx->chan); in msgdma_tx_submit() local
332 struct msgdma_device *mdev = to_mdev(dchan); in msgdma_prep_memcpy() local
390 struct msgdma_device *mdev = to_mdev(dchan); in msgdma_prep_slave_sg() local
461 struct msgdma_device *mdev = to_mdev(dchan); in msgdma_dma_config() local
468 static void msgdma_reset(struct msgdma_device *mdev) in msgdma_reset()
493 static void msgdma_copy_one(struct msgdma_device *mdev, in msgdma_copy_one()
531 static void msgdma_copy_desc_to_fifo(struct msgdma_device *mdev, in msgdma_copy_desc_to_fifo()
[all …]
/Linux-v5.4/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.c22 struct otx2_mbox_dev *mdev = &mbox->dev[devid]; in otx2_mbox_reset() local
50 struct otx2_mbox_dev *mdev; in otx2_mbox_init() local
136 struct otx2_mbox_dev *mdev = &mbox->dev[devid]; in otx2_mbox_wait_for_rsp() local
151 struct otx2_mbox_dev *mdev = &mbox->dev[devid]; in otx2_mbox_busy_poll_for_rsp() local
165 struct otx2_mbox_dev *mdev = &mbox->dev[devid]; in otx2_mbox_msg_send() local
199 struct otx2_mbox_dev *mdev = &mbox->dev[devid]; in otx2_mbox_alloc_msg_rsp() local
236 struct otx2_mbox_dev *mdev = &mbox->dev[devid]; in otx2_mbox_get_rsp() local
279 struct otx2_mbox_dev *mdev = &mbox->dev[devid]; in otx2_mbox_nonempty() local
/Linux-v5.4/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-v5.4/drivers/gpu/drm/mgag200/
Dmgag200_main.c21 static int mga_probe_vram(struct mga_device *mdev, void __iomem *mem) in mga_probe_vram()
66 static int mga_vram_init(struct mga_device *mdev) in mga_vram_init()
94 struct mga_device *mdev = dev->dev_private; in mgag200_device_init() local
142 struct mga_device *mdev; in mgag200_driver_load() local
206 struct mga_device *mdev = dev->dev_private; in mgag200_driver_unload() local
Dmgag200_mode.c30 struct mga_device *mdev = dev->dev_private; in mga_crtc_load_lut() local
76 static inline void mga_wait_vsync(struct mga_device *mdev) in mga_wait_vsync()
91 static inline void mga_wait_busy(struct mga_device *mdev) in mga_wait_busy()
102 static int mga_g200se_set_plls(struct mga_device *mdev, long clock) in mga_g200se_set_plls()
221 static int mga_g200wb_set_plls(struct mga_device *mdev, long clock) in mga_g200wb_set_plls()
400 static int mga_g200ev_set_plls(struct mga_device *mdev, long clock) in mga_g200ev_set_plls()
493 static int mga_g200eh_set_plls(struct mga_device *mdev, long clock) in mga_g200eh_set_plls()
623 static int mga_g200er_set_plls(struct mga_device *mdev, long clock) in mga_g200er_set_plls()
703 static int mga_crtc_set_plls(struct mga_device *mdev, long clock) in mga_crtc_set_plls()
730 struct mga_device *mdev = crtc->dev->dev_private; in mga_g200wb_prepare() local
[all …]
/Linux-v5.4/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()
180 static void vfio_ccw_mdev_release(struct mdev_device *mdev) in vfio_ccw_mdev_release()
226 static ssize_t vfio_ccw_mdev_read(struct mdev_device *mdev, in vfio_ccw_mdev_read()
281 static ssize_t vfio_ccw_mdev_write(struct mdev_device *mdev, in vfio_ccw_mdev_write()
307 struct mdev_device *mdev) in vfio_ccw_mdev_get_device_info()
320 struct mdev_device *mdev, in vfio_ccw_mdev_get_region_info()
396 static int vfio_ccw_mdev_set_irqs(struct mdev_device *mdev, in vfio_ccw_mdev_set_irqs()
[all …]
/Linux-v5.4/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-v5.4/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-v5.4/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c91 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_alloc_tx_queue_per_tc() local
475 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_vlan_rx_add_vid() local
505 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_vlan_rx_kill_vid() local
560 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_uc_steer_add() local
612 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_uc_steer_release() local
638 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_get_qp() local
677 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_put_qp() local
697 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_replace_mac() local
747 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_update_user_mac() local
782 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_set_mac() local
[all …]
/Linux-v5.4/drivers/misc/mic/host/
Dmic_debugfs.c24 struct mic_device *mdev = s->private; in mic_smpt_show() local
49 struct mic_device *mdev = s->private; in mic_post_code_show() local
60 struct mic_device *mdev = s->private; in mic_msi_irq_info_show() local
107 void mic_create_debug_dir(struct mic_device *mdev) in mic_create_debug_dir()
130 void mic_delete_debug_dir(struct mic_device *mdev) in mic_delete_debug_dir()
/Linux-v5.4/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-v5.4/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()
Dclock.c72 struct mlx5_core_dev *mdev = container_of(clock, struct mlx5_core_dev, in read_internal_timer() local
78 static void mlx5_update_clock_info_page(struct mlx5_core_dev *mdev) in mlx5_update_clock_info_page()
106 struct mlx5_core_dev *mdev = container_of(clock, struct mlx5_core_dev, in mlx5_pps_out() local
164 struct mlx5_core_dev *mdev = container_of(clock, struct mlx5_core_dev, in mlx5_ptp_gettimex() local
227 struct mlx5_core_dev *mdev = in mlx5_extts_configure() local
289 struct mlx5_core_dev *mdev = in mlx5_perout_configure() local
440 static void mlx5_get_pps_caps(struct mlx5_core_dev *mdev) in mlx5_get_pps_caps()
468 struct mlx5_core_dev *mdev = clock->mdev; in mlx5_pps_event() local
515 void mlx5_init_clock(struct mlx5_core_dev *mdev) in mlx5_init_clock()
595 void mlx5_cleanup_clock(struct mlx5_core_dev *mdev) in mlx5_cleanup_clock()
/Linux-v5.4/drivers/gpu/drm/arm/display/komeda/d71/
Dd71_dev.c167 d71_irq_handler(struct komeda_dev *mdev, struct komeda_events *evts) in d71_irq_handler()
207 static int d71_enable_irq(struct komeda_dev *mdev) in d71_enable_irq()
227 static int d71_disable_irq(struct komeda_dev *mdev) in d71_disable_irq()
246 static void d71_on_off_vblank(struct komeda_dev *mdev, int master_pipe, bool on) in d71_on_off_vblank()
272 static int d71_change_opmode(struct komeda_dev *mdev, int new_mode) in d71_change_opmode()
286 static void d71_flush(struct komeda_dev *mdev, in d71_flush()
327 static void d71_cleanup(struct komeda_dev *mdev) in d71_cleanup()
338 static int d71_enum_resources(struct komeda_dev *mdev) in d71_enum_resources()
507 static void d71_init_fmt_tbl(struct komeda_dev *mdev) in d71_init_fmt_tbl()
516 static int d71_connect_iommu(struct komeda_dev *mdev) in d71_connect_iommu()
[all …]
/Linux-v5.4/drivers/gpu/drm/arm/display/komeda/
Dkomeda_crtc.c84 struct komeda_dev *mdev = kcrtc->base.dev->dev_private; in komeda_crtc_prepare() local
137 struct komeda_dev *mdev = kcrtc->base.dev->dev_private; in komeda_crtc_unprepare() local
222 struct komeda_dev *mdev = kcrtc->base.dev->dev_private; in komeda_crtc_do_flush() local
262 struct komeda_dev *mdev = crtc->dev->dev_private; in komeda_crtc_atomic_disable() local
355 struct komeda_dev *mdev = crtc->dev->dev_private; in komeda_crtc_get_aclk() local
367 struct komeda_dev *mdev = crtc->dev->dev_private; in komeda_crtc_mode_valid() local
475 struct komeda_dev *mdev = crtc->dev->dev_private; in komeda_crtc_vblank_enable() local
484 struct komeda_dev *mdev = crtc->dev->dev_private; in komeda_crtc_vblank_disable() local
503 struct komeda_dev *mdev) in komeda_kms_setup_crtcs()
572 int komeda_kms_add_crtcs(struct komeda_kms_dev *kms, struct komeda_dev *mdev) in komeda_kms_add_crtcs()
/Linux-v5.4/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
710 int media_create_pad_links(const struct media_device *mdev, in media_create_pad_links()
789 struct media_device *mdev = entity->graph_obj.mdev; in media_entity_remove_links() local
828 struct media_device *mdev; in __media_entity_setup_link() local
920 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-v5.4/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-v5.4/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-v5.4/drivers/staging/most/usb/
Dusb.c78 struct most_dev *mdev; member
230 struct most_dev *mdev = to_mdev(iface); in hdm_poison_channel() local
272 static int hdm_add_padding(struct most_dev *mdev, int channel, struct mbo *mbo) in hdm_add_padding()
305 static int hdm_remove_padding(struct most_dev *mdev, int channel, in hdm_remove_padding()
339 struct most_dev *mdev = to_mdev(mbo->ifp); in hdm_write_completion() local
488 struct most_dev *mdev = to_mdev(mbo->ifp); in hdm_read_completion() local
553 struct most_dev *mdev; in hdm_enqueue() local
633 struct most_dev *mdev = to_mdev(mbo->ifp); in hdm_dma_alloc() local
641 struct most_dev *mdev = to_mdev(mbo->ifp); in hdm_dma_free() local
667 struct most_dev *mdev = to_mdev(iface); in hdm_configure_channel() local
[all …]
/Linux-v5.4/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-v5.4/drivers/tty/serial/8250/
D8250_men_mcb.c29 static u32 men_lookup_uartclk(struct mcb_device *mdev) in men_lookup_uartclk()
54 static unsigned 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>>...12