/drivers/infiniband/hw/mthca/ |
D | mthca_main.c | 137 static int mthca_tune_pci(struct mthca_dev *mdev) in mthca_tune_pci() argument 143 if (pci_find_capability(mdev->pdev, PCI_CAP_ID_PCIX)) { in mthca_tune_pci() 144 if (pcix_set_mmrbc(mdev->pdev, pcix_get_max_mmrbc(mdev->pdev))) { in mthca_tune_pci() 145 mthca_err(mdev, "Couldn't set PCI-X max read count, " in mthca_tune_pci() 149 } else if (!(mdev->mthca_flags & MTHCA_FLAG_PCIE)) in mthca_tune_pci() 150 mthca_info(mdev, "No PCI-X capability, not setting RBC.\n"); in mthca_tune_pci() 152 if (pci_is_pcie(mdev->pdev)) { in mthca_tune_pci() 153 if (pcie_set_readrq(mdev->pdev, 4096)) { in mthca_tune_pci() 154 mthca_err(mdev, "Couldn't write PCI Express read request, " in mthca_tune_pci() 158 } else if (mdev->mthca_flags & MTHCA_FLAG_PCIE) in mthca_tune_pci() [all …]
|
D | mthca_reset.c | 41 int mthca_reset(struct mthca_dev *mdev) in mthca_reset() argument 69 if (!(mdev->mthca_flags & MTHCA_FLAG_PCIE)) { in mthca_reset() 72 while ((bridge = pci_get_device(mdev->pdev->vendor, in mthca_reset() 73 mdev->pdev->device + 2, in mthca_reset() 76 bridge->subordinate == mdev->pdev->bus) { in mthca_reset() 77 mthca_dbg(mdev, "Found bridge: %s\n", in mthca_reset() 89 mthca_warn(mdev, "No bridge found for %s\n", in mthca_reset() 90 pci_name(mdev->pdev)); in mthca_reset() 99 mthca_err(mdev, "Couldn't allocate memory to save HCA " in mthca_reset() 107 if (pci_read_config_dword(mdev->pdev, i * 4, hca_header + i)) { in mthca_reset() [all …]
|
/drivers/media/platform/s5p-tv/ |
D | mixer_drv.c | 45 void mxr_get_mbus_fmt(struct mxr_device *mdev, in mxr_get_mbus_fmt() argument 54 mutex_lock(&mdev->mutex); in mxr_get_mbus_fmt() 55 sd = to_outsd(mdev); in mxr_get_mbus_fmt() 59 mutex_unlock(&mdev->mutex); in mxr_get_mbus_fmt() 62 void mxr_streamer_get(struct mxr_device *mdev) in mxr_streamer_get() argument 64 mutex_lock(&mdev->mutex); in mxr_streamer_get() 65 ++mdev->n_streamer; in mxr_streamer_get() 66 mxr_dbg(mdev, "%s(%d)\n", __func__, mdev->n_streamer); in mxr_streamer_get() 67 if (mdev->n_streamer == 1) { in mxr_streamer_get() 68 struct v4l2_subdev *sd = to_outsd(mdev); in mxr_streamer_get() [all …]
|
D | mixer_reg.c | 22 static inline u32 vp_read(struct mxr_device *mdev, u32 reg_id) in vp_read() argument 24 return readl(mdev->res.vp_regs + reg_id); in vp_read() 27 static inline void vp_write(struct mxr_device *mdev, u32 reg_id, u32 val) in vp_write() argument 29 writel(val, mdev->res.vp_regs + reg_id); in vp_write() 32 static inline void vp_write_mask(struct mxr_device *mdev, u32 reg_id, in vp_write_mask() argument 35 u32 old = vp_read(mdev, reg_id); in vp_write_mask() 38 writel(val, mdev->res.vp_regs + reg_id); in vp_write_mask() 41 static inline u32 mxr_read(struct mxr_device *mdev, u32 reg_id) in mxr_read() argument 43 return readl(mdev->res.mxr_regs + reg_id); in mxr_read() 46 static inline void mxr_write(struct mxr_device *mdev, u32 reg_id, u32 val) in mxr_write() argument [all …]
|
D | mixer_video.c | 36 struct mxr_device *mdev, char *module_name) in find_and_register_subdev() argument 45 mxr_warn(mdev, "module %s is missing\n", module_name); in find_and_register_subdev() 52 mxr_warn(mdev, "module %s provides no subdev!\n", module_name); in find_and_register_subdev() 56 ret = v4l2_device_register_subdev(&mdev->v4l2_dev, sd); in find_and_register_subdev() 58 mxr_warn(mdev, "failed to register subdev %s\n", sd->name); in find_and_register_subdev() 66 int mxr_acquire_video(struct mxr_device *mdev, in mxr_acquire_video() argument 69 struct device *dev = mdev->dev; in mxr_acquire_video() 70 struct v4l2_device *v4l2_dev = &mdev->v4l2_dev; in mxr_acquire_video() 75 strlcpy(v4l2_dev->name, dev_name(mdev->dev), sizeof(v4l2_dev->name)); in mxr_acquire_video() 79 mxr_err(mdev, "could not register v4l2 device.\n"); in mxr_acquire_video() [all …]
|
D | mixer.h | 155 struct mxr_device *mdev; member 278 static inline struct mxr_output *to_output(struct mxr_device *mdev) in to_output() argument 280 return mdev->output[mdev->current_output]; in to_output() 284 static inline struct v4l2_subdev *to_outsd(struct mxr_device *mdev) in to_outsd() argument 286 struct mxr_output *out = to_output(mdev); in to_outsd() 294 int mxr_acquire_video(struct mxr_device *mdev, 298 void mxr_release_video(struct mxr_device *mdev); 300 struct mxr_layer *mxr_graph_layer_create(struct mxr_device *mdev, int idx); 301 struct mxr_layer *mxr_vp_layer_create(struct mxr_device *mdev, int idx); 302 struct mxr_layer *mxr_base_layer_create(struct mxr_device *mdev, [all …]
|
/drivers/sh/maple/ |
D | maple.c | 139 struct maple_device *mdev; in maple_release_device() local 142 mdev = to_maple_dev(dev); in maple_release_device() 143 mq = mdev->mq; in maple_release_device() 146 kfree(mdev); in maple_release_device() 157 int maple_add_packet(struct maple_device *mdev, u32 function, u32 command, in maple_add_packet() argument 172 mdev->mq->command = command; in maple_add_packet() 173 mdev->mq->length = length; in maple_add_packet() 176 mdev->mq->sendbuf = sendbuf; in maple_add_packet() 179 list_add_tail(&mdev->mq->list, &maple_waitq); in maple_add_packet() 186 static struct mapleq *maple_allocq(struct maple_device *mdev) in maple_allocq() argument [all …]
|
/drivers/misc/mic/host/ |
D | mic_main.c | 73 static int mic_dp_init(struct mic_device *mdev) in mic_dp_init() argument 75 mdev->dp = kzalloc(MIC_DP_SIZE, GFP_KERNEL); in mic_dp_init() 76 if (!mdev->dp) in mic_dp_init() 79 mdev->dp_dma_addr = mic_map_single(mdev, in mic_dp_init() 80 mdev->dp, MIC_DP_SIZE); in mic_dp_init() 81 if (mic_map_error(mdev->dp_dma_addr)) { in mic_dp_init() 82 kfree(mdev->dp); in mic_dp_init() 83 dev_err(&mdev->pdev->dev, "%s %d err %d\n", in mic_dp_init() 87 mdev->ops->write_spad(mdev, MIC_DPLO_SPAD, mdev->dp_dma_addr); in mic_dp_init() 88 mdev->ops->write_spad(mdev, MIC_DPHI_SPAD, mdev->dp_dma_addr >> 32); in mic_dp_init() [all …]
|
D | mic_intr.c | 29 struct mic_device *mdev = dev; in mic_thread_fn() local 30 struct mic_intr_info *intr_info = mdev->intr_info; in mic_thread_fn() 31 struct mic_irq_info *irq_info = &mdev->irq_info; in mic_thread_fn() 33 struct pci_dev *pdev = mdev->pdev; in mic_thread_fn() 55 struct mic_device *mdev = dev; in mic_interrupt() local 56 struct mic_intr_info *intr_info = mdev->intr_info; in mic_interrupt() 57 struct mic_irq_info *irq_info = &mdev->irq_info; in mic_interrupt() 59 struct pci_dev *pdev = mdev->pdev; in mic_interrupt() 63 mask = mdev->ops->ack_interrupt(mdev); in mic_interrupt() 83 static u16 mic_map_src_to_offset(struct mic_device *mdev, in mic_map_src_to_offset() argument [all …]
|
D | mic_boot.c | 43 struct mic_device *mdev = scdev_to_mdev(scdev); in __mic_dma_alloc() local 48 tmp = mic_map_single(mdev, va, size); in __mic_dma_alloc() 63 struct mic_device *mdev = scdev_to_mdev(scdev); in __mic_dma_free() local 65 mic_unmap_single(mdev, dma_handle, size); in __mic_dma_free() 76 struct mic_device *mdev = scdev_to_mdev(scdev); in __mic_dma_map_page() local 78 return mic_map_single(mdev, va, size); in __mic_dma_map_page() 87 struct mic_device *mdev = scdev_to_mdev(scdev); in __mic_dma_unmap_page() local 89 mic_unmap_single(mdev, dma_addr, size); in __mic_dma_unmap_page() 97 struct mic_device *mdev = scdev_to_mdev(scdev); in __mic_dma_map_sg() local 102 ret = dma_map_sg(&mdev->pdev->dev, sg, nents, dir); in __mic_dma_map_sg() [all …]
|
D | mic_x100.c | 44 mic_x100_write_spad(struct mic_device *mdev, unsigned int idx, u32 val) in mic_x100_write_spad() argument 46 dev_dbg(&mdev->pdev->dev, "Writing 0x%x to scratch pad index %d\n", in mic_x100_write_spad() 48 mic_mmio_write(&mdev->mmio, val, in mic_x100_write_spad() 63 mic_x100_read_spad(struct mic_device *mdev, unsigned int idx) in mic_x100_read_spad() argument 65 u32 val = mic_mmio_read(&mdev->mmio, in mic_x100_read_spad() 69 dev_dbg(&mdev->pdev->dev, in mic_x100_read_spad() 78 static void mic_x100_enable_interrupts(struct mic_device *mdev) in mic_x100_enable_interrupts() argument 81 struct mic_mw *mw = &mdev->mmio; in mic_x100_enable_interrupts() 93 if (mdev->irq_info.num_vectors > 1) { in mic_x100_enable_interrupts() 105 static void mic_x100_disable_interrupts(struct mic_device *mdev) in mic_x100_disable_interrupts() argument [all …]
|
D | mic_smpt.c | 27 static inline u64 mic_system_page_mask(struct mic_device *mdev) in mic_system_page_mask() argument 29 return (1ULL << mdev->smpt->info.page_shift) - 1ULL; in mic_system_page_mask() 32 static inline u8 mic_sys_addr_to_smpt(struct mic_device *mdev, dma_addr_t pa) in mic_sys_addr_to_smpt() argument 34 return (pa - mdev->smpt->info.base) >> mdev->smpt->info.page_shift; in mic_sys_addr_to_smpt() 37 static inline u64 mic_smpt_to_pa(struct mic_device *mdev, u8 index) in mic_smpt_to_pa() argument 39 return mdev->smpt->info.base + (index * mdev->smpt->info.page_size); in mic_smpt_to_pa() 42 static inline u64 mic_smpt_offset(struct mic_device *mdev, dma_addr_t pa) in mic_smpt_offset() argument 44 return pa & mic_system_page_mask(mdev); in mic_smpt_offset() 47 static inline u64 mic_smpt_align_low(struct mic_device *mdev, dma_addr_t pa) in mic_smpt_align_low() argument 49 return ALIGN(pa - mic_system_page_mask(mdev), in mic_smpt_align_low() [all …]
|
/drivers/staging/most/aim-v4l2/ |
D | video.c | 58 struct most_video_dev *mdev; member 65 static inline bool data_ready(struct most_video_dev *mdev) in data_ready() argument 67 return !list_empty(&mdev->pending_mbos); in data_ready() 70 static inline struct mbo *get_top_mbo(struct most_video_dev *mdev) in get_top_mbo() argument 72 return list_first_entry(&mdev->pending_mbos, struct mbo, list); in get_top_mbo() 79 struct most_video_dev *mdev = video_drvdata(filp); in aim_vdev_open() local 95 if (!atomic_inc_and_test(&mdev->access_ref)) { in aim_vdev_open() 101 fh->mdev = mdev; in aim_vdev_open() 107 ret = most_start_channel(mdev->iface, mdev->ch_idx, &aim_info); in aim_vdev_open() 120 atomic_dec(&mdev->access_ref); in aim_vdev_open() [all …]
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_main.c | 96 level, DRV_NAME, dev_name(&priv->mdev->pdev->dev), in en_print() 117 if (mlx4_is_mfunc(priv->mdev->dev) && in mlx4_en_update_loopback_state() 124 if (mlx4_is_mfunc(priv->mdev->dev) || priv->validate_loopback) in mlx4_en_update_loopback_state() 127 mutex_lock(&priv->mdev->state_lock); in mlx4_en_update_loopback_state() 128 if (priv->mdev->dev->caps.flags2 & in mlx4_en_update_loopback_state() 145 mlx4_warn(priv->mdev, "failed to change mcast loopback\n"); in mlx4_en_update_loopback_state() 147 mutex_unlock(&priv->mdev->state_lock); in mlx4_en_update_loopback_state() 150 static int mlx4_en_get_profile(struct mlx4_en_dev *mdev) in mlx4_en_get_profile() argument 152 struct mlx4_en_profile *params = &mdev->profile; in mlx4_en_get_profile() 160 if (params->udp_rss && !(mdev->dev->caps.flags in mlx4_en_get_profile() [all …]
|
D | en_clock.c | 43 struct mlx4_en_dev *mdev = in mlx4_en_read_clock() local 45 struct mlx4_dev *dev = mdev->dev; in mlx4_en_read_clock() 61 void mlx4_en_fill_hwtstamps(struct mlx4_en_dev *mdev, in mlx4_en_fill_hwtstamps() argument 68 read_lock_irqsave(&mdev->clock_lock, flags); in mlx4_en_fill_hwtstamps() 69 nsec = timecounter_cyc2time(&mdev->clock, timestamp); in mlx4_en_fill_hwtstamps() 70 read_unlock_irqrestore(&mdev->clock_lock, flags); in mlx4_en_fill_hwtstamps() 82 void mlx4_en_remove_timestamp(struct mlx4_en_dev *mdev) in mlx4_en_remove_timestamp() argument 84 if (mdev->ptp_clock) { in mlx4_en_remove_timestamp() 85 ptp_clock_unregister(mdev->ptp_clock); in mlx4_en_remove_timestamp() 86 mdev->ptp_clock = NULL; in mlx4_en_remove_timestamp() [all …]
|
D | en_netdev.c | 196 rc = mlx4_flow_detach(priv->mdev->dev, filter->reg_id); in mlx4_en_filter_work() 201 rc = mlx4_flow_attach(priv->mdev->dev, &rule, &filter->reg_id); in mlx4_en_filter_work() 267 rc = mlx4_flow_detach(priv->mdev->dev, filter->reg_id); in mlx4_en_filter_free() 352 queue_work(priv->mdev->workqueue, &filter->work); in mlx4_en_filter_rfs() 418 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_vlan_rx_add_vid() local 427 mutex_lock(&mdev->state_lock); in mlx4_en_vlan_rx_add_vid() 428 if (mdev->device_up && priv->port_up) { in mlx4_en_vlan_rx_add_vid() 429 err = mlx4_SET_VLAN_FLTR(mdev->dev, priv); in mlx4_en_vlan_rx_add_vid() 435 err = mlx4_register_vlan(mdev->dev, priv->port, vid, &idx); in mlx4_en_vlan_rx_add_vid() 440 mutex_unlock(&mdev->state_lock); in mlx4_en_vlan_rx_add_vid() [all …]
|
D | en_cq.c | 51 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_create_cq() local 65 cq->buf_size = cq->size * mdev->dev->caps.cqe_size; in mlx4_en_create_cq() 69 cq->vector = mdev->dev->caps.num_comp_vectors; in mlx4_en_create_cq() 74 set_dev_node(&mdev->dev->persist->pdev->dev, node); in mlx4_en_create_cq() 75 err = mlx4_alloc_hwq_res(mdev->dev, &cq->wqres, in mlx4_en_create_cq() 77 set_dev_node(&mdev->dev->persist->pdev->dev, mdev->dev->numa_node); in mlx4_en_create_cq() 91 mlx4_free_hwq_res(mdev->dev, &cq->wqres, cq->buf_size); in mlx4_en_create_cq() 101 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_activate_cq() local 106 cq->dev = mdev->pndev[priv->port]; in mlx4_en_activate_cq() 114 if (!mlx4_is_eq_vector_valid(mdev->dev, priv->port, in mlx4_en_activate_cq() [all …]
|
/drivers/mtd/maps/ |
D | vmu-flash.c | 26 struct maple_device *mdev; member 62 struct maple_device *mdev; in ofs_to_block() local 68 mdev = mpart->mdev; in ofs_to_block() 69 card = maple_get_drvdata(mdev); in ofs_to_block() 93 struct maple_device *mdev; in vmu_blockread() local 96 mdev = mq->dev; in vmu_blockread() 97 card = maple_get_drvdata(mdev); in vmu_blockread() 116 struct maple_device *mdev; in maple_vmu_read_block() local 123 mdev = mpart->mdev; in maple_vmu_read_block() 125 card = maple_get_drvdata(mdev); in maple_vmu_read_block() [all …]
|
/drivers/staging/most/hdm-usb/ |
D | hdm_usb.c | 197 static void free_anchored_buffers(struct most_dev *mdev, unsigned int channel) in free_anchored_buffers() argument 203 spin_lock_irqsave(&mdev->anchor_list_lock[channel], flags); in free_anchored_buffers() 204 list_for_each_entry_safe(anchor, tmp, &mdev->anchor_list[channel], in free_anchored_buffers() 208 spin_unlock_irqrestore(&mdev->anchor_list_lock[channel], flags); in free_anchored_buffers() 224 spin_lock_irqsave(&mdev->anchor_list_lock[channel], flags); in free_anchored_buffers() 228 spin_unlock_irqrestore(&mdev->anchor_list_lock[channel], flags); in free_anchored_buffers() 278 struct most_dev *mdev; in hdm_poison_channel() local 280 mdev = to_mdev(iface); in hdm_poison_channel() 282 dev_warn(&mdev->usb_device->dev, "Poison: Bad interface.\n"); in hdm_poison_channel() 286 dev_warn(&mdev->usb_device->dev, "Channel ID out of range.\n"); in hdm_poison_channel() [all …]
|
/drivers/gpu/drm/mgag200/ |
D | mgag200_main.c | 79 static int mga_probe_vram(struct mga_device *mdev, void __iomem *mem) in mga_probe_vram() argument 91 vram_size = mdev->mc.vram_window; in mga_probe_vram() 93 if ((mdev->type == G200_EW3) && (vram_size >= 0x1000000)) { in mga_probe_vram() 124 static int mga_vram_init(struct mga_device *mdev) in mga_vram_init() argument 132 mdev->mc.vram_base = pci_resource_start(mdev->dev->pdev, 0); in mga_vram_init() 133 mdev->mc.vram_window = pci_resource_len(mdev->dev->pdev, 0); in mga_vram_init() 135 aper->ranges[0].base = mdev->mc.vram_base; in mga_vram_init() 136 aper->ranges[0].size = mdev->mc.vram_window; in mga_vram_init() 141 if (!devm_request_mem_region(mdev->dev->dev, mdev->mc.vram_base, mdev->mc.vram_window, in mga_vram_init() 147 mem = pci_iomap(mdev->dev->pdev, 0, 0); in mga_vram_init() [all …]
|
/drivers/mailbox/ |
D | mailbox-sti.c | 40 #define MBOX_BASE(mdev, inst) ((mdev)->base + ((inst) * 4)) argument 85 struct sti_mbox_device *mdev; member 93 struct sti_mbox_device *mdev = chan_info->mdev; in sti_mbox_channel_is_enabled() local 97 return mdev->enabled[instance] & BIT(channel); in sti_mbox_channel_is_enabled() 126 struct sti_mbox_device *mdev = chan_info->mdev; in sti_mbox_enable_channel() local 130 void __iomem *base = MBOX_BASE(mdev, instance); in sti_mbox_enable_channel() 132 spin_lock_irqsave(&mdev->lock, flags); in sti_mbox_enable_channel() 133 mdev->enabled[instance] |= BIT(channel); in sti_mbox_enable_channel() 135 spin_unlock_irqrestore(&mdev->lock, flags); in sti_mbox_enable_channel() 141 struct sti_mbox_device *mdev = chan_info->mdev; in sti_mbox_disable_channel() local [all …]
|
/drivers/media/ |
D | media-device.c | 69 static struct media_entity *find_entity(struct media_device *mdev, u32 id) in find_entity() argument 76 spin_lock(&mdev->lock); in find_entity() 78 media_device_for_each_entity(entity, mdev) { in find_entity() 81 spin_unlock(&mdev->lock); in find_entity() 86 spin_unlock(&mdev->lock); in find_entity() 91 static long media_device_enum_entities(struct media_device *mdev, in media_device_enum_entities() argument 101 ent = find_entity(mdev, u_ent.id); in media_device_enum_entities() 129 static long __media_device_enum_links(struct media_device *mdev, in __media_device_enum_links() argument 134 entity = find_entity(mdev, links->entity); in __media_device_enum_links() 177 static long media_device_enum_links(struct media_device *mdev, in media_device_enum_links() argument [all …]
|
/drivers/w1/masters/ |
D | mxc_w1.c | 101 struct mxc_w1_device *mdev; in mxc_w1_probe() local 107 mdev = devm_kzalloc(&pdev->dev, sizeof(struct mxc_w1_device), in mxc_w1_probe() 109 if (!mdev) in mxc_w1_probe() 112 mdev->clk = devm_clk_get(&pdev->dev, NULL); in mxc_w1_probe() 113 if (IS_ERR(mdev->clk)) in mxc_w1_probe() 114 return PTR_ERR(mdev->clk); in mxc_w1_probe() 116 err = clk_prepare_enable(mdev->clk); in mxc_w1_probe() 120 clkrate = clk_get_rate(mdev->clk); in mxc_w1_probe() 132 mdev->regs = devm_ioremap_resource(&pdev->dev, res); in mxc_w1_probe() 133 if (IS_ERR(mdev->regs)) { in mxc_w1_probe() [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | wq.c | 67 int mlx5_wq_cyc_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param, in mlx5_wq_cyc_create() argument 76 err = mlx5_db_alloc_node(mdev, &wq_ctrl->db, param->db_numa_node); in mlx5_wq_cyc_create() 78 mlx5_core_warn(mdev, "mlx5_db_alloc_node() failed, %d\n", err); in mlx5_wq_cyc_create() 82 err = mlx5_buf_alloc_node(mdev, mlx5_wq_cyc_get_byte_size(wq), in mlx5_wq_cyc_create() 85 mlx5_core_warn(mdev, "mlx5_buf_alloc_node() failed, %d\n", err); in mlx5_wq_cyc_create() 92 wq_ctrl->mdev = mdev; in mlx5_wq_cyc_create() 97 mlx5_db_free(mdev, &wq_ctrl->db); in mlx5_wq_cyc_create() 102 int mlx5_cqwq_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param, in mlx5_cqwq_create() argument 112 err = mlx5_db_alloc_node(mdev, &wq_ctrl->db, param->db_numa_node); in mlx5_cqwq_create() 114 mlx5_core_warn(mdev, "mlx5_db_alloc_node() failed, %d\n", err); in mlx5_cqwq_create() [all …]
|
/drivers/remoteproc/ |
D | ste_modem_rproc.c | 21 dev_dbg(&sproc->mdev->pdev.dev, fmt, ##__VA_ARGS__) 23 dev_err(&sproc->mdev->pdev.dev, fmt, ##__VA_ARGS__) 28 struct ste_modem_device *mdev; member 183 sproc->mdev->ops.kick(sproc->mdev, vqid + SPROC_MAX_NOTIFY_ID); in sproc_kick() 187 static void sproc_kick_callback(struct ste_modem_device *mdev, int vqid) in sproc_kick_callback() argument 189 struct sproc *sproc = mdev->drv_data; in sproc_kick_callback() 216 err = sproc->mdev->ops.kick_subscribe(sproc->mdev, i); in sproc_start() 225 return sproc->mdev->ops.power(sproc->mdev, true); in sproc_start() 235 return sproc->mdev->ops.power(sproc->mdev, false); in sproc_stop() 247 struct ste_modem_device *mdev = in sproc_drv_remove() local [all …]
|