Home
last modified time | relevance | path

Searched refs:ddev (Results 1 – 25 of 217) sorted by relevance

123456789

/linux/net/nfc/
A Ddigital_core.c47 skb = alloc_skb(len + ddev->tx_headroom + ddev->tx_tailroom, in digital_skb_alloc()
102 ddev->ops->switch_rf(ddev, on); in digital_switch_rf()
107 ddev->ops->abort_cmd(ddev); in digital_abort_cmd()
190 rc = ddev->ops->tg_listen(ddev, cmd->timeout, in digital_wq_cmd()
202 rc = ddev->ops->tg_listen_md(ddev, cmd->timeout, in digital_wq_cmd()
259 rc = ddev->ops->in_configure_hw(ddev, type, param); in digital_in_configure_hw()
270 rc = ddev->ops->tg_configure_hw(ddev, type, param); in digital_tg_configure_hw()
441 poll_tech = &ddev->poll_techs[ddev->poll_tech_index]; in digital_wq_poll()
765 ddev = kzalloc(sizeof(*ddev), GFP_KERNEL); in nfc_digital_allocate_device()
766 if (!ddev) in nfc_digital_allocate_device()
[all …]
A Ddigital_dep.c391 rc = digital_in_send_cmd(ddev, skb, ddev->dep_rwt, in digital_in_send_psl_req()
555 rc = digital_in_send_cmd(ddev, skb, ddev->dep_rwt, in digital_in_send_ack()
590 rc = digital_in_send_cmd(ddev, skb, ddev->dep_rwt, in digital_in_send_nack()
621 rc = digital_in_send_cmd(ddev, skb, ddev->dep_rwt, in digital_in_send_atn()
678 rc = digital_in_send_cmd(ddev, ddev->saved_skb, ddev->dep_rwt, in digital_in_send_saved_skb()
863 if (ddev->atn_count || ddev->nack_count) { in digital_in_recv_dep_res()
1001 skb_put_data(skb, &ddev->did, sizeof(ddev->did)); in digital_tg_send_ack()
1045 skb_put_data(skb, &ddev->did, sizeof(ddev->did)); in digital_tg_send_atn()
1069 rc = digital_tg_send_cmd(ddev, ddev->saved_skb, 1500, in digital_tg_send_saved_skb()
1120 if (ddev->did && (ddev->did == resp->data[3])) { in digital_tg_recv_dep_req()
[all …]
A Ddigital_technology.c209 ddev->curr_nfc_dep_pni = in digital_in_iso_dep_push_sod()
239 ddev->curr_nfc_dep_pni = 0; in digital_in_recv_ats()
248 digital_poll_next_tech(ddev); in digital_in_recv_ats()
338 digital_poll_next_tech(ddev); in digital_in_recv_sel_res()
438 digital_poll_next_tech(ddev); in digital_in_recv_sdd_res()
517 digital_poll_next_tech(ddev); in digital_in_recv_sens_res()
609 digital_poll_next_tech(ddev); in digital_in_recv_attrib_res()
704 digital_poll_next_tech(ddev); in digital_in_recv_sensb_res()
793 digital_poll_next_tech(ddev); in digital_in_recv_sensf_res()
1273 rc = ddev->ops->tg_get_rf_tech(ddev, &rf_tech); in digital_tg_recv_md_req()
[all …]
A Ddigital.h35 #define DIGITAL_DRV_CAPS_IN_CRC(ddev) \ argument
36 ((ddev)->driver_capabilities & NFC_DIGITAL_DRV_CAPS_IN_CRC)
37 #define DIGITAL_DRV_CAPS_TG_CRC(ddev) \ argument
38 ((ddev)->driver_capabilities & NFC_DIGITAL_DRV_CAPS_TG_CRC)
45 struct sk_buff *digital_skb_alloc(struct nfc_digital_dev *ddev,
63 void digital_poll_next_tech(struct nfc_digital_dev *ddev);
70 int digital_in_iso_dep_pull_sod(struct nfc_digital_dev *ddev,
72 int digital_in_iso_dep_push_sod(struct nfc_digital_dev *ddev,
75 int digital_target_found(struct nfc_digital_dev *ddev,
80 int digital_in_send_atr_req(struct nfc_digital_dev *ddev,
[all …]
/linux/drivers/platform/surface/
A Dsurface_dtx.c192 kfree(ddev); in __sdtx_device_release()
197 if (ddev) in sdtx_device_get()
200 return ddev; in sdtx_device_get()
205 if (ddev) in sdtx_device_put()
333 struct sdtx_device *ddev = client->ddev; in __surface_dtx_ioctl() local
410 client->ddev = sdtx_device_get(ddev); in surface_dtx_open()
463 struct sdtx_device *ddev = client->ddev; in surface_dtx_read() local
1006 ddev->mode_switch->dev.parent = ddev->dev; in sdtx_device_init()
1036 ssam_notifier_unregister(ddev->ctrl, &ddev->notif); in sdtx_device_init()
1048 ddev = kzalloc(sizeof(*ddev), GFP_KERNEL); in sdtx_device_create()
[all …]
/linux/drivers/gpu/drm/stm/
A Ddrv.c97 ret = ltdc_load(ddev); in drv_load()
114 ltdc_unload(ddev); in drv_unload()
159 ltdc_suspend(ddev); in drv_runtime_suspend()
169 return ltdc_resume(ddev); in drv_runtime_resume()
181 struct drm_device *ddev; in stm_drm_platform_probe() local
189 if (IS_ERR(ddev)) in stm_drm_platform_probe()
190 return PTR_ERR(ddev); in stm_drm_platform_probe()
192 ret = drv_load(ddev); in stm_drm_platform_probe()
205 drm_dev_put(ddev); in stm_drm_platform_probe()
217 drv_unload(ddev); in stm_drm_platform_remove()
[all …]
A Dltdc.c369 struct drm_device *ddev = arg; in ltdc_irq_thread() local
390 struct drm_device *ddev = arg; in ltdc_irq() local
431 pm_runtime_get_sync(ddev->dev); in ltdc_crtc_atomic_enable()
461 pm_runtime_put_sync(ddev->dev); in ltdc_crtc_atomic_disable()
960 struct device *dev = ddev->dev; in ltdc_plane_create()
1059 ltdc_plane_destroy_all(ddev); in ltdc_crtc_init()
1218 struct device *dev = ddev->dev; in ltdc_load()
1303 ret = ltdc_get_caps(ddev); in ltdc_load()
1321 dev_name(dev), ddev); in ltdc_load()
1352 pm_runtime_enable(ddev->dev); in ltdc_load()
[all …]
/linux/drivers/gpu/drm/sti/
A Dsti_drv.c161 dev_set_drvdata(ddev->dev, ddev); in sti_init()
162 private->drm_dev = ddev; in sti_init()
180 component_unbind_all(ddev->dev, ddev); in sti_cleanup()
191 if (IS_ERR(ddev)) in sti_bind()
192 return PTR_ERR(ddev); in sti_bind()
194 ret = sti_init(ddev); in sti_bind()
198 ret = component_bind_all(ddev->dev, ddev); in sti_bind()
213 sti_cleanup(ddev); in sti_bind()
215 drm_dev_put(ddev); in sti_bind()
224 sti_cleanup(ddev); in sti_unbind()
[all …]
/linux/drivers/dma/
A Dtxx9dmac.c124 dma64_readl(ddev, name) : dma32_readl(ddev, name))
127 dma64_writel(ddev, name, val) : dma32_writel(ddev, name, val))
192 struct txx9dmac_dev *ddev = dc->ddev; in txx9dmac_desc_alloc() local
244 struct txx9dmac_dev *ddev = dc->ddev; in txx9dmac_sync_desc_for_cpu() local
426 struct txx9dmac_dev *ddev = dc->ddev; in txx9dmac_dequeue() local
713 struct txx9dmac_dev *ddev = dc->ddev; in txx9dmac_prep_dma_memcpy() local
808 struct txx9dmac_dev *ddev = dc->ddev; in txx9dmac_prep_slave_sg() local
942 struct txx9dmac_dev *ddev = dc->ddev; in txx9dmac_chain_dynamic() local
1046 struct txx9dmac_dev *ddev = dc->ddev; in txx9dmac_free_chan_resources() local
1181 if (!ddev) in txx9dmac_probe()
[all …]
A Duniphier-xdmac.c97 struct dma_device ddev; member
241 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_chan_irq()
244 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_chan_irq()
345 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_prep_slave_sg()
372 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_prep_slave_sg()
379 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_prep_slave_sg()
484 struct dma_device *ddev; in uniphier_xdmac_probe() local
504 ddev = &xdev->ddev; in uniphier_xdmac_probe()
505 ddev->dev = dev; in uniphier_xdmac_probe()
506 dma_cap_zero(ddev->cap_mask); in uniphier_xdmac_probe()
[all …]
/linux/drivers/dma/qcom/
A Dhidma.c95 INIT_LIST_HEAD(&dmadev->ddev.channels); in hidma_free()
197 struct dma_device *ddev; in hidma_chan_init() local
203 ddev = &dmadev->ddev; in hidma_chan_init()
206 mchan->chan.device = ddev; in hidma_chan_init()
217 dmadev->ddev.chancnt++; in hidma_chan_init()
225 pm_runtime_get_sync(dmadev->ddev.dev); in hidma_issue_task()
319 pm_runtime_get_sync(dmadev->ddev.dev); in hidma_tx_submit()
468 pm_runtime_get_sync(dmadev->ddev.dev); in hidma_terminate_channel()
583 dev_err(dmadev->ddev.dev, in hidma_resume()
796 dmadev->ddev.dev = &pdev->dev; in hidma_probe()
[all …]
/linux/drivers/gpu/drm/tilcdc/
A Dtilcdc_external.c60 int tilcdc_add_component_encoder(struct drm_device *ddev) in tilcdc_add_component_encoder() argument
62 struct tilcdc_drm_private *priv = ddev->dev_private; in tilcdc_add_component_encoder()
75 tilcdc_encoder_find_connector(ddev, encoder); in tilcdc_add_component_encoder()
90 struct tilcdc_drm_private *priv = ddev->dev_private; in tilcdc_attach_bridge()
109 int tilcdc_attach_external_device(struct drm_device *ddev) in tilcdc_attach_external_device() argument
111 struct tilcdc_drm_private *priv = ddev->dev_private; in tilcdc_attach_external_device()
116 ret = drm_of_find_panel_or_bridge(ddev->dev->of_node, 0, 0, in tilcdc_attach_external_device()
123 priv->external_encoder = devm_kzalloc(ddev->dev, in tilcdc_attach_external_device()
129 ret = drm_simple_encoder_init(ddev, priv->external_encoder, in tilcdc_attach_external_device()
132 dev_err(ddev->dev, "drm_encoder_init() failed %d\n", ret); in tilcdc_attach_external_device()
[all …]
A Dtilcdc_drv.c201 struct drm_device *ddev; in tilcdc_init() local
213 ddev = drm_dev_alloc(ddrv, dev); in tilcdc_init()
214 if (IS_ERR(ddev)) in tilcdc_init()
215 return PTR_ERR(ddev); in tilcdc_init()
217 ddev->dev_private = priv; in tilcdc_init()
219 drm_mode_config_init(ddev); in tilcdc_init()
324 ret = tilcdc_crtc_create(ddev); in tilcdc_init()
329 modeset_init(ddev); in tilcdc_init()
380 drm_mode_config_reset(ddev); in tilcdc_init()
393 tilcdc_fini(ddev); in tilcdc_init()
[all …]
/linux/drivers/gpu/drm/shmobile/
A Dshmob_drm_drv.c180 struct drm_device *ddev = sdev->ddev; in shmob_drm_remove() local
182 drm_dev_unregister(ddev); in shmob_drm_remove()
184 free_irq(sdev->irq, ddev); in shmob_drm_remove()
185 drm_dev_put(ddev); in shmob_drm_remove()
194 struct drm_device *ddev; in shmob_drm_probe() local
231 if (IS_ERR(ddev)) in shmob_drm_probe()
232 return PTR_ERR(ddev); in shmob_drm_probe()
234 sdev->ddev = ddev; in shmob_drm_probe()
235 ddev->dev_private = sdev; in shmob_drm_probe()
263 ddev); in shmob_drm_probe()
[all …]
/linux/drivers/gpu/drm/omapdrm/
A Domap_drv.c562 if (IS_ERR(ddev)) in omapdrm_init()
563 return PTR_ERR(ddev); in omapdrm_init()
565 priv->ddev = ddev; in omapdrm_init()
584 omap_gem_init(ddev); in omapdrm_init()
599 omap_fbdev_init(ddev); in omapdrm_init()
618 omap_fbdev_fini(ddev); in omapdrm_init()
622 omap_gem_deinit(ddev); in omapdrm_init()
625 drm_dev_put(ddev); in omapdrm_init()
631 struct drm_device *ddev = priv->ddev; in omapdrm_cleanup() local
640 omap_fbdev_fini(ddev); in omapdrm_cleanup()
[all …]
/linux/drivers/gpu/drm/tidss/
A Dtidss_crtc.c26 struct drm_device *ddev = tcrtc->crtc.dev; in tidss_crtc_finish_page_flip() local
92 struct drm_device *ddev = crtc->dev; in tidss_crtc_atomic_check() local
100 dev_dbg(ddev->dev, "%s\n", __func__); in tidss_crtc_atomic_check()
171 struct drm_device *ddev = crtc->dev; in tidss_crtc_atomic_flush() local
175 dev_dbg(ddev->dev, in tidss_crtc_atomic_flush()
224 struct drm_device *ddev = crtc->dev; in tidss_crtc_atomic_enable() local
267 struct drm_device *ddev = crtc->dev; in tidss_crtc_atomic_disable() local
303 struct drm_device *ddev = crtc->dev; in tidss_crtc_mode_valid() local
322 struct drm_device *ddev = crtc->dev; in tidss_crtc_enable_vblank() local
325 dev_dbg(ddev->dev, "%s\n", __func__); in tidss_crtc_enable_vblank()
[all …]
A Dtidss_drv.c105 drm_kms_helper_poll_fini(ddev); in tidss_release()
126 struct drm_device *ddev; in tidss_probe() local
133 struct tidss_device, ddev); in tidss_probe()
137 ddev = &tidss->ddev; in tidss_probe()
177 drm_kms_helper_poll_init(ddev); in tidss_probe()
179 drm_mode_config_reset(ddev); in tidss_probe()
181 ret = drm_dev_register(ddev, 0); in tidss_probe()
194 tidss_irq_uninstall(ddev); in tidss_probe()
209 struct drm_device *ddev = &tidss->ddev; in tidss_remove() local
213 drm_dev_unregister(ddev); in tidss_remove()
[all …]
A Dtidss_irq.c28 struct drm_device *ddev = crtc->dev; in tidss_irq_enable_vblank() local
29 struct tidss_device *tidss = to_tidss(ddev); in tidss_irq_enable_vblank()
43 struct drm_device *ddev = crtc->dev; in tidss_irq_disable_vblank() local
44 struct tidss_device *tidss = to_tidss(ddev); in tidss_irq_disable_vblank()
59 struct tidss_device *tidss = to_tidss(ddev); in tidss_irq_handler()
98 struct tidss_device *tidss = to_tidss(ddev); in tidss_irq_preinstall()
112 struct tidss_device *tidss = to_tidss(ddev); in tidss_irq_postinstall()
144 tidss_irq_preinstall(ddev); in tidss_irq_install()
146 ret = request_irq(irq, tidss_irq_handler, 0, ddev->driver->name, ddev); in tidss_irq_install()
150 tidss_irq_postinstall(ddev); in tidss_irq_install()
[all …]
A Dtidss_kms.c29 struct drm_device *ddev = old_state->dev; in tidss_atomic_commit_tail() local
30 struct tidss_device *tidss = to_tidss(ddev); in tidss_atomic_commit_tail()
33 dev_dbg(ddev->dev, "%s\n", __func__); in tidss_atomic_commit_tail()
64 ret = drm_atomic_helper_check(ddev, state); in tidss_atomic_check()
257 struct drm_device *ddev = &tidss->ddev; in tidss_modeset_init() local
262 ret = drmm_mode_config_init(ddev); in tidss_modeset_init()
266 ddev->mode_config.min_width = 8; in tidss_modeset_init()
267 ddev->mode_config.min_height = 8; in tidss_modeset_init()
268 ddev->mode_config.max_width = 8096; in tidss_modeset_init()
269 ddev->mode_config.max_height = 8096; in tidss_modeset_init()
[all …]
/linux/drivers/gpu/drm/amd/pm/
A Damdgpu_pm.c134 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_power_dpm_state()
146 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_power_dpm_state()
147 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_power_dpm_state()
178 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_power_dpm_state()
197 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_power_dpm_state()
198 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_power_dpm_state()
277 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_power_dpm_force_performance_level()
288 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_power_dpm_force_performance_level()
345 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
1571 r = pm_runtime_get_sync(ddev->dev); in amdgpu_get_gpu_busy_percent()
[all …]
/linux/drivers/net/ethernet/hisilicon/hns/
A Dhns_dsaf_main.c2317 p[171] = dsaf_read_dev(ddev, in hns_dsaf_get_regs()
2371 p[233] = dsaf_read_dev(ddev, in hns_dsaf_get_regs()
2477 p[396] = dsaf_read_dev(ddev, in hns_dsaf_get_regs()
2479 p[397] = dsaf_read_dev(ddev, in hns_dsaf_get_regs()
2481 p[398] = dsaf_read_dev(ddev, in hns_dsaf_get_regs()
2483 p[399] = dsaf_read_dev(ddev, in hns_dsaf_get_regs()
2485 p[400] = dsaf_read_dev(ddev, in hns_dsaf_get_regs()
2487 p[401] = dsaf_read_dev(ddev, in hns_dsaf_get_regs()
2489 p[402] = dsaf_read_dev(ddev, in hns_dsaf_get_regs()
2491 p[403] = dsaf_read_dev(ddev, in hns_dsaf_get_regs()
[all …]
/linux/drivers/usb/core/
A Dconfig.c118 dev_warn(ddev, "Endpoint with bMaxBurst = %d in " in usb_parse_ss_endpoint_companion()
259 struct usb_device *udev = to_usb_device(ddev); in usb_parse_endpoint()
463 usb_parse_ss_endpoint_companion(ddev, cfgno, in usb_parse_endpoint()
608 struct device *ddev = &dev->dev; in usb_parse_configuration() local
673 dev_warn(ddev, "config %d has an invalid " in usb_parse_configuration()
691 dev_warn(ddev, "config %d has an invalid " in usb_parse_configuration()
716 dev_warn(ddev, in usb_parse_configuration()
723 dev_warn(ddev, "found more Interface " in usb_parse_configuration()
863 struct device *ddev = &dev->dev; in usb_get_configuration() local
877 dev_err(ddev, "no configurations\n"); in usb_get_configuration()
[all …]
/linux/drivers/gpu/drm/msm/
A Dmsm_drv.c355 if (ddev->registered) { in msm_drm_uninit()
382 msm_fbdev_free(ddev); in msm_drm_uninit()
390 msm_irq_uninstall(ddev); in msm_drm_uninit()
409 drm_dev_put(ddev); in msm_drm_uninit()
522 if (IS_ERR(ddev)) { in msm_drm_init()
524 return PTR_ERR(ddev); in msm_drm_init()
536 priv->dev = ddev; in msm_drm_init()
615 kms->dev = ddev; in msm_drm_init()
691 drm_dev_put(ddev); in msm_drm_init()
1191 struct msm_drm_private *priv = ddev ? ddev->dev_private : NULL; in msm_pm_prepare()
[all …]
/linux/include/net/nfc/
A Ddigital.h87 typedef void (*nfc_digital_cmd_complete_t)(struct nfc_digital_dev *ddev,
147 int (*in_configure_hw)(struct nfc_digital_dev *ddev, int type,
149 int (*in_send_cmd)(struct nfc_digital_dev *ddev, struct sk_buff *skb,
153 int (*tg_configure_hw)(struct nfc_digital_dev *ddev, int type,
155 int (*tg_send_cmd)(struct nfc_digital_dev *ddev, struct sk_buff *skb,
158 int (*tg_listen)(struct nfc_digital_dev *ddev, u16 timeout,
160 int (*tg_listen_mdaa)(struct nfc_digital_dev *ddev,
164 int (*tg_listen_md)(struct nfc_digital_dev *ddev, u16 timeout,
166 int (*tg_get_rf_tech)(struct nfc_digital_dev *ddev, u8 *rf_tech);
168 int (*switch_rf)(struct nfc_digital_dev *ddev, bool on);
[all …]
/linux/drivers/fpga/
A Ddfl.c253 if (id->type == ddev->type && id->feature_id == ddev->feature_id) in dfl_match_one_device()
301 ddev->type, ddev->feature_id); in dfl_bus_uevent()
347 kfree(ddev); in release_dfl_dev()
359 ddev = kzalloc(sizeof(*ddev), GFP_KERNEL); in dfl_dev_add()
360 if (!ddev) in dfl_dev_add()
366 kfree(ddev); in dfl_dev_add()
375 ddev->id = id; in dfl_dev_add()
390 ddev->mmio_res.name = dev_name(&ddev->dev); in dfl_dev_add()
394 dev_name(&ddev->dev), &ddev->mmio_res); in dfl_dev_add()
418 return ddev; in dfl_dev_add()
[all …]

Completed in 80 milliseconds

123456789