/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | hwmon.h | 11 int mlx5_hwmon_dev_register(struct mlx5_core_dev *mdev); 12 void mlx5_hwmon_dev_unregister(struct mlx5_core_dev *mdev); 15 static inline int mlx5_hwmon_dev_register(struct mlx5_core_dev *mdev) argument 20 static inline void mlx5_hwmon_dev_unregister(struct mlx5_core_dev *mdev) {} argument
|
H A D | qos.h | 11 #define qos_err(mdev, fmt, ...) \ 12 mlx5_core_err(mdev, "QoS: " fmt, ##__VA_ARGS__) 13 #define qos_warn(mdev, fmt, ...) \ 14 mlx5_core_warn(mdev, "QoS: " fmt, ##__VA_ARGS__) 15 #define qos_dbg(mdev, fmt, ...) \ 16 mlx5_core_dbg_mask(mdev, MLX5_DEBUG_QOS_MASK, "QoS: " fmt, ##__VA_ARGS__) 18 bool mlx5_qos_is_supported(struct mlx5_core_dev *mdev); 19 int mlx5_qos_max_leaf_nodes(struct mlx5_core_dev *mdev); 21 int mlx5_qos_create_leaf_node(struct mlx5_core_dev *mdev, u32 parent_id, 23 int mlx5_qos_create_inner_node(struct mlx5_core_dev *mdev, u3 [all...] |
H A D | en_common.c | 40 void mlx5e_mkey_set_relaxed_ordering(struct mlx5_core_dev *mdev, void *mkc) argument 42 bool ro_write = MLX5_CAP_GEN(mdev, relaxed_ordering_write); 43 bool ro_read = MLX5_CAP_GEN(mdev, relaxed_ordering_read) || 44 (pcie_relaxed_ordering_enabled(mdev->pdev) && 45 MLX5_CAP_GEN(mdev, relaxed_ordering_read_pci_enabled)); 51 int mlx5e_create_mkey(struct mlx5_core_dev *mdev, u32 pdn, u32 *mkey) argument 66 mlx5e_mkey_set_relaxed_ordering(mdev, mkc); 71 err = mlx5_core_create_mkey(mdev, mkey, in, inlen); 77 int mlx5e_create_tis(struct mlx5_core_dev *mdev, void *in, u32 *tisn) argument 81 MLX5_SET(tisc, tisc, transport_domain, mdev 89 mlx5e_destroy_tis(struct mlx5_core_dev *mdev, u32 tisn) argument 94 mlx5e_destroy_tises(struct mlx5_core_dev *mdev, u32 tisn[MLX5_MAX_PORTS][MLX5_MAX_NUM_TC]) argument 103 mlx5_lag_should_assign_affinity(struct mlx5_core_dev *mdev) argument 108 mlx5e_create_tises(struct mlx5_core_dev *mdev, u32 tisn[MLX5_MAX_PORTS][MLX5_MAX_NUM_TC]) argument 143 mlx5e_create_mdev_resources(struct mlx5_core_dev *mdev, bool create_tises) argument 204 mlx5e_destroy_mdev_resources(struct mlx5_core_dev *mdev) argument 222 struct mlx5_core_dev *mdev = priv->mdev; local [all...] |
H A D | qos.c | 8 bool mlx5_qos_is_supported(struct mlx5_core_dev *mdev) argument 10 if (!MLX5_CAP_GEN(mdev, qos)) 12 if (!MLX5_CAP_QOS(mdev, nic_sq_scheduling)) 14 if (!MLX5_CAP_QOS(mdev, nic_bw_share)) 16 if (!MLX5_CAP_QOS(mdev, nic_rate_limit)) 21 int mlx5_qos_max_leaf_nodes(struct mlx5_core_dev *mdev) argument 23 return 1 << MLX5_CAP_QOS(mdev, log_max_qos_nic_queue_group); 26 int mlx5_qos_create_leaf_node(struct mlx5_core_dev *mdev, u32 parent_id, argument 37 return mlx5_create_scheduling_element_cmd(mdev, SCHEDULING_HIERARCHY_NIC, 41 int mlx5_qos_create_inner_node(struct mlx5_core_dev *mdev, u3 argument 60 mlx5_qos_create_root_node(struct mlx5_core_dev *mdev, u32 *id) argument 65 mlx5_qos_update_node(struct mlx5_core_dev *mdev, u32 bw_share, u32 max_avg_bw, u32 id) argument 81 mlx5_qos_destroy_node(struct mlx5_core_dev *mdev, u32 id) argument [all...] |
/linux-master/drivers/infiniband/hw/mthca/ |
H A D | mthca_main.c | 136 static int mthca_tune_pci(struct mthca_dev *mdev) argument 142 if (pci_find_capability(mdev->pdev, PCI_CAP_ID_PCIX)) { 143 if (pcix_set_mmrbc(mdev->pdev, pcix_get_max_mmrbc(mdev->pdev))) { 144 mthca_err(mdev, "Couldn't set PCI-X max read count, " 148 } else if (!(mdev->mthca_flags & MTHCA_FLAG_PCIE)) 149 mthca_info(mdev, "No PCI-X capability, not setting RBC.\n"); 151 if (pci_is_pcie(mdev->pdev)) { 152 if (pcie_set_readrq(mdev->pdev, 4096)) { 153 mthca_err(mdev, "Could 164 mthca_dev_lim(struct mthca_dev *mdev, struct mthca_dev_lim *dev_lim) argument 287 mthca_init_tavor(struct mthca_dev *mdev) argument 345 mthca_load_fw(struct mthca_dev *mdev) argument 380 mthca_init_icm(struct mthca_dev *mdev, struct mthca_dev_lim *dev_lim, struct mthca_init_hca_param *init_hca, u64 icm_size) argument 556 mthca_free_icms(struct mthca_dev *mdev) argument 574 mthca_init_arbel(struct mthca_dev *mdev) argument 647 mthca_close_hca(struct mthca_dev *mdev) argument 663 mthca_init_hca(struct mthca_dev *mdev) argument 851 mthca_enable_msi_x(struct mthca_dev *mdev) argument 901 struct mthca_dev *mdev; local 1068 struct mthca_dev *mdev = pci_get_drvdata(pdev); local 1109 struct mthca_dev *mdev; local [all...] |
H A D | mthca_reset.c | 41 int mthca_reset(struct mthca_dev *mdev) argument 69 if (!(mdev->mthca_flags & MTHCA_FLAG_PCIE)) { 72 while ((bridge = pci_get_device(mdev->pdev->vendor, 73 mdev->pdev->device + 2, 76 bridge->subordinate == mdev->pdev->bus) { 77 mthca_dbg(mdev, "Found bridge: %s\n", 89 mthca_warn(mdev, "No bridge found for %s\n", 90 pci_name(mdev->pdev)); 105 if (pci_read_config_dword(mdev->pdev, i * 4, hca_header + i)) { 107 mthca_err(mdev, "Could [all...] |
/linux-master/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_dev.c | 26 struct komeda_dev *mdev = sf->private; local 31 pm_runtime_get_sync(mdev->dev); 33 if (mdev->funcs->dump_register) 34 mdev->funcs->dump_register(mdev, sf); 36 for (i = 0; i < mdev->n_pipelines; i++) 37 komeda_pipeline_dump_register(mdev->pipelines[i], sf); 39 pm_runtime_put(mdev->dev); 47 static void komeda_debugfs_init(struct komeda_dev *mdev) argument 52 mdev 63 struct komeda_dev *mdev = dev_to_mdev(dev); local 72 struct komeda_dev *mdev = dev_to_mdev(dev); local 95 struct komeda_dev *mdev = dev_to_mdev(dev); local 137 komeda_parse_dt(struct device *dev, struct komeda_dev *mdev) argument 188 struct komeda_dev *mdev; local 281 komeda_dev_destroy(struct komeda_dev *mdev) argument 322 komeda_dev_resume(struct komeda_dev *mdev) argument 335 komeda_dev_suspend(struct komeda_dev *mdev) argument [all...] |
/linux-master/drivers/vfio/mdev/ |
H A D | Makefile | 3 mdev-y := mdev_core.o mdev_sysfs.o mdev_driver.o 5 obj-$(CONFIG_VFIO_MDEV) += mdev.o
|
/linux-master/drivers/sh/maple/ |
H A D | maple.c | 139 struct maple_device *mdev; local 142 mdev = to_maple_dev(dev); 143 mq = mdev->mq; 146 kfree(mdev); 151 * @mdev: maple device 157 int maple_add_packet(struct maple_device *mdev, u32 function, u32 command, argument 172 mdev->mq->command = command; 173 mdev->mq->length = length; 176 mdev->mq->sendbuf = sendbuf; 179 list_add_tail(&mdev 186 maple_allocq(struct maple_device *mdev) argument 213 struct maple_device *mdev; local 237 maple_free_dev(struct maple_device *mdev) argument 316 struct maple_device *mdev; local 325 maple_detach_driver(struct maple_device *mdev) argument 331 maple_attach_driver(struct maple_device *mdev) argument 410 struct maple_device *mdev; local 422 struct maple_device *mdev = to_maple_dev(device); local 449 struct maple_device *mdev; local 492 maple_map_subunits(struct maple_device *mdev, int submask) argument 524 maple_clean_submap(struct maple_device *mdev) argument 535 maple_response_none(struct maple_device *mdev) argument 577 maple_response_devinfo(struct maple_device *mdev, char *recvbuf) argument 603 maple_response_fileerr(struct maple_device *mdev, void *recvbuf) argument 617 struct maple_device *mdev; local 634 struct maple_device *mdev; local 790 struct maple_device *mdev[MAPLE_PORTS]; local [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/ |
H A D | driver.c | 28 struct mlx5_core_dev *mdev; local 36 mdev = devlink_priv(devlink); 37 mdev->device = &adev->dev; 38 mdev->pdev = sf_dev->parent_mdev->pdev; 39 mdev->bar_addr = sf_dev->bar_base_addr; 40 mdev->iseg_base = sf_dev->bar_base_addr; 41 mdev->coredev_type = MLX5_COREDEV_SF; 42 mdev->priv.parent_mdev = sf_dev->parent_mdev; 43 mdev->priv.adev_idx = adev->id; 44 sf_dev->mdev 97 struct mlx5_core_dev *mdev = sf_dev->mdev; local 115 struct mlx5_core_dev *mdev = sf_dev->mdev; local [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_clock.c | 43 struct mlx4_en_dev *mdev = local 45 struct mlx4_dev *dev = mdev->dev; 61 u64 mlx4_en_get_hwtstamp(struct mlx4_en_dev *mdev, u64 timestamp) argument 67 seq = read_seqbegin(&mdev->clock_lock); 68 nsec = timecounter_cyc2time(&mdev->clock, timestamp); 69 } while (read_seqretry(&mdev->clock_lock, seq)); 74 void mlx4_en_fill_hwtstamps(struct mlx4_en_dev *mdev, argument 79 hwts->hwtstamp = mlx4_en_get_hwtstamp(mdev, timestamp); 84 * @mdev: board private structure 88 void mlx4_en_remove_timestamp(struct mlx4_en_dev *mdev) argument 104 mlx4_en_ptp_overflow_check(struct mlx4_en_dev *mdev) argument 132 struct mlx4_en_dev *mdev = container_of(ptp, struct mlx4_en_dev, local 154 struct mlx4_en_dev *mdev = container_of(ptp, struct mlx4_en_dev, local 176 struct mlx4_en_dev *mdev = container_of(ptp, struct mlx4_en_dev, local 201 struct mlx4_en_dev *mdev = container_of(ptp, struct mlx4_en_dev, local 261 mlx4_en_init_timestamp(struct mlx4_en_dev *mdev) argument [all...] |
H A D | en_main.c | 96 level, DRV_NAME, dev_name(&priv->mdev->pdev->dev), 117 if (mlx4_is_mfunc(priv->mdev->dev) && 124 if (mlx4_is_mfunc(priv->mdev->dev) || priv->validate_loopback) 127 mutex_lock(&priv->mdev->state_lock); 128 if ((priv->mdev->dev->caps.flags2 & 145 mlx4_warn(priv->mdev, "failed to change mcast loopback\n"); 147 mutex_unlock(&priv->mdev->state_lock); 150 static void mlx4_en_get_profile(struct mlx4_en_dev *mdev) argument 152 struct mlx4_en_profile *params = &mdev->profile; 160 if (params->udp_rss && !(mdev 189 struct mlx4_en_dev *mdev = local 241 struct mlx4_en_dev *mdev = auxiliary_get_drvdata(adev); local 269 struct mlx4_en_dev *mdev; local [all...] |
/linux-master/include/net/mana/ |
H A D | mana_auxiliary.h | 9 struct gdma_dev *mdev; member in struct:mana_adev
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
H A D | core.h | 46 struct mlx5_core_dev *mdev; member in struct:mlx5_fpga_device 63 mlx5_core_dbg((__adev)->mdev, "FPGA: %s:%d:(pid %d): " format, \ 67 mlx5_core_err((__adev)->mdev, "FPGA: %s:%d:(pid %d): " format, \ 71 mlx5_core_warn((__adev)->mdev, "FPGA: %s:%d:(pid %d): " format, \ 75 mlx5_core_err_rl((__adev)->mdev, "FPGA: %s:%d: " \ 79 mlx5_core_info((__adev)->mdev, "FPGA: " format, ##__VA_ARGS__) 82 mlx5_core_info((__adev)->mdev, "FPGA: " format, ##__VA_ARGS__) 84 int mlx5_fpga_init(struct mlx5_core_dev *mdev); 85 void mlx5_fpga_cleanup(struct mlx5_core_dev *mdev); 86 int mlx5_fpga_device_start(struct mlx5_core_dev *mdev); 91 mlx5_fpga_init(struct mlx5_core_dev *mdev) argument 96 mlx5_fpga_cleanup(struct mlx5_core_dev *mdev) argument 100 mlx5_fpga_device_start(struct mlx5_core_dev *mdev) argument 105 mlx5_fpga_device_stop(struct mlx5_core_dev *mdev) argument [all...] |
/linux-master/sound/core/seq/oss/ |
H A D | seq_oss_midi.c | 58 static int send_midi_event(struct seq_oss_devinfo *dp, struct snd_seq_event *ev, struct seq_oss_midi *mdev); 92 struct seq_oss_midi *mdev; local 96 mdev = midi_devs[dev]; 97 if (mdev) 98 snd_use_lock_use(&mdev->use_lock); 100 return mdev; 110 struct seq_oss_midi *mdev; local 115 mdev = midi_devs[i]; 116 if (mdev && mdev 137 struct seq_oss_midi *mdev; local 215 struct seq_oss_midi *mdev; local 247 struct seq_oss_midi *mdev; local 320 struct seq_oss_midi *mdev; local 393 struct seq_oss_midi *mdev; local 432 struct seq_oss_midi *mdev; local 456 struct seq_oss_midi *mdev; local 505 struct seq_oss_midi *mdev; local 523 struct seq_oss_midi *mdev; local 610 send_midi_event(struct seq_oss_devinfo *dp, struct snd_seq_event *ev, struct seq_oss_midi *mdev) argument 639 struct seq_oss_midi *mdev; local 659 struct seq_oss_midi *mdev; local 695 struct seq_oss_midi *mdev; local [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | ipsec_fs_roce.h | 14 u32 family, struct mlx5_core_dev *mdev); 15 int mlx5_ipsec_fs_roce_rx_create(struct mlx5_core_dev *mdev, 21 struct mlx5_core_dev *mdev); 22 int mlx5_ipsec_fs_roce_tx_create(struct mlx5_core_dev *mdev, 27 struct mlx5_ipsec_fs *mlx5_ipsec_fs_roce_init(struct mlx5_core_dev *mdev, 29 bool mlx5_ipsec_fs_is_mpv_roce_supported(struct mlx5_core_dev *mdev);
|
H A D | clock.h | 36 static inline bool mlx5_is_real_time_rq(struct mlx5_core_dev *mdev) argument 38 u8 rq_ts_format_cap = MLX5_CAP_GEN(mdev, rq_ts_format); 45 static inline bool mlx5_is_real_time_sq(struct mlx5_core_dev *mdev) argument 47 u8 sq_ts_format_cap = MLX5_CAP_GEN(mdev, sq_ts_format); 57 void mlx5_init_clock(struct mlx5_core_dev *mdev); 58 void mlx5_cleanup_clock(struct mlx5_core_dev *mdev); 60 static inline int mlx5_clock_get_ptp_index(struct mlx5_core_dev *mdev) argument 62 return mdev->clock.ptp ? ptp_clock_index(mdev->clock.ptp) : -1; 90 static inline void mlx5_init_clock(struct mlx5_core_dev *mdev) {} argument 91 mlx5_cleanup_clock(struct mlx5_core_dev *mdev) argument 92 mlx5_clock_get_ptp_index(struct mlx5_core_dev *mdev) argument 110 mlx5_rq_ts_translator(struct mlx5_core_dev *mdev) argument 116 mlx5_sq_ts_translator(struct mlx5_core_dev *mdev) argument [all...] |
/linux-master/drivers/most/ |
H A D | most_usb.c | 77 struct most_dev *mdev; member in struct:clear_hold_work 238 struct most_dev *mdev = to_mdev(iface); local 243 dev_warn(&mdev->usb_device->dev, "Channel ID out of range.\n"); 247 lock = mdev->channel_lock + channel; 249 mdev->is_channel_healthy[channel] = false; 252 cancel_work_sync(&mdev->clear_work[channel].ws); 254 mutex_lock(&mdev->io_mutex); 255 usb_kill_anchored_urbs(&mdev->busy_urbs[channel]); 256 if (mdev->padding_active[channel]) 257 mdev 276 hdm_add_padding(struct most_dev *mdev, int channel, struct mbo *mbo) argument 309 hdm_remove_padding(struct most_dev *mdev, int channel, struct mbo *mbo) argument 343 struct most_dev *mdev = to_mdev(mbo->ifp); local 395 struct most_dev *mdev = to_mdev(mbo->ifp); local 460 struct most_dev *mdev = to_mdev(iface); local 537 struct most_dev *mdev = to_mdev(mbo->ifp); local 545 struct most_dev *mdev = to_mdev(mbo->ifp); local 571 struct most_dev *mdev = to_mdev(iface); local 651 struct most_dev *mdev = to_mdev(iface); local 670 struct most_dev *mdev = from_timer(mdev, t, link_stat_timer); local 685 struct most_dev *mdev = to_mdev_from_work(wq_obj); local 731 struct most_dev *mdev = clear_work->mdev; local 930 struct most_dev *mdev = to_mdev_from_dev(dev); local 952 struct most_dev *mdev; local 1111 struct most_dev *mdev = usb_get_intfdata(interface); local 1135 struct most_dev *mdev = usb_get_intfdata(interface); local 1149 struct most_dev *mdev = usb_get_intfdata(interface); local [all...] |
/linux-master/net/mctp/ |
H A D | device.c | 33 struct mctp_dev *mdev = rcu_dereference(dev->mctp_ptr); local 35 /* RCU guarantees that any mdev is still live. 38 if (mdev) 39 if (!refcount_inc_not_zero(&mdev->refs)) 41 return mdev; 62 struct mctp_dev *mdev, mctp_eid_t eid, 78 hdr->ifa_index = mdev->dev->ifindex; 95 static int mctp_dump_dev_addrinfo(struct mctp_dev *mdev, struct sk_buff *skb, argument 104 for (; mcb->a_idx < mdev->num_addrs; mcb->a_idx++) { 105 rc = mctp_fill_addrinfo(skb, mdev, mde 61 mctp_fill_addrinfo(struct sk_buff *skb, struct mctp_dev *mdev, mctp_eid_t eid, int msg_type, u32 portid, u32 seq, int flag) argument 121 struct mctp_dev *mdev; local 159 mctp_addr_notify(struct mctp_dev *mdev, mctp_eid_t eid, int msg_type, struct sk_buff *req_skb, struct nlmsghdr *req_nlh) argument 197 struct mctp_dev *mdev; local 260 struct mctp_dev *mdev; local 308 mctp_dev_hold(struct mctp_dev *mdev) argument 313 mctp_dev_put(struct mctp_dev *mdev) argument 342 struct mctp_dev *mdev; local 367 struct mctp_dev *mdev; local 380 struct mctp_dev *mdev; local 400 struct mctp_dev *mdev; local 429 struct mctp_dev *mdev; local 445 struct mctp_dev *mdev; local 485 struct mctp_dev *mdev; local [all...] |
/linux-master/drivers/staging/most/video/ |
H A D | video.c | 51 struct most_video_dev *mdev; member in struct:comp_fh 58 static inline bool data_ready(struct most_video_dev *mdev) argument 60 return !list_empty(&mdev->pending_mbos); 63 static inline struct mbo *get_top_mbo(struct most_video_dev *mdev) argument 65 return list_first_entry(&mdev->pending_mbos, struct mbo, list); 72 struct most_video_dev *mdev = video_drvdata(filp); local 86 if (!atomic_inc_and_test(&mdev->access_ref)) { 87 v4l2_err(&mdev->v4l2_dev, "too many clients\n"); 92 fh->mdev = mdev; 119 struct most_video_dev *mdev = fh->mdev; local 155 struct most_video_dev *mdev = fh->mdev; local 204 struct most_video_dev *mdev = fh->mdev; local 228 comp_set_format(struct most_video_dev *mdev, unsigned int cmd, struct v4l2_format *format) argument 246 struct most_video_dev *mdev = fh->mdev; local 280 struct most_video_dev *mdev = fh->mdev; local 289 struct most_video_dev *mdev = fh->mdev; local 304 struct most_video_dev *mdev = fh->mdev; local 321 struct most_video_dev *mdev = fh->mdev; local 329 struct most_video_dev *mdev = fh->mdev; local 370 struct most_video_dev *mdev; local 387 struct most_video_dev *mdev = local 405 comp_register_videodev(struct most_video_dev *mdev) argument 435 comp_unregister_videodev(struct most_video_dev *mdev) argument 442 struct most_video_dev *mdev = local 454 struct most_video_dev *mdev = get_comp_dev(iface, channel_idx); local 511 struct most_video_dev *mdev = get_comp_dev(iface, channel_idx); local 553 struct most_video_dev *mdev, *tmp; local [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | sample.h | 11 mlx5e_tc_act_sample_is_multi_table(struct mlx5_core_dev *mdev,
|
/linux-master/include/linux/ |
H A D | virtio_pci_modern.h | 98 u64 vp_modern_get_features(struct virtio_pci_modern_device *mdev); 99 u64 vp_modern_get_driver_features(struct virtio_pci_modern_device *mdev); 100 void vp_modern_set_features(struct virtio_pci_modern_device *mdev, 102 u32 vp_modern_generation(struct virtio_pci_modern_device *mdev); 103 u8 vp_modern_get_status(struct virtio_pci_modern_device *mdev); 104 void vp_modern_set_status(struct virtio_pci_modern_device *mdev, 106 u16 vp_modern_queue_vector(struct virtio_pci_modern_device *mdev, 108 u16 vp_modern_config_vector(struct virtio_pci_modern_device *mdev, 110 void vp_modern_queue_address(struct virtio_pci_modern_device *mdev, 113 void vp_modern_set_queue_enable(struct virtio_pci_modern_device *mdev, [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/mt76x2/ |
H A D | pci.c | 37 struct mt76_dev *mdev; local 54 mdev = mt76_alloc_device(&pdev->dev, sizeof(*dev), &mt76x2_ops, 56 if (!mdev) 59 dev = container_of(mdev, struct mt76x02_dev, mt76); 60 mt76_mmio_init(mdev, pcim_iomap_table(pdev)[0]); 63 mdev->rev = mt76_rr(dev, MT_ASIC_VERSION); 64 dev_info(mdev->dev, "ASIC revision: %08x\n", mdev->rev); 68 ret = devm_request_irq(mdev->dev, pdev->irq, mt76x02_irq_handler, 101 struct mt76_dev *mdev local 112 struct mt76_dev *mdev = pci_get_drvdata(pdev); local 141 struct mt76_dev *mdev = pci_get_drvdata(pdev); local [all...] |
/linux-master/include/media/ |
H A D | media-device.h | 69 struct media_request *(*req_alloc)(struct media_device *mdev); 197 * @mdev: pointer to struct &media_device 217 void media_device_init(struct media_device *mdev); 222 * @mdev: pointer to struct &media_device 227 void media_device_cleanup(struct media_device *mdev); 232 * @mdev: pointer to struct &media_device 270 int __must_check __media_device_register(struct media_device *mdev, 277 * @mdev: pointer to struct &media_device 282 #define media_device_register(mdev) __media_device_register(mdev, THIS_MODUL 432 media_device_register(struct media_device *mdev) argument 436 media_device_unregister(struct media_device *mdev) argument 439 media_device_register_entity(struct media_device *mdev, struct media_entity *entity) argument 447 media_device_register_entity_notify( struct media_device *mdev, struct media_entity_notify *nptr) argument 452 media_device_unregister_entity_notify( struct media_device *mdev, struct media_entity_notify *nptr) argument 458 media_device_pci_init(struct media_device *mdev, struct pci_dev *pci_dev, char *name) argument 464 __media_device_usb_init(struct media_device *mdev, struct usb_device *udev, char *board_name, char *driver_name) argument [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A D | soc.c | 14 struct mt76_dev *mdev; local 26 mdev = mt76_alloc_device(&pdev->dev, sizeof(*dev), &mt7603_ops, 28 if (!mdev) 31 dev = container_of(mdev, struct mt7603_dev, mt76); 32 mt76_mmio_init(mdev, mem_base); 34 mdev->rev = (mt76_rr(dev, MT_HW_CHIPID) << 16) | 36 dev_info(mdev->dev, "ASIC revision: %04x\n", mdev->rev); 40 ret = devm_request_irq(mdev->dev, irq, mt7603_irq_handler, 57 struct mt76_dev *mdev local [all...] |