/drivers/gpu/drm/stm/ |
D | drv.c | 26 static void drv_output_poll_changed(struct drm_device *ddev) in drv_output_poll_changed() argument 28 struct ltdc_device *ldev = ddev->dev_private; in drv_output_poll_changed() 40 static void drv_lastclose(struct drm_device *ddev) in drv_lastclose() argument 42 struct ltdc_device *ldev = ddev->dev_private; in drv_lastclose() 78 static int drv_load(struct drm_device *ddev) in drv_load() argument 80 struct platform_device *pdev = to_platform_device(ddev->dev); in drv_load() 87 ldev = devm_kzalloc(ddev->dev, sizeof(*ldev), GFP_KERNEL); in drv_load() 91 ddev->dev_private = (void *)ldev; in drv_load() 93 drm_mode_config_init(ddev); in drv_load() 100 ddev->mode_config.min_width = 0; in drv_load() [all …]
|
D | ltdc.c | 331 struct drm_device *ddev = arg; in ltdc_irq_thread() local 332 struct ltdc_device *ldev = ddev->dev_private; in ltdc_irq_thread() 333 struct drm_crtc *crtc = drm_crtc_from_index(ddev, 0); in ltdc_irq_thread() 352 struct drm_device *ddev = arg; in ltdc_irq() local 353 struct ltdc_device *ldev = ddev->dev_private; in ltdc_irq() 511 int ltdc_crtc_enable_vblank(struct drm_device *ddev, unsigned int pipe) in ltdc_crtc_enable_vblank() argument 513 struct ltdc_device *ldev = ddev->dev_private; in ltdc_crtc_enable_vblank() 521 void ltdc_crtc_disable_vblank(struct drm_device *ddev, unsigned int pipe) in ltdc_crtc_disable_vblank() argument 523 struct ltdc_device *ldev = ddev->dev_private; in ltdc_crtc_disable_vblank() 701 static struct drm_plane *ltdc_plane_create(struct drm_device *ddev, in ltdc_plane_create() argument [all …]
|
/drivers/gpu/drm/sti/ |
D | sti_drv.c | 140 static void sti_output_poll_changed(struct drm_device *ddev) in sti_output_poll_changed() argument 142 struct sti_private *private = ddev->dev_private; in sti_output_poll_changed() 207 static int sti_init(struct drm_device *ddev) in sti_init() argument 215 ddev->dev_private = (void *)private; in sti_init() 216 dev_set_drvdata(ddev->dev, ddev); in sti_init() 217 private->drm_dev = ddev; in sti_init() 219 drm_mode_config_init(ddev); in sti_init() 221 sti_mode_config_init(ddev); in sti_init() 223 drm_kms_helper_poll_init(ddev); in sti_init() 228 static void sti_cleanup(struct drm_device *ddev) in sti_cleanup() argument [all …]
|
/drivers/dma/ |
D | txx9dmac.c | 104 const struct txx9dmac_dev *ddev) in __txx9dmac_regs() argument 106 return ddev->regs; in __txx9dmac_regs() 110 const struct txx9dmac_dev *ddev) in __txx9dmac_regs32() argument 112 return ddev->regs; in __txx9dmac_regs32() 115 #define dma64_readl(ddev, name) \ argument 116 __raw_readl(&(__txx9dmac_regs(ddev)->name)) 117 #define dma64_writel(ddev, name, val) \ argument 118 __raw_writel((val), &(__txx9dmac_regs(ddev)->name)) 120 #define dma32_readl(ddev, name) \ argument 121 __raw_readl(&(__txx9dmac_regs32(ddev)->name)) [all …]
|
D | cppi41.c | 123 struct dma_device ddev; member 272 pm_runtime_put(cdd->ddev.dev); in desc_to_chan() 376 error = pm_runtime_get_sync(cdd->ddev.dev); in cppi41_dma_alloc_chan_resources() 378 dev_err(cdd->ddev.dev, "%s pm runtime get: %i\n", in cppi41_dma_alloc_chan_resources() 380 pm_runtime_put_noidle(cdd->ddev.dev); in cppi41_dma_alloc_chan_resources() 392 pm_runtime_mark_last_busy(cdd->ddev.dev); in cppi41_dma_alloc_chan_resources() 393 pm_runtime_put_autosuspend(cdd->ddev.dev); in cppi41_dma_alloc_chan_resources() 404 error = pm_runtime_get_sync(cdd->ddev.dev); in cppi41_dma_free_chan_resources() 406 pm_runtime_put_noidle(cdd->ddev.dev); in cppi41_dma_free_chan_resources() 413 pm_runtime_mark_last_busy(cdd->ddev.dev); in cppi41_dma_free_chan_resources() [all …]
|
D | txx9dmac.h | 166 struct txx9dmac_dev *ddev; member 191 static inline bool __is_dmac64(const struct txx9dmac_dev *ddev) in __is_dmac64() argument 193 return ddev->have_64bit_regs; in __is_dmac64() 198 return __is_dmac64(dc->ddev); in is_dmac64() 250 static inline void txx9dmac_desc_set_INTENT(struct txx9dmac_dev *ddev, in txx9dmac_desc_set_INTENT() argument 260 static inline void txx9dmac_desc_set_nosimple(struct txx9dmac_dev *ddev, in txx9dmac_desc_set_nosimple() argument 277 static inline void txx9dmac_desc_set_INTENT(struct txx9dmac_dev *ddev, in txx9dmac_desc_set_INTENT() argument 280 if (__is_dmac64(ddev)) in txx9dmac_desc_set_INTENT() 290 static inline void txx9dmac_desc_set_nosimple(struct txx9dmac_dev *ddev, in txx9dmac_desc_set_nosimple() argument 294 if (__is_dmac64(ddev)) { in txx9dmac_desc_set_nosimple()
|
D | bcm2835-dma.c | 53 struct dma_device ddev; member 197 return container_of(d, struct bcm2835_dmadev, ddev); in to_bcm2835_dma_dev() 824 c = devm_kzalloc(d->ddev.dev, sizeof(*c), GFP_KERNEL); in bcm2835_dma_chan_init() 829 vchan_init(&c->vc, &d->ddev); in bcm2835_dma_chan_init() 849 list_for_each_entry_safe(c, next, &od->ddev.channels, in bcm2835_dma_free() 868 chan = dma_get_any_slave_channel(&d->ddev); in bcm2835_dma_xlate() 913 dma_cap_set(DMA_SLAVE, od->ddev.cap_mask); in bcm2835_dma_probe() 914 dma_cap_set(DMA_PRIVATE, od->ddev.cap_mask); in bcm2835_dma_probe() 915 dma_cap_set(DMA_CYCLIC, od->ddev.cap_mask); in bcm2835_dma_probe() 916 dma_cap_set(DMA_SLAVE, od->ddev.cap_mask); in bcm2835_dma_probe() [all …]
|
/drivers/dma/qcom/ |
D | hidma.c | 78 return container_of(dmadev, struct hidma_dev, ddev); in to_hidma_dev() 100 INIT_LIST_HEAD(&dmadev->ddev.channels); in hidma_free() 111 struct dma_device *ddev = mchan->chan.device; in hidma_process_completed() local 112 struct hidma_dev *mdma = to_hidma_dev(ddev); in hidma_process_completed() 170 struct dma_device *ddev = mchan->chan.device; in hidma_callback() local 171 struct hidma_dev *dmadev = to_hidma_dev(ddev); in hidma_callback() 190 pm_runtime_mark_last_busy(dmadev->ddev.dev); in hidma_callback() 191 pm_runtime_put_autosuspend(dmadev->ddev.dev); in hidma_callback() 198 struct dma_device *ddev; in hidma_chan_init() local 200 mchan = devm_kzalloc(dmadev->ddev.dev, sizeof(*mchan), GFP_KERNEL); in hidma_chan_init() [all …]
|
/drivers/gpu/drm/shmobile/ |
D | shmob_drm_drv.c | 165 drm_kms_helper_poll_disable(sdev->ddev); in shmob_drm_pm_suspend() 175 drm_modeset_lock_all(sdev->ddev); in shmob_drm_pm_resume() 177 drm_modeset_unlock_all(sdev->ddev); in shmob_drm_pm_resume() 179 drm_kms_helper_poll_enable(sdev->ddev); in shmob_drm_pm_resume() 195 struct drm_device *ddev = sdev->ddev; in shmob_drm_remove() local 197 drm_dev_unregister(ddev); in shmob_drm_remove() 198 drm_kms_helper_poll_fini(ddev); in shmob_drm_remove() 199 drm_mode_config_cleanup(ddev); in shmob_drm_remove() 200 drm_irq_uninstall(ddev); in shmob_drm_remove() 201 drm_dev_unref(ddev); in shmob_drm_remove() [all …]
|
D | shmob_drm_kms.c | 143 drm_mode_config_init(sdev->ddev); in shmob_drm_modeset_init() 149 drm_kms_helper_poll_init(sdev->ddev); in shmob_drm_modeset_init() 151 sdev->ddev->mode_config.min_width = 0; in shmob_drm_modeset_init() 152 sdev->ddev->mode_config.min_height = 0; in shmob_drm_modeset_init() 153 sdev->ddev->mode_config.max_width = 4095; in shmob_drm_modeset_init() 154 sdev->ddev->mode_config.max_height = 4095; in shmob_drm_modeset_init() 155 sdev->ddev->mode_config.funcs = &shmob_drm_mode_config_funcs; in shmob_drm_modeset_init() 157 drm_helper_disable_unused_functions(sdev->ddev); in shmob_drm_modeset_init()
|
/drivers/usb/core/ |
D | config.c | 51 static void usb_parse_ssp_isoc_endpoint_companion(struct device *ddev, in usb_parse_ssp_isoc_endpoint_companion() argument 64 dev_warn(ddev, "Invalid SuperSpeedPlus isoc endpoint companion" in usb_parse_ssp_isoc_endpoint_companion() 72 static void usb_parse_ss_endpoint_companion(struct device *ddev, int cfgno, in usb_parse_ss_endpoint_companion() argument 86 dev_warn(ddev, "No SuperSpeed endpoint companion for config %d " in usb_parse_ss_endpoint_companion() 112 dev_warn(ddev, "Control endpoint with bMaxBurst = %d in " in usb_parse_ss_endpoint_companion() 118 dev_warn(ddev, "Endpoint with bMaxBurst = %d in " in usb_parse_ss_endpoint_companion() 128 dev_warn(ddev, "%s endpoint with bmAttributes = %d in " in usb_parse_ss_endpoint_companion() 137 dev_warn(ddev, "Bulk endpoint with more than 65536 streams in " in usb_parse_ss_endpoint_companion() 145 dev_warn(ddev, "Isoc endpoint has Mult of %d in " in usb_parse_ss_endpoint_companion() 163 dev_warn(ddev, "%s endpoint with wBytesPerInterval of %d in " in usb_parse_ss_endpoint_companion() [all …]
|
/drivers/gpu/drm/tilcdc/ |
D | tilcdc_external.c | 102 struct drm_connector *tilcdc_encoder_find_connector(struct drm_device *ddev, in tilcdc_encoder_find_connector() argument 108 list_for_each_entry(connector, &ddev->mode_config.connector_list, head) in tilcdc_encoder_find_connector() 113 dev_err(ddev->dev, "No connector found for %s encoder (id %d)\n", in tilcdc_encoder_find_connector() 119 int tilcdc_add_component_encoder(struct drm_device *ddev) in tilcdc_add_component_encoder() argument 121 struct tilcdc_drm_private *priv = ddev->dev_private; in tilcdc_add_component_encoder() 125 list_for_each_entry(encoder, &ddev->mode_config.encoder_list, head) in tilcdc_add_component_encoder() 130 dev_err(ddev->dev, "%s: No suitable encoder found\n", __func__); in tilcdc_add_component_encoder() 134 connector = tilcdc_encoder_find_connector(ddev, encoder); in tilcdc_add_component_encoder() 143 return tilcdc_add_external_connector(ddev, connector); in tilcdc_add_component_encoder() 163 int tilcdc_attach_bridge(struct drm_device *ddev, struct drm_bridge *bridge) in tilcdc_attach_bridge() argument [all …]
|
D | tilcdc_drv.c | 233 struct drm_device *ddev; in tilcdc_init() local 247 ddev = drm_dev_alloc(ddrv, dev); in tilcdc_init() 248 if (IS_ERR(ddev)) in tilcdc_init() 249 return PTR_ERR(ddev); in tilcdc_init() 251 ddev->dev_private = priv; in tilcdc_init() 252 platform_set_drvdata(pdev, ddev); in tilcdc_init() 253 drm_mode_config_init(ddev); in tilcdc_init() 305 switch (tilcdc_read(ddev, LCDC_PID_REG)) { in tilcdc_init() 316 tilcdc_read(ddev, LCDC_PID_REG)); in tilcdc_init() 354 ret = tilcdc_crtc_create(ddev); in tilcdc_init() [all …]
|
/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_main.c | 2264 void hns_dsaf_get_regs(struct dsaf_device *ddev, u32 port, void *data) in hns_dsaf_get_regs() argument 2270 bool is_ver1 = AE_IS_VER1(ddev->dsaf_ver); in hns_dsaf_get_regs() 2273 p[0] = dsaf_read_dev(ddev, DSAF_SRAM_INIT_OVER_0_REG); in hns_dsaf_get_regs() 2274 p[1] = dsaf_read_dev(ddev, DSAF_CFG_0_REG); in hns_dsaf_get_regs() 2275 p[2] = dsaf_read_dev(ddev, DSAF_ECC_ERR_INVERT_0_REG); in hns_dsaf_get_regs() 2276 p[3] = dsaf_read_dev(ddev, DSAF_ABNORMAL_TIMEOUT_0_REG); in hns_dsaf_get_regs() 2277 p[4] = dsaf_read_dev(ddev, DSAF_FSM_TIMEOUT_0_REG); in hns_dsaf_get_regs() 2278 p[5] = dsaf_read_dev(ddev, DSAF_DSA_REG_CNT_CLR_CE_REG); in hns_dsaf_get_regs() 2279 p[6] = dsaf_read_dev(ddev, DSAF_DSA_SBM_INF_FIFO_THRD_REG); in hns_dsaf_get_regs() 2280 p[7] = dsaf_read_dev(ddev, DSAF_DSA_SRAM_1BIT_ECC_SEL_REG); in hns_dsaf_get_regs() [all …]
|
/drivers/gpu/drm/msm/ |
D | msm_drv.c | 211 struct drm_device *ddev = platform_get_drvdata(pdev); in msm_drm_uninit() local 212 struct msm_drm_private *priv = ddev->dev_private; in msm_drm_uninit() 228 msm_gem_shrinker_cleanup(ddev); in msm_drm_uninit() 230 drm_kms_helper_poll_fini(ddev); in msm_drm_uninit() 232 drm_dev_unregister(ddev); in msm_drm_uninit() 239 msm_fbdev_free(ddev); in msm_drm_uninit() 241 drm_mode_config_cleanup(ddev); in msm_drm_uninit() 244 drm_irq_uninstall(ddev); in msm_drm_uninit() 257 mutex_lock(&ddev->struct_mutex); in msm_drm_uninit() 261 mutex_unlock(&ddev->struct_mutex); in msm_drm_uninit() [all …]
|
/drivers/gpu/drm/rcar-du/ |
D | rcar_du_drv.c | 269 drm_kms_helper_poll_disable(rcdu->ddev); in rcar_du_pm_suspend() 281 drm_kms_helper_poll_enable(rcdu->ddev); in rcar_du_pm_resume() 297 struct drm_device *ddev = rcdu->ddev; in rcar_du_remove() local 299 drm_dev_unregister(ddev); in rcar_du_remove() 304 drm_kms_helper_poll_fini(ddev); in rcar_du_remove() 305 drm_mode_config_cleanup(ddev); in rcar_du_remove() 307 drm_dev_unref(ddev); in rcar_du_remove() 315 struct drm_device *ddev; in rcar_du_probe() local 336 ddev = drm_dev_alloc(&rcar_du_driver, &pdev->dev); in rcar_du_probe() 337 if (IS_ERR(ddev)) in rcar_du_probe() [all …]
|
/drivers/gpu/drm/omapdrm/ |
D | omap_drv.c | 549 struct drm_device *ddev; in pdev_probe() local 587 ddev = drm_dev_alloc(&omap_drm_driver, &pdev->dev); in pdev_probe() 588 if (IS_ERR(ddev)) { in pdev_probe() 589 ret = PTR_ERR(ddev); in pdev_probe() 593 ddev->dev_private = priv; in pdev_probe() 594 platform_set_drvdata(pdev, ddev); in pdev_probe() 596 omap_gem_init(ddev); in pdev_probe() 598 ret = omap_modeset_init(ddev); in pdev_probe() 605 ret = drm_vblank_init(ddev, priv->num_crtcs); in pdev_probe() 614 priv->fbdev = omap_fbdev_init(ddev); in pdev_probe() [all …]
|
/drivers/gpu/drm/ast/ |
D | ast_drv.c | 144 struct drm_device *ddev = pci_get_drvdata(pdev); in ast_pm_suspend() local 147 error = ast_drm_freeze(ddev); in ast_pm_suspend() 158 struct drm_device *ddev = pci_get_drvdata(pdev); in ast_pm_resume() local 159 return ast_drm_resume(ddev); in ast_pm_resume() 165 struct drm_device *ddev = pci_get_drvdata(pdev); in ast_pm_freeze() local 167 if (!ddev || !ddev->dev_private) in ast_pm_freeze() 169 return ast_drm_freeze(ddev); in ast_pm_freeze() 176 struct drm_device *ddev = pci_get_drvdata(pdev); in ast_pm_thaw() local 177 return ast_drm_thaw(ddev); in ast_pm_thaw() 183 struct drm_device *ddev = pci_get_drvdata(pdev); in ast_pm_poweroff() local [all …]
|
/drivers/gpu/drm/radeon/ |
D | radeon_agp.c | 139 ret = drm_agp_acquire(rdev->ddev); in radeon_agp_init() 145 ret = drm_agp_info(rdev->ddev, &info); in radeon_agp_init() 147 drm_agp_release(rdev->ddev); in radeon_agp_init() 152 if (rdev->ddev->agp->agp_info.aper_size < 32) { in radeon_agp_init() 153 drm_agp_release(rdev->ddev); in radeon_agp_init() 156 rdev->ddev->agp->agp_info.aper_size); in radeon_agp_init() 237 ret = drm_agp_enable(rdev->ddev, mode); in radeon_agp_init() 240 drm_agp_release(rdev->ddev); in radeon_agp_init() 244 rdev->mc.agp_base = rdev->ddev->agp->agp_info.aper_base; in radeon_agp_init() 245 rdev->mc.gtt_size = rdev->ddev->agp->agp_info.aper_size << 20; in radeon_agp_init() [all …]
|
D | radeon_irq_kms.c | 78 struct drm_device *dev = rdev->ddev; in radeon_hotplug_work_func() 99 struct drm_device *dev = rdev->ddev; in radeon_dp_work_func() 288 rdev->ddev->vblank_disable_immediate = true; in radeon_irq_kms_init() 290 r = drm_vblank_init(rdev->ddev, rdev->num_crtc); in radeon_irq_kms_init() 311 r = drm_irq_install(rdev->ddev, rdev->ddev->pdev->irq); in radeon_irq_kms_init() 332 drm_irq_uninstall(rdev->ddev); in radeon_irq_kms_fini() 354 if (!rdev->ddev->irq_enabled) in radeon_irq_kms_sw_irq_get() 393 if (!rdev->ddev->irq_enabled) in radeon_irq_kms_sw_irq_put() 419 if (!rdev->ddev->irq_enabled) in radeon_irq_kms_pflip_irq_get() 445 if (!rdev->ddev->irq_enabled) in radeon_irq_kms_pflip_irq_put() [all …]
|
/drivers/staging/vboxvideo/ |
D | vbox_drv.c | 107 struct drm_device *ddev = pci_get_drvdata(pdev); in vbox_pm_suspend() local 110 error = vbox_drm_freeze(ddev); in vbox_pm_suspend() 122 struct drm_device *ddev = pci_get_drvdata(to_pci_dev(dev)); in vbox_pm_resume() local 124 return vbox_drm_resume(ddev); in vbox_pm_resume() 130 struct drm_device *ddev = pci_get_drvdata(pdev); in vbox_pm_freeze() local 132 if (!ddev || !ddev->dev_private) in vbox_pm_freeze() 135 return vbox_drm_freeze(ddev); in vbox_pm_freeze() 140 struct drm_device *ddev = pci_get_drvdata(to_pci_dev(dev)); in vbox_pm_thaw() local 142 return vbox_drm_thaw(ddev); in vbox_pm_thaw() 147 struct drm_device *ddev = pci_get_drvdata(to_pci_dev(dev)); in vbox_pm_poweroff() local [all …]
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_pm.c | 87 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_dpm_state() local 88 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_get_dpm_state() 106 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_dpm_state() local 107 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_set_dpm_state() 130 (ddev->switch_power_state == DRM_SWITCH_POWER_ON)) in amdgpu_set_dpm_state() 141 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_dpm_forced_performance_level() local 142 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_get_dpm_forced_performance_level() 146 (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in amdgpu_get_dpm_forced_performance_level() 167 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_dpm_forced_performance_level() local 168 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_set_dpm_forced_performance_level() [all …]
|
D | dce_virtual.c | 253 drm_crtc_init(adev->ddev, &amdgpu_crtc->base, &dce_virtual_crtc_funcs); in dce_virtual_crtc_init() 396 adev->ddev->max_vblank_count = 0; in dce_virtual_sw_init() 398 adev->ddev->mode_config.funcs = &amdgpu_mode_funcs; in dce_virtual_sw_init() 400 adev->ddev->mode_config.max_width = 16384; in dce_virtual_sw_init() 401 adev->ddev->mode_config.max_height = 16384; in dce_virtual_sw_init() 403 adev->ddev->mode_config.preferred_depth = 24; in dce_virtual_sw_init() 404 adev->ddev->mode_config.prefer_shadow = 1; in dce_virtual_sw_init() 406 adev->ddev->mode_config.fb_base = adev->mc.aper_base; in dce_virtual_sw_init() 412 adev->ddev->mode_config.max_width = 16384; in dce_virtual_sw_init() 413 adev->ddev->mode_config.max_height = 16384; in dce_virtual_sw_init() [all …]
|
/drivers/nfc/st95hf/ |
D | core.c | 232 struct nfc_digital_dev *ddev; member 548 struct nfc_digital_dev *nfcddev = st95context->ddev; in iso14443_config_fdt() 622 struct nfc_digital_dev *nfcddev = stcontext->ddev; in st95hf_handle_wtx() 713 struct nfc_digital_dev *nfcddev = stcontext->ddev; in st95hf_response_handler() 832 nfcddev = stcontext->ddev; in st95hf_irq_thread_handler() 864 cb_arg->complete_cb(stcontext->ddev, cb_arg->cb_usrarg, skb_resp); in st95hf_irq_thread_handler() 878 cb_arg->complete_cb(stcontext->ddev, cb_arg->cb_usrarg, skb_resp); in st95hf_irq_thread_handler() 886 static int st95hf_in_configure_hw(struct nfc_digital_dev *ddev, in st95hf_in_configure_hw() argument 890 struct st95hf_context *stcontext = nfc_digital_get_drvdata(ddev); in st95hf_in_configure_hw() 932 static int st95hf_in_send_cmd(struct nfc_digital_dev *ddev, in st95hf_in_send_cmd() argument [all …]
|
/drivers/nfc/ |
D | nfcsim.c | 211 static int nfcsim_send(struct nfc_digital_dev *ddev, struct sk_buff *skb, in nfcsim_send() argument 214 struct nfcsim *dev = nfc_digital_get_drvdata(ddev); in nfcsim_send() 250 static void nfcsim_abort_cmd(struct nfc_digital_dev *ddev) in nfcsim_abort_cmd() argument 252 struct nfcsim *dev = nfc_digital_get_drvdata(ddev); in nfcsim_abort_cmd() 257 static int nfcsim_switch_rf(struct nfc_digital_dev *ddev, bool on) in nfcsim_switch_rf() argument 259 struct nfcsim *dev = nfc_digital_get_drvdata(ddev); in nfcsim_switch_rf() 266 static int nfcsim_in_configure_hw(struct nfc_digital_dev *ddev, in nfcsim_in_configure_hw() argument 269 struct nfcsim *dev = nfc_digital_get_drvdata(ddev); in nfcsim_in_configure_hw() 289 static int nfcsim_in_send_cmd(struct nfc_digital_dev *ddev, in nfcsim_in_send_cmd() argument 293 return nfcsim_send(ddev, skb, timeout, cb, arg); in nfcsim_in_send_cmd() [all …]
|