| /linux/drivers/virtio/ |
| H A D | virtio_pci_modern_dev.c | 22 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 D | qat_mig_dev.c | 15 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/lib/ |
| H A D | clock.c | 83 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 D | ipsec_fs_roce.c | 59 static bool ipsec_fs_create_alias_supported_one(struct mlx5_core_dev *mdev) in ipsec_fs_create_alias_supported_one() 74 static bool ipsec_fs_create_alias_supported(struct mlx5_core_dev *mdev, in ipsec_fs_create_alias_supported() 131 ipsec_fs_roce_rx_rule_setup(struct mlx5_core_dev *mdev, in ipsec_fs_roce_rx_rule_setup() 209 static int ipsec_fs_roce_tx_rule_setup(struct mlx5_core_dev *mdev, in ipsec_fs_roce_tx_rule_setup() 235 static int ipsec_fs_roce_tx_mpv_rule_setup(struct mlx5_core_dev *mdev, in ipsec_fs_roce_tx_mpv_rule_setup() 280 static int ipsec_fs_roce_tx_mpv_create_ft(struct mlx5_core_dev *mdev, in ipsec_fs_roce_tx_mpv_create_ft() 341 static int ipsec_fs_roce_tx_mpv_create_group_rules(struct mlx5_core_dev *mdev, in ipsec_fs_roce_tx_mpv_create_group_rules() 379 static int ipsec_fs_roce_tx_mpv_create(struct mlx5_core_dev *mdev, in ipsec_fs_roce_tx_mpv_create() 426 static void roce_rx_mpv_destroy_tables(struct mlx5_core_dev *mdev, struct mlx5_ipsec_rx_roce *roce) in roce_rx_mpv_destroy_tables() 439 static int ipsec_fs_roce_rx_mpv_create(struct mlx5_core_dev *mdev, in ipsec_fs_roce_rx_mpv_create() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | cmd.c | 33 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 D | video.c | 51 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 D | mgag200_mode.c | 38 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 …]
|
| H A D | mgag200_ddc.c | 39 struct mga_device *mdev; member 48 static int mga_i2c_read_gpio(struct mga_device *mdev) in mga_i2c_read_gpio() 54 static void mga_i2c_set_gpio(struct mga_device *mdev, int mask, int val) in mga_i2c_set_gpio() 64 static inline void mga_i2c_set(struct mga_device *mdev, int mask, int state) in mga_i2c_set() 104 struct mga_device *mdev = ddc->mdev; in mgag200_ddc_algo_bit_data_pre_xfer() local 118 struct mga_device *mdev = ddc->mdev; in mgag200_ddc_algo_bit_data_post_xfer() local 130 struct i2c_adapter *mgag200_ddc_create(struct mga_device *mdev) in mgag200_ddc_create()
|
| /linux/drivers/sh/maple/ |
| H A D | maple.c | 139 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 D | en_common.c | 41 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 D | qos.c | 8 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 D | vport.c | 45 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 D | port.c | 110 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 D | uar.c | 61 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/vdpa/virtio_pci/ |
| H A D | vp_vdpa.c | 36 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 D | media-device.h | 282 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 D | mc-device.c | 81 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 D | device.c | 32 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 D | en_clock.c | 43 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()
|
| H A D | en_netdev.c | 95 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_alloc_tx_queue_per_tc() local 482 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_vlan_rx_add_vid() local 512 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_vlan_rx_kill_vid() local 566 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_uc_steer_add() local 619 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_uc_steer_release() local 645 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_get_qp() local 684 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_put_qp() local 704 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_replace_mac() local 754 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_update_user_mac() local 789 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_set_mac() local [all …]
|
| /linux/drivers/infiniband/hw/mthca/ |
| H A D | mthca_main.c | 136 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/dma/ |
| H A D | altera-msgdma.c | 210 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 D | mailbox-sti.c | 36 #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/drivers/mtd/maps/ |
| H A D | vmu-flash.c | 24 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/drivers/infiniband/hw/mana/ |
| H A D | qp.c | 96 struct mana_ib_dev *mdev = in mana_ib_create_qp_rss() local 267 struct mana_ib_dev *mdev = in mana_ib_create_qp_raw() local 446 static int mana_table_store_rc_qp(struct mana_ib_dev *mdev, struct mana_ib_qp *qp) in mana_table_store_rc_qp() 452 static void mana_table_remove_rc_qp(struct mana_ib_dev *mdev, struct mana_ib_qp *qp) in mana_table_remove_rc_qp() 457 static int mana_table_store_ud_qp(struct mana_ib_dev *mdev, struct mana_ib_qp *qp) in mana_table_store_ud_qp() 478 static void mana_table_remove_ud_qp(struct mana_ib_dev *mdev, struct mana_ib_qp *qp) in mana_table_remove_ud_qp() 487 static int mana_table_store_qp(struct mana_ib_dev *mdev, struct mana_ib_qp *qp) in mana_table_store_qp() 506 static void mana_table_remove_qp(struct mana_ib_dev *mdev, in mana_table_remove_qp() 529 struct mana_ib_dev *mdev = container_of(ibpd->device, struct mana_ib_dev, ib_dev); in mana_ib_create_rc_qp() local 635 struct mana_ib_dev *mdev = container_of(ibpd->device, struct mana_ib_dev, ib_dev); in mana_ib_create_ud_qp() local [all …]
|