| /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/en/ |
| H A D | params.c | 18 static u8 mlx5e_mpwrq_min_page_shift(struct mlx5_core_dev *mdev) in mlx5e_mpwrq_min_page_shift() argument 25 u8 mlx5e_mpwrq_page_shift(struct mlx5_core_dev *mdev, in mlx5e_mpwrq_page_shift() argument 48 mlx5e_mpwrq_umr_mode(struct mlx5_core_dev *mdev, in mlx5e_mpwrq_umr_mode() argument 119 u8 mlx5e_mpwrq_log_wqe_sz(struct mlx5_core_dev *mdev, u8 page_shift, in mlx5e_mpwrq_log_wqe_sz() argument 141 u8 mlx5e_mpwrq_pages_per_wqe(struct mlx5_core_dev *mdev, u argument 164 mlx5e_mpwrq_umr_wqe_sz(struct mlx5_core_dev * mdev,u8 page_shift,enum mlx5e_mpwrq_umr_mode umr_mode) mlx5e_mpwrq_umr_wqe_sz() argument 179 mlx5e_mpwrq_umr_wqebbs(struct mlx5_core_dev * mdev,u8 page_shift,enum mlx5e_mpwrq_umr_mode umr_mode) mlx5e_mpwrq_umr_wqebbs() argument 186 mlx5e_mpwrq_mtts_per_wqe(struct mlx5_core_dev * mdev,u8 page_shift,enum mlx5e_mpwrq_umr_mode umr_mode) mlx5e_mpwrq_mtts_per_wqe() argument 200 mlx5e_mpwrq_max_num_entries(struct mlx5_core_dev * mdev,enum mlx5e_mpwrq_umr_mode umr_mode) mlx5e_mpwrq_max_num_entries() argument 223 mlx5e_mpwrq_max_log_rq_size(struct mlx5_core_dev * mdev,u8 page_shift,enum mlx5e_mpwrq_umr_mode umr_mode) mlx5e_mpwrq_max_log_rq_size() argument 232 mlx5e_mpwrq_max_log_rq_pkts(struct mlx5_core_dev * mdev,u8 page_shift,enum mlx5e_mpwrq_umr_mode umr_mode) mlx5e_mpwrq_max_log_rq_pkts() argument 277 mlx5e_rx_get_linear_stride_sz(struct mlx5_core_dev * mdev,struct mlx5e_params * params,struct mlx5e_rq_opt_param * rqo,bool mpwqe) mlx5e_rx_get_linear_stride_sz() argument 306 mlx5e_mpwqe_log_pkts_per_wqe(struct mlx5_core_dev * mdev,struct mlx5e_params * params,struct mlx5e_rq_opt_param * rqo) mlx5e_mpwqe_log_pkts_per_wqe() argument 319 mlx5e_rx_is_linear_skb(struct mlx5_core_dev * mdev,struct mlx5e_params * params,struct mlx5e_rq_opt_param * rqo) mlx5e_rx_is_linear_skb() argument 345 mlx5e_verify_rx_mpwqe_strides(struct mlx5_core_dev * mdev,u8 log_stride_sz,u8 log_num_strides,u8 page_shift,enum mlx5e_mpwrq_umr_mode umr_mode) mlx5e_verify_rx_mpwqe_strides() argument 367 mlx5e_verify_params_rx_mpwqe_strides(struct mlx5_core_dev * mdev,struct mlx5e_params * params,struct mlx5e_rq_opt_param * rqo) mlx5e_verify_params_rx_mpwqe_strides() argument 383 mlx5e_rx_mpwqe_is_linear_skb(struct mlx5_core_dev * mdev,struct mlx5e_params * params,struct mlx5e_rq_opt_param * rqo) mlx5e_rx_mpwqe_is_linear_skb() argument 411 mlx5e_mpwqe_get_log_rq_size(struct mlx5_core_dev * mdev,struct mlx5e_params * params,struct mlx5e_rq_opt_param * rqo) mlx5e_mpwqe_get_log_rq_size() argument 445 mlx5e_mpwqe_get_log_stride_size(struct mlx5_core_dev * mdev,struct mlx5e_params * params,struct mlx5e_rq_opt_param * rqo) mlx5e_mpwqe_get_log_stride_size() argument 456 mlx5e_mpwqe_get_log_num_strides(struct mlx5_core_dev * mdev,struct mlx5e_params * params,struct mlx5e_rq_opt_param * rqo) mlx5e_mpwqe_get_log_num_strides() argument 479 mlx5e_get_rq_headroom(struct mlx5_core_dev * mdev,struct mlx5e_params * params,struct mlx5e_rq_opt_param * rqo) mlx5e_get_rq_headroom() argument 497 mlx5e_mpwrq_max_page_size(struct mlx5_core_dev * mdev) mlx5e_mpwrq_max_page_size() argument 509 mlx5e_calc_sq_stop_room(struct mlx5_core_dev * mdev,struct mlx5e_params * params) mlx5e_calc_sq_stop_room() argument 526 mlx5e_validate_params(struct mlx5_core_dev * mdev,struct mlx5e_params * params) mlx5e_validate_params() argument 541 slow_pci_heuristic(struct mlx5_core_dev * mdev) slow_pci_heuristic() argument 557 mlx5e_mpwrq_validate_regular(struct mlx5_core_dev * mdev,struct mlx5e_params * params) mlx5e_mpwrq_validate_regular() argument 568 mlx5e_mpwrq_validate_xsk(struct mlx5_core_dev * mdev,struct mlx5e_params * params,struct mlx5e_rq_opt_param * rqo) mlx5e_mpwrq_validate_xsk() argument 602 mlx5e_init_rq_type_params(struct mlx5_core_dev * mdev,struct mlx5e_params * params) mlx5e_init_rq_type_params() argument 610 mlx5e_set_rq_type(struct mlx5_core_dev * mdev,struct mlx5e_params * params) mlx5e_set_rq_type() argument 617 mlx5e_build_rq_params(struct mlx5_core_dev * mdev,struct mlx5e_params * params) mlx5e_build_rq_params() argument 706 mlx5e_build_rq_frags_info(struct mlx5_core_dev * mdev,struct mlx5e_params * params,struct mlx5e_rq_opt_param * rqo,struct mlx5e_rq_frags_info * info,u32 * xdp_frag_size) mlx5e_build_rq_frags_info() argument 844 mlx5e_build_common_cq_param(struct mlx5_core_dev * mdev,struct mlx5e_cq_param * param) mlx5e_build_common_cq_param() argument 854 mlx5e_shampo_get_log_cq_size(struct mlx5_core_dev * mdev,struct mlx5e_params * params,struct mlx5e_rq_opt_param * rqo) mlx5e_shampo_get_log_cq_size() argument 872 mlx5e_build_rx_cq_param(struct mlx5_core_dev * mdev,struct mlx5e_params * params,struct mlx5e_rq_opt_param * rqo,struct mlx5e_cq_param * param) mlx5e_build_rx_cq_param() argument 912 rq_end_pad_mode(struct mlx5_core_dev * mdev,struct mlx5e_params * params) rq_end_pad_mode() argument 921 mlx5e_mpwqe_build_rq_param(struct mlx5_core_dev * mdev,struct mlx5e_params * params,struct mlx5e_rq_opt_param * rqo,struct mlx5e_rq_param * rq_param) mlx5e_mpwqe_build_rq_param() argument 979 mlx5e_build_rq_param(struct mlx5_core_dev * mdev,struct mlx5e_params * params,struct mlx5e_rq_opt_param * rqo,struct mlx5e_rq_param * rq_param) mlx5e_build_rq_param() argument 1021 mlx5e_build_drop_rq_param(struct mlx5_core_dev * mdev,struct mlx5e_rq_param * rq_param) mlx5e_build_drop_rq_param() argument 1034 mlx5e_build_tx_cq_param(struct mlx5_core_dev * mdev,struct mlx5e_params * params,struct mlx5e_cq_param * param) mlx5e_build_tx_cq_param() argument 1046 mlx5e_build_sq_param_common(struct mlx5_core_dev * mdev,struct mlx5e_sq_param * param) mlx5e_build_sq_param_common() argument 1058 mlx5e_build_sq_param(struct mlx5_core_dev * mdev,struct mlx5e_params * params,struct mlx5e_sq_param * param) mlx5e_build_sq_param() argument 1077 mlx5e_build_ico_cq_param(struct mlx5_core_dev * mdev,u8 log_wq_size,struct mlx5e_cq_param * param) mlx5e_build_ico_cq_param() argument 1095 mlx5e_shampo_hd_per_wqe(struct mlx5_core_dev * mdev,struct mlx5e_params * params,struct mlx5e_rq_param * rq_param) mlx5e_shampo_hd_per_wqe() argument 1117 mlx5e_shampo_hd_per_wq(struct mlx5_core_dev * mdev,struct mlx5e_params * params,struct mlx5e_rq_param * rq_param) mlx5e_shampo_hd_per_wq() argument 1132 mlx5e_choose_lro_timeout(struct mlx5_core_dev * mdev,u32 wanted_timeout) mlx5e_choose_lro_timeout() argument 1144 mlx5e_mpwrq_total_umr_wqebbs(struct mlx5_core_dev * mdev,struct mlx5e_params * params,struct mlx5e_rq_opt_param * rqo) mlx5e_mpwrq_total_umr_wqebbs() argument 1158 mlx5e_max_xsk_wqebbs(struct mlx5_core_dev * mdev,struct mlx5e_params * params) mlx5e_max_xsk_wqebbs() argument 1214 mlx5e_build_icosq_log_wq_sz(struct mlx5_core_dev * mdev,struct mlx5e_params * params,struct mlx5e_rq_param * rq_param) mlx5e_build_icosq_log_wq_sz() argument 1244 mlx5e_build_async_icosq_log_wq_sz(struct mlx5_core_dev * mdev) mlx5e_build_async_icosq_log_wq_sz() argument 1252 mlx5e_build_icosq_param(struct mlx5_core_dev * mdev,u8 log_wq_size,struct mlx5e_sq_param * param) mlx5e_build_icosq_param() argument 1266 mlx5e_build_async_icosq_param(struct mlx5_core_dev * mdev,u8 log_wq_size,struct mlx5e_sq_param * param) mlx5e_build_async_icosq_param() argument 1283 mlx5e_build_xdpsq_param(struct mlx5_core_dev * mdev,struct mlx5e_params * params,struct mlx5e_sq_param * param) mlx5e_build_xdpsq_param() argument 1296 mlx5e_build_channel_param(struct mlx5_core_dev * mdev,struct mlx5e_params * params,struct netdev_queue_config * qcfg,struct mlx5e_channel_param * cparam) mlx5e_build_channel_param() argument 1321 mlx5e_build_xsk_channel_param(struct mlx5_core_dev * mdev,struct mlx5e_params * params,struct mlx5e_xsk_param * xsk,struct mlx5e_channel_param * cparam) mlx5e_build_xsk_channel_param() argument [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/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() argument 186 maple_allocq(struct maple_device * mdev) maple_allocq() argument 213 struct maple_device *mdev; maple_alloc_dev() local 237 maple_free_dev(struct maple_device * mdev) maple_free_dev() argument 316 struct maple_device *mdev; maple_check_matching_driver() local 325 maple_detach_driver(struct maple_device * mdev) maple_detach_driver() argument 331 maple_attach_driver(struct maple_device * mdev) maple_attach_driver() argument 410 struct maple_device *mdev; check_maple_device() local 422 struct maple_device *mdev = to_maple_dev(device); setup_maple_commands() local 449 struct maple_device *mdev; maple_vblank_handler() local 492 maple_map_subunits(struct maple_device * mdev,int submask) maple_map_subunits() argument 524 maple_clean_submap(struct maple_device * mdev) maple_clean_submap() argument 535 maple_response_none(struct maple_device * mdev) maple_response_none() argument 577 maple_response_devinfo(struct maple_device * mdev,char * recvbuf) maple_response_devinfo() argument 603 maple_response_fileerr(struct maple_device * mdev,void * recvbuf) maple_response_fileerr() argument 617 struct maple_device *mdev; maple_port_rescan() local 634 struct maple_device *mdev; maple_dma_handler() local 790 struct maple_device *mdev[MAPLE_PORTS]; maple_bus_init() 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() 106 int mlx5_modify_vport_max_tx_speed(struct mlx5_core_dev *mdev, u8 opmod, in mlx5_modify_vport_max_tx_speed() 133 int mlx5_query_vport_max_tx_speed(struct mlx5_core_dev *mdev, u8 op_mod, in mlx5_query_vport_max_tx_speed() 158 static int mlx5_query_nic_vport_context(struct mlx5_core_dev *mdev, u16 vport, in mlx5_query_nic_vport_context() 171 int mlx5_query_nic_vport_min_inline(struct mlx5_core_dev *mdev, in mlx5_query_nic_vport_min_inline() 185 void mlx5_query_min_inline(struct mlx5_core_dev *mdev, in mlx5_query_min_inline() 203 int mlx5_modify_nic_vport_min_inline(struct mlx5_core_dev *mdev, in mlx5_modify_nic_vport_min_inline() 224 int mlx5_query_nic_vport_mac_address(struct mlx5_core_dev *mdev, in mlx5_query_nic_vport_mac_address() [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()
|
| 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 | wc.c | 29 struct mlx5_core_dev *mdev; member 49 static int mlx5_wc_create_cqwq(struct mlx5_core_dev *mdev, void *cqc, in mlx5_wc_create_cqwq() 79 struct mlx5_core_dev *mdev = cq->mdev; in create_wc_cq() local 115 static int mlx5_wc_create_cq(struct mlx5_core_dev *mdev, struct mlx5_wc_cq *cq) in mlx5_wc_create_cq() 157 static int create_wc_sq(struct mlx5_core_dev *mdev, void *sqc_data, in create_wc_sq() 221 static int mlx5_wc_create_sq(struct mlx5_core_dev *mdev, struct mlx5_wc_sq *sq) in mlx5_wc_create_sq() 340 struct mlx5_core_dev *mdev = cq->mdev; in mlx5_wc_poll_cq() local 360 static void mlx5_core_test_wc(struct mlx5_core_dev *mdev) in mlx5_core_test_wc() 409 bool mlx5_wc_support_get(struct mlx5_core_dev *mdev) in mlx5_wc_support_get()
|
| /linux/drivers/gpu/drm/arm/display/komeda/ |
| H A D | komeda_dev.c | 24 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() argument 59 struct komeda_dev *mdev = dev_to_mdev(dev); core_id_show() local 68 struct komeda_dev *mdev = dev_to_mdev(dev); config_id_show() local 91 struct komeda_dev *mdev = dev_to_mdev(dev); aclk_hz_show() local 133 komeda_parse_dt(struct device * dev,struct komeda_dev * mdev) komeda_parse_dt() argument 184 struct komeda_dev *mdev; komeda_dev_create() local 275 komeda_dev_destroy(struct komeda_dev * mdev) komeda_dev_destroy() argument 314 komeda_dev_resume(struct komeda_dev * mdev) komeda_dev_resume() argument 331 komeda_dev_suspend(struct komeda_dev * mdev) komeda_dev_suspend() argument [all...] |
| /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); vp_vdpa_free_irq() local 159 struct virtio_pci_modern_device *mdev = vp_vdpa_to_mdev(vp_vdpa); vp_vdpa_request_irq() local 218 struct virtio_pci_modern_device *mdev = vp_vdpa_to_mdev(vp_vdpa); vp_vdpa_set_status() local 235 struct virtio_pci_modern_device *mdev = vp_vdpa_to_mdev(vp_vdpa); vp_vdpa_reset() local 289 struct virtio_pci_modern_device *mdev = vdpa_to_mdev(vdpa); vp_vdpa_set_vq_state() local 318 struct virtio_pci_modern_device *mdev = vdpa_to_mdev(vdpa); vp_vdpa_set_vq_ready() local 325 struct virtio_pci_modern_device *mdev = vdpa_to_mdev(vdpa); vp_vdpa_get_vq_ready() local 333 struct virtio_pci_modern_device *mdev = vdpa_to_mdev(vdpa); vp_vdpa_set_vq_num() local 340 struct virtio_pci_modern_device *mdev = vdpa_to_mdev(vdpa); vp_vdpa_get_vq_size() local 349 struct virtio_pci_modern_device *mdev = vdpa_to_mdev(vdpa); vp_vdpa_set_vq_address() local 374 struct virtio_pci_modern_device *mdev = vdpa_to_mdev(vdpa); vp_vdpa_get_generation() local 381 struct virtio_pci_modern_device *mdev = vdpa_to_mdev(vdpa); vp_vdpa_get_device_id() local 388 struct virtio_pci_modern_device *mdev = vdpa_to_mdev(vdpa); vp_vdpa_get_vendor_id() local 400 struct virtio_pci_modern_device *mdev = vdpa_to_mdev(vdpa); vp_vdpa_get_config_size() local 410 struct virtio_pci_modern_device *mdev = vp_vdpa_to_mdev(vp_vdpa); vp_vdpa_get_config() local 430 struct virtio_pci_modern_device *mdev = vp_vdpa_to_mdev(vp_vdpa); vp_vdpa_set_config() local 450 struct virtio_pci_modern_device *mdev = vp_vdpa_to_mdev(vp_vdpa); vp_vdpa_get_vq_notification() local 500 struct virtio_pci_modern_device *mdev = vp_vdpa_mgtdev->mdev; vp_vdpa_dev_add() local 601 struct virtio_pci_modern_device *mdev = NULL; vp_vdpa_probe() local 674 struct virtio_pci_modern_device *mdev = NULL; vp_vdpa_remove() local [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/net/wireless/mediatek/mt76/mt7921/ |
| H A D | pci.c | 147 static u32 mt7921_rr(struct mt76_dev *mdev, u32 offset) in mt7921_rr() argument 155 static void mt7921_wr(struct mt76_dev *mdev, u32 offset, u32 val) in mt7921_wr() argument 163 static u32 mt7921_rmw(struct mt76_dev *mdev, u32 offset, u32 mask, u32 val) in mt7921_rmw() argument 309 struct mt76_dev *mdev; in mt7921_pci_probe() local 455 struct mt76_dev *mdev = pci_get_drvdata(pdev); mt7921_pci_remove() local 471 struct mt76_dev *mdev = pci_get_drvdata(pdev); mt7921_pci_suspend() local 554 struct mt76_dev *mdev = pci_get_drvdata(pdev); mt7921_pci_resume() local 610 mt7921_aer_rr(struct mt76_dev * mdev,u32 offset) mt7921_aer_rr() argument 615 mt7921_aer_wr(struct mt76_dev * mdev,u32 offset,u32 val) mt7921_aer_wr() argument 620 mt791_aer_rmw(struct mt76_dev * mdev,u32 offset,u32 mask,u32 val) mt791_aer_rmw() argument 644 struct mt76_dev *mdev = pci_get_drvdata(pdev); mt7921_error_detected() local 688 struct mt76_dev *mdev = pci_get_drvdata(pdev); mt7921_slot_reset() local [all...] |
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
| H A D | ipoib.c | 77 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() 224 struct mlx5_core_dev *mdev = priv->mdev; in mlx5i_init_underlay_qp() local 280 struct mlx5_core_dev *mdev = priv->mdev; in mlx5i_uninit_underlay_qp() local 327 void mlx5i_destroy_underlay_qp(struct mlx5_core_dev *mdev, u32 qpn) in mlx5i_destroy_underlay_qp() 341 int mlx5i_create_tis(struct mlx5_core_dev *mdev, u32 underlay_qpn, u32 *tisn) in mlx5i_create_tis() 430 struct mlx5_core_dev *mdev = priv->mdev; in mlx5i_init_rx() local 509 u32 mlx5i_get_tisn(struct mlx5_core_dev *mdev, struct mlx5e_priv *priv, u8 lag_port, u8 tc) in mlx5i_get_tisn() 597 struct mlx5_core_dev *mdev = epriv->mdev; in mlx5i_open() local 645 struct mlx5_core_dev *mdev = epriv->mdev; in mlx5i_close() local [all …]
|
| /linux/drivers/mailbox/ |
| H A D | mailbox-sti.c | 34 #define MBOX_BASE(mdev, inst) ((mdev)->base + ((inst) * 4)) argument 79 struct sti_mbox_device *mdev; member 87 struct sti_mbox_device *mdev = chan_info->mdev; in sti_mbox_channel_is_enabled() local 120 struct sti_mbox_device *mdev = chan_info->mdev; in sti_mbox_enable_channel() local 135 struct sti_mbox_device *mdev = chan_info->mdev; sti_mbox_disable_channel() local 150 struct sti_mbox_device *mdev = chan_info->mdev; sti_mbox_clear_irq() local 158 sti_mbox_irq_to_channel(struct sti_mbox_device * mdev,unsigned int instance) sti_mbox_irq_to_channel() argument 191 struct sti_mbox_device *mdev = data; sti_mbox_thread_handler() local 213 struct sti_mbox_device *mdev = data; sti_mbox_irq_handler() local 252 struct sti_mbox_device *mdev = chan_info->mdev; sti_mbox_tx_is_ready() local 275 struct sti_mbox_device *mdev = chan_info->mdev; sti_mbox_send_data() local 322 struct sti_mbox_device *mdev = dev_get_drvdata(mbox->dev); sti_mbox_xlate() local 405 struct sti_mbox_device *mdev; sti_mbox_probe() local [all...] |
| /linux/drivers/gpu/drm/mgag200/ |
| 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/most/ |
| H A D | most_usb.c | 77 struct most_dev *mdev; member 238 struct most_dev *mdev = to_mdev(iface); in hdm_poison_channel() local 276 static int hdm_add_padding(struct most_dev *mdev, int channel, struct mbo *mbo) in hdm_add_padding() 309 static int hdm_remove_padding(struct most_dev *mdev, int channel, in hdm_remove_padding() 343 struct most_dev *mdev = to_mdev(mbo->ifp); in hdm_write_completion() local 395 struct most_dev *mdev = to_mdev(mbo->ifp); in hdm_read_completion() local 460 struct most_dev *mdev = to_mdev(iface); in hdm_enqueue() local 537 struct most_dev *mdev = to_mdev(mbo->ifp); in hdm_dma_alloc() local 545 struct most_dev *mdev = to_mdev(mbo->ifp); in hdm_dma_free() local 571 struct most_dev *mdev = to_mdev(iface); in hdm_configure_channel() local [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| H A D | crypto.c | 31 struct mlx5_core_dev *mdev; member 56 struct mlx5_core_dev *mdev; member 75 struct mlx5_core_dev *mdev; member 90 static int mlx5_crypto_dek_get_key_sz(struct mlx5_core_dev *mdev, in mlx5_crypto_dek_get_key_sz() 111 static int mlx5_crypto_dek_fill_key(struct mlx5_core_dev *mdev, u8 *key_obj, in mlx5_crypto_dek_fill_key() 135 static int mlx5_crypto_cmd_sync_crypto(struct mlx5_core_dev *mdev, in mlx5_crypto_cmd_sync_crypto() 157 static int mlx5_crypto_create_dek_bulk(struct mlx5_core_dev *mdev, in mlx5_crypto_create_dek_bulk() 188 static int mlx5_crypto_modify_dek_key(struct mlx5_core_dev *mdev, in mlx5_crypto_modify_dek_key() 223 static int mlx5_crypto_create_dek_key(struct mlx5_core_dev *mdev, in mlx5_crypto_create_dek_key() 261 static void mlx5_crypto_destroy_dek_key(struct mlx5_core_dev *mdev, u32 key_id) in mlx5_crypto_destroy_dek_key() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| H A D | ipsec_fs.c | 95 ipsec_chains_create(struct mlx5_core_dev *mdev, struct mlx5_flow_table *miss_ft, in ipsec_chains_create() argument 203 struct mlx5_core_dev *mdev = ipsec->mdev; in rx_add_rule_drop_auth_trailer() local 282 struct mlx5_core_dev *mdev = ipsec->mdev; rx_add_rule_drop_replay() local 339 struct mlx5_core_dev *mdev = ipsec->mdev; ipsec_rx_status_drop_all_create() local 545 ipsec_miss_create(struct mlx5_core_dev * mdev,struct mlx5_flow_table * ft,struct mlx5e_ipsec_miss * miss,struct mlx5_flow_destination * dest) ipsec_miss_create() argument 713 ipsec_rx_sa_selector_destroy(struct mlx5_core_dev * mdev,struct mlx5e_ipsec_rx * rx) ipsec_rx_sa_selector_destroy() argument 723 rx_destroy(struct mlx5_core_dev * mdev,struct mlx5e_ipsec * ipsec,struct mlx5e_ipsec_rx * rx,u32 family) rx_destroy() argument 890 struct mlx5_core_dev *mdev = ipsec->mdev; ipsec_rx_policy_create() local 940 struct mlx5_core_dev *mdev = ipsec->mdev; ipsec_rx_sa_selector_create() local 1044 rx_create(struct mlx5_core_dev * mdev,struct mlx5e_ipsec * ipsec,struct mlx5e_ipsec_rx * rx,u32 family) rx_create() argument 1122 rx_get(struct mlx5_core_dev * mdev,struct mlx5e_ipsec * ipsec,struct mlx5e_ipsec_rx * rx,u32 family) rx_get() argument 1155 rx_ft_get(struct mlx5_core_dev * mdev,struct mlx5e_ipsec * ipsec,u32 family,int type) rx_ft_get() argument 1171 rx_ft_get_policy(struct mlx5_core_dev * mdev,struct mlx5e_ipsec * ipsec,u32 family,u32 prio,int type) rx_ft_get_policy() argument 1221 ipsec_counter_rule_tx(struct mlx5_core_dev * mdev,struct mlx5e_ipsec_tx * tx) ipsec_counter_rule_tx() argument 1297 struct mlx5_core_dev *mdev = ipsec->mdev; tx_create() local 1392 ipsec_esw_tx_ft_policy_set(struct mlx5_core_dev * mdev,struct mlx5_flow_table * ft) ipsec_esw_tx_ft_policy_set() argument 1411 tx_get(struct mlx5_core_dev * mdev,struct mlx5e_ipsec * ipsec,struct mlx5e_ipsec_tx * tx) tx_get() argument 1451 tx_ft_get_policy(struct mlx5_core_dev * mdev,struct mlx5e_ipsec * ipsec,u32 prio,int type) tx_ft_get_policy() argument 1480 tx_ft_get(struct mlx5_core_dev * mdev,struct mlx5e_ipsec * ipsec,int type) tx_ft_get() argument 1693 struct mlx5_core_dev *mdev = ipsec->mdev; setup_modify_header() local 1747 setup_pkt_tunnel_reformat(struct mlx5_core_dev * mdev,struct mlx5_accel_esp_xfrm_attrs * attrs,struct mlx5_pkt_reformat_params * reformat_params) setup_pkt_tunnel_reformat() argument 1924 struct mlx5_core_dev *mdev = ipsec->mdev; setup_pkt_reformat() local 1958 struct mlx5_core_dev *mdev = ipsec->mdev; rx_add_rule_sa_selector() local 2035 struct mlx5_core_dev *mdev = mlx5e_ipsec_sa2dev(sa_entry); rx_add_rule() local 2165 struct mlx5_core_dev *mdev = mlx5e_ipsec_sa2dev(sa_entry); tx_add_rule() local 2256 struct mlx5_core_dev *mdev = mlx5e_ipsec_pol2dev(pol_entry); tx_add_policy() local 2340 struct mlx5_core_dev *mdev = mlx5e_ipsec_pol2dev(pol_entry); rx_add_policy() local 2411 ipsec_fs_destroy_single_counter(struct mlx5_core_dev * mdev,struct mlx5e_ipsec_fc * fc) ipsec_fs_destroy_single_counter() argument 2421 struct mlx5_core_dev *mdev = ipsec->mdev; ipsec_fs_destroy_counters() local 2431 ipsec_fs_init_single_counter(struct mlx5_core_dev * mdev) ipsec_fs_init_single_counter() argument 2466 struct mlx5_core_dev *mdev = ipsec->mdev; ipsec_fs_init_counters() local 2516 struct mlx5_core_dev *mdev = priv->mdev; mlx5e_accel_ipsec_fs_read_stats() local 2578 mlx5e_ipsec_block_tc_offload(struct mlx5_core_dev * mdev) mlx5e_ipsec_block_tc_offload() argument 2603 mlx5e_ipsec_block_tc_offload(struct mlx5_core_dev * mdev) mlx5e_ipsec_block_tc_offload() argument 2613 mlx5e_ipsec_unblock_tc_offload(struct mlx5_core_dev * mdev) mlx5e_ipsec_unblock_tc_offload() argument 2647 struct mlx5_core_dev *mdev = mlx5e_ipsec_sa2dev(sa_entry); mlx5e_accel_ipsec_fs_del_rule() local 2711 struct mlx5_core_dev *mdev = mlx5e_ipsec_pol2dev(pol_entry); mlx5e_accel_ipsec_fs_del_pol() local 2767 struct mlx5_core_dev *mdev = ipsec->mdev; mlx5e_accel_ipsec_fs_init() local [all...] |