Home
last modified time | relevance | path

Searched defs:mdev (Results 1 – 25 of 135) sorted by relevance

123456

/drivers/misc/mic/host/
Dmic_x100.c44 mic_x100_write_spad(struct mic_device *mdev, unsigned int idx, u32 val) in mic_x100_write_spad()
63 mic_x100_read_spad(struct mic_device *mdev, unsigned int idx) in mic_x100_read_spad()
78 static void mic_x100_enable_interrupts(struct mic_device *mdev) in mic_x100_enable_interrupts()
105 static void mic_x100_disable_interrupts(struct mic_device *mdev) in mic_x100_disable_interrupts()
128 static void mic_x100_send_sbox_intr(struct mic_device *mdev, in mic_x100_send_sbox_intr()
149 static void mic_x100_send_rdmasr_intr(struct mic_device *mdev, in mic_x100_send_rdmasr_intr()
164 static void mic_x100_send_intr(struct mic_device *mdev, int doorbell) in mic_x100_send_intr()
182 static u32 mic_x100_ack_interrupt(struct mic_device *mdev) in mic_x100_ack_interrupt()
197 static void mic_x100_intr_workarounds(struct mic_device *mdev) in mic_x100_intr_workarounds()
215 static void mic_x100_hw_intr_init(struct mic_device *mdev) in mic_x100_hw_intr_init()
[all …]
Dmic_boot.c44 struct mic_device *mdev = vpdev_to_mdev(dev); in _mic_dma_map_page() local
53 struct mic_device *mdev = vpdev_to_mdev(dev); in _mic_dma_unmap_page() local
68 struct mic_device *mdev = vpdev_to_mdev(&vpdev->dev); in __mic_request_irq() local
77 struct mic_device *mdev = vpdev_to_mdev(&vpdev->dev); in __mic_free_irq() local
84 struct mic_device *mdev = vpdev_to_mdev(&vpdev->dev); in __mic_ack_interrupt() local
91 struct mic_device *mdev = vpdev_to_mdev(&vpdev->dev); in __mic_next_db() local
98 struct mic_device *mdev = vpdev_to_mdev(&vpdev->dev); in __mic_get_dp() local
110 struct mic_device *mdev = vpdev_to_mdev(&vpdev->dev); in __mic_send_intr() local
118 struct mic_device *mdev = vpdev_to_mdev(&vpdev->dev); in __mic_ioremap() local
150 struct mic_device *mdev = scdev_to_mdev(scdev); in __mic_dma_alloc() local
[all …]
Dmic_smpt.c27 static inline u64 mic_system_page_mask(struct mic_device *mdev) in mic_system_page_mask()
32 static inline u8 mic_sys_addr_to_smpt(struct mic_device *mdev, dma_addr_t pa) in mic_sys_addr_to_smpt()
37 static inline u64 mic_smpt_to_pa(struct mic_device *mdev, u8 index) in mic_smpt_to_pa()
42 static inline u64 mic_smpt_offset(struct mic_device *mdev, dma_addr_t pa) in mic_smpt_offset()
47 static inline u64 mic_smpt_align_low(struct mic_device *mdev, dma_addr_t pa) in mic_smpt_align_low()
53 static inline u64 mic_smpt_align_high(struct mic_device *mdev, dma_addr_t pa) in mic_smpt_align_high()
59 static inline u64 mic_max_system_memory(struct mic_device *mdev) in mic_max_system_memory()
65 static inline u64 mic_max_system_addr(struct mic_device *mdev) in mic_max_system_addr()
72 mic_is_system_addr(struct mic_device *mdev, dma_addr_t pa) in mic_is_system_addr()
79 int entries, struct mic_device *mdev) in mic_add_smpt_entry()
[all …]
Dmic_intr.c29 struct mic_device *mdev = dev; in mic_thread_fn() local
55 struct mic_device *mdev = dev; in mic_interrupt() local
83 static u16 mic_map_src_to_offset(struct mic_device *mdev, in mic_map_src_to_offset()
95 static struct msix_entry *mic_get_available_vector(struct mic_device *mdev) in mic_get_available_vector()
119 static struct mic_intr_cb *mic_register_intr_callback(struct mic_device *mdev, in mic_register_intr_callback()
162 static u8 mic_unregister_intr_callback(struct mic_device *mdev, u32 idx) in mic_unregister_intr_callback()
199 static int mic_setup_msix(struct mic_device *mdev, struct pci_dev *pdev) in mic_setup_msix()
248 static int mic_setup_callbacks(struct mic_device *mdev) in mic_setup_callbacks()
272 static void mic_release_callbacks(struct mic_device *mdev) in mic_release_callbacks()
307 static int mic_setup_msi(struct mic_device *mdev, struct pci_dev *pdev) in mic_setup_msi()
[all …]
Dmic_main.c60 static int mic_dp_init(struct mic_device *mdev) in mic_dp_init()
80 static void mic_dp_uninit(struct mic_device *mdev) in mic_dp_uninit()
93 static void mic_ops_init(struct mic_device *mdev) in mic_ops_init()
151 mic_device_init(struct mic_device *mdev, struct pci_dev *pdev) in mic_device_init()
173 struct mic_device *mdev; in mic_probe() local
290 struct mic_device *mdev; in mic_remove() local
Dmic_debugfs.c36 struct mic_device *mdev = s->private; in mic_smpt_show() local
77 struct mic_device *mdev = s->private; in mic_post_code_show() local
104 struct mic_device *mdev = s->private; in mic_msi_irq_info_show() local
168 void mic_create_debug_dir(struct mic_device *mdev) in mic_create_debug_dir()
192 void mic_delete_debug_dir(struct mic_device *mdev) in mic_delete_debug_dir()
/drivers/staging/most/aim-v4l2/
Dvideo.c58 struct most_video_dev *mdev; member
65 static inline bool data_ready(struct most_video_dev *mdev) in data_ready()
70 static inline struct mbo *get_top_mbo(struct most_video_dev *mdev) in get_top_mbo()
79 struct most_video_dev *mdev = video_drvdata(filp); in aim_vdev_open() local
128 struct most_video_dev *mdev = fh->mdev; in aim_vdev_close() local
166 struct most_video_dev *mdev = fh->mdev; in aim_vdev_read() local
215 struct most_video_dev *mdev = fh->mdev; in aim_vdev_poll() local
239 static int aim_set_format(struct most_video_dev *mdev, unsigned int cmd, in aim_set_format()
257 struct most_video_dev *mdev = fh->mdev; in vidioc_querycap() local
277 struct most_video_dev *mdev = fh->mdev; in vidioc_enum_fmt_vid_cap() local
[all …]
/drivers/sh/maple/
Dmaple.c139 struct maple_device *mdev; in maple_release_device() local
157 int maple_add_packet(struct maple_device *mdev, u32 function, u32 command, in maple_add_packet()
186 static struct mapleq *maple_allocq(struct maple_device *mdev) in maple_allocq()
213 struct maple_device *mdev; in maple_alloc_dev() local
237 static void maple_free_dev(struct maple_device *mdev) in maple_free_dev()
316 struct maple_device *mdev; in maple_check_matching_driver() local
325 static void maple_detach_driver(struct maple_device *mdev) in maple_detach_driver()
331 static void maple_attach_driver(struct maple_device *mdev) in maple_attach_driver()
410 struct maple_device *mdev; in check_maple_device() local
422 struct maple_device *mdev = to_maple_dev(device); in setup_maple_commands() local
[all …]
/drivers/media/
Dmedia-device.c84 static struct media_entity *find_entity(struct media_device *mdev, u32 id) in find_entity()
101 static long media_device_enum_entities(struct media_device *mdev, void *arg) in media_device_enum_entities()
154 static long media_device_enum_links(struct media_device *mdev, void *arg) in media_device_enum_links()
202 static long media_device_setup_link(struct media_device *mdev, void *arg) in media_device_setup_link()
230 static long media_device_get_topology(struct media_device *mdev, void *arg) in media_device_get_topology()
472 static long media_device_enum_links32(struct media_device *mdev, in media_device_enum_links32()
534 struct media_device *mdev = devnode->media_dev; in show_model() local
545 static void media_device_release(struct media_devnode *mdev) in media_device_release()
555 int __must_check media_device_register_entity(struct media_device *mdev, in media_device_register_entity()
628 struct media_device *mdev = entity->graph_obj.mdev; in __media_device_unregister_entity() local
[all …]
Dmedia-entity.c173 void media_gobj_create(struct media_device *mdev, in media_gobj_create()
217 struct media_device *mdev = entity->graph_obj.mdev; in media_entity_pads_init() local
297 struct media_entity_graph *graph, struct media_device *mdev) in media_entity_graph_walk_init()
374 struct media_device *mdev = entity->graph_obj.mdev; in __media_entity_pipeline_start() local
496 struct media_device *mdev = entity->graph_obj.mdev; in media_entity_pipeline_start() local
532 struct media_device *mdev = entity->graph_obj.mdev; in media_entity_pipeline_stop() local
667 int media_create_pad_links(const struct media_device *mdev, in media_create_pad_links()
746 struct media_device *mdev = entity->graph_obj.mdev; in media_entity_remove_links() local
785 struct media_device *mdev; in __media_entity_setup_link() local
877 static void media_interface_init(struct media_device *mdev, in media_interface_init()
[all …]
/drivers/gpu/drm/mgag200/
Dmgag200_i2c.c35 static int mga_i2c_read_gpio(struct mga_device *mdev) in mga_i2c_read_gpio()
41 static void mga_i2c_set_gpio(struct mga_device *mdev, int mask, int val) in mga_i2c_set_gpio()
51 static inline void mga_i2c_set(struct mga_device *mdev, int mask, int state) in mga_i2c_set()
63 struct mga_device *mdev = i2c->dev->dev_private; in mga_gpio_setsda() local
70 struct mga_device *mdev = i2c->dev->dev_private; in mga_gpio_setscl() local
77 struct mga_device *mdev = i2c->dev->dev_private; in mga_gpio_getsda() local
84 struct mga_device *mdev = i2c->dev->dev_private; in mga_gpio_getscl() local
90 struct mga_device *mdev = dev->dev_private; in mgag200_i2c_create() local
Dmgag200_mode.c32 struct mga_device *mdev = dev->dev_private; in mga_crtc_load_lut() local
71 static inline void mga_wait_vsync(struct mga_device *mdev) in mga_wait_vsync()
86 static inline void mga_wait_busy(struct mga_device *mdev) in mga_wait_busy()
97 static int mga_g200se_set_plls(struct mga_device *mdev, long clock) in mga_g200se_set_plls()
216 static int mga_g200wb_set_plls(struct mga_device *mdev, long clock) in mga_g200wb_set_plls()
395 static int mga_g200ev_set_plls(struct mga_device *mdev, long clock) in mga_g200ev_set_plls()
488 static int mga_g200eh_set_plls(struct mga_device *mdev, long clock) in mga_g200eh_set_plls()
582 static int mga_g200er_set_plls(struct mga_device *mdev, long clock) in mga_g200er_set_plls()
662 static int mga_crtc_set_plls(struct mga_device *mdev, long clock) in mga_crtc_set_plls()
688 struct mga_device *mdev = crtc->dev->dev_private; in mga_g200wb_prepare() local
[all …]
/drivers/infiniband/hw/mthca/
Dmthca_main.c137 static int mthca_tune_pci(struct mthca_dev *mdev) in mthca_tune_pci()
165 static int mthca_dev_lim(struct mthca_dev *mdev, struct mthca_dev_lim *dev_lim) in mthca_dev_lim()
288 static int mthca_init_tavor(struct mthca_dev *mdev) in mthca_init_tavor()
346 static int mthca_load_fw(struct mthca_dev *mdev) in mthca_load_fw()
381 static int mthca_init_icm(struct mthca_dev *mdev, in mthca_init_icm()
557 static void mthca_free_icms(struct mthca_dev *mdev) in mthca_free_icms()
575 static int mthca_init_arbel(struct mthca_dev *mdev) in mthca_init_arbel()
648 static void mthca_close_hca(struct mthca_dev *mdev) in mthca_close_hca()
664 static int mthca_init_hca(struct mthca_dev *mdev) in mthca_init_hca()
852 static int mthca_enable_msi_x(struct mthca_dev *mdev) in mthca_enable_msi_x()
[all …]
/drivers/net/ethernet/mellanox/mlx4/
Den_clock.c43 struct mlx4_en_dev *mdev = in mlx4_en_read_clock() local
61 void mlx4_en_fill_hwtstamps(struct mlx4_en_dev *mdev, in mlx4_en_fill_hwtstamps()
82 void mlx4_en_remove_timestamp(struct mlx4_en_dev *mdev) in mlx4_en_remove_timestamp()
98 void mlx4_en_ptp_overflow_check(struct mlx4_en_dev *mdev) in mlx4_en_ptp_overflow_check()
126 struct mlx4_en_dev *mdev = container_of(ptp, struct mlx4_en_dev, in mlx4_en_phc_adjfreq() local
155 struct mlx4_en_dev *mdev = container_of(ptp, struct mlx4_en_dev, in mlx4_en_phc_adjtime() local
177 struct mlx4_en_dev *mdev = container_of(ptp, struct mlx4_en_dev, in mlx4_en_phc_gettime() local
202 struct mlx4_en_dev *mdev = container_of(ptp, struct mlx4_en_dev, in mlx4_en_phc_settime() local
262 void mlx4_en_init_timestamp(struct mlx4_en_dev *mdev) in mlx4_en_init_timestamp()
Den_netdev.c413 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_vlan_rx_add_vid() local
443 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_vlan_rx_kill_vid() local
498 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_uc_steer_add() local
550 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_uc_steer_release() local
576 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_get_qp() local
612 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_put_qp() local
632 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_replace_mac() local
702 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_set_mac() local
807 struct mlx4_en_dev *mdev) in mlx4_en_set_promisc_mode()
867 struct mlx4_en_dev *mdev) in mlx4_en_clear_promisc_mode()
[all …]
Den_main.c150 static int mlx4_en_get_profile(struct mlx4_en_dev *mdev) in mlx4_en_get_profile()
191 struct mlx4_en_dev *mdev = (struct mlx4_en_dev *) endev_ptr; in mlx4_en_event() local
224 struct mlx4_en_dev *mdev = endev_ptr; in mlx4_en_remove() local
249 struct mlx4_en_dev *mdev = ctx; in mlx4_en_activate() local
268 struct mlx4_en_dev *mdev; in mlx4_en_add() local
/drivers/mailbox/
Dmailbox-sti.c40 #define MBOX_BASE(mdev, inst) ((mdev)->base + ((inst) * 4)) argument
85 struct sti_mbox_device *mdev; member
93 struct sti_mbox_device *mdev = chan_info->mdev; in sti_mbox_channel_is_enabled() local
126 struct sti_mbox_device *mdev = chan_info->mdev; in sti_mbox_enable_channel() local
141 struct sti_mbox_device *mdev = chan_info->mdev; in sti_mbox_disable_channel() local
156 struct sti_mbox_device *mdev = chan_info->mdev; in sti_mbox_clear_irq() local
164 static struct mbox_chan *sti_mbox_irq_to_channel(struct sti_mbox_device *mdev, in sti_mbox_irq_to_channel()
197 struct sti_mbox_device *mdev = data; in sti_mbox_thread_handler() local
219 struct sti_mbox_device *mdev = data; in sti_mbox_irq_handler() local
258 struct sti_mbox_device *mdev = chan_info->mdev; in sti_mbox_tx_is_ready() local
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/
Dvport.c39 static int _mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, in _mlx5_query_vport_state()
54 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport) in mlx5_query_vport_state()
64 u8 mlx5_query_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport) in mlx5_query_vport_admin_state()
74 int mlx5_modify_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod, in mlx5_modify_vport_admin_state()
92 static int mlx5_query_nic_vport_context(struct mlx5_core_dev *mdev, u16 vport, in mlx5_query_nic_vport_context()
106 static int mlx5_modify_nic_vport_context(struct mlx5_core_dev *mdev, void *in, in mlx5_modify_nic_vport_context()
116 void mlx5_query_nic_vport_min_inline(struct mlx5_core_dev *mdev, in mlx5_query_nic_vport_min_inline()
128 int mlx5_modify_nic_vport_min_inline(struct mlx5_core_dev *mdev, in mlx5_modify_nic_vport_min_inline()
148 int mlx5_query_nic_vport_mac_address(struct mlx5_core_dev *mdev, in mlx5_query_nic_vport_mac_address()
172 int mlx5_modify_nic_vport_mac_address(struct mlx5_core_dev *mdev, in mlx5_modify_nic_vport_mac_address()
[all …]
Den_common.c39 int mlx5e_create_tir(struct mlx5_core_dev *mdev, in mlx5e_create_tir()
53 void mlx5e_destroy_tir(struct mlx5_core_dev *mdev, in mlx5e_destroy_tir()
60 static int mlx5e_create_mkey(struct mlx5_core_dev *mdev, u32 pdn, in mlx5e_create_mkey()
87 int mlx5e_create_mdev_resources(struct mlx5_core_dev *mdev) in mlx5e_create_mdev_resources()
130 void mlx5e_destroy_mdev_resources(struct mlx5_core_dev *mdev) in mlx5e_destroy_mdev_resources()
140 int mlx5e_refresh_tirs_self_loopback_enable(struct mlx5_core_dev *mdev) in mlx5e_refresh_tirs_self_loopback_enable()
Den_main.c74 static bool mlx5e_check_fragmented_striding_rq_cap(struct mlx5_core_dev *mdev) in mlx5e_check_fragmented_striding_rq_cap()
123 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_update_carrier() local
233 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_update_vport_counters() local
247 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_update_pport_counters() local
320 static void mlx5e_async_event(struct mlx5_core_dev *mdev, void *vpriv, in mlx5e_async_event()
469 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_create_rq() local
612 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_enable_rq() local
653 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_modify_rq_state() local
681 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_modify_rq_vsd() local
914 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_create_sq() local
[all …]
/drivers/mtd/maps/
Dvmu-flash.c26 struct maple_device *mdev; member
62 struct maple_device *mdev; in ofs_to_block() local
93 struct maple_device *mdev; in vmu_blockread() local
116 struct maple_device *mdev; in maple_vmu_read_block() local
233 struct maple_device *mdev; in maple_vmu_write_block() local
310 struct maple_device *mdev; in vmu_flash_read_char() local
355 struct maple_device *mdev; in vmu_flash_read() local
421 struct maple_device *mdev; in vmu_flash_write() local
503 struct maple_device *mdev; in vmu_queryblocks() local
599 static int vmu_connect(struct maple_device *mdev) in vmu_connect()
[all …]
/drivers/dma/qcom/
Dhidma_mgmt_sys.c22 struct hidma_mgmt_dev *mdev; member
80 static int set_weight(struct hidma_mgmt_dev *mdev, unsigned int i, u64 val) in set_weight()
111 struct hidma_mgmt_dev *mdev = platform_get_drvdata(pdev); in show_values() local
129 struct hidma_mgmt_dev *mdev = platform_get_drvdata(pdev); in set_values() local
154 struct hidma_mgmt_dev *mdev; in show_values_channel() local
172 struct hidma_mgmt_dev *mdev; in set_values_channel() local
218 static int create_sysfs_entry_channel(struct hidma_mgmt_dev *mdev, char *name, in create_sysfs_entry_channel()
244 int hidma_mgmt_init_sys(struct hidma_mgmt_dev *mdev) in hidma_mgmt_init_sys()
/drivers/isdn/mISDN/
Dcore.c43 struct mISDNdevice *mdev = dev_to_mISDN(dev); in id_show() local
54 struct mISDNdevice *mdev = dev_to_mISDN(dev); in nrbchan_show() local
65 struct mISDNdevice *mdev = dev_to_mISDN(dev); in d_protocols_show() local
76 struct mISDNdevice *mdev = dev_to_mISDN(dev); in b_protocols_show() local
87 struct mISDNdevice *mdev = dev_to_mISDN(dev); in protocol_show() local
128 struct mISDNdevice *mdev = dev_to_mISDN(dev); in channelmap_show() local
153 struct mISDNdevice *mdev = dev_to_mISDN(dev); in mISDN_uevent() local
181 struct mISDNdevice *mdev = dev_to_mISDN(dev); in _get_mdevice() local
/drivers/staging/most/hdm-usb/
Dhdm_usb.c85 struct most_dev *mdev; member
195 static void free_anchored_buffers(struct most_dev *mdev, unsigned int channel, in free_anchored_buffers()
260 struct most_dev *mdev = to_mdev(iface); in hdm_poison_channel() local
302 static int hdm_add_padding(struct most_dev *mdev, int channel, struct mbo *mbo) in hdm_add_padding()
339 static int hdm_remove_padding(struct most_dev *mdev, int channel, in hdm_remove_padding()
373 struct most_dev *mdev = to_mdev(mbo->ifp); in hdm_write_completion() local
527 struct most_dev *mdev = to_mdev(mbo->ifp); in hdm_read_completion() local
595 struct most_dev *mdev; in hdm_enqueue() local
679 struct most_dev *mdev = to_mdev(iface); in hdm_configure_channel() local
747 static int hdm_update_netinfo(struct most_dev *mdev) in hdm_update_netinfo()
[all …]
/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()

123456