Home
last modified time | relevance | path

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

1234

/drivers/media/platform/s5p-tv/
Dmixer_reg.c22 static inline u32 vp_read(struct mxr_device *mdev, u32 reg_id) in vp_read()
27 static inline void vp_write(struct mxr_device *mdev, u32 reg_id, u32 val) in vp_write()
32 static inline void vp_write_mask(struct mxr_device *mdev, u32 reg_id, in vp_write_mask()
41 static inline u32 mxr_read(struct mxr_device *mdev, u32 reg_id) in mxr_read()
46 static inline void mxr_write(struct mxr_device *mdev, u32 reg_id, u32 val) in mxr_write()
51 static inline void mxr_write_mask(struct mxr_device *mdev, u32 reg_id, in mxr_write_mask()
60 void mxr_vsync_set_update(struct mxr_device *mdev, int en) in mxr_vsync_set_update()
68 static void __mxr_reg_vp_reset(struct mxr_device *mdev) in __mxr_reg_vp_reset()
84 void mxr_reg_reset(struct mxr_device *mdev) in mxr_reg_reset()
136 void mxr_reg_graph_format(struct mxr_device *mdev, int idx, in mxr_reg_graph_format()
[all …]
Dmixer_drv.c45 void mxr_get_mbus_fmt(struct mxr_device *mdev, in mxr_get_mbus_fmt()
58 void mxr_streamer_get(struct mxr_device *mdev) in mxr_streamer_get()
90 void mxr_streamer_put(struct mxr_device *mdev) in mxr_streamer_put()
112 void mxr_output_get(struct mxr_device *mdev) in mxr_output_get()
123 void mxr_output_put(struct mxr_device *mdev) in mxr_output_put()
136 int mxr_power_get(struct mxr_device *mdev) in mxr_power_get()
147 void mxr_power_put(struct mxr_device *mdev) in mxr_power_put()
154 static int mxr_acquire_plat_resources(struct mxr_device *mdev, in mxr_acquire_plat_resources()
214 static void mxr_release_plat_resources(struct mxr_device *mdev) in mxr_release_plat_resources()
221 static void mxr_release_clocks(struct mxr_device *mdev) in mxr_release_clocks()
[all …]
Dmixer_video.c36 struct mxr_device *mdev, char *module_name) in find_and_register_subdev()
66 int mxr_acquire_video(struct mxr_device *mdev, in mxr_acquire_video()
145 void mxr_release_video(struct mxr_device *mdev) in mxr_release_video()
173 static void mxr_geometry_dump(struct mxr_device *mdev, struct mxr_geometry *geo) in mxr_geometry_dump()
193 struct mxr_device *mdev = layer->mdev; in mxr_layer_default_geo() local
218 struct mxr_device *mdev = layer->mdev; in mxr_layer_update_output() local
244 struct mxr_device *mdev = layer->mdev; in mxr_enum_fmt() local
320 struct mxr_device *mdev = layer->mdev; in mxr_s_fmt() local
508 struct mxr_device *mdev = layer->mdev; in mxr_enum_dv_timings() local
523 struct mxr_device *mdev = layer->mdev; in mxr_s_dv_timings() local
[all …]
/drivers/block/drbd/
Ddrbd_req.c37 static void _drbd_start_io_acct(struct drbd_conf *mdev, struct drbd_request *req) in _drbd_start_io_acct()
52 static void _drbd_end_io_acct(struct drbd_conf *mdev, struct drbd_request *req) in _drbd_end_io_acct()
64 static struct drbd_request *drbd_req_new(struct drbd_conf *mdev, in drbd_req_new()
98 struct drbd_conf *mdev = req->w.mdev; in drbd_req_destroy() local
182 void complete_master_bio(struct drbd_conf *mdev, in complete_master_bio()
193 struct drbd_conf *mdev = req->w.mdev; in drbd_remove_request_interval() local
213 struct drbd_conf *mdev = req->w.mdev; in drbd_req_complete() local
308 struct drbd_conf *mdev = req->w.mdev; in drbd_req_put_completion_ref() local
331 struct drbd_conf *mdev = req->w.mdev; in mod_rq_state() local
427 static void drbd_report_io_error(struct drbd_conf *mdev, struct drbd_request *req) in drbd_report_io_error()
[all …]
Ddrbd_worker.c70 struct drbd_conf *mdev; in drbd_md_io_complete() local
102 struct drbd_conf *mdev = peer_req->w.mdev; in drbd_endio_read_sec_final() local
122 struct drbd_conf *mdev = peer_req->w.mdev; in drbd_endio_write_sec_final() local
173 struct drbd_conf *mdev = peer_req->w.mdev; in drbd_peer_request_endio() local
210 struct drbd_conf *mdev = req->w.mdev; in drbd_request_endio() local
284 void drbd_csum_ee(struct drbd_conf *mdev, struct crypto_hash *tfm, in drbd_csum_ee()
312 void drbd_csum_bio(struct drbd_conf *mdev, struct crypto_hash *tfm, struct bio *bio, void *digest) in drbd_csum_bio()
336 struct drbd_conf *mdev = w->mdev; in w_e_send_csum() local
381 static int read_for_csum(struct drbd_conf *mdev, sector_t sector, int size) in read_for_csum()
423 struct drbd_conf *mdev = w->mdev; in w_resync_timer() local
[all …]
Ddrbd_actlog.c108 void *drbd_md_get_buffer(struct drbd_conf *mdev) in drbd_md_get_buffer()
119 void drbd_md_put_buffer(struct drbd_conf *mdev) in drbd_md_put_buffer()
125 void wait_until_done_or_force_detached(struct drbd_conf *mdev, struct drbd_backing_dev *bdev, in wait_until_done_or_force_detached()
145 static int _drbd_md_sync_page_io(struct drbd_conf *mdev, in _drbd_md_sync_page_io()
195 int drbd_md_sync_page_io(struct drbd_conf *mdev, struct drbd_backing_dev *bdev, in drbd_md_sync_page_io()
225 static struct bm_extent *find_active_resync_extent(struct drbd_conf *mdev, unsigned int enr) in find_active_resync_extent()
237 static struct lc_element *_al_get(struct drbd_conf *mdev, unsigned int enr, bool nonblock) in _al_get()
260 bool drbd_al_begin_io_fastpath(struct drbd_conf *mdev, struct drbd_interval *i) in drbd_al_begin_io_fastpath()
277 bool drbd_al_begin_io_prepare(struct drbd_conf *mdev, struct drbd_interval *i) in drbd_al_begin_io_prepare()
313 void drbd_al_begin_io_commit(struct drbd_conf *mdev, bool delegate) in drbd_al_begin_io_commit()
[all …]
Ddrbd_main.c169 int _get_ldev_if_state(struct drbd_conf *mdev, enum drbd_disk_state mins) in _get_ldev_if_state()
310 void tl_abort_disk_io(struct drbd_conf *mdev) in tl_abort_disk_io()
499 struct drbd_conf *mdev; in conn_lowest_minor() local
635 void *drbd_prepare_command(struct drbd_conf *mdev, struct drbd_socket *sock) in drbd_prepare_command()
684 int drbd_send_command(struct drbd_conf *mdev, struct drbd_socket *sock, in drbd_send_command()
716 int drbd_send_sync_param(struct drbd_conf *mdev) in drbd_send_sync_param()
826 int _drbd_send_uuids(struct drbd_conf *mdev, u64 uuid_flags) in _drbd_send_uuids()
859 int drbd_send_uuids(struct drbd_conf *mdev) in drbd_send_uuids()
864 int drbd_send_uuids_skip_initial_sync(struct drbd_conf *mdev) in drbd_send_uuids_skip_initial_sync()
869 void drbd_print_uuids(struct drbd_conf *mdev, const char *text) in drbd_print_uuids()
[all …]
Ddrbd_bitmap.c116 static void __bm_print_lock_info(struct drbd_conf *mdev, const char *func) in __bm_print_lock_info()
127 void drbd_bm_lock(struct drbd_conf *mdev, char *why, enum bm_flag flags) in drbd_bm_lock()
154 void drbd_bm_unlock(struct drbd_conf *mdev) in drbd_bm_unlock()
214 static void bm_page_lock_io(struct drbd_conf *mdev, int page_nr) in bm_page_lock_io()
221 static void bm_page_unlock_io(struct drbd_conf *mdev, int page_nr) in bm_page_unlock_io()
252 void drbd_bm_mark_for_writeout(struct drbd_conf *mdev, int page_nr) in drbd_bm_mark_for_writeout()
441 int drbd_bm_init(struct drbd_conf *mdev) in drbd_bm_init()
457 sector_t drbd_bm_capacity(struct drbd_conf *mdev) in drbd_bm_capacity()
466 void drbd_bm_cleanup(struct drbd_conf *mdev) in drbd_bm_cleanup()
634 int drbd_bm_resize(struct drbd_conf *mdev, sector_t capacity, int set_new_bits) in drbd_bm_resize()
[all …]
Ddrbd_state.c68 struct drbd_conf *mdev; in conn_all_vols_unconf() local
108 struct drbd_conf *mdev; in conn_highest_role() local
122 struct drbd_conf *mdev; in conn_highest_peer() local
136 struct drbd_conf *mdev; in conn_highest_disk() local
150 struct drbd_conf *mdev; in conn_lowest_disk() local
164 struct drbd_conf *mdev; in conn_highest_pdsk() local
178 struct drbd_conf *mdev; in conn_lowest_conn() local
191 struct drbd_conf *mdev; in no_peer_wf_report_params() local
213 static int cl_wide_st_chg(struct drbd_conf *mdev, in cl_wide_st_chg()
235 drbd_change_state(struct drbd_conf *mdev, enum chg_state_flags f, in drbd_change_state()
[all …]
Ddrbd_receiver.c153 static struct page *__drbd_alloc_pages(struct drbd_conf *mdev, in __drbd_alloc_pages()
199 static void reclaim_finished_net_peer_reqs(struct drbd_conf *mdev, in reclaim_finished_net_peer_reqs()
218 static void drbd_kick_lo_and_reclaim_net(struct drbd_conf *mdev) in drbd_kick_lo_and_reclaim_net()
243 struct page *drbd_alloc_pages(struct drbd_conf *mdev, unsigned int number, in drbd_alloc_pages()
293 static void drbd_free_pages(struct drbd_conf *mdev, struct page *page, int is_net) in drbd_free_pages()
333 drbd_alloc_peer_req(struct drbd_conf *mdev, u64 id, sector_t sector, in drbd_alloc_peer_req()
380 void __drbd_free_peer_req(struct drbd_conf *mdev, struct drbd_peer_request *peer_req, in __drbd_free_peer_req()
391 int drbd_free_peer_reqs(struct drbd_conf *mdev, struct list_head *list) in drbd_free_peer_reqs()
412 static int drbd_finish_peer_reqs(struct drbd_conf *mdev) in drbd_finish_peer_reqs()
445 static void _drbd_wait_ee_list_empty(struct drbd_conf *mdev, in _drbd_wait_ee_list_empty()
[all …]
Ddrbd_nl.c105 struct drbd_conf *mdev; member
315 int drbd_khelper(struct drbd_conf *mdev, char *cmd) in drbd_khelper()
402 struct drbd_conf *mdev; in highest_fencing_policy() local
525 drbd_set_role(struct drbd_conf *mdev, enum drbd_role new_role, int force) in drbd_set_role()
720 static void drbd_md_set_sector_offsets(struct drbd_conf *mdev, in drbd_md_set_sector_offsets()
798 void drbd_suspend_io(struct drbd_conf *mdev) in drbd_suspend_io()
806 void drbd_resume_io(struct drbd_conf *mdev) in drbd_resume_io()
819 enum determine_dev_size drbd_determine_dev_size(struct drbd_conf *mdev, enum dds_flags flags) __mus… in drbd_determine_dev_size()
916 drbd_new_dev_size(struct drbd_conf *mdev, struct drbd_backing_dev *bdev, in drbd_new_dev_size()
970 static int drbd_check_al_size(struct drbd_conf *mdev, struct disk_conf *dc) in drbd_check_al_size()
[all …]
/drivers/media/
Dmedia-devnode.c62 struct media_devnode *mdev = to_media_devnode(cd); in media_devnode_release() local
86 struct media_devnode *mdev = media_devnode_data(filp); in media_read() local
98 struct media_devnode *mdev = media_devnode_data(filp); in media_write() local
110 struct media_devnode *mdev = media_devnode_data(filp); in media_poll() local
124 struct media_devnode *mdev = media_devnode_data(filp); in __media_ioctl() local
137 struct media_devnode *mdev = media_devnode_data(filp); in media_ioctl() local
147 struct media_devnode *mdev = media_devnode_data(filp); in media_compat_ioctl() local
157 struct media_devnode *mdev; in media_open() local
194 struct media_devnode *mdev = media_devnode_data(filp); in media_release() local
235 int __must_check media_devnode_register(struct media_devnode *mdev) in media_devnode_register()
[all …]
Dmedia-device.c68 static struct media_entity *find_entity(struct media_device *mdev, u32 id) in find_entity()
90 static long media_device_enum_entities(struct media_device *mdev, in media_device_enum_entities()
132 static long __media_device_enum_links(struct media_device *mdev, in __media_device_enum_links()
177 static long media_device_enum_links(struct media_device *mdev, in media_device_enum_links()
196 static long media_device_setup_link(struct media_device *mdev, in media_device_setup_link()
282 static long media_device_enum_links32(struct media_device *mdev, in media_device_enum_links32()
348 struct media_device *mdev = to_media_device(to_media_devnode(cd)); in show_model() local
359 static void media_device_release(struct media_devnode *mdev) in media_device_release()
373 int __must_check media_device_register(struct media_device *mdev) in media_device_register()
408 void media_device_unregister(struct media_device *mdev) in media_device_unregister()
[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/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.c31 struct mga_device *mdev = dev->dev_private; in mga_crtc_load_lut() local
47 static inline void mga_wait_vsync(struct mga_device *mdev) in mga_wait_vsync()
62 static inline void mga_wait_busy(struct mga_device *mdev) in mga_wait_busy()
83 static int mga_g200se_set_plls(struct mga_device *mdev, long clock) in mga_g200se_set_plls()
134 static int mga_g200wb_set_plls(struct mga_device *mdev, long clock) in mga_g200wb_set_plls()
274 static int mga_g200ev_set_plls(struct mga_device *mdev, long clock) in mga_g200ev_set_plls()
368 static int mga_g200eh_set_plls(struct mga_device *mdev, long clock) in mga_g200eh_set_plls()
463 static int mga_g200er_set_plls(struct mga_device *mdev, long clock) in mga_g200er_set_plls()
543 static int mga_crtc_set_plls(struct mga_device *mdev, long clock) in mga_crtc_set_plls()
568 struct mga_device *mdev = crtc->dev->dev_private; in mga_g200wb_prepare() local
[all …]
Dmgag200_main.c79 static int mga_probe_vram(struct mga_device *mdev, void __iomem *mem) in mga_probe_vram()
117 static int mga_vram_init(struct mga_device *mdev) in mga_vram_init()
152 struct mga_device *mdev = dev->dev_private; in mgag200_device_init() local
200 struct mga_device *mdev; in mgag200_driver_load() local
234 struct mga_device *mdev = dev->dev_private; in mgag200_driver_unload() local
/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_netdev.c363 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_vlan_rx_add_vid() local
389 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_vlan_rx_kill_vid() local
427 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_uc_steer_add() local
479 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_uc_steer_release() local
505 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_get_qp() local
567 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_put_qp() local
608 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_replace_mac() local
680 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_set_mac() local
783 struct mlx4_en_dev *mdev) in mlx4_en_set_promisc_mode()
848 struct mlx4_en_dev *mdev) in mlx4_en_clear_promisc_mode()
[all …]
Den_clock.c41 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_timestamp_config() local
84 struct mlx4_en_dev *mdev = in mlx4_en_read_clock() local
102 void mlx4_en_fill_hwtstamps(struct mlx4_en_dev *mdev, in mlx4_en_fill_hwtstamps()
114 void mlx4_en_init_timestamp(struct mlx4_en_dev *mdev) in mlx4_en_init_timestamp()
142 void mlx4_en_ptp_overflow_check(struct mlx4_en_dev *mdev) in mlx4_en_ptp_overflow_check()
Den_main.c120 static int mlx4_en_get_profile(struct mlx4_en_dev *mdev) in mlx4_en_get_profile()
158 struct mlx4_en_dev *mdev = (struct mlx4_en_dev *) endev_ptr; in mlx4_en_event() local
188 struct mlx4_en_dev *mdev = endev_ptr; in mlx4_en_remove() local
210 struct mlx4_en_dev *mdev; in mlx4_en_add() local
Den_cq.c50 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_create_cq() local
77 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_activate_cq() local
150 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_destroy_cq() local
/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/isdn/mISDN/
Dcore.c43 struct mISDNdevice *mdev = dev_to_mISDN(dev); in _show_id() local
53 struct mISDNdevice *mdev = dev_to_mISDN(dev); in _show_nrbchan() local
63 struct mISDNdevice *mdev = dev_to_mISDN(dev); in _show_d_protocols() local
73 struct mISDNdevice *mdev = dev_to_mISDN(dev); in _show_b_protocols() local
83 struct mISDNdevice *mdev = dev_to_mISDN(dev); in _show_protocol() local
121 struct mISDNdevice *mdev = dev_to_mISDN(dev); in _show_channelmap() local
145 struct mISDNdevice *mdev = dev_to_mISDN(dev); in mISDN_uevent() local
173 struct mISDNdevice *mdev = dev_to_mISDN(dev); in _get_mdevice() local
/drivers/net/wireless/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()

1234