| /linux/net/nfc/ |
| H A D | digital_core.c | 42 struct sk_buff *digital_skb_alloc(struct nfc_digital_dev *ddev, in digital_skb_alloc() argument 47 skb = alloc_skb(len + ddev->tx_headroom + ddev->tx_tailroom, in digital_skb_alloc() 50 skb_reserve(skb, ddev->tx_headroom); in digital_skb_alloc() 100 static inline void digital_switch_rf(struct nfc_digital_dev *ddev, bool on) in digital_switch_rf() argument 102 ddev->ops->switch_rf(ddev, on); in digital_switch_rf() 105 static inline void digital_abort_cmd(struct nfc_digital_dev *ddev) in digital_abort_cmd() argument 107 ddev->ops->abort_cmd(ddev); in digital_abort_cmd() 113 struct nfc_digital_dev *ddev = container_of(work, in digital_wq_cmd_complete() local 117 mutex_lock(&ddev->cmd_lock); in digital_wq_cmd_complete() 119 cmd = list_first_entry_or_null(&ddev->cmd_queue, struct digital_cmd, in digital_wq_cmd_complete() [all …]
|
| H A D | digital_dep.c | 106 static void digital_in_recv_dep_res(struct nfc_digital_dev *ddev, void *arg, 108 static void digital_tg_recv_dep_req(struct nfc_digital_dev *ddev, void *arg, 168 static void digital_skb_push_dep_sod(struct nfc_digital_dev *ddev, in digital_skb_push_dep_sod() argument 175 if (ddev->curr_rf_tech == NFC_DIGITAL_RF_TECH_106A) in digital_skb_push_dep_sod() 179 static int digital_skb_pull_dep_sod(struct nfc_digital_dev *ddev, in digital_skb_pull_dep_sod() argument 187 if (ddev->curr_rf_tech == NFC_DIGITAL_RF_TECH_106A) in digital_skb_pull_dep_sod() 200 digital_send_dep_data_prep(struct nfc_digital_dev *ddev, struct sk_buff *skb, in digital_send_dep_data_prep() argument 206 if (skb->len > ddev->remote_payload_max) { in digital_send_dep_data_prep() 209 new_skb = digital_skb_alloc(ddev, ddev->remote_payload_max); in digital_send_dep_data_prep() 211 kfree_skb(ddev->chaining_skb); in digital_send_dep_data_prep() [all …]
|
| H A D | digital_technology.c | 164 static int digital_in_send_sdd_req(struct nfc_digital_dev *ddev, 167 int digital_in_iso_dep_pull_sod(struct nfc_digital_dev *ddev, in digital_in_iso_dep_pull_sod() argument 195 int digital_in_iso_dep_push_sod(struct nfc_digital_dev *ddev, in digital_in_iso_dep_push_sod() argument 202 if (skb->len + 3 > ddev->target_fsc) in digital_in_iso_dep_push_sod() 207 *skb->data = DIGITAL_ISO_DEP_I_PCB | ddev->curr_nfc_dep_pni; in digital_in_iso_dep_push_sod() 209 ddev->curr_nfc_dep_pni = in digital_in_iso_dep_push_sod() 210 DIGITAL_ISO_DEP_PNI(ddev->curr_nfc_dep_pni + 1); in digital_in_iso_dep_push_sod() 215 static void digital_in_recv_ats(struct nfc_digital_dev *ddev, void *arg, in digital_in_recv_ats() argument 235 ddev->target_fsc = DIGITAL_ATS_MAX_FSC; in digital_in_recv_ats() 237 ddev->target_fsc = digital_ats_fsc[fsdi]; in digital_in_recv_ats() [all …]
|
| H A D | digital.h | 35 #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, 48 int digital_send_cmd(struct nfc_digital_dev *ddev, u8 cmd_type, 53 int digital_in_configure_hw(struct nfc_digital_dev *ddev, int type, int param); 54 static inline int digital_in_send_cmd(struct nfc_digital_dev *ddev, in digital_in_send_cmd() argument 59 return digital_send_cmd(ddev, DIGITAL_CMD_IN_SEND, skb, NULL, timeout, in digital_in_send_cmd() 63 void digital_poll_next_tech(struct nfc_digital_dev *ddev); [all …]
|
| /linux/drivers/platform/surface/ |
| H A D | surface_dtx.c | 177 struct sdtx_device *ddev; member 189 struct sdtx_device *ddev = container_of(kref, struct sdtx_device, kref); in __sdtx_device_release() local 191 mutex_destroy(&ddev->write_lock); in __sdtx_device_release() 192 kfree(ddev); in __sdtx_device_release() 195 static struct sdtx_device *sdtx_device_get(struct sdtx_device *ddev) in sdtx_device_get() argument 197 if (ddev) in sdtx_device_get() 198 kref_get(&ddev->kref); in sdtx_device_get() 200 return ddev; in sdtx_device_get() 203 static void sdtx_device_put(struct sdtx_device *ddev) in sdtx_device_put() argument 205 if (ddev) in sdtx_device_put() [all …]
|
| /linux/drivers/gpu/drm/stm/ |
| H A D | drv.c | 73 static int drv_load(struct drm_device *ddev) in drv_load() argument 75 struct platform_device *pdev = to_platform_device(ddev->dev); in drv_load() 81 ldev = drmm_kzalloc(ddev, sizeof(*ldev), GFP_KERNEL); in drv_load() 85 ddev->dev_private = (void *)ldev; in drv_load() 87 ret = drmm_mode_config_init(ddev); in drv_load() 96 ddev->mode_config.min_width = 0; in drv_load() 97 ddev->mode_config.min_height = 0; in drv_load() 98 ddev->mode_config.max_width = STM_MAX_FB_WIDTH; in drv_load() 99 ddev->mode_config.max_height = STM_MAX_FB_HEIGHT; in drv_load() 100 ddev->mode_config.funcs = &drv_mode_config_funcs; in drv_load() [all …]
|
| /linux/drivers/gpu/drm/sti/ |
| H A D | sti_drv.c | 150 static int sti_init(struct drm_device *ddev) in sti_init() argument 158 ddev->dev_private = (void *)private; in sti_init() 159 dev_set_drvdata(ddev->dev, ddev); in sti_init() 160 private->drm_dev = ddev; in sti_init() 162 drm_mode_config_init(ddev); in sti_init() 164 sti_mode_config_init(ddev); in sti_init() 166 drm_kms_helper_poll_init(ddev); in sti_init() 171 static void sti_cleanup(struct drm_device *ddev) in sti_cleanup() argument 173 struct sti_private *private = ddev->dev_private; in sti_cleanup() 175 drm_kms_helper_poll_fini(ddev); in sti_cleanup() [all …]
|
| /linux/drivers/gpu/drm/tilcdc/ |
| H A D | tilcdc_drv.c | 238 struct drm_device *ddev = dev_get_drvdata(dev); in tilcdc_pm_suspend() local 241 ret = drm_mode_config_helper_suspend(ddev); in tilcdc_pm_suspend() 251 struct drm_device *ddev = dev_get_drvdata(dev); in tilcdc_pm_resume() local 255 return drm_mode_config_helper_resume(ddev); in tilcdc_pm_resume() 267 struct drm_device *ddev; in tilcdc_pdev_probe() local 272 struct tilcdc_drm_private, ddev); in tilcdc_pdev_probe() 279 ddev = &priv->ddev; in tilcdc_pdev_probe() 280 ret = drmm_mode_config_init(ddev); in tilcdc_pdev_probe() 290 drm_err(ddev, "failed to request / ioremap\n"); in tilcdc_pdev_probe() 297 drm_err(ddev, "failed to get functional clock\n"); in tilcdc_pdev_probe() [all …]
|
| /linux/drivers/dma/ |
| H A D | txx9dmac.c | 101 const struct txx9dmac_dev *ddev) in __txx9dmac_regs() argument 103 return ddev->regs; in __txx9dmac_regs() 107 const struct txx9dmac_dev *ddev) in __txx9dmac_regs32() argument 109 return ddev->regs; in __txx9dmac_regs32() 112 #define dma64_readl(ddev, name) \ argument 113 __raw_readl(&(__txx9dmac_regs(ddev)->name)) 114 #define dma64_writel(ddev, name, val) \ argument 115 __raw_writel((val), &(__txx9dmac_regs(ddev)->name)) 117 #define dma32_readl(ddev, name) \ argument 118 __raw_readl(&(__txx9dmac_regs32(ddev) 119 dma32_writel(ddev,name,val) global() argument 122 dma_readl(ddev,name) global() argument 125 dma_writel(ddev,name,val) global() argument 192 struct txx9dmac_dev *ddev = dc->ddev; txx9dmac_desc_alloc() local 244 struct txx9dmac_dev *ddev = dc->ddev; txx9dmac_sync_desc_for_cpu() local 426 struct txx9dmac_dev *ddev = dc->ddev; txx9dmac_dequeue() local 647 struct txx9dmac_dev *ddev = from_tasklet(ddev, t, tasklet); txx9dmac_tasklet() local 673 struct txx9dmac_dev *ddev = dev_id; txx9dmac_interrupt() local 713 struct txx9dmac_dev *ddev = dc->ddev; txx9dmac_prep_dma_memcpy() local 808 struct txx9dmac_dev *ddev = dc->ddev; txx9dmac_prep_slave_sg() local 942 struct txx9dmac_dev *ddev = dc->ddev; txx9dmac_chain_dynamic() local 1046 struct txx9dmac_dev *ddev = dc->ddev; txx9dmac_free_chan_resources() local 1075 txx9dmac_off(struct txx9dmac_dev * ddev) txx9dmac_off() argument 1171 struct txx9dmac_dev *ddev; txx9dmac_probe() local 1219 struct txx9dmac_dev *ddev = platform_get_drvdata(pdev); txx9dmac_remove() local 1230 struct txx9dmac_dev *ddev = platform_get_drvdata(pdev); txx9dmac_shutdown() local 1237 struct txx9dmac_dev *ddev = dev_get_drvdata(dev); txx9dmac_suspend_noirq() local 1245 struct txx9dmac_dev *ddev = dev_get_drvdata(dev); txx9dmac_resume_noirq() local [all...] |
| H A D | uniphier-xdmac.c | 97 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() 345 if (maxburst > xc->xdev->ddev.max_burst) { in uniphier_xdmac_prep_slave_sg() 346 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_prep_slave_sg() 374 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_prep_slave_sg() 381 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_prep_slave_sg() 463 vchan_init(&xc->vc, &xdev->ddev); in uniphier_xdmac_chan_init() 485 struct dma_device *ddev; in uniphier_xdmac_probe() local 504 ddev in uniphier_xdmac_probe() 569 struct dma_device *ddev = &xdev->ddev; uniphier_xdmac_remove() local [all...] |
| H A D | uniphier-mdmac.c | 68 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 413 ddev = &mdev->ddev; in uniphier_mdmac_probe() 414 ddev->dev = dev; in uniphier_mdmac_probe() 415 dma_cap_set(DMA_PRIVATE, ddev->cap_mask); in uniphier_mdmac_probe() 416 ddev->src_addr_widths = UNIPHIER_MDMAC_SLAVE_BUSWIDTHS; in uniphier_mdmac_probe() 417 ddev->dst_addr_widths = UNIPHIER_MDMAC_SLAVE_BUSWIDTHS; in uniphier_mdmac_probe() 418 ddev in uniphier_mdmac_probe() [all...] |
| H A D | milbeaut-xdmac.c | 75 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 329 ddev = &mdev->ddev; in milbeaut_xdmac_probe() 330 ddev->dev = dev; in milbeaut_xdmac_probe() 331 dma_cap_set(DMA_MEMCPY, ddev->cap_mask); in milbeaut_xdmac_probe() 332 ddev->src_addr_widths = MLB_XDMAC_BUSWIDTHS; in milbeaut_xdmac_probe() 333 ddev->dst_addr_widths = MLB_XDMAC_BUSWIDTHS; in milbeaut_xdmac_probe() 334 ddev in milbeaut_xdmac_probe() [all...] |
| H A D | milbeaut-hdmac.c | 77 struct dma_device ddev; member 413 chan = dma_get_any_slave_channel(&mdev->ddev); in milbeaut_hdmac_xlate() 450 vchan_init(&mc->vc, &mdev->ddev); in milbeaut_hdmac_chan_init() 459 struct dma_device *ddev; in milbeaut_hdmac_probe() local 488 ddev = &mdev->ddev; in milbeaut_hdmac_probe() 489 ddev->dev = dev; in milbeaut_hdmac_probe() 490 dma_cap_set(DMA_SLAVE, ddev->cap_mask); in milbeaut_hdmac_probe() 491 dma_cap_set(DMA_PRIVATE, ddev->cap_mask); in milbeaut_hdmac_probe() 492 ddev in milbeaut_hdmac_probe() [all...] |
| H A D | bcm2835-dma.c | 42 * @ddev: DMA device 48 struct dma_device ddev; member 190 return container_of(d, struct bcm2835_dmadev, ddev); in to_bcm2835_dma_dev() 805 c = devm_kzalloc_obj(d->ddev.dev, *c); in bcm2835_dma_chan_init() 810 vchan_init(&c->vc, &d->ddev); in bcm2835_dma_chan_init() 829 list_for_each_entry_safe(c, next, &od->ddev.channels, in bcm2835_dma_free() 835 dma_unmap_page_attrs(od->ddev.dev, od->zero_page, PAGE_SIZE, in bcm2835_dma_free() 851 chan = dma_get_any_slave_channel(&d->ddev); in bcm2835_dma_xlate() 866 list_for_each_entry_safe(c, next, &od->ddev.channels, in bcm2835_dma_suspend_late() 914 dma_cap_set(DMA_SLAVE, od->ddev in bcm2835_dma_probe() [all...] |
| H A D | txx9dmac.h | 163 struct txx9dmac_dev *ddev; member 188 static inline bool __is_dmac64(const struct txx9dmac_dev *ddev) in __is_dmac64() argument 190 return ddev->have_64bit_regs; in __is_dmac64() 195 return __is_dmac64(dc->ddev); in is_dmac64() 247 static inline void txx9dmac_desc_set_INTENT(struct txx9dmac_dev *ddev, in txx9dmac_desc_set_INTENT() argument 257 static inline void txx9dmac_desc_set_nosimple(struct txx9dmac_dev *ddev, in txx9dmac_desc_set_nosimple() argument 274 static inline void txx9dmac_desc_set_INTENT(struct txx9dmac_dev *ddev, in txx9dmac_desc_set_INTENT() argument 277 if (__is_dmac64(ddev)) in txx9dmac_desc_set_INTENT() 287 static inline void txx9dmac_desc_set_nosimple(struct txx9dmac_dev *ddev, in txx9dmac_desc_set_nosimple() argument 291 if (__is_dmac64(ddev)) { in txx9dmac_desc_set_nosimple()
|
| /linux/drivers/dma/qcom/ |
| H A D | hidma.c | 77 return container_of(dmadev, struct hidma_dev, ddev); in to_hidma_dev() 93 INIT_LIST_HEAD(&dmadev->ddev.channels); in hidma_free() 108 struct dma_device *ddev = mchan->chan.device; in hidma_process_completed() local 109 struct hidma_dev *mdma = to_hidma_dev(ddev); in hidma_process_completed() 167 struct dma_device *ddev = mchan->chan.device; in hidma_callback() local 168 struct hidma_dev *dmadev = to_hidma_dev(ddev); in hidma_callback() 187 pm_runtime_mark_last_busy(dmadev->ddev.dev); in hidma_callback() 188 pm_runtime_put_autosuspend(dmadev->ddev.dev); in hidma_callback() 195 struct dma_device *ddev; in hidma_chan_init() local 197 mchan = devm_kzalloc_obj(dmadev->ddev in hidma_chan_init() [all...] |
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_kms.c | 223 struct drm_device *ddev = priv->dev; in msm_drm_kms_unregister() local 225 drm_atomic_helper_shutdown(ddev); in msm_drm_kms_unregister() 232 struct drm_device *ddev = priv->dev; in msm_drm_kms_uninit() local 251 drm_kms_helper_poll_fini(ddev); in msm_drm_kms_uninit() 253 msm_disp_snapshot_destroy(ddev); in msm_drm_kms_uninit() 256 msm_irq_uninstall(ddev); in msm_drm_kms_uninit() 266 struct drm_device *ddev = priv->dev; in msm_drm_kms_init() local 276 ret = msm_disp_snapshot_init(ddev); in msm_drm_kms_init() 282 ret = priv->kms_init(ddev); in msm_drm_kms_init() 289 ddev->mode_config.normalize_zpos = true; in msm_drm_kms_init() [all …]
|
| /linux/drivers/gpu/drm/renesas/shmobile/ |
| H A D | shmob_drm_drv.c | 122 return drm_mode_config_helper_suspend(&sdev->ddev); in shmob_drm_pm_suspend() 129 return drm_mode_config_helper_resume(&sdev->ddev); in shmob_drm_pm_resume() 169 struct drm_device *ddev = &sdev->ddev; in shmob_drm_remove() local 171 drm_dev_unregister(ddev); in shmob_drm_remove() 172 drm_atomic_helper_shutdown(ddev); in shmob_drm_remove() 173 drm_kms_helper_poll_fini(ddev); in shmob_drm_remove() 180 drm_atomic_helper_shutdown(&sdev->ddev); in shmob_drm_shutdown() 188 struct drm_device *ddev; in shmob_drm_probe() local 202 struct shmob_drm_device, ddev); in shmob_drm_probe() 206 ddev = &sdev->ddev; in shmob_drm_probe() [all …]
|
| /linux/drivers/gpu/drm/tidss/ |
| H A D | tidss_irq.c | 27 struct drm_device *ddev = crtc->dev; in tidss_irq_enable_vblank() local 28 struct tidss_device *tidss = to_tidss(ddev); in tidss_irq_enable_vblank() 42 struct drm_device *ddev = crtc->dev; in tidss_irq_disable_vblank() local 43 struct tidss_device *tidss = to_tidss(ddev); in tidss_irq_disable_vblank() 57 struct drm_device *ddev = (struct drm_device *)arg; in tidss_irq_handler() local 58 struct tidss_device *tidss = to_tidss(ddev); in tidss_irq_handler() 102 int tidss_irq_install(struct drm_device *ddev, unsigned int irq) in tidss_irq_install() argument 104 struct tidss_device *tidss = to_tidss(ddev); in tidss_irq_install() 110 ret = request_irq(irq, tidss_irq_handler, 0, ddev->driver->name, ddev); in tidss_irq_install() 133 void tidss_irq_uninstall(struct drm_device *ddev) in tidss_irq_uninstall() argument [all …]
|
| /linux/drivers/gpu/drm/loongson/ |
| H A D | lsdc_ttm.c | 165 struct drm_device *ddev = tbo->base.dev; in lsdc_bo_move() local 171 drm_warn(ddev, "Can't move a pinned BO\n"); in lsdc_bo_move() 180 drm_dbg(ddev, "bo[%p] move: NULL to %s, size: %zu\n", in lsdc_bo_move() 189 drm_dbg(ddev, "bo[%p] move: SYSTEM to NULL, size: %zu\n", in lsdc_bo_move() 196 drm_dbg(ddev, "bo[%p] move: SYSTEM to GTT, size: %zu\n", in lsdc_bo_move() 204 drm_dbg(ddev, "bo[%p] move: GTT to SYSTEM, size: %zu\n", in lsdc_bo_move() 211 drm_dbg(ddev, "bo[%p] move: %s to %s, size: %zu\n", in lsdc_bo_move() 256 struct drm_device *ddev = tbo->base.dev; in lsdc_bo_gpu_offset() local 260 drm_err(ddev, "unpinned bo, gpu virtual address is invalid\n"); in lsdc_bo_gpu_offset() 357 struct drm_device *ddev in lsdc_bo_kmap() local 403 lsdc_bo_evict_vram(struct drm_device * ddev) lsdc_bo_evict_vram() argument 430 lsdc_bo_create(struct drm_device * ddev,u32 domain,size_t size,bool kernel,struct sg_table * sg,struct dma_resv * resv) lsdc_bo_create() argument 486 lsdc_bo_create_kernel_pinned(struct drm_device * ddev,u32 domain,size_t size) lsdc_bo_create_kernel_pinned() argument 527 lsdc_ttm_fini(struct drm_device * ddev,void * data) lsdc_ttm_fini() argument 541 struct drm_device *ddev = &ldev->base; lsdc_ttm_init() local 578 struct drm_device *ddev = &ldev->base; lsdc_ttm_debugfs_init() local [all...] |
| H A D | lsdc_i2c.c | 19 struct lsdc_device *ldev = to_lsdc(li2c->ddev); in __lsdc_gpio_i2c_set() 55 struct lsdc_device *ldev = to_lsdc(li2c->ddev); in __lsdc_gpio_i2c_get() 102 static void lsdc_destroy_i2c(struct drm_device *ddev, void *data) in lsdc_destroy_i2c() argument 118 int lsdc_create_i2c_chan(struct drm_device *ddev, in lsdc_create_i2c_chan() argument 122 struct lsdc_device *ldev = to_lsdc(ddev); in lsdc_create_i2c_chan() 143 li2c->ddev = ddev; in lsdc_create_i2c_chan() 158 adapter->dev.parent = ddev->dev; in lsdc_create_i2c_chan() 171 ret = drmm_add_action_or_reset(ddev, lsdc_destroy_i2c, li2c); in lsdc_create_i2c_chan() 175 drm_info(ddev, "%s(sda pin mask=%u, scl pin mask=%u) created\n", in lsdc_create_i2c_chan()
|
| /linux/include/net/nfc/ |
| H A D | digital.h | 87 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/gpu/drm/vboxvideo/ |
| H A D | vbox_drv.c | 54 struct vbox_private, ddev); in vbox_pci_probe() 81 ret = drm_dev_register(&vbox->ddev, 0); in vbox_pci_probe() 85 drm_client_setup(&vbox->ddev, NULL); in vbox_pci_probe() 102 drm_dev_unregister(&vbox->ddev); in vbox_pci_remove() 103 drm_atomic_helper_shutdown(&vbox->ddev); in vbox_pci_remove() 113 drm_atomic_helper_shutdown(&vbox->ddev); in vbox_pci_shutdown() 122 error = drm_mode_config_helper_suspend(&vbox->ddev); in vbox_pm_suspend() 141 return drm_mode_config_helper_resume(&vbox->ddev); in vbox_pm_resume() 148 return drm_mode_config_helper_suspend(&vbox->ddev); in vbox_pm_freeze() 155 return drm_mode_config_helper_resume(&vbox->ddev); in vbox_pm_thaw() [all …]
|
| /linux/drivers/dma/mediatek/ |
| H A D | mtk-uart-apdma.c | 78 struct dma_device ddev; member 106 return container_of(d, struct mtk_uart_apdmadev, ddev); in to_mtk_uart_apdma_dev() 276 ret = pm_runtime_resume_and_get(mtkd->ddev.dev); in mtk_uart_apdma_alloc_chan_resources() 304 pm_runtime_put_noidle(mtkd->ddev.dev); in mtk_uart_apdma_alloc_chan_resources() 319 pm_runtime_put_sync(mtkd->ddev.dev); in mtk_uart_apdma_free_chan_resources() 461 while (!list_empty(&mtkd->ddev.channels)) { in mtk_uart_apdma_free() 462 struct mtk_chan *c = list_first_entry(&mtkd->ddev.channels, in mtk_uart_apdma_free() 506 dma_cap_set(DMA_SLAVE, mtkd->ddev.cap_mask); in mtk_uart_apdma_probe() 507 mtkd->ddev.device_alloc_chan_resources = in mtk_uart_apdma_probe() 509 mtkd->ddev in mtk_uart_apdma_probe() [all...] |
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | isp_v4_1_1.c | 106 drm_err(&adev->ddev, "failed to set xclk %u to %u: %d\n", in isp_set_performance_state() 113 drm_err(&adev->ddev, "failed to set iclk %u to %u: %d\n", in isp_set_performance_state() 133 drm_dbg(&adev->ddev, "Invalid device type to add\n"); in isp_genpd_add_device() 138 drm_dbg(&adev->ddev, "Invalid isp mfd device %s to add\n", pdev->mfd_cell->name); in isp_genpd_add_device() 144 drm_err(&adev->ddev, "Failed to add dev %s to genpd %d\n", in isp_genpd_add_device() 169 drm_dbg(&adev->ddev, "Invalid device type to remove\n"); in isp_genpd_remove_device() 174 drm_dbg(&adev->ddev, "Invalid isp mfd device %s to remove\n", in isp_genpd_remove_device() 181 drm_err(&adev->ddev, "Failed to remove dev from genpd %d\n", ret); in isp_genpd_remove_device() 238 drm_dbg(&adev->ddev, "Invalid isp platform detected (%d)\n", r); in isp_v4_1_1_hw_init() 258 drm_err(&adev->ddev, "faile in isp_v4_1_1_hw_init() [all...] |