Home
last modified time | relevance | path

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

123456789

/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/drivers/gpu/drm/stm/
A Ddrv.c99 ret = ltdc_load(ddev); in drv_load()
116 ltdc_unload(ddev); in drv_unload()
161 ltdc_suspend(ddev); in drv_runtime_suspend()
171 return ltdc_resume(ddev); in drv_runtime_resume()
183 struct drm_device *ddev; in stm_drm_platform_probe() local
195 if (IS_ERR(ddev)) in stm_drm_platform_probe()
196 return PTR_ERR(ddev); in stm_drm_platform_probe()
198 ret = drv_load(ddev); in stm_drm_platform_probe()
211 drm_dev_put(ddev); in stm_drm_platform_probe()
223 drv_unload(ddev); in stm_drm_platform_remove()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/sti/
A Dsti_drv.c155 dev_set_drvdata(ddev->dev, ddev); in sti_init()
156 private->drm_dev = ddev; in sti_init()
174 component_unbind_all(ddev->dev, ddev); in sti_cleanup()
185 if (IS_ERR(ddev)) in sti_bind()
186 return PTR_ERR(ddev); in sti_bind()
188 ret = sti_init(ddev); in sti_bind()
192 ret = component_bind_all(ddev->dev, ddev); in sti_bind()
207 sti_cleanup(ddev); in sti_bind()
209 drm_dev_put(ddev); in sti_bind()
218 sti_cleanup(ddev); in sti_unbind()
[all …]
/linux-6.3-rc2/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()
77 tilcdc_encoder_find_connector(ddev, encoder); in tilcdc_add_component_encoder()
92 struct tilcdc_drm_private *priv = ddev->dev_private; in tilcdc_attach_bridge()
111 int tilcdc_attach_external_device(struct drm_device *ddev) in tilcdc_attach_external_device() argument
113 struct tilcdc_drm_private *priv = ddev->dev_private; in tilcdc_attach_external_device()
118 ret = drm_of_find_panel_or_bridge(ddev->dev->of_node, 0, 0, in tilcdc_attach_external_device()
125 priv->external_encoder = devm_kzalloc(ddev->dev, in tilcdc_attach_external_device()
131 ret = drm_simple_encoder_init(ddev, priv->external_encoder, in tilcdc_attach_external_device()
134 dev_err(ddev->dev, "drm_encoder_init() failed %d\n", ret); in tilcdc_attach_external_device()
[all …]
A Dtilcdc_drv.c199 struct drm_device *ddev; in tilcdc_init() local
211 ddev = drm_dev_alloc(ddrv, dev); in tilcdc_init()
212 if (IS_ERR(ddev)) in tilcdc_init()
213 return PTR_ERR(ddev); in tilcdc_init()
215 ddev->dev_private = priv; in tilcdc_init()
217 drm_mode_config_init(ddev); in tilcdc_init()
322 ret = tilcdc_crtc_create(ddev); in tilcdc_init()
327 modeset_init(ddev); in tilcdc_init()
378 drm_mode_config_reset(ddev); in tilcdc_init()
391 tilcdc_fini(ddev); in tilcdc_init()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/shmobile/
A Dshmob_drm_drv.c177 struct drm_device *ddev = sdev->ddev; in shmob_drm_remove() local
179 drm_dev_unregister(ddev); in shmob_drm_remove()
181 free_irq(sdev->irq, ddev); in shmob_drm_remove()
182 drm_dev_put(ddev); in shmob_drm_remove()
191 struct drm_device *ddev; in shmob_drm_probe() local
228 if (IS_ERR(ddev)) in shmob_drm_probe()
229 return PTR_ERR(ddev); in shmob_drm_probe()
231 sdev->ddev = ddev; in shmob_drm_probe()
232 ddev->dev_private = sdev; in shmob_drm_probe()
260 ddev); in shmob_drm_probe()
[all …]
/linux-6.3-rc2/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()
479 pm_runtime_get_sync(dmadev->ddev.dev); in hidma_terminate_channel()
594 dev_err(dmadev->ddev.dev, in hidma_resume()
801 dmadev->ddev.dev = &pdev->dev; in hidma_probe()
[all …]
/linux-6.3-rc2/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
242 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_chan_irq()
245 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_chan_irq()
346 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_prep_slave_sg()
373 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_prep_slave_sg()
380 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_prep_slave_sg()
485 struct dma_device *ddev; in uniphier_xdmac_probe() local
505 ddev = &xdev->ddev; in uniphier_xdmac_probe()
506 ddev->dev = dev; in uniphier_xdmac_probe()
507 dma_cap_zero(ddev->cap_mask); in uniphier_xdmac_probe()
[all …]
A Dmilbeaut-xdmac.c75 struct dma_device ddev; member
287 vchan_init(&mc->vc, &mdev->ddev); in milbeaut_xdmac_chan_init()
314 struct dma_device *ddev; in milbeaut_xdmac_probe() local
330 ddev = &mdev->ddev; in milbeaut_xdmac_probe()
331 ddev->dev = dev; in milbeaut_xdmac_probe()
332 dma_cap_set(DMA_MEMCPY, ddev->cap_mask); in milbeaut_xdmac_probe()
339 ddev->device_tx_status = dma_cookie_status; in milbeaut_xdmac_probe()
341 INIT_LIST_HEAD(&ddev->channels); in milbeaut_xdmac_probe()
351 ret = dma_async_device_register(ddev); in milbeaut_xdmac_probe()
365 dma_async_device_unregister(ddev); in milbeaut_xdmac_probe()
[all …]
A Duniphier-mdmac.c68 struct dma_device ddev; member
375 vchan_init(&mc->vc, &mdev->ddev); in uniphier_mdmac_chan_init()
384 struct dma_device *ddev; in uniphier_mdmac_probe() local
414 ddev = &mdev->ddev; in uniphier_mdmac_probe()
415 ddev->dev = dev; in uniphier_mdmac_probe()
416 dma_cap_set(DMA_PRIVATE, ddev->cap_mask); in uniphier_mdmac_probe()
427 INIT_LIST_HEAD(&ddev->channels); in uniphier_mdmac_probe()
435 ret = dma_async_device_register(ddev); in uniphier_mdmac_probe()
440 ddev); in uniphier_mdmac_probe()
449 dma_async_device_unregister(ddev); in uniphier_mdmac_probe()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/tidss/
A Dtidss_drv.c100 drm_kms_helper_poll_fini(ddev); in tidss_release()
121 struct drm_device *ddev; in tidss_probe() local
128 struct tidss_device, ddev); in tidss_probe()
132 ddev = &tidss->ddev; in tidss_probe()
172 drm_kms_helper_poll_init(ddev); in tidss_probe()
174 drm_mode_config_reset(ddev); in tidss_probe()
176 ret = drm_dev_register(ddev, 0); in tidss_probe()
189 tidss_irq_uninstall(ddev); in tidss_probe()
204 struct drm_device *ddev = &tidss->ddev; in tidss_remove() local
208 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_crtc.c23 struct drm_device *ddev = tcrtc->crtc.dev; in tidss_crtc_finish_page_flip() local
89 struct drm_device *ddev = crtc->dev; in tidss_crtc_atomic_check() local
97 dev_dbg(ddev->dev, "%s\n", __func__); in tidss_crtc_atomic_check()
168 struct drm_device *ddev = crtc->dev; in tidss_crtc_atomic_flush() local
172 dev_dbg(ddev->dev, in tidss_crtc_atomic_flush()
221 struct drm_device *ddev = crtc->dev; in tidss_crtc_atomic_enable() local
264 struct drm_device *ddev = crtc->dev; in tidss_crtc_atomic_disable() local
300 struct drm_device *ddev = crtc->dev; in tidss_crtc_mode_valid() local
319 struct drm_device *ddev = crtc->dev; in tidss_crtc_enable_vblank() local
322 dev_dbg(ddev->dev, "%s\n", __func__); in tidss_crtc_enable_vblank()
[all …]
A Dtidss_kms.c26 struct drm_device *ddev = old_state->dev; in tidss_atomic_commit_tail() local
27 struct tidss_device *tidss = to_tidss(ddev); in tidss_atomic_commit_tail()
30 dev_dbg(ddev->dev, "%s\n", __func__); in tidss_atomic_commit_tail()
61 ret = drm_atomic_helper_check(ddev, state); in tidss_atomic_check()
254 struct drm_device *ddev = &tidss->ddev; in tidss_modeset_init() local
259 ret = drmm_mode_config_init(ddev); in tidss_modeset_init()
263 ddev->mode_config.min_width = 8; in tidss_modeset_init()
264 ddev->mode_config.min_height = 8; in tidss_modeset_init()
265 ddev->mode_config.max_width = 8096; in tidss_modeset_init()
266 ddev->mode_config.max_height = 8096; in tidss_modeset_init()
[all …]
A Dtidss_plane.c27 struct drm_device *ddev = plane->dev; in tidss_plane_atomic_check() local
28 struct tidss_device *tidss = to_tidss(ddev); in tidss_plane_atomic_check()
36 dev_dbg(ddev->dev, "%s\n", __func__); in tidss_plane_atomic_check()
73 dev_dbg(ddev->dev, in tidss_plane_atomic_check()
80 dev_dbg(ddev->dev, in tidss_plane_atomic_check()
87 dev_dbg(ddev->dev, in tidss_plane_atomic_check()
110 struct drm_device *ddev = plane->dev; in tidss_plane_atomic_update() local
111 struct tidss_device *tidss = to_tidss(ddev); in tidss_plane_atomic_update()
118 dev_dbg(ddev->dev, "%s\n", __func__); in tidss_plane_atomic_update()
143 struct drm_device *ddev = plane->dev; in tidss_plane_atomic_disable() local
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/
A Damdgpu_pm.c144 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_power_dpm_state()
152 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_power_dpm_state()
153 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_power_dpm_state()
184 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_power_dpm_state()
192 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_set_power_dpm_state()
272 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_power_dpm_force_performance_level()
280 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_power_dpm_force_performance_level()
335 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_power_dpm_force_performance_level()
1487 r = pm_runtime_get_sync(ddev->dev); in amdgpu_get_gpu_busy_percent()
1527 r = pm_runtime_get_sync(ddev->dev); in amdgpu_get_mem_busy_percent()
[all …]
/linux-6.3-rc2/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-6.3-rc2/drivers/usb/core/
A Dconfig.c118 dev_notice(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_notice(ddev, "config %d has an invalid " in usb_parse_configuration()
691 dev_notice(ddev, "config %d has an invalid " in usb_parse_configuration()
716 dev_notice(ddev, in usb_parse_configuration()
723 dev_notice(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-6.3-rc2/drivers/gpu/drm/omapdrm/
A Domap_drv.c697 if (IS_ERR(ddev)) in omapdrm_init()
698 return PTR_ERR(ddev); in omapdrm_init()
700 priv->ddev = ddev; in omapdrm_init()
719 omap_gem_init(ddev); in omapdrm_init()
744 omap_fbdev_init(ddev); in omapdrm_init()
761 omap_fbdev_fini(ddev); in omapdrm_init()
770 omap_gem_deinit(ddev); in omapdrm_init()
773 drm_dev_put(ddev); in omapdrm_init()
779 struct drm_device *ddev = priv->ddev; in omapdrm_cleanup() local
787 omap_fbdev_fini(ddev); in omapdrm_cleanup()
[all …]
/linux-6.3-rc2/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 …]

Completed in 142 milliseconds

123456789