/include/media/ |
D | media-device.h | 68 struct media_request *(*req_alloc)(struct media_device *mdev); 203 struct media_entity_enum *ent_enum, struct media_device *mdev) in media_entity_enum_init() argument 206 mdev->entity_internal_idx_max + 1); in media_entity_enum_init() 223 void media_device_init(struct media_device *mdev); 233 void media_device_cleanup(struct media_device *mdev); 279 int __must_check __media_device_register(struct media_device *mdev, 291 #define media_device_register(mdev) __media_device_register(mdev, THIS_MODULE) argument 301 void media_device_unregister(struct media_device *mdev); 339 int __must_check media_device_register_entity(struct media_device *mdev, 376 int __must_check media_device_register_entity_notify(struct media_device *mdev, [all …]
|
D | media-dev-allocator.h | 52 void media_device_delete(struct media_device *mdev, const char *module_name, 60 struct media_device *mdev, const char *module_name, in media_device_delete() argument
|
D | dvbdev.h | 119 struct media_device *mdev; member 305 struct media_device *mdev) in dvb_register_media_controller() argument 307 adap->mdev = mdev; in dvb_register_media_controller() 318 return adap->mdev; in dvb_get_media_controller()
|
D | v4l2-mc.h | 40 int v4l2_mc_create_media_graph(struct media_device *mdev); 189 static inline int v4l2_mc_create_media_graph(struct media_device *mdev) in v4l2_mc_create_media_graph() argument
|
D | media-request.h | 63 struct media_device *mdev; member 208 media_request_get_by_fd(struct media_device *mdev, int request_fd); 218 int media_request_alloc(struct media_device *mdev, 232 media_request_get_by_fd(struct media_device *mdev, int request_fd) in media_request_get_by_fd() argument
|
D | v4l2-device.h | 49 struct media_device *mdev; member 251 return v4l2_dev->mdev && v4l2_dev->mdev->ops && in v4l2_device_supports_requests() 252 v4l2_dev->mdev->ops->req_queue; in v4l2_device_supports_requests()
|
D | media-entity.h | 58 struct media_device *mdev; member 613 void media_gobj_create(struct media_device *mdev, 759 int media_create_pad_links(const struct media_device *mdev, 895 struct media_graph *graph, struct media_device *mdev); 1007 __must_check media_devnode_create(struct media_device *mdev,
|
D | videobuf2-dvb.h | 57 struct media_device *mdev,
|
D | media-devnode.h | 114 int __must_check media_devnode_register(struct media_device *mdev,
|
D | videobuf2-v4l2.h | 128 int vb2_prepare_buf(struct vb2_queue *q, struct media_device *mdev, 154 int vb2_qbuf(struct vb2_queue *q, struct media_device *mdev,
|
/include/linux/ |
D | mdev.h | 38 static inline void mdev_set_iommu_device(struct mdev_device *mdev, in mdev_set_iommu_device() argument 41 mdev->iommu_device = iommu_device; in mdev_set_iommu_device() 44 static inline struct device *mdev_get_iommu_device(struct mdev_device *mdev) in mdev_get_iommu_device() argument 46 return mdev->iommu_device; in mdev_get_iommu_device() 49 unsigned int mdev_get_type_group_id(struct mdev_device *mdev); 107 int (*create)(struct mdev_device *mdev); 108 int (*remove)(struct mdev_device *mdev); 109 int (*open_device)(struct mdev_device *mdev); 110 void (*close_device)(struct mdev_device *mdev); 111 ssize_t (*read)(struct mdev_device *mdev, char __user *buf, [all …]
|
D | virtio_pci_modern.h | 81 u64 vp_modern_get_features(struct virtio_pci_modern_device *mdev); 82 u64 vp_modern_get_driver_features(struct virtio_pci_modern_device *mdev); 83 void vp_modern_set_features(struct virtio_pci_modern_device *mdev, 85 u32 vp_modern_generation(struct virtio_pci_modern_device *mdev); 86 u8 vp_modern_get_status(struct virtio_pci_modern_device *mdev); 87 void vp_modern_set_status(struct virtio_pci_modern_device *mdev, 89 u16 vp_modern_queue_vector(struct virtio_pci_modern_device *mdev, 91 u16 vp_modern_config_vector(struct virtio_pci_modern_device *mdev, 93 void vp_modern_queue_address(struct virtio_pci_modern_device *mdev, 96 void vp_modern_set_queue_enable(struct virtio_pci_modern_device *mdev, [all …]
|
D | most.h | 325 int most_add_link(char *mdev, char *mdev_ch, char *comp_name, char *link_name, 327 int most_remove_link(char *mdev, char *mdev_ch, char *comp_name); 328 int most_set_cfg_buffer_size(char *mdev, char *mdev_ch, u16 val); 329 int most_set_cfg_subbuffer_size(char *mdev, char *mdev_ch, u16 val); 330 int most_set_cfg_dbr_size(char *mdev, char *mdev_ch, u16 val); 331 int most_set_cfg_num_buffers(char *mdev, char *mdev_ch, u16 val); 332 int most_set_cfg_datatype(char *mdev, char *mdev_ch, char *buf); 333 int most_set_cfg_direction(char *mdev, char *mdev_ch, char *buf); 334 int most_set_cfg_packets_xact(char *mdev, char *mdev_ch, u16 val);
|
D | maple.h | 72 void (*fileerr_handler)(struct maple_device *mdev, void *recvbuf); 73 int (*can_unload)(struct maple_device *mdev); 96 int maple_add_packet(struct maple_device *mdev, u32 function, 98 void maple_clear_dev(struct maple_device *mdev);
|
D | mcb.h | 95 int (*probe)(struct mcb_device *mdev, const struct mcb_device_id *id); 96 void (*remove)(struct mcb_device *mdev); 97 void (*shutdown)(struct mcb_device *mdev);
|
D | vdpa.h | 81 struct vdpa_mgmt_dev *mdev; member 415 int (*dev_add)(struct vdpa_mgmt_dev *mdev, const char *name); 416 void (*dev_del)(struct vdpa_mgmt_dev *mdev, struct vdpa_device *dev); 426 int vdpa_mgmtdev_register(struct vdpa_mgmt_dev *mdev); 427 void vdpa_mgmtdev_unregister(struct vdpa_mgmt_dev *mdev);
|
D | lp.h | 42 unsigned int mdev; member
|
/include/linux/mlx5/ |
D | vport.h | 39 #define MLX5_VPORT_MANAGER(mdev) \ argument 40 (MLX5_CAP_GEN(mdev, vport_group_manager) && \ 41 (MLX5_CAP_GEN(mdev, port_type) == MLX5_CAP_PORT_TYPE_ETH) && \ 42 mlx5_core_is_pf(mdev)) 58 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport); 59 int mlx5_modify_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod, 61 int mlx5_query_nic_vport_mac_address(struct mlx5_core_dev *mdev, 63 int mlx5_query_mac_address(struct mlx5_core_dev *mdev, u8 *addr); 64 int mlx5_query_nic_vport_min_inline(struct mlx5_core_dev *mdev, 66 void mlx5_query_min_inline(struct mlx5_core_dev *mdev, u8 *min_inline); [all …]
|
D | device.h | 1223 #define MLX5_CAP_GEN(mdev, cap) \ argument 1224 MLX5_GET(cmd_hca_cap, mdev->caps.hca[MLX5_CAP_GENERAL]->cur, cap) 1226 #define MLX5_CAP_GEN_64(mdev, cap) \ argument 1227 MLX5_GET64(cmd_hca_cap, mdev->caps.hca[MLX5_CAP_GENERAL]->cur, cap) 1229 #define MLX5_CAP_GEN_MAX(mdev, cap) \ argument 1230 MLX5_GET(cmd_hca_cap, mdev->caps.hca[MLX5_CAP_GENERAL]->max, cap) 1232 #define MLX5_CAP_GEN_2(mdev, cap) \ argument 1233 MLX5_GET(cmd_hca_cap_2, mdev->caps.hca[MLX5_CAP_GENERAL_2]->cur, cap) 1235 #define MLX5_CAP_GEN_2_64(mdev, cap) \ argument 1236 MLX5_GET64(cmd_hca_cap_2, mdev->caps.hca[MLX5_CAP_GENERAL_2]->cur, cap) [all …]
|
D | port.h | 186 int mlx5_max_tc(struct mlx5_core_dev *mdev); 188 int mlx5_set_port_prio_tc(struct mlx5_core_dev *mdev, u8 *prio_tc); 189 int mlx5_query_port_prio_tc(struct mlx5_core_dev *mdev, 191 int mlx5_set_port_tc_group(struct mlx5_core_dev *mdev, u8 *tc_group); 192 int mlx5_query_port_tc_group(struct mlx5_core_dev *mdev, 194 int mlx5_set_port_tc_bw_alloc(struct mlx5_core_dev *mdev, u8 *tc_bw); 195 int mlx5_query_port_tc_bw_alloc(struct mlx5_core_dev *mdev, 197 int mlx5_modify_port_ets_rate_limit(struct mlx5_core_dev *mdev, 200 int mlx5_query_port_ets_rate_limit(struct mlx5_core_dev *mdev, 203 int mlx5_set_port_wol(struct mlx5_core_dev *mdev, u8 wol_mode); [all …]
|
D | fs_helpers.h | 81 static inline bool _mlx5_fs_is_outer_ipv_flow(struct mlx5_core_dev *mdev, in _mlx5_fs_is_outer_ipv_flow() argument 85 int match_ipv = MLX5_CAP_FLOWTABLE_NIC_RX(mdev, in _mlx5_fs_is_outer_ipv_flow() 119 mlx5_fs_is_outer_ipv4_flow(struct mlx5_core_dev *mdev, const u32 *match_c, in mlx5_fs_is_outer_ipv4_flow() argument 122 return _mlx5_fs_is_outer_ipv_flow(mdev, match_c, match_v, in mlx5_fs_is_outer_ipv4_flow() 127 mlx5_fs_is_outer_ipv6_flow(struct mlx5_core_dev *mdev, const u32 *match_c, in mlx5_fs_is_outer_ipv6_flow() argument 130 return _mlx5_fs_is_outer_ipv_flow(mdev, match_c, match_v, in mlx5_fs_is_outer_ipv6_flow()
|
D | accel.h | 110 struct mlx5_core_dev *mdev; member 131 u32 mlx5_accel_ipsec_device_caps(struct mlx5_core_dev *mdev); 134 mlx5_accel_esp_create_xfrm(struct mlx5_core_dev *mdev, 143 static inline u32 mlx5_accel_ipsec_device_caps(struct mlx5_core_dev *mdev) { return 0; } in mlx5_accel_ipsec_device_caps() argument 146 mlx5_accel_esp_create_xfrm(struct mlx5_core_dev *mdev, in mlx5_accel_esp_create_xfrm() argument
|
D | eswitch.h | 12 #define MLX5_ESWITCH_MANAGER(mdev) MLX5_CAP_GEN(mdev, eswitch_manager) argument
|
D | driver.h | 405 struct mlx5_core_dev *mdev; member 553 struct mlx5_core_dev *mdev; member 1089 int mlx5_alloc_bfreg(struct mlx5_core_dev *mdev, struct mlx5_sq_bfreg *bfreg, 1091 void mlx5_free_bfreg(struct mlx5_core_dev *mdev, struct mlx5_sq_bfreg *bfreg); 1136 int mlx5_core_query_vendor_id(struct mlx5_core_dev *mdev, u32 *vendor_id); 1153 struct mlx5_uars_page *mlx5_get_uars_page(struct mlx5_core_dev *mdev); 1154 void mlx5_put_uars_page(struct mlx5_core_dev *mdev, struct mlx5_uars_page *up); 1162 struct net_device *mlx5_rdma_netdev_alloc(struct mlx5_core_dev *mdev, 1167 int mlx5_rdma_rn_get_params(struct mlx5_core_dev *mdev,
|
/include/net/ |
D | mctp.h | 197 int mctp_route_add_local(struct mctp_dev *mdev, mctp_eid_t addr); 198 int mctp_route_remove_local(struct mctp_dev *mdev, mctp_eid_t addr); 199 void mctp_route_remove_dev(struct mctp_dev *mdev); 224 void mctp_neigh_remove_dev(struct mctp_dev *mdev);
|