Home
last modified time | relevance | path

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

12345678910>>...19

/linux/drivers/virtio/
H A Dvirtio_pci_modern_dev.c22 vp_modern_map_capability(struct virtio_pci_modern_device *mdev, int off, in vp_modern_map_capability()
223 int vp_modern_probe(struct virtio_pci_modern_device *mdev) in vp_modern_probe()
376 void vp_modern_remove(struct virtio_pci_modern_device *mdev) in vp_modern_remove()
397 void vp_modern_get_extended_features(struct virtio_pci_modern_device *mdev, in vp_modern_get_extended_features()
423 vp_modern_get_driver_extended_features(struct virtio_pci_modern_device *mdev, in vp_modern_get_driver_extended_features()
445 void vp_modern_set_extended_features(struct virtio_pci_modern_device *mdev, in vp_modern_set_extended_features()
466 u32 vp_modern_generation(struct virtio_pci_modern_device *mdev) in vp_modern_generation()
480 u8 vp_modern_get_status(struct virtio_pci_modern_device *mdev) in vp_modern_get_status()
493 void vp_modern_set_status(struct virtio_pci_modern_device *mdev, in vp_modern_set_status()
512 int vp_modern_get_queue_reset(struct virtio_pci_modern_device *mdev, u16 index) in vp_modern_get_queue_reset()
[all …]
/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_mig_dev.c15 struct qat_mig_dev *mdev; in qat_vfmig_create() local
38 int qat_vfmig_init(struct qat_mig_dev *mdev) in qat_vfmig_init()
46 void qat_vfmig_cleanup(struct qat_mig_dev *mdev) in qat_vfmig_cleanup()
54 void qat_vfmig_reset(struct qat_mig_dev *mdev) in qat_vfmig_reset()
62 int qat_vfmig_open(struct qat_mig_dev *mdev) in qat_vfmig_open()
70 void qat_vfmig_close(struct qat_mig_dev *mdev) in qat_vfmig_close()
78 int qat_vfmig_suspend(struct qat_mig_dev *mdev) in qat_vfmig_suspend()
86 int qat_vfmig_resume(struct qat_mig_dev *mdev) in qat_vfmig_resume()
94 int qat_vfmig_save_state(struct qat_mig_dev *mdev) in qat_vfmig_save_state()
102 int qat_vfmig_save_setup(struct qat_mig_dev *mdev) in qat_vfmig_save_setup()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dparams.c17 static u8 mlx5e_mpwrq_min_page_shift(struct mlx5_core_dev *mdev) in mlx5e_mpwrq_min_page_shift()
24 u8 mlx5e_mpwrq_page_shift(struct mlx5_core_dev *mdev, struct mlx5e_xsk_param *xsk) in mlx5e_mpwrq_page_shift()
37 mlx5e_mpwrq_umr_mode(struct mlx5_core_dev *mdev, struct mlx5e_xsk_param *xsk) in mlx5e_mpwrq_umr_mode()
106 u8 mlx5e_mpwrq_log_wqe_sz(struct mlx5_core_dev *mdev, u8 page_shift, in mlx5e_mpwrq_log_wqe_sz()
128 u8 mlx5e_mpwrq_pages_per_wqe(struct mlx5_core_dev *mdev, u8 page_shift, in mlx5e_mpwrq_pages_per_wqe()
151 u16 mlx5e_mpwrq_umr_wqe_sz(struct mlx5_core_dev *mdev, u8 page_shift, in mlx5e_mpwrq_umr_wqe_sz()
166 u8 mlx5e_mpwrq_umr_wqebbs(struct mlx5_core_dev *mdev, u8 page_shift, in mlx5e_mpwrq_umr_wqebbs()
173 u8 mlx5e_mpwrq_mtts_per_wqe(struct mlx5_core_dev *mdev, u8 page_shift, in mlx5e_mpwrq_mtts_per_wqe()
187 u32 mlx5e_mpwrq_max_num_entries(struct mlx5_core_dev *mdev, in mlx5e_mpwrq_max_num_entries()
210 static u8 mlx5e_mpwrq_max_log_rq_size(struct mlx5_core_dev *mdev, u8 page_shift, in mlx5e_mpwrq_max_log_rq_size()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dclock.c83 struct mlx5_core_dev *mdev; member
91 struct mlx5_core_dev *mdev; member
132 static bool mlx5_real_time_mode(struct mlx5_core_dev *mdev) in mlx5_real_time_mode()
137 static bool mlx5_npps_real_time_supported(struct mlx5_core_dev *mdev) in mlx5_npps_real_time_supported()
144 static bool mlx5_modify_mtutc_allowed(struct mlx5_core_dev *mdev) in mlx5_modify_mtutc_allowed()
149 static int mlx5_clock_identity_get(struct mlx5_core_dev *mdev, in mlx5_clock_identity_get()
190 static s32 mlx5_clock_getmaxphase(struct mlx5_core_dev *mdev) in mlx5_clock_getmaxphase()
200 struct mlx5_core_dev *mdev; in mlx5_ptp_getmaxphase() local
211 static bool mlx5_is_mtutc_time_adj_cap(struct mlx5_core_dev *mdev, s64 delta) in mlx5_is_mtutc_time_adj_cap()
250 static int mlx5_mtctr_read(struct mlx5_core_dev *mdev, in mlx5_mtctr_read()
[all …]
H A Dclock.h64 static inline bool mlx5_is_real_time_rq(struct mlx5_core_dev *mdev) in mlx5_is_real_time_rq()
73 static inline bool mlx5_is_real_time_sq(struct mlx5_core_dev *mdev) in mlx5_is_real_time_sq()
90 static inline int mlx5_clock_get_ptp_index(struct mlx5_core_dev *mdev) in mlx5_clock_get_ptp_index()
120 static inline int mlx5_init_clock(struct mlx5_core_dev *mdev) { return 0; } in mlx5_init_clock()
121 static inline void mlx5_cleanup_clock(struct mlx5_core_dev *mdev) {} in mlx5_cleanup_clock()
122 static inline void mlx5_clock_load(struct mlx5_core_dev *mdev) {} in mlx5_clock_load()
123 static inline void mlx5_clock_unload(struct mlx5_core_dev *mdev) {} in mlx5_clock_unload()
124 static inline int mlx5_clock_get_ptp_index(struct mlx5_core_dev *mdev) in mlx5_clock_get_ptp_index()
142 static inline cqe_ts_to_ns mlx5_rq_ts_translator(struct mlx5_core_dev *mdev) in mlx5_rq_ts_translator()
148 static inline cqe_ts_to_ns mlx5_sq_ts_translator(struct mlx5_core_dev *mdev) in mlx5_sq_ts_translator()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dcmd.c33 static int hws_cmd_general_obj_destroy(struct mlx5_core_dev *mdev, in hws_cmd_general_obj_destroy()
47 int mlx5hws_cmd_flow_table_create(struct mlx5_core_dev *mdev, in mlx5hws_cmd_flow_table_create()
75 int mlx5hws_cmd_flow_table_modify(struct mlx5_core_dev *mdev, in mlx5hws_cmd_flow_table_modify()
97 int mlx5hws_cmd_flow_table_query(struct mlx5_core_dev *mdev, in mlx5hws_cmd_flow_table_query()
122 int mlx5hws_cmd_flow_table_destroy(struct mlx5_core_dev *mdev, in mlx5hws_cmd_flow_table_destroy()
134 static int hws_cmd_flow_group_create(struct mlx5_core_dev *mdev, in hws_cmd_flow_group_create()
162 static int hws_cmd_flow_group_destroy(struct mlx5_core_dev *mdev, in hws_cmd_flow_group_destroy()
175 int mlx5hws_cmd_set_fte(struct mlx5_core_dev *mdev, in mlx5hws_cmd_set_fte()
280 int mlx5hws_cmd_delete_fte(struct mlx5_core_dev *mdev, in mlx5hws_cmd_delete_fte()
294 mlx5hws_cmd_forward_tbl_create(struct mlx5_core_dev *mdev, in mlx5hws_cmd_forward_tbl_create()
[all …]
/linux/drivers/staging/most/video/
H A Dvideo.c51 struct most_video_dev *mdev; member
63 static inline bool data_ready(struct most_video_dev *mdev) in data_ready()
68 static inline struct mbo *get_top_mbo(struct most_video_dev *mdev) in get_top_mbo()
77 struct most_video_dev *mdev = video_drvdata(filp); in comp_vdev_open() local
122 struct most_video_dev *mdev = fh->mdev; in comp_vdev_close() local
160 struct most_video_dev *mdev = fh->mdev; in comp_vdev_read() local
209 struct most_video_dev *mdev = fh->mdev; in comp_vdev_poll() local
233 static int comp_set_format(struct most_video_dev *mdev, unsigned int cmd, in comp_set_format()
251 struct most_video_dev *mdev = fh->mdev; in vidioc_querycap() local
285 struct most_video_dev *mdev = fh->mdev; in vidioc_try_fmt_vid_cap() local
[all …]
/linux/drivers/gpu/drm/mgag200/
H A Dmgag200_mode.c38 struct mga_device *mdev = to_mga_device(dev); in mgag200_set_gamma_lut() local
53 void mgag200_crtc_fill_gamma(struct mga_device *mdev, in mgag200_crtc_fill_gamma()
73 void mgag200_crtc_load_gamma(struct mga_device *mdev, in mgag200_crtc_load_gamma()
94 static inline void mga_wait_vsync(struct mga_device *mdev) in mga_wait_vsync()
109 static inline void mga_wait_busy(struct mga_device *mdev) in mga_wait_busy()
133 static void mgag200_set_startadd(struct mga_device *mdev, in mgag200_set_startadd()
168 static void mgag200_set_datasiz(struct mga_device *mdev, u32 format) in mgag200_set_datasiz()
188 void mgag200_init_registers(struct mga_device *mdev) in mgag200_init_registers()
214 void mgag200_set_mode_regs(struct mga_device *mdev, const struct drm_display_mode *mode, in mgag200_set_mode_regs()
313 static u32 mgag200_calculate_offset(struct mga_device *mdev, in mgag200_calculate_offset()
[all …]
/linux/drivers/sh/maple/
H A 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 …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_common.c41 void mlx5e_mkey_set_relaxed_ordering(struct mlx5_core_dev *mdev, void *mkc) in mlx5e_mkey_set_relaxed_ordering()
52 int mlx5e_create_mkey(struct mlx5_core_dev *mdev, u32 pdn, u32 *mkey) in mlx5e_create_mkey()
78 int mlx5e_create_tis(struct mlx5_core_dev *mdev, void *in, u32 *tisn) in mlx5e_create_tis()
90 void mlx5e_destroy_tis(struct mlx5_core_dev *mdev, u32 tisn) in mlx5e_destroy_tis()
95 static void mlx5e_destroy_tises(struct mlx5_core_dev *mdev, u32 tisn[MLX5_MAX_PORTS][MLX5_MAX_NUM_T… in mlx5e_destroy_tises()
104 static bool mlx5_lag_should_assign_affinity(struct mlx5_core_dev *mdev) in mlx5_lag_should_assign_affinity()
109 static int mlx5e_create_tises(struct mlx5_core_dev *mdev, u32 tisn[MLX5_MAX_PORTS][MLX5_MAX_NUM_TC]) in mlx5e_create_tises()
156 int mlx5e_create_mdev_resources(struct mlx5_core_dev *mdev, bool create_tises) in mlx5e_create_mdev_resources()
233 void mlx5e_destroy_mdev_resources(struct mlx5_core_dev *mdev) in mlx5e_destroy_mdev_resources()
250 int mlx5e_modify_tirs_lb(struct mlx5_core_dev *mdev, bool enable_uc_lb, in mlx5e_modify_tirs_lb()
[all …]
H A Dqos.c8 bool mlx5_qos_is_supported(struct mlx5_core_dev *mdev) in mlx5_qos_is_supported()
21 int mlx5_qos_max_leaf_nodes(struct mlx5_core_dev *mdev) in mlx5_qos_max_leaf_nodes()
26 int mlx5_qos_create_leaf_node(struct mlx5_core_dev *mdev, u32 parent_id, in mlx5_qos_create_leaf_node()
46 int mlx5_qos_create_inner_node(struct mlx5_core_dev *mdev, u32 parent_id, in mlx5_qos_create_inner_node()
73 int mlx5_qos_create_root_node(struct mlx5_core_dev *mdev, u32 *id) in mlx5_qos_create_root_node()
78 int mlx5_qos_update_node(struct mlx5_core_dev *mdev, in mlx5_qos_update_node()
94 int mlx5_qos_destroy_node(struct mlx5_core_dev *mdev, u32 id) in mlx5_qos_destroy_node()
H A Dvport.c45 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport) in mlx5_query_vport_state()
65 static int mlx5_query_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod, in mlx5_query_vport_admin_state()
87 int mlx5_modify_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod, in mlx5_modify_vport_admin_state()
102 int mlx5_modify_vport_max_tx_speed(struct mlx5_core_dev *mdev, u8 opmod, in mlx5_modify_vport_max_tx_speed()
125 int mlx5_query_vport_max_tx_speed(struct mlx5_core_dev *mdev, u8 op_mod, in mlx5_query_vport_max_tx_speed()
154 static int mlx5_query_nic_vport_context(struct mlx5_core_dev *mdev, u16 vport, in mlx5_query_nic_vport_context()
167 int mlx5_query_nic_vport_min_inline(struct mlx5_core_dev *mdev, in mlx5_query_nic_vport_min_inline()
181 void mlx5_query_min_inline(struct mlx5_core_dev *mdev, in mlx5_query_min_inline()
199 int mlx5_modify_nic_vport_min_inline(struct mlx5_core_dev *mdev, in mlx5_modify_nic_vport_min_inline()
220 int mlx5_query_nic_vport_mac_address(struct mlx5_core_dev *mdev, in mlx5_query_nic_vport_mac_address()
[all …]
H A Dport.c110 int mlx5_query_qcam_reg(struct mlx5_core_dev *mdev, u32 *qcam, in mlx5_query_qcam_reg()
613 int mlx5_max_tc(struct mlx5_core_dev *mdev) in mlx5_max_tc()
620 int mlx5_query_port_dcbx_param(struct mlx5_core_dev *mdev, u32 *out) in mlx5_query_port_dcbx_param()
630 int mlx5_set_port_dcbx_param(struct mlx5_core_dev *mdev, u32 *in) in mlx5_set_port_dcbx_param()
640 int mlx5_set_port_prio_tc(struct mlx5_core_dev *mdev, u8 *prio_tc) in mlx5_set_port_prio_tc()
663 int mlx5_query_port_prio_tc(struct mlx5_core_dev *mdev, in mlx5_query_port_prio_tc()
684 static int mlx5_set_port_qetcr_reg(struct mlx5_core_dev *mdev, u32 *in, in mlx5_set_port_qetcr_reg()
696 static int mlx5_query_port_qetcr_reg(struct mlx5_core_dev *mdev, u32 *out, in mlx5_query_port_qetcr_reg()
709 int mlx5_set_port_tc_group(struct mlx5_core_dev *mdev, u8 *tc_group) in mlx5_set_port_tc_group()
722 int mlx5_query_port_tc_group(struct mlx5_core_dev *mdev, in mlx5_query_port_tc_group()
[all …]
H A Duar.c61 static int uars_per_sys_page(struct mlx5_core_dev *mdev) in uars_per_sys_page()
69 static u64 uar2pfn(struct mlx5_core_dev *mdev, u32 index) in uar2pfn()
94 static struct mlx5_uars_page *alloc_uars_page(struct mlx5_core_dev *mdev, in alloc_uars_page()
164 struct mlx5_uars_page *mlx5_get_uars_page(struct mlx5_core_dev *mdev) in mlx5_get_uars_page()
186 void mlx5_put_uars_page(struct mlx5_core_dev *mdev, struct mlx5_uars_page *up) in mlx5_put_uars_page()
194 static unsigned long map_offset(struct mlx5_core_dev *mdev, int dbi) in map_offset()
204 static int alloc_bfreg(struct mlx5_core_dev *mdev, struct mlx5_sq_bfreg *bfreg, in alloc_bfreg()
257 int mlx5_alloc_bfreg(struct mlx5_core_dev *mdev, struct mlx5_sq_bfreg *bfreg, in mlx5_alloc_bfreg()
289 void mlx5_free_bfreg(struct mlx5_core_dev *mdev, struct mlx5_sq_bfreg *bfreg) in mlx5_free_bfreg()
/linux/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_dev.c24 struct komeda_dev *mdev = sf->private; in komeda_register_show() local
44 static void komeda_debugfs_init(struct komeda_dev *mdev) in komeda_debugfs_init()
59 struct komeda_dev *mdev = dev_to_mdev(dev); in core_id_show() local
68 struct komeda_dev *mdev = dev_to_mdev(dev); in config_id_show() local
91 struct komeda_dev *mdev = dev_to_mdev(dev); in aclk_hz_show() local
133 static int komeda_parse_dt(struct device *dev, struct komeda_dev *mdev) in komeda_parse_dt()
184 struct komeda_dev *mdev; in komeda_dev_create() local
275 void komeda_dev_destroy(struct komeda_dev *mdev) in komeda_dev_destroy()
314 int komeda_dev_resume(struct komeda_dev *mdev) in komeda_dev_resume()
327 int komeda_dev_suspend(struct komeda_dev *mdev) in komeda_dev_suspend()
/linux/drivers/vdpa/virtio_pci/
H A Dvp_vdpa.c36 struct virtio_pci_modern_device *mdev; member
48 struct virtio_pci_modern_device *mdev; member
78 struct virtio_pci_modern_device *mdev = vdpa_to_mdev(vdpa); in vp_vdpa_set_driver_features() local
87 struct virtio_pci_modern_device *mdev = vdpa_to_mdev(vdpa); in vp_vdpa_get_driver_features() local
94 struct virtio_pci_modern_device *mdev = vdpa_to_mdev(vdpa); in vp_vdpa_get_status() local
112 struct virtio_pci_modern_device *mdev = vp_vdpa_to_mdev(vp_vdpa); in vp_vdpa_free_irq() local
159 struct virtio_pci_modern_device *mdev = vp_vdpa_to_mdev(vp_vdpa); in vp_vdpa_request_irq() local
224 struct virtio_pci_modern_device *mdev = vp_vdpa_to_mdev(vp_vdpa); in vp_vdpa_set_status() local
241 struct virtio_pci_modern_device *mdev = vp_vdpa_to_mdev(vp_vdpa); in vp_vdpa_reset() local
295 struct virtio_pci_modern_device *mdev = vdpa_to_mdev(vdpa); in vp_vdpa_set_vq_state() local
[all …]
/linux/include/media/
H A Dmedia-device.h282 media_device_register(mdev) global() argument
382 media_device_for_each_entity(entity,mdev) global() argument
386 media_device_for_each_intf(intf,mdev) global() argument
390 media_device_for_each_pad(pad,mdev) global() argument
394 media_device_for_each_link(link,mdev) global() argument
432 media_device_init(struct media_device * mdev) media_device_init() argument
435 media_device_register(struct media_device * mdev) media_device_register() argument
439 media_device_unregister(struct media_device * mdev) media_device_unregister() argument
442 media_device_cleanup(struct media_device * mdev) media_device_cleanup() argument
445 media_device_register_entity(struct media_device * mdev,struct media_entity * entity) media_device_register_entity() argument
454 media_device_register_entity_notify(struct media_device * mdev,struct media_entity_notify * nptr) media_device_register_entity_notify() argument
459 media_device_unregister_entity_notify(struct media_device * mdev,struct media_entity_notify * nptr) media_device_unregister_entity_notify() argument
464 media_device_pci_init(struct media_device * mdev,struct pci_dev * pci_dev,char * name) media_device_pci_init() argument
470 __media_device_usb_init(struct media_device * mdev,struct usb_device * udev,char * board_name,char * driver_name) __media_device_usb_init() argument
492 media_device_usb_init(mdev,udev,name) global() argument
[all...]
/linux/drivers/media/mc/
H A Dmc-device.c81 static struct media_entity *find_entity(struct media_device *mdev, u32 id) in find_entity()
98 static long media_device_enum_entities(struct media_device *mdev, void *arg) in media_device_enum_entities()
151 static long media_device_enum_links(struct media_device *mdev, void *arg) in media_device_enum_links()
200 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()
373 static long media_device_request_alloc(struct media_device *mdev, void *arg) in media_device_request_alloc()
489 static long media_device_enum_links32(struct media_device *mdev, in media_device_enum_links32()
559 struct media_device *mdev = devnode->media_dev; in model_show() local
577 struct media_device *mdev = entity->graph_obj.mdev; in __media_device_unregister_entity() local
605 int __must_check media_device_register_entity(struct media_device *mdev, in media_device_register_entity()
[all …]
/linux/net/mctp/
H A Ddevice.c32 struct mctp_dev *mdev = rcu_dereference(dev->mctp_ptr); in __mctp_dev_get() local
61 struct mctp_dev *mdev, mctp_eid_t eid, in mctp_fill_addrinfo()
95 static int mctp_dump_dev_addrinfo(struct mctp_dev *mdev, struct sk_buff *skb, in mctp_dump_dev_addrinfo()
120 struct mctp_dev *mdev; in mctp_dump_addrinfo() local
152 static void mctp_addr_notify(struct mctp_dev *mdev, mctp_eid_t eid, int msg_type, in mctp_addr_notify()
190 struct mctp_dev *mdev; in mctp_rtm_newaddr() local
253 struct mctp_dev *mdev; in mctp_rtm_deladdr() local
301 void mctp_dev_hold(struct mctp_dev *mdev) in mctp_dev_hold()
306 void mctp_dev_put(struct mctp_dev *mdev) in mctp_dev_put()
335 struct mctp_dev *mdev; in mctp_add_dev() local
[all …]
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_clock.c43 struct mlx4_en_dev *mdev = in mlx4_en_read_clock() local
61 u64 mlx4_en_get_hwtstamp(struct mlx4_en_dev *mdev, u64 timestamp) in mlx4_en_get_hwtstamp()
74 void mlx4_en_fill_hwtstamps(struct mlx4_en_dev *mdev, in mlx4_en_fill_hwtstamps()
88 void mlx4_en_remove_timestamp(struct mlx4_en_dev *mdev) in mlx4_en_remove_timestamp()
104 void mlx4_en_ptp_overflow_check(struct mlx4_en_dev *mdev) in mlx4_en_ptp_overflow_check()
132 struct mlx4_en_dev *mdev = container_of(ptp, struct mlx4_en_dev, in mlx4_en_phc_adjfine() local
154 struct mlx4_en_dev *mdev = container_of(ptp, struct mlx4_en_dev, in mlx4_en_phc_adjtime() local
176 struct mlx4_en_dev *mdev = container_of(ptp, struct mlx4_en_dev, in mlx4_en_phc_gettime() local
201 struct mlx4_en_dev *mdev = container_of(ptp, struct mlx4_en_dev, in mlx4_en_phc_settime() local
261 void mlx4_en_init_timestamp(struct mlx4_en_dev *mdev) in mlx4_en_init_timestamp()
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_main.c136 static int mthca_tune_pci(struct mthca_dev *mdev) in mthca_tune_pci()
164 static int mthca_dev_lim(struct mthca_dev *mdev, struct mthca_dev_lim *dev_lim) in mthca_dev_lim()
287 static int mthca_init_tavor(struct mthca_dev *mdev) in mthca_init_tavor()
345 static int mthca_load_fw(struct mthca_dev *mdev) in mthca_load_fw()
380 static int mthca_init_icm(struct mthca_dev *mdev, in mthca_init_icm()
556 static void mthca_free_icms(struct mthca_dev *mdev) in mthca_free_icms()
574 static int mthca_init_arbel(struct mthca_dev *mdev) in mthca_init_arbel()
647 static void mthca_close_hca(struct mthca_dev *mdev) in mthca_close_hca()
663 static int mthca_init_hca(struct mthca_dev *mdev) in mthca_init_hca()
851 static int mthca_enable_msi_x(struct mthca_dev *mdev) in mthca_enable_msi_x()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_cmd.c7 int mlx5dr_cmd_query_esw_vport_context(struct mlx5_core_dev *mdev, in mlx5dr_cmd_query_esw_vport_context()
35 int mlx5dr_cmd_query_gvmi(struct mlx5_core_dev *mdev, bool other_vport, in mlx5dr_cmd_query_gvmi()
56 int mlx5dr_cmd_query_esw_caps(struct mlx5_core_dev *mdev, in mlx5dr_cmd_query_esw_caps()
78 static int dr_cmd_query_nic_vport_roce_en(struct mlx5_core_dev *mdev, in dr_cmd_query_nic_vport_roce_en()
99 int mlx5dr_cmd_query_device(struct mlx5_core_dev *mdev, in mlx5dr_cmd_query_device()
279 int mlx5dr_cmd_sync_steering(struct mlx5_core_dev *mdev) in mlx5dr_cmd_sync_steering()
295 int mlx5dr_cmd_set_fte_modify_and_vport(struct mlx5_core_dev *mdev, in mlx5dr_cmd_set_fte_modify_and_vport()
339 int mlx5dr_cmd_del_flow_table_entry(struct mlx5_core_dev *mdev, in mlx5dr_cmd_del_flow_table_entry()
352 int mlx5dr_cmd_alloc_modify_header(struct mlx5_core_dev *mdev, in mlx5dr_cmd_alloc_modify_header()
388 int mlx5dr_cmd_dealloc_modify_header(struct mlx5_core_dev *mdev, in mlx5dr_cmd_dealloc_modify_header()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
H A Dipoib.c77 static void mlx5i_build_nic_params(struct mlx5_core_dev *mdev, in mlx5i_build_nic_params()
99 int mlx5i_init(struct mlx5_core_dev *mdev, struct net_device *netdev) in mlx5i_init()
223 struct mlx5_core_dev *mdev = priv->mdev; in mlx5i_init_underlay_qp() local
279 struct mlx5_core_dev *mdev = priv->mdev; in mlx5i_uninit_underlay_qp() local
326 void mlx5i_destroy_underlay_qp(struct mlx5_core_dev *mdev, u32 qpn) in mlx5i_destroy_underlay_qp()
340 int mlx5i_create_tis(struct mlx5_core_dev *mdev, u32 underlay_qpn, u32 *tisn) in mlx5i_create_tis()
429 struct mlx5_core_dev *mdev = priv->mdev; in mlx5i_init_rx() local
508 u32 mlx5i_get_tisn(struct mlx5_core_dev *mdev, struct mlx5e_priv *priv, u8 lag_port, u8 tc) in mlx5i_get_tisn()
596 struct mlx5_core_dev *mdev = epriv->mdev; in mlx5i_open() local
644 struct mlx5_core_dev *mdev = epriv->mdev; in mlx5i_close() local
[all …]
/linux/drivers/dma/
H A Daltera-msgdma.c210 static struct msgdma_sw_desc *msgdma_get_descriptor(struct msgdma_device *mdev) in msgdma_get_descriptor()
230 static void msgdma_free_descriptor(struct msgdma_device *mdev, in msgdma_free_descriptor()
248 static void msgdma_free_desc_list(struct msgdma_device *mdev, in msgdma_free_desc_list()
306 struct msgdma_device *mdev = to_mdev(tx->chan); in msgdma_tx_submit() local
335 struct msgdma_device *mdev = to_mdev(dchan); in msgdma_prep_memcpy() local
393 struct msgdma_device *mdev = to_mdev(dchan); in msgdma_prep_slave_sg() local
462 struct msgdma_device *mdev = to_mdev(dchan); in msgdma_dma_config() local
469 static void msgdma_reset(struct msgdma_device *mdev) in msgdma_reset()
494 static void msgdma_copy_one(struct msgdma_device *mdev, in msgdma_copy_one()
532 static void msgdma_copy_desc_to_fifo(struct msgdma_device *mdev, in msgdma_copy_desc_to_fifo()
[all …]
/linux/drivers/mailbox/
H A 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 …]

12345678910>>...19