/linux-4.4.14/net/nfc/ |
D | digital_core.c | 47 struct sk_buff *digital_skb_alloc(struct nfc_digital_dev *ddev, in digital_skb_alloc() argument 52 skb = alloc_skb(len + ddev->tx_headroom + ddev->tx_tailroom, in digital_skb_alloc() 55 skb_reserve(skb, ddev->tx_headroom); in digital_skb_alloc() 105 static inline void digital_switch_rf(struct nfc_digital_dev *ddev, bool on) in digital_switch_rf() argument 107 ddev->ops->switch_rf(ddev, on); in digital_switch_rf() 110 static inline void digital_abort_cmd(struct nfc_digital_dev *ddev) in digital_abort_cmd() argument 112 ddev->ops->abort_cmd(ddev); in digital_abort_cmd() 118 struct nfc_digital_dev *ddev = container_of(work, in digital_wq_cmd_complete() local 122 mutex_lock(&ddev->cmd_lock); in digital_wq_cmd_complete() 124 cmd = list_first_entry_or_null(&ddev->cmd_queue, struct digital_cmd, in digital_wq_cmd_complete() [all …]
|
D | digital_dep.c | 113 static void digital_in_recv_dep_res(struct nfc_digital_dev *ddev, void *arg, 115 static void digital_tg_recv_dep_req(struct nfc_digital_dev *ddev, void *arg, 144 static void digital_skb_push_dep_sod(struct nfc_digital_dev *ddev, in digital_skb_push_dep_sod() argument 151 if (ddev->curr_rf_tech == NFC_DIGITAL_RF_TECH_106A) in digital_skb_push_dep_sod() 155 static int digital_skb_pull_dep_sod(struct nfc_digital_dev *ddev, in digital_skb_pull_dep_sod() argument 163 if (ddev->curr_rf_tech == NFC_DIGITAL_RF_TECH_106A) in digital_skb_pull_dep_sod() 176 digital_send_dep_data_prep(struct nfc_digital_dev *ddev, struct sk_buff *skb, in digital_send_dep_data_prep() argument 182 if (skb->len > ddev->remote_payload_max) { in digital_send_dep_data_prep() 185 new_skb = digital_skb_alloc(ddev, ddev->remote_payload_max); in digital_send_dep_data_prep() 187 kfree_skb(ddev->chaining_skb); in digital_send_dep_data_prep() [all …]
|
D | digital_technology.c | 172 static int digital_in_send_sdd_req(struct nfc_digital_dev *ddev, 175 int digital_in_iso_dep_pull_sod(struct nfc_digital_dev *ddev, in digital_in_iso_dep_pull_sod() argument 203 int digital_in_iso_dep_push_sod(struct nfc_digital_dev *ddev, in digital_in_iso_dep_push_sod() argument 210 if (skb->len + 3 > ddev->target_fsc) in digital_in_iso_dep_push_sod() 215 *skb->data = DIGITAL_ISO_DEP_I_PCB | ddev->curr_nfc_dep_pni; in digital_in_iso_dep_push_sod() 217 ddev->curr_nfc_dep_pni = in digital_in_iso_dep_push_sod() 218 DIGITAL_ISO_DEP_PNI(ddev->curr_nfc_dep_pni + 1); in digital_in_iso_dep_push_sod() 223 static void digital_in_recv_ats(struct nfc_digital_dev *ddev, void *arg, in digital_in_recv_ats() argument 243 ddev->target_fsc = DIGITAL_ATS_MAX_FSC; in digital_in_recv_ats() 245 ddev->target_fsc = digital_ats_fsc[fsdi]; in digital_in_recv_ats() [all …]
|
D | digital.h | 44 #define DIGITAL_DRV_CAPS_IN_CRC(ddev) \ argument 45 ((ddev)->driver_capabilities & NFC_DIGITAL_DRV_CAPS_IN_CRC) 46 #define DIGITAL_DRV_CAPS_TG_CRC(ddev) \ argument 47 ((ddev)->driver_capabilities & NFC_DIGITAL_DRV_CAPS_TG_CRC) 54 struct sk_buff *digital_skb_alloc(struct nfc_digital_dev *ddev, 57 int digital_send_cmd(struct nfc_digital_dev *ddev, u8 cmd_type, 62 int digital_in_configure_hw(struct nfc_digital_dev *ddev, int type, int param); 63 static inline int digital_in_send_cmd(struct nfc_digital_dev *ddev, in digital_in_send_cmd() argument 68 return digital_send_cmd(ddev, DIGITAL_CMD_IN_SEND, skb, NULL, timeout, in digital_in_send_cmd() 72 void digital_poll_next_tech(struct nfc_digital_dev *ddev); [all …]
|
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_main.c | 1907 void hns_dsaf_get_regs(struct dsaf_device *ddev, u32 port, void *data) in hns_dsaf_get_regs() argument 1914 p[0] = dsaf_read_dev(ddev, DSAF_SRAM_INIT_OVER_0_REG); in hns_dsaf_get_regs() 1915 p[1] = dsaf_read_dev(ddev, DSAF_CFG_0_REG); in hns_dsaf_get_regs() 1916 p[2] = dsaf_read_dev(ddev, DSAF_ECC_ERR_INVERT_0_REG); in hns_dsaf_get_regs() 1917 p[3] = dsaf_read_dev(ddev, DSAF_ABNORMAL_TIMEOUT_0_REG); in hns_dsaf_get_regs() 1918 p[4] = dsaf_read_dev(ddev, DSAF_FSM_TIMEOUT_0_REG); in hns_dsaf_get_regs() 1919 p[5] = dsaf_read_dev(ddev, DSAF_DSA_REG_CNT_CLR_CE_REG); in hns_dsaf_get_regs() 1920 p[6] = dsaf_read_dev(ddev, DSAF_DSA_SBM_INF_FIFO_THRD_REG); in hns_dsaf_get_regs() 1921 p[7] = dsaf_read_dev(ddev, DSAF_DSA_SRAM_1BIT_ECC_SEL_REG); in hns_dsaf_get_regs() 1922 p[8] = dsaf_read_dev(ddev, DSAF_DSA_SRAM_1BIT_ECC_CNT_REG); in hns_dsaf_get_regs() [all …]
|
D | hns_dsaf_main.h | 421 void hns_dsaf_get_stats(struct dsaf_device *ddev, u64 *data, int port); 424 void hns_dsaf_get_regs(struct dsaf_device *ddev, u32 port, void *data);
|
/linux-4.4.14/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 | 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 | 50 struct dma_device ddev; member 135 return container_of(d, struct bcm2835_dmadev, ddev); in to_bcm2835_dma_dev() 522 dev_err(d->ddev.dev, "DMA transfer could not be terminated\n"); in bcm2835_dma_terminate_all() 536 c = devm_kzalloc(d->ddev.dev, sizeof(*c), GFP_KERNEL); in bcm2835_dma_chan_init() 541 vchan_init(&c->vc, &d->ddev); in bcm2835_dma_chan_init() 555 list_for_each_entry_safe(c, next, &od->ddev.channels, in bcm2835_dma_free() 574 chan = dma_get_any_slave_channel(&d->ddev); in bcm2835_dma_xlate() 615 dma_cap_set(DMA_SLAVE, od->ddev.cap_mask); in bcm2835_dma_probe() 616 dma_cap_set(DMA_PRIVATE, od->ddev.cap_mask); in bcm2835_dma_probe() 617 dma_cap_set(DMA_CYCLIC, od->ddev.cap_mask); in bcm2835_dma_probe() [all …]
|
D | omap-dma.c | 29 struct dma_device ddev; member 167 return container_of(d, struct omap_dmadev, ddev); in to_omap_dma_dev() 509 dev_err(od->ddev.dev, "invalid channel %u\n", channel); in omap_dma_irq() 538 dev_dbg(od->ddev.dev, "allocating channel %u for %u\n", in omap_dma_alloc_chan_resources() 595 dev_dbg(od->ddev.dev, "freeing channel for %u\n", c->dma_sig); in omap_dma_free_chan_resources() 1104 vchan_init(&c->vc, &od->ddev); in omap_dma_chan_init() 1113 while (!list_empty(&od->ddev.channels)) { in omap_dma_free() 1114 struct omap_chan *c = list_first_entry(&od->ddev.channels, in omap_dma_free() 1148 dma_cap_set(DMA_SLAVE, od->ddev.cap_mask); in omap_dma_probe() 1149 dma_cap_set(DMA_CYCLIC, od->ddev.cap_mask); in omap_dma_probe() [all …]
|
D | cppi41.c | 130 struct dma_device ddev; member 646 while (!list_empty(&cdd->ddev.channels)) { in cleanup_chans() 649 cchan = list_first_entry(&cdd->ddev.channels, in cleanup_chans() 690 cchan->chan.device = &cdd->ddev; in cppi41_add_chans() 691 list_add_tail(&cchan->chan.device_node, &cdd->ddev.channels); in cppi41_add_chans() 927 dma_cap_set(DMA_SLAVE, cdd->ddev.cap_mask); in cppi41_dma_probe() 928 cdd->ddev.device_alloc_chan_resources = cppi41_dma_alloc_chan_resources; in cppi41_dma_probe() 929 cdd->ddev.device_free_chan_resources = cppi41_dma_free_chan_resources; in cppi41_dma_probe() 930 cdd->ddev.device_tx_status = cppi41_dma_tx_status; in cppi41_dma_probe() 931 cdd->ddev.device_issue_pending = cppi41_dma_issue_pending; in cppi41_dma_probe() [all …]
|
D | idma64.h | 195 static inline struct idma64 *to_idma64(struct dma_device *ddev) in to_idma64() argument 197 return container_of(ddev, struct idma64, dma); in to_idma64()
|
D | dma-jz4740.c | 127 struct dma_device ddev; member 138 ddev); in jz4740_dma_chan_get_dev() 522 dd = &dmadev->ddev; in jz4740_dma_probe() 582 dma_async_device_unregister(&dmadev->ddev); in jz4740_dma_remove()
|
D | at_hdmac_regs.h | 348 static inline struct at_dma *to_at_dma(struct dma_device *ddev) in to_at_dma() argument 350 return container_of(ddev, struct at_dma, dma_common); in to_at_dma()
|
D | pch_dma.c | 156 static inline struct pch_dma *to_pd(struct dma_device *ddev) in to_pd() argument 158 return container_of(ddev, struct pch_dma, dma); in to_pd()
|
D | at_xdmac.c | 280 static inline struct at_xdmac *to_at_xdmac(struct dma_device *ddev) in to_at_xdmac() argument 282 return container_of(ddev, struct at_xdmac, dma); in to_at_xdmac()
|
/linux-4.4.14/drivers/usb/core/ |
D | config.c | 46 static void usb_parse_ss_endpoint_companion(struct device *ddev, int cfgno, in usb_parse_ss_endpoint_companion() argument 59 dev_warn(ddev, "No SuperSpeed endpoint companion for config %d " in usb_parse_ss_endpoint_companion() 84 dev_warn(ddev, "Control endpoint with bMaxBurst = %d in " in usb_parse_ss_endpoint_companion() 90 dev_warn(ddev, "Endpoint with bMaxBurst = %d in " in usb_parse_ss_endpoint_companion() 100 dev_warn(ddev, "%s endpoint with bmAttributes = %d in " in usb_parse_ss_endpoint_companion() 109 dev_warn(ddev, "Bulk endpoint with more than 65536 streams in " in usb_parse_ss_endpoint_companion() 116 dev_warn(ddev, "Isoc endpoint has Mult of %d in " in usb_parse_ss_endpoint_companion() 134 dev_warn(ddev, "%s endpoint with wBytesPerInterval of %d in " in usb_parse_ss_endpoint_companion() 145 static int usb_parse_endpoint(struct device *ddev, int cfgno, int inum, in usb_parse_endpoint() argument 163 dev_warn(ddev, "config %d interface %d altsetting %d has an " in usb_parse_endpoint() [all …]
|
/linux-4.4.14/include/net/nfc/ |
D | digital.h | 96 typedef void (*nfc_digital_cmd_complete_t)(struct nfc_digital_dev *ddev, 156 int (*in_configure_hw)(struct nfc_digital_dev *ddev, int type, 158 int (*in_send_cmd)(struct nfc_digital_dev *ddev, struct sk_buff *skb, 162 int (*tg_configure_hw)(struct nfc_digital_dev *ddev, int type, 164 int (*tg_send_cmd)(struct nfc_digital_dev *ddev, struct sk_buff *skb, 167 int (*tg_listen)(struct nfc_digital_dev *ddev, u16 timeout, 169 int (*tg_listen_mdaa)(struct nfc_digital_dev *ddev, 173 int (*tg_listen_md)(struct nfc_digital_dev *ddev, u16 timeout, 175 int (*tg_get_rf_tech)(struct nfc_digital_dev *ddev, u8 *rf_tech); 177 int (*switch_rf)(struct nfc_digital_dev *ddev, bool on); [all …]
|
/linux-4.4.14/drivers/gpu/drm/ast/ |
D | ast_drv.c | 123 struct drm_device *ddev = pci_get_drvdata(pdev); in ast_pm_suspend() local 126 error = ast_drm_freeze(ddev); in ast_pm_suspend() 137 struct drm_device *ddev = pci_get_drvdata(pdev); in ast_pm_resume() local 138 return ast_drm_resume(ddev); in ast_pm_resume() 144 struct drm_device *ddev = pci_get_drvdata(pdev); in ast_pm_freeze() local 146 if (!ddev || !ddev->dev_private) in ast_pm_freeze() 148 return ast_drm_freeze(ddev); in ast_pm_freeze() 155 struct drm_device *ddev = pci_get_drvdata(pdev); in ast_pm_thaw() local 156 return ast_drm_thaw(ddev); in ast_pm_thaw() 162 struct drm_device *ddev = pci_get_drvdata(pdev); in ast_pm_poweroff() local [all …]
|
/linux-4.4.14/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() 101 struct drm_device *dev = rdev->ddev; in radeon_dp_work_func() 290 r = drm_vblank_init(rdev->ddev, rdev->num_crtc); in radeon_irq_kms_init() 310 r = drm_irq_install(rdev->ddev, rdev->ddev->pdev->irq); in radeon_irq_kms_init() 330 drm_vblank_cleanup(rdev->ddev); in radeon_irq_kms_fini() 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 …]
|
D | radeon_display.c | 309 spin_lock_irqsave(&rdev->ddev->event_lock, flags); in radeon_crtc_handle_vblank() 315 spin_unlock_irqrestore(&rdev->ddev->event_lock, flags); in radeon_crtc_handle_vblank() 325 (DRM_SCANOUTPOS_VALID & radeon_get_crtc_scanoutpos(rdev->ddev, in radeon_crtc_handle_vblank() 340 spin_unlock_irqrestore(&rdev->ddev->event_lock, flags); in radeon_crtc_handle_vblank() 363 spin_lock_irqsave(&rdev->ddev->event_lock, flags); in radeon_crtc_handle_flip() 370 spin_unlock_irqrestore(&rdev->ddev->event_lock, flags); in radeon_crtc_handle_flip() 380 drm_send_vblank_event(rdev->ddev, crtc_id, work->event); in radeon_crtc_handle_flip() 382 spin_unlock_irqrestore(&rdev->ddev->event_lock, flags); in radeon_crtc_handle_flip() 384 drm_vblank_put(rdev->ddev, radeon_crtc->crtc_id); in radeon_crtc_handle_flip() 463 stat = radeon_get_crtc_scanoutpos(rdev->ddev, work->crtc_id, in radeon_flip_work_func() [all …]
|
D | radeon_pm.c | 280 drm_vblank_get(rdev->ddev, i); in radeon_pm_set_clocks() 291 drm_vblank_put(rdev->ddev, i); in radeon_pm_set_clocks() 345 struct drm_device *ddev = dev_get_drvdata(dev); in radeon_get_pm_profile() local 346 struct radeon_device *rdev = ddev->dev_private; in radeon_get_pm_profile() 361 struct drm_device *ddev = dev_get_drvdata(dev); in radeon_set_pm_profile() local 362 struct radeon_device *rdev = ddev->dev_private; in radeon_set_pm_profile() 366 (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in radeon_set_pm_profile() 400 struct drm_device *ddev = dev_get_drvdata(dev); in radeon_get_pm_method() local 401 struct radeon_device *rdev = ddev->dev_private; in radeon_get_pm_method() 414 struct drm_device *ddev = dev_get_drvdata(dev); in radeon_set_pm_method() local [all …]
|
D | radeon_fb.c | 231 ret = radeon_framebuffer_init(rdev->ddev, &rfbdev->rfb, &mode_cmd, gobj); in radeonfb_create() 260 info->apertures->ranges[0].base = rdev->ddev->mode_config.fb_base; in radeonfb_create() 276 vga_switcheroo_client_fb_set(rdev->ddev->pdev, info); in radeonfb_create() 340 drm_fb_helper_prepare(rdev->ddev, &rfbdev->helper, in radeon_fbdev_init() 343 ret = drm_fb_helper_init(rdev->ddev, &rfbdev->helper, in radeon_fbdev_init() 354 drm_helper_disable_unused_functions(rdev->ddev); in radeon_fbdev_init() 374 radeon_fbdev_destroy(rdev->ddev, rdev->mode_info.rfbdev); in radeon_fbdev_fini()
|
D | radeon_device.c | 744 radeon_combios_asic_init(rdev->ddev); in radeon_boot_test_post_card() 964 atom_card_info->dev = rdev->ddev; in radeon_atombios_init() 989 radeon_atom_initialize_bios_scratch_regs(rdev->ddev); in radeon_atombios_init() 1032 radeon_combios_initialize_bios_scratch_regs(rdev->ddev); in radeon_combios_init() 1278 struct drm_device *ddev, in radeon_device_init() argument 1288 rdev->ddev = ddev; in radeon_device_init() 1855 drm_helper_resume_force_mode(rdev->ddev); in radeon_gpu_reset() 1906 rdev->ddev->control->debugfs_root, in radeon_debugfs_add_files() 1907 rdev->ddev->control); in radeon_debugfs_add_files() 1909 rdev->ddev->primary->debugfs_root, in radeon_debugfs_add_files() [all …]
|
D | rs600.c | 311 struct drm_device *ddev = rdev->ddev; in rs600_pm_prepare() local 317 list_for_each_entry(crtc, &ddev->mode_config.crtc_list, head) { in rs600_pm_prepare() 329 struct drm_device *ddev = rdev->ddev; in rs600_pm_finish() local 335 list_for_each_entry(crtc, &ddev->mode_config.crtc_list, head) { in rs600_pm_finish() 398 struct drm_device *dev = rdev->ddev; in rs600_hpd_init() 424 struct drm_device *dev = rdev->ddev; in rs600_hpd_fini() 785 drm_handle_vblank(rdev->ddev, 0); in rs600_irq_process() 794 drm_handle_vblank(rdev->ddev, 1); in rs600_irq_process() 1127 radeon_get_clock_info(rdev->ddev); in rs600_init()
|
D | radeon.h | 2316 struct drm_device *ddev; member 2470 struct drm_device *ddev, 2634 #define ASIC_IS_X2(rdev) ((rdev->ddev->pdev->device == 0x9441) || \ 2635 (rdev->ddev->pdev->device == 0x9443) || \ 2636 (rdev->ddev->pdev->device == 0x944B) || \ 2637 (rdev->ddev->pdev->device == 0x9506) || \ 2638 (rdev->ddev->pdev->device == 0x9509) || \ 2639 (rdev->ddev->pdev->device == 0x950F) || \ 2640 (rdev->ddev->pdev->device == 0x689C) || \ 2641 (rdev->ddev->pdev->device == 0x689D)) [all …]
|
D | radeon_ttm.c | 149 if (!rdev->ddev->agp) { in radeon_init_mem_type() 154 if (!rdev->ddev->agp->cant_use_aperture) in radeon_init_mem_type() 471 mem->bus.is_iomem = !rdev->ddev->agp->cant_use_aperture; in radeon_ttm_io_mem_reserve() 503 rdev->ddev->hose->dense_mem_base; in radeon_ttm_io_mem_reserve() 687 return ttm_agp_tt_create(bdev, rdev->ddev->agp->bridge, in radeon_ttm_tt_create() 877 rdev->ddev->anon_inode->i_mapping, in radeon_ttm_init() 1157 struct drm_minor *minor = rdev->ddev->primary; in radeon_ttm_debugfs_init()
|
D | radeon_fence.c | 147 trace_radeon_fence_emit(rdev->ddev, ring, (*fence)->seq); in radeon_fence_emit() 284 if (fence_drv->delayed_irq && rdev->ddev->irq_enabled) { in radeon_fence_check_lockup() 501 trace_radeon_fence_wait_begin(rdev->ddev, i, target_seq[i]); in radeon_fence_wait_seq_timeout() 523 trace_radeon_fence_wait_end(rdev->ddev, i, target_seq[i]); in radeon_fence_wait_seq_timeout()
|
D | radeon_cs.c | 77 struct drm_device *ddev = p->rdev->ddev; in radeon_cs_parser_relocs() local 104 gobj = drm_gem_object_lookup(ddev, p->filp, r->handle); in radeon_cs_parser_relocs() 125 (i == 0 || drm_pci_device_is_agp(p->rdev->ddev) || in radeon_cs_parser_relocs()
|
D | radeon_bios.c | 519 if (rdev->ddev->pdev->device == PCI_DEVICE_ID_ATI_RADEON_QY) { in legacy_read_disabled_bios() 556 if (rdev->ddev->pdev->device == PCI_DEVICE_ID_ATI_RADEON_QY) { in legacy_read_disabled_bios() 574 if (rdev->ddev->pdev->device == PCI_DEVICE_ID_ATI_RADEON_QY) { in legacy_read_disabled_bios()
|
D | r420.c | 321 radeon_combios_asic_init(rdev->ddev); in r420_resume() 413 radeon_get_clock_info(rdev->ddev); in r420_init()
|
D | rs400.c | 476 radeon_combios_asic_init(rdev->ddev); in rs400_resume() 554 radeon_get_clock_info(rdev->ddev); in rs400_init()
|
D | r100.c | 445 struct drm_device *ddev = rdev->ddev; in r100_pm_prepare() local 451 list_for_each_entry(crtc, &ddev->mode_config.crtc_list, head) { in r100_pm_prepare() 476 struct drm_device *ddev = rdev->ddev; in r100_pm_finish() local 482 list_for_each_entry(crtc, &ddev->mode_config.crtc_list, head) { in r100_pm_finish() 589 struct drm_device *dev = rdev->ddev; in r100_hpd_init() 611 struct drm_device *dev = rdev->ddev; in r100_hpd_fini() 782 drm_handle_vblank(rdev->ddev, 0); in r100_irq_process() 791 drm_handle_vblank(rdev->ddev, 1); in r100_irq_process() 1465 crtc = drm_crtc_find(p->rdev->ddev, crtc_id); in r100_cs_packet_parse_vline() 2616 struct drm_device *dev = rdev->ddev; in r100_set_common_regs() [all …]
|
D | r520.c | 291 radeon_get_clock_info(rdev->ddev); in r520_init()
|
D | evergreen.c | 1662 struct drm_device *ddev = rdev->ddev; in evergreen_pm_prepare() local 1668 list_for_each_entry(crtc, &ddev->mode_config.crtc_list, head) { in evergreen_pm_prepare() 1687 struct drm_device *ddev = rdev->ddev; in evergreen_pm_finish() local 1693 list_for_each_entry(crtc, &ddev->mode_config.crtc_list, head) { in evergreen_pm_finish() 1826 struct drm_device *dev = rdev->ddev; in evergreen_hpd_init() 1882 struct drm_device *dev = rdev->ddev; in evergreen_hpd_fini() 5080 drm_handle_vblank(rdev->ddev, 0); in evergreen_irq_process() 5110 drm_handle_vblank(rdev->ddev, 1); in evergreen_irq_process() 5140 drm_handle_vblank(rdev->ddev, 2); in evergreen_irq_process() 5170 drm_handle_vblank(rdev->ddev, 3); in evergreen_irq_process() [all …]
|
D | dce6_afmt.c | 92 list_for_each_entry(encoder, &rdev->ddev->mode_config.encoder_list, head) { in dce6_audio_get_pin()
|
D | radeon_combios.c | 375 edid_info = combios_get_table_offset(rdev->ddev, COMBIOS_HARDCODED_EDID_TABLE); in radeon_combios_check_hardcoded_edid() 645 struct drm_device *dev = rdev->ddev; in radeon_combios_get_i2c_info_from_table() 673 struct drm_device *dev = rdev->ddev; in radeon_combios_i2c_init() 815 struct drm_device *dev = rdev->ddev; in radeon_combios_sideport_present() 918 struct drm_device *dev = rdev->ddev; in radeon_combios_get_tv_info() 2637 struct drm_device *dev = rdev->ddev; in radeon_combios_get_power_modes()
|
D | r600_hdmi.c | 118 struct drm_device *dev = rdev->ddev; in r600_audio_update_hdmi()
|
D | radeon_acpi.c | 721 list_for_each_entry(tmp, &rdev->ddev->mode_config.encoder_list, in radeon_acpi_init()
|
D | r300.c | 1460 radeon_combios_asic_init(rdev->ddev); in r300_resume() 1546 radeon_get_clock_info(rdev->ddev); in r300_init()
|
D | si.c | 6476 drm_handle_vblank(rdev->ddev, 0); in si_irq_process() 6506 drm_handle_vblank(rdev->ddev, 1); in si_irq_process() 6536 drm_handle_vblank(rdev->ddev, 2); in si_irq_process() 6566 drm_handle_vblank(rdev->ddev, 3); in si_irq_process() 6596 drm_handle_vblank(rdev->ddev, 4); in si_irq_process() 6626 drm_handle_vblank(rdev->ddev, 5); in si_irq_process() 7171 radeon_get_clock_info(rdev->ddev); in si_init() 7431 ret = drm_pcie_get_speed_cap_mask(rdev->ddev, &mask); in si_pcie_gen3_enable()
|
D | radeon_object.c | 207 r = drm_gem_object_init(rdev->ddev, &bo->gem_base, size); in radeon_bo_create()
|
D | r600_dpm.c | 156 struct drm_device *dev = rdev->ddev; in r600_dpm_get_vblank_time() 182 struct drm_device *dev = rdev->ddev; in r600_dpm_get_vrefresh()
|
D | r600.c | 947 struct drm_device *dev = rdev->ddev; in r600_hpd_init() 1013 struct drm_device *dev = rdev->ddev; in r600_hpd_fini() 3235 radeon_get_clock_info(rdev->ddev); in r600_init() 4093 drm_handle_vblank(rdev->ddev, 0); in r600_irq_process() 4123 drm_handle_vblank(rdev->ddev, 1); in r600_irq_process()
|
D | radeon_audio.c | 257 list_for_each_entry(encoder, &rdev->ddev->mode_config.encoder_list, head) { in radeon_audio_enable()
|
D | cik.c | 7967 drm_handle_vblank(rdev->ddev, 0); in cik_irq_process() 7997 drm_handle_vblank(rdev->ddev, 1); in cik_irq_process() 8027 drm_handle_vblank(rdev->ddev, 2); in cik_irq_process() 8057 drm_handle_vblank(rdev->ddev, 3); in cik_irq_process() 8087 drm_handle_vblank(rdev->ddev, 4); in cik_irq_process() 8117 drm_handle_vblank(rdev->ddev, 5); in cik_irq_process() 8860 radeon_get_clock_info(rdev->ddev); in cik_init() 9805 ret = drm_pcie_get_speed_cap_mask(rdev->ddev, &mask); in cik_pcie_gen3_enable()
|
D | radeon_i2c.c | 1025 struct drm_device *dev = rdev->ddev; in radeon_i2c_add()
|
D | rs690.c | 847 radeon_get_clock_info(rdev->ddev); in rs690_init()
|
D | rs780_dpm.c | 225 struct drm_device *dev = rdev->ddev; in rs780_voltage_scaling_init()
|
D | rv770.c | 1884 radeon_get_clock_info(rdev->ddev); in rv770_init()
|
D | rv515.c | 667 radeon_get_clock_info(rdev->ddev); in rv515_init()
|
D | ni.c | 2282 radeon_get_clock_info(rdev->ddev); in cayman_init()
|
D | r600_cs.c | 889 crtc = drm_crtc_find(p->rdev->ddev, crtc_id); in r600_cs_common_vline_parse()
|
D | atombios_encoders.c | 2233 struct drm_device *dev = rdev->ddev; in radeon_atom_encoder_init()
|
D | radeon_atombios.c | 191 rdev->i2c_bus[i] = radeon_i2c_create(rdev->ddev, &i2c, stmp); in radeon_atombios_i2c_init()
|
D | ci_dpm.c | 5655 ret = drm_pcie_get_speed_cap_mask(rdev->ddev, &mask); in ci_dpm_init()
|
D | si_dpm.c | 6927 ret = drm_pcie_get_speed_cap_mask(rdev->ddev, &mask); in si_dpm_init()
|
/linux-4.4.14/drivers/gpu/drm/shmobile/ |
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()
|
D | shmob_drm_drv.c | 143 sdev->ddev = dev; in shmob_drm_load() 306 drm_kms_helper_poll_disable(sdev->ddev); in shmob_drm_pm_suspend() 316 drm_modeset_lock_all(sdev->ddev); in shmob_drm_pm_resume() 318 drm_modeset_unlock_all(sdev->ddev); in shmob_drm_pm_resume() 320 drm_kms_helper_poll_enable(sdev->ddev); in shmob_drm_pm_resume() 342 drm_put_dev(sdev->ddev); in shmob_drm_remove()
|
D | shmob_drm_plane.c | 119 dev_dbg(sdev->ddev->dev, "%s(%u): %s 0x%08x 0x%08x\n", __func__, \ in __shmob_drm_plane_setup() 132 dev_dbg(sdev->ddev->dev, "%s(%u): %s 0x%08x\n", __func__, splane->index, in __shmob_drm_plane_setup() 154 dev_dbg(sdev->ddev->dev, "%s(%u): %s 0x%08x\n", __func__, splane->index, in __shmob_drm_plane_setup() 258 ret = drm_plane_init(sdev->ddev, &splane->plane, 1, in shmob_drm_plane_create()
|
D | shmob_drm_drv.h | 40 struct drm_device *ddev; member
|
D | shmob_drm_crtc.c | 169 struct drm_device *dev = sdev->ddev; in shmob_drm_crtc_start() 520 ret = drm_crtc_init(sdev->ddev, crtc, &crtc_funcs); in shmob_drm_crtc_create() 615 ret = drm_encoder_init(sdev->ddev, encoder, &encoder_funcs, in shmob_drm_encoder_create() 724 ret = drm_connector_init(sdev->ddev, connector, &connector_funcs, in shmob_drm_connector_create() 746 sdev->ddev->mode_config.dpms_property, DRM_MODE_DPMS_OFF); in shmob_drm_connector_create()
|
/linux-4.4.14/drivers/gpu/drm/qxl/ |
D | qxl_debugfs.c | 126 qdev->ddev->control->debugfs_root, in qxl_debugfs_add_files() 127 qdev->ddev->control); in qxl_debugfs_add_files() 129 qdev->ddev->primary->debugfs_root, in qxl_debugfs_add_files() 130 qdev->ddev->primary); in qxl_debugfs_add_files() 143 qdev->ddev->control); in qxl_debugfs_remove_files() 146 qdev->ddev->primary); in qxl_debugfs_remove_files()
|
D | qxl_display.c | 106 struct drm_device *dev = qdev->ddev; in qxl_update_offset_props() 126 struct drm_device *dev = qdev->ddev; in qxl_display_read_client_monitors_config() 135 if (!drm_helper_hpd_irq_event(qdev->ddev)) { in qxl_display_read_client_monitors_config() 138 drm_kms_helper_hotplug_event(qdev->ddev); in qxl_display_read_client_monitors_config() 842 struct drm_device *ddev = connector->dev; in qxl_conn_mode_valid() local 843 struct qxl_device *qdev = ddev->dev_private; in qxl_conn_mode_valid() 900 struct drm_device *ddev = connector->dev; in qxl_conn_detect() local 901 struct qxl_device *qdev = ddev->dev_private; in qxl_conn_detect() 963 drm_property_create_range(qdev->ddev, DRM_MODE_PROP_IMMUTABLE, in qxl_mode_create_hotplug_mode_update_property() 1101 drm_mode_config_init(qdev->ddev); in qxl_modeset_init() [all …]
|
D | qxl_irq.c | 93 ret = drm_irq_install(qdev->ddev, qdev->ddev->pdev->irq); in qxl_irq_init()
|
D | qxl_kms.c | 119 struct drm_device *ddev, in qxl_device_init() argument 126 qdev->ddev = ddev; in qxl_device_init() 339 drm_kms_helper_poll_init(qdev->ddev); in qxl_driver_load()
|
D | qxl_fb.c | 387 qxl_framebuffer_init(qdev->ddev, &qfbdev->qfb, &mode_cmd, gobj); in qxlfb_create() 415 info->apertures->ranges[0].base = qdev->ddev->mode_config.fb_base; in qxlfb_create() 511 drm_fb_helper_prepare(qdev->ddev, &qfbdev->helper, in qxl_fbdev_init() 514 ret = drm_fb_helper_init(qdev->ddev, &qfbdev->helper, in qxl_fbdev_init() 542 qxl_fbdev_destroy(qdev->ddev, qdev->mode_info.qfbdev); in qxl_fbdev_fini()
|
D | qxl_ioctl.c | 67 return qxl_mode_dumb_mmap(file_priv, qdev->ddev, qxl_map->handle, in qxl_map_ioctl() 118 gobj = drm_gem_object_lookup(qdev->ddev, file_priv, handle); in qxlhw_handle_to_bo()
|
D | qxl_object.c | 96 r = drm_gem_object_init(qdev->ddev, &bo->gem_base, size); in qxl_bo_create()
|
D | qxl_ttm.c | 401 qdev->ddev->anon_inode->i_mapping, in qxl_ttm_init()
|
D | qxl_drv.h | 244 struct drm_device *ddev; member
|
/linux-4.4.14/drivers/input/tablet/ |
D | gtco.c | 203 struct device *ddev = &device->intf->dev; in parse_hid_report_descriptor() local 230 dev_dbg(ddev, "======>>>>>>PARSE<<<<<<======\n"); in parse_hid_report_descriptor() 279 dev_dbg(ddev, "::::: Saving Report: %d input #%d Max: 0x%X(%d) Min:0x%X(%d) of %d bits\n", in parse_hid_report_descriptor() 294 dev_dbg(ddev, "GER: X Usage: 0x%x\n", usage); in parse_hid_report_descriptor() 302 dev_dbg(ddev, "GER: Y Usage: 0x%x\n", usage); in parse_hid_report_descriptor() 352 dev_dbg(ddev, "======>>>>>> Physical\n"); in parse_hid_report_descriptor() 355 dev_dbg(ddev, "======>>>>>>\n"); in parse_hid_report_descriptor() 370 dev_dbg(ddev, "<<<<<<======\n"); in parse_hid_report_descriptor() 386 dev_dbg(ddev, "%sMAINTAG:(%d) %c SIZE: %d Data: %s 0x%x\n", in parse_hid_report_descriptor() 391 dev_dbg(ddev, "%sMAINTAG:(%d) %c SIZE: %d Data: %s 0x%x\n", in parse_hid_report_descriptor() [all …]
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_irq.c | 58 struct drm_device *dev = adev->ddev; in amdgpu_hotplug_work_func() 217 r = drm_vblank_init(adev->ddev, adev->mode_info.num_crtc); in amdgpu_irq_init() 236 r = drm_irq_install(adev->ddev, adev->ddev->pdev->irq); in amdgpu_irq_init() 258 drm_vblank_cleanup(adev->ddev); in amdgpu_irq_fini() 260 drm_irq_uninstall(adev->ddev); in amdgpu_irq_fini() 391 if (!adev->ddev->irq_enabled) in amdgpu_irq_get() 427 if (!adev->ddev->irq_enabled) in amdgpu_irq_put() 453 if (!adev->ddev->irq_enabled) in amdgpu_irq_enabled()
|
D | amdgpu_fb.c | 212 ret = amdgpu_framebuffer_init(adev->ddev, &rfbdev->rfb, &mode_cmd, gobj); in amdgpufb_create() 241 info->apertures->ranges[0].base = adev->ddev->mode_config.fb_base; in amdgpufb_create() 257 vga_switcheroo_client_fb_set(adev->ddev->pdev, info); in amdgpufb_create() 348 drm_fb_helper_prepare(adev->ddev, &rfbdev->helper, in amdgpu_fbdev_init() 351 ret = drm_fb_helper_init(adev->ddev, &rfbdev->helper, in amdgpu_fbdev_init() 362 drm_helper_disable_unused_functions(adev->ddev); in amdgpu_fbdev_init() 373 amdgpu_fbdev_destroy(adev->ddev, adev->mode_info.rfbdev); in amdgpu_fbdev_fini()
|
D | amdgpu_pm.c | 53 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_dpm_state() local 54 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_get_dpm_state() 67 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_dpm_state() local 68 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_set_dpm_state() 86 (ddev->switch_power_state == DRM_SWITCH_POWER_ON)) in amdgpu_set_dpm_state() 96 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_dpm_forced_performance_level() local 97 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_get_dpm_forced_performance_level() 110 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_dpm_forced_performance_level() local 111 struct amdgpu_device *adev = ddev->dev_private; in amdgpu_set_dpm_forced_performance_level() 745 struct drm_device *ddev = adev->ddev; in amdgpu_pm_compute_clocks() local [all …]
|
D | amdgpu_display.c | 104 stat = amdgpu_get_crtc_scanoutpos(adev->ddev, work->crtc_id, in amdgpu_flip_work_func() 614 drm_property_create_range(adev->ddev, 0 , "coherent", 0, 1); in amdgpu_modeset_create_props() 620 drm_property_create_range(adev->ddev, 0, "load detection", 0, 1); in amdgpu_modeset_create_props() 624 drm_mode_create_scaling_mode_property(adev->ddev); in amdgpu_modeset_create_props() 628 drm_property_create_enum(adev->ddev, 0, in amdgpu_modeset_create_props() 633 drm_property_create_range(adev->ddev, 0, in amdgpu_modeset_create_props() 639 drm_property_create_range(adev->ddev, 0, in amdgpu_modeset_create_props() 646 drm_property_create_enum(adev->ddev, 0, in amdgpu_modeset_create_props() 652 drm_property_create_enum(adev->ddev, 0, in amdgpu_modeset_create_props()
|
D | amdgpu_device.c | 879 atom_card_info->dev = adev->ddev; in amdgpu_atombios_init() 1374 struct drm_device *ddev, in amdgpu_device_init() argument 1383 adev->ddev = ddev; in amdgpu_device_init() 1472 if (amdgpu_device_is_px(ddev)) in amdgpu_device_init() 1513 drm_mode_config_init(adev->ddev); in amdgpu_device_init() 1879 drm_helper_resume_force_mode(adev->ddev); in amdgpu_gpu_reset() 1919 adev->ddev->control->debugfs_root, in amdgpu_debugfs_add_files() 1920 adev->ddev->control); in amdgpu_debugfs_add_files() 1922 adev->ddev->primary->debugfs_root, in amdgpu_debugfs_add_files() 1923 adev->ddev->primary); in amdgpu_debugfs_add_files() [all …]
|
D | dce_v8_0.c | 386 struct drm_device *dev = adev->ddev; in dce_v8_0_hpd_init() 441 struct drm_device *dev = adev->ddev; in dce_v8_0_hpd_fini() 2808 drm_crtc_init(adev->ddev, &amdgpu_crtc->base, &dce_v8_0_crtc_funcs); in dce_v8_0_crtc_init() 2817 adev->ddev->mode_config.cursor_width = amdgpu_crtc->max_cursor_width; in dce_v8_0_crtc_init() 2818 adev->ddev->mode_config.cursor_height = amdgpu_crtc->max_cursor_height; in dce_v8_0_crtc_init() 2897 adev->ddev->mode_config.funcs = &amdgpu_mode_funcs; in dce_v8_0_sw_init() 2899 adev->ddev->mode_config.max_width = 16384; in dce_v8_0_sw_init() 2900 adev->ddev->mode_config.max_height = 16384; in dce_v8_0_sw_init() 2902 adev->ddev->mode_config.preferred_depth = 24; in dce_v8_0_sw_init() 2903 adev->ddev->mode_config.prefer_shadow = 1; in dce_v8_0_sw_init() [all …]
|
D | dce_v10_0.c | 414 struct drm_device *dev = adev->ddev; in dce_v10_0_hpd_init() 484 struct drm_device *dev = adev->ddev; in dce_v10_0_hpd_fini() 2889 drm_crtc_init(adev->ddev, &amdgpu_crtc->base, &dce_v10_0_crtc_funcs); in dce_v10_0_crtc_init() 2898 adev->ddev->mode_config.cursor_width = amdgpu_crtc->max_cursor_width; in dce_v10_0_crtc_init() 2899 adev->ddev->mode_config.cursor_height = amdgpu_crtc->max_cursor_height; in dce_v10_0_crtc_init() 2987 adev->ddev->mode_config.funcs = &amdgpu_mode_funcs; in dce_v10_0_sw_init() 2989 adev->ddev->mode_config.max_width = 16384; in dce_v10_0_sw_init() 2990 adev->ddev->mode_config.max_height = 16384; in dce_v10_0_sw_init() 2992 adev->ddev->mode_config.preferred_depth = 24; in dce_v10_0_sw_init() 2993 adev->ddev->mode_config.prefer_shadow = 1; in dce_v10_0_sw_init() [all …]
|
D | dce_v11_0.c | 404 struct drm_device *dev = adev->ddev; in dce_v11_0_hpd_init() 473 struct drm_device *dev = adev->ddev; in dce_v11_0_hpd_fini() 2878 drm_crtc_init(adev->ddev, &amdgpu_crtc->base, &dce_v11_0_crtc_funcs); in dce_v11_0_crtc_init() 2887 adev->ddev->mode_config.cursor_width = amdgpu_crtc->max_cursor_width; in dce_v11_0_crtc_init() 2888 adev->ddev->mode_config.cursor_height = amdgpu_crtc->max_cursor_height; in dce_v11_0_crtc_init() 2980 adev->ddev->mode_config.funcs = &amdgpu_mode_funcs; in dce_v11_0_sw_init() 2982 adev->ddev->mode_config.max_width = 16384; in dce_v11_0_sw_init() 2983 adev->ddev->mode_config.max_height = 16384; in dce_v11_0_sw_init() 2985 adev->ddev->mode_config.preferred_depth = 24; in dce_v11_0_sw_init() 2986 adev->ddev->mode_config.prefer_shadow = 1; in dce_v11_0_sw_init() [all …]
|
D | amdgpu_bo_list.c | 103 gobj = drm_gem_object_lookup(adev->ddev, filp, info[i].bo_handle); in amdgpu_bo_list_set()
|
D | amdgpu_ttm.c | 465 adev->ddev->hose->dense_mem_base; in amdgpu_ttm_io_mem_reserve() 868 adev->ddev->anon_inode->i_mapping, in amdgpu_ttm_init() 1213 struct drm_minor *minor = adev->ddev->primary; in amdgpu_ttm_debugfs_init()
|
D | amdgpu_i2c.c | 257 struct drm_device *dev = adev->ddev; in amdgpu_i2c_add()
|
D | amdgpu_acpi.c | 714 list_for_each_entry(tmp, &adev->ddev->mode_config.encoder_list, in amdgpu_acpi_init()
|
D | amdgpu_dpm.c | 118 struct drm_device *dev = adev->ddev; in amdgpu_dpm_get_vblank_time() 144 struct drm_device *dev = adev->ddev; in amdgpu_dpm_get_vrefresh()
|
D | amdgpu_object.c | 249 r = drm_gem_object_init(adev->ddev, &bo->gem_base, size); in amdgpu_bo_create_restricted()
|
D | amdgpu_atombios.c | 149 adev->i2c_bus[i] = amdgpu_i2c_create(adev->ddev, &i2c, stmp); in amdgpu_atombios_i2c_init() 533 amdgpu_link_encoder_connector(adev->ddev); in amdgpu_atombios_get_connector_info_from_object_table()
|
D | amdgpu_cs.c | 137 gobj = drm_gem_object_lookup(p->adev->ddev, p->filp, in amdgpu_cs_user_fence_chunk()
|
D | amdgpu.h | 1956 struct drm_device *ddev; member 2108 struct drm_device *ddev,
|
D | vi.c | 1035 ret = drm_pcie_get_speed_cap_mask(adev->ddev, &mask); in vi_pcie_gen3_enable()
|
D | cik.c | 1579 ret = drm_pcie_get_speed_cap_mask(adev->ddev, &mask); in cik_pcie_gen3_enable()
|
D | amdgpu_connectors.c | 1517 struct drm_device *dev = adev->ddev; in amdgpu_connector_add()
|
D | atombios_encoders.c | 1587 struct drm_device *dev = adev->ddev; in amdgpu_atombios_encoder_init_dig()
|
D | ci_dpm.c | 5847 ret = drm_pcie_get_speed_cap_mask(adev->ddev, &mask); in ci_dpm_init()
|
/linux-4.4.14/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_dc.c | 729 struct drm_device *ddev; in atmel_hlcdc_dc_drm_probe() local 732 ddev = drm_dev_alloc(&atmel_hlcdc_dc_driver, &pdev->dev); in atmel_hlcdc_dc_drm_probe() 733 if (!ddev) in atmel_hlcdc_dc_drm_probe() 736 ret = drm_dev_set_unique(ddev, dev_name(ddev->dev)); in atmel_hlcdc_dc_drm_probe() 740 ret = atmel_hlcdc_dc_load(ddev); in atmel_hlcdc_dc_drm_probe() 744 ret = drm_dev_register(ddev, 0); in atmel_hlcdc_dc_drm_probe() 748 ret = atmel_hlcdc_dc_connector_plug_all(ddev); in atmel_hlcdc_dc_drm_probe() 755 drm_dev_unregister(ddev); in atmel_hlcdc_dc_drm_probe() 758 atmel_hlcdc_dc_unload(ddev); in atmel_hlcdc_dc_drm_probe() 761 drm_dev_unref(ddev); in atmel_hlcdc_dc_drm_probe() [all …]
|
/linux-4.4.14/drivers/nfc/ |
D | port100.c | 885 static void port100_abort_cmd(struct nfc_digital_dev *ddev) in port100_abort_cmd() argument 887 struct port100 *dev = nfc_digital_get_drvdata(ddev); in port100_abort_cmd() 977 static int port100_switch_rf(struct nfc_digital_dev *ddev, bool on) in port100_switch_rf() argument 979 struct port100 *dev = nfc_digital_get_drvdata(ddev); in port100_switch_rf() 998 static int port100_in_set_rf(struct nfc_digital_dev *ddev, u8 rf) in port100_in_set_rf() argument 1000 struct port100 *dev = nfc_digital_get_drvdata(ddev); in port100_in_set_rf() 1028 static int port100_in_set_framing(struct nfc_digital_dev *ddev, int param) in port100_in_set_framing() argument 1030 struct port100 *dev = nfc_digital_get_drvdata(ddev); in port100_in_set_framing() 1070 static int port100_in_configure_hw(struct nfc_digital_dev *ddev, int type, in port100_in_configure_hw() argument 1074 return port100_in_set_rf(ddev, param); in port100_in_configure_hw() [all …]
|
D | trf7970a.c | 431 struct nfc_digital_dev *ddev; member 638 trf->cb(trf->ddev, trf->cb_arg, trf->rx_skb); in trf7970a_send_upstream() 1125 static int trf7970a_switch_rf(struct nfc_digital_dev *ddev, bool on) in trf7970a_switch_rf() argument 1127 struct trf7970a *trf = nfc_digital_get_drvdata(ddev); in trf7970a_switch_rf() 1329 static int trf7970a_in_configure_hw(struct nfc_digital_dev *ddev, int type, in trf7970a_in_configure_hw() argument 1332 struct trf7970a *trf = nfc_digital_get_drvdata(ddev); in trf7970a_in_configure_hw() 1455 static int trf7970a_send_cmd(struct nfc_digital_dev *ddev, in trf7970a_send_cmd() argument 1459 struct trf7970a *trf = nfc_digital_get_drvdata(ddev); in trf7970a_send_cmd() 1512 trf->ddev = ddev; in trf7970a_send_cmd() 1672 static int trf7970a_tg_configure_hw(struct nfc_digital_dev *ddev, int type, in trf7970a_tg_configure_hw() argument [all …]
|
/linux-4.4.14/drivers/gpu/drm/virtio/ |
D | virtgpu_display.c | 428 struct drm_device *dev = vgdev->ddev; in vgdev_output_init() 504 drm_mode_config_init(vgdev->ddev); in virtio_gpu_modeset_init() 505 vgdev->ddev->mode_config.funcs = (void *)&virtio_gpu_mode_funcs; in virtio_gpu_modeset_init() 508 vgdev->ddev->mode_config.min_width = XRES_MIN; in virtio_gpu_modeset_init() 509 vgdev->ddev->mode_config.min_height = YRES_MIN; in virtio_gpu_modeset_init() 510 vgdev->ddev->mode_config.max_width = XRES_MAX; in virtio_gpu_modeset_init() 511 vgdev->ddev->mode_config.max_height = YRES_MAX; in virtio_gpu_modeset_init() 516 drm_mode_config_reset(vgdev->ddev); in virtio_gpu_modeset_init() 523 drm_mode_config_cleanup(vgdev->ddev); in virtio_gpu_modeset_fini()
|
D | virtgpu_fb.c | 394 drm_fb_helper_prepare(vgdev->ddev, &vgfbdev->helper, in virtio_gpu_fbdev_init() 396 ret = drm_fb_helper_init(vgdev->ddev, &vgfbdev->helper, in virtio_gpu_fbdev_init() 414 virtio_gpu_fbdev_destroy(vgdev->ddev, vgdev->vgfbdev); in virtio_gpu_fbdev_fini()
|
D | virtgpu_kms.c | 48 drm_helper_hpd_irq_event(vgdev->ddev); in virtio_gpu_config_changed_work_func() 148 vgdev->ddev = dev; in virtio_gpu_driver_load()
|
D | virtgpu_plane.c | 98 struct drm_device *dev = vgdev->ddev; in virtio_gpu_plane_init()
|
D | virtgpu_object.c | 83 ret = drm_gem_object_init(vgdev->ddev, &bo->gem_base, size); in virtio_gpu_object_create()
|
D | virtgpu_ttm.c | 442 vgdev->ddev->anon_inode->i_mapping, in virtio_gpu_ttm_init()
|
D | virtgpu_drv.h | 166 struct drm_device *ddev; member
|
D | virtgpu_vq.c | 585 if (!drm_helper_hpd_irq_event(vgdev->ddev)) in virtio_gpu_cmd_get_display_info_cb() 586 drm_kms_helper_hotplug_event(vgdev->ddev); in virtio_gpu_cmd_get_display_info_cb()
|
D | virtgpu_ioctl.c | 50 return virtio_gpu_mode_dumb_mmap(file_priv, vgdev->ddev, in virtio_gpu_map_ioctl()
|
/linux-4.4.14/drivers/usb/serial/ |
D | usb-serial.c | 715 struct device *ddev = &interface->dev; in usb_serial_probe() local 741 dev_dbg(ddev, "none matched\n"); in usb_serial_probe() 747 dev_err(ddev, "module get failed, exiting\n"); in usb_serial_probe() 766 dev_dbg(ddev, "sub driver rejected device\n"); in usb_serial_probe() 781 dev_dbg(ddev, "found bulk in on endpoint %d\n", i); in usb_serial_probe() 790 dev_dbg(ddev, "found bulk out on endpoint %d\n", i); in usb_serial_probe() 799 dev_dbg(ddev, "found interrupt in on endpoint %d\n", i); in usb_serial_probe() 809 dev_dbg(ddev, "found interrupt out on endpoint %d\n", i); in usb_serial_probe() 836 dev_dbg(ddev, "found interrupt in for Prolific device on separate interface\n"); in usb_serial_probe() 850 dev_info(ddev, "PL-2303 hack: descriptors matched but endpoints did not\n"); in usb_serial_probe() [all …]
|
D | ftdi_sio.c | 2185 struct device *ddev = &port->dev; in ftdi_set_termios() local 2199 dev_dbg(ddev, "%s: forcing baud rate for this device\n", __func__); in ftdi_set_termios() 2206 dev_dbg(ddev, "%s: forcing rtscts for this device\n", __func__); in ftdi_set_termios() 2225 dev_warn(ddev, "requested CSIZE setting not supported\n"); in ftdi_set_termios() 2272 dev_dbg(ddev, "Setting CS5 quirk\n"); in ftdi_set_termios() 2276 dev_dbg(ddev, "Setting CS7\n"); in ftdi_set_termios() 2281 dev_dbg(ddev, "Setting CS8\n"); in ftdi_set_termios() 2294 dev_err(ddev, "%s FAILED to set databits/stopbits/parity\n", in ftdi_set_termios() 2307 dev_err(ddev, "%s error from disable flowcontrol urb\n", in ftdi_set_termios() 2316 dev_err(ddev, "%s urb failed to set baudrate\n", __func__); in ftdi_set_termios() [all …]
|
D | io_edgeport.c | 2754 struct device *ddev = &serial->dev->dev; in edge_startup() local 2805 dev_warn(ddev, in edge_startup() 2811 dev_dbg(ddev, "%s - time 1 %ld\n", __func__, jiffies); in edge_startup() 2818 dev_dbg(ddev, "%s - time 2 %ld\n", __func__, jiffies); in edge_startup() 2823 dev_dbg(ddev, "%s - time 3 %ld\n", __func__, jiffies); in edge_startup() 2829 dev_dbg(ddev, " FirmwareMajorVersion %d.%d.%d\n", in edge_startup() 2854 dev_dbg(ddev, "found interrupt in\n"); in edge_startup() 2891 dev_dbg(ddev, "found bulk in\n"); in edge_startup() 2924 dev_dbg(ddev, "found bulk out\n"); in edge_startup() 2934 dev_err(ddev, "expected endpoints not found\n"); in edge_startup() [all …]
|
/linux-4.4.14/drivers/scsi/libsas/ |
D | sas_init.c | 254 struct domain_device *ddev = sas_find_dev_by_rphy(rphy); in transport_sas_phy_reset() local 255 struct domain_device *ata_dev = sas_ex_to_ata(ddev, phy->number); in transport_sas_phy_reset() 262 return sas_smp_phy_control(ddev, phy->number, reset_type, NULL); in transport_sas_phy_reset() 289 struct domain_device *ddev = sas_find_dev_by_rphy(rphy); in sas_phy_enable() local 294 ret = sas_smp_phy_control(ddev, phy->number, cmd, NULL); in sas_phy_enable() 322 struct domain_device *ddev = sas_find_dev_by_rphy(rphy); in sas_phy_reset() local 323 ret = sas_smp_phy_control(ddev, phy->number, reset_type, NULL); in sas_phy_reset() 358 struct domain_device *ddev = sas_find_dev_by_rphy(rphy); in sas_set_phy_speed() local 359 ret = sas_smp_phy_control(ddev, phy->number, in sas_set_phy_speed()
|
D | sas_ata.c | 371 static int sas_ata_printk(const char *level, const struct domain_device *ddev, in sas_ata_printk() argument 374 struct ata_port *ap = ddev->sata_dev.ap; in sas_ata_printk() 375 struct device *dev = &ddev->rphy->dev; in sas_ata_printk() 804 struct domain_device *ddev = cmd_to_domain_dev(cmd); in sas_ata_eh() local 806 if (!dev_is_sata(ddev) || TO_SAS_TASK(cmd)) in sas_ata_eh() 808 if (eh_dev && eh_dev != ddev) in sas_ata_eh() 810 eh_dev = ddev; in sas_ata_eh()
|
D | sas_discover.c | 503 struct domain_device *ddev = port->port_dev; in sas_revalidate_domain() local 518 if (ddev && (ddev->dev_type == SAS_FANOUT_EXPANDER_DEVICE || in sas_revalidate_domain() 519 ddev->dev_type == SAS_EDGE_EXPANDER_DEVICE)) in sas_revalidate_domain() 520 res = sas_ex_revalidate_domain(ddev); in sas_revalidate_domain()
|
/linux-4.4.14/drivers/gpu/drm/tilcdc/ |
D | tilcdc_drv.c | 593 struct drm_device *ddev = dev_get_drvdata(dev); in tilcdc_pm_suspend() local 594 struct tilcdc_drm_private *priv = ddev->dev_private; in tilcdc_pm_suspend() 597 drm_kms_helper_poll_disable(ddev); in tilcdc_pm_suspend() 602 priv->saved_register[n++] = tilcdc_read(ddev, registers[i].reg); in tilcdc_pm_suspend() 609 struct drm_device *ddev = dev_get_drvdata(dev); in tilcdc_pm_resume() local 610 struct tilcdc_drm_private *priv = ddev->dev_private; in tilcdc_pm_resume() 616 tilcdc_write(ddev, registers[i].reg, priv->saved_register[n++]); in tilcdc_pm_resume() 618 drm_kms_helper_poll_enable(ddev); in tilcdc_pm_resume() 671 struct drm_device *ddev = dev_get_drvdata(&pdev->dev); in tilcdc_pdev_remove() local 672 struct tilcdc_drm_private *priv = ddev->dev_private; in tilcdc_pdev_remove()
|
/linux-4.4.14/drivers/gpu/drm/rcar-du/ |
D | rcar_du_vgacon.c | 73 ret = drm_connector_init(rcdu->ddev, connector, &connector_funcs, in rcar_du_vga_connector_init() 85 rcdu->ddev->mode_config.dpms_property, DRM_MODE_DPMS_OFF); in rcar_du_vga_connector_init()
|
D | rcar_du_drv.c | 187 rcdu->ddev = dev; in rcar_du_load() 311 drm_kms_helper_poll_disable(rcdu->ddev); in rcar_du_pm_suspend() 323 drm_kms_helper_poll_enable(rcdu->ddev); in rcar_du_pm_resume() 345 drm_put_dev(rcdu->ddev); in rcar_du_remove()
|
D | rcar_du_lvdscon.c | 114 ret = drm_connector_init(rcdu->ddev, connector, &connector_funcs, in rcar_du_lvds_connector_init() 126 rcdu->ddev->mode_config.dpms_property, DRM_MODE_DPMS_OFF); in rcar_du_lvds_connector_init()
|
D | rcar_du_hdmicon.c | 105 ret = drm_connector_init(rcdu->ddev, connector, &connector_funcs, in rcar_du_hdmi_connector_init() 117 rcdu->ddev->mode_config.dpms_property, DRM_MODE_DPMS_OFF); in rcar_du_hdmi_connector_init()
|
D | rcar_du_hdmienc.c | 149 ret = driver->encoder_init(i2c_slave, rcdu->ddev, &renc->slave); in rcar_du_hdmienc_init() 153 ret = drm_encoder_init(rcdu->ddev, encoder, &encoder_funcs, in rcar_du_hdmienc_init()
|
D | rcar_du_drv.h | 78 struct drm_device *ddev; member
|
D | rcar_du_kms.c | 714 drm_property_create_range(rcdu->ddev, 0, "alpha", 0, 255); in rcar_du_properties_init() 723 drm_property_create_range(rcdu->ddev, 0, "colorkey", in rcar_du_properties_init() 729 drm_property_create_range(rcdu->ddev, 0, "zpos", 1, 7); in rcar_du_properties_init() 742 struct drm_device *dev = rcdu->ddev; in rcar_du_modeset_init()
|
D | rcar_du_encoder.c | 175 ret = drm_encoder_init(rcdu->ddev, encoder, &encoder_funcs, in rcar_du_encoder_init()
|
D | rcar_du_plane.c | 411 ret = drm_universal_plane_init(rcdu->ddev, &plane->plane, crtcs, in rcar_du_planes_init()
|
D | rcar_du_crtc.c | 614 ret = drm_crtc_init_with_planes(rcdu->ddev, crtc, in rcar_du_crtc_create()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | en_tx.c | 303 dma_unmap_single(priv->ddev, in mlx4_en_free_tx_desc() 308 dma_unmap_page(priv->ddev, in mlx4_en_free_tx_desc() 314 dma_unmap_page(priv->ddev, in mlx4_en_free_tx_desc() 327 dma_unmap_single(priv->ddev, in mlx4_en_free_tx_desc() 332 dma_unmap_page(priv->ddev, in mlx4_en_free_tx_desc() 341 dma_unmap_page(priv->ddev, in mlx4_en_free_tx_desc() 711 struct device *ddev = priv->ddev; in mlx4_en_xmit() local 811 dma = skb_frag_dma_map(ddev, frag, in mlx4_en_xmit() 814 if (dma_mapping_error(ddev, dma)) in mlx4_en_xmit() 828 dma = dma_map_single(ddev, skb->data + in mlx4_en_xmit() [all …]
|
D | en_rx.c | 72 dma = dma_map_page(priv->ddev, page, 0, PAGE_SIZE << order, in mlx4_alloc_pages() 74 if (dma_mapping_error(priv->ddev, dma)) { in mlx4_alloc_pages() 127 dma_unmap_page(priv->ddev, page_alloc[i].dma, in mlx4_en_alloc_frags() 146 dma_unmap_page(priv->ddev, frags[i].dma, frags[i].page_size, in mlx4_en_free_frag() 177 dma_unmap_page(priv->ddev, page_alloc->dma, in mlx4_en_init_allocator() 200 dma_unmap_page(priv->ddev, page_alloc->dma, in mlx4_en_destroy_allocator() 558 dma_sync_single_for_cpu(priv->ddev, dma, frag_info->frag_size, in mlx4_en_complete_rx_desc() 609 dma_sync_single_for_cpu(priv->ddev, dma, length, in mlx4_en_rx_skb() 809 dma_sync_single_for_cpu(priv->ddev, dma, sizeof(*ethh), in mlx4_en_process_rx_cq()
|
D | mlx4_en.h | 584 struct device *ddev; member
|
D | en_netdev.c | 2854 priv->ddev = &mdev->pdev->dev; in mlx4_en_init_netdev()
|
/linux-4.4.14/drivers/dma/hsu/ |
D | hsu.h | 116 static inline struct hsu_dma *to_hsu_dma(struct dma_device *ddev) in to_hsu_dma() argument 118 return container_of(ddev, struct hsu_dma, dma); in to_hsu_dma()
|
/linux-4.4.14/block/ |
D | genhd.c | 510 struct device *ddev = disk_to_dev(disk); in register_disk() local 516 ddev->parent = disk->driverfs_dev; in register_disk() 518 dev_set_name(ddev, "%s", disk->disk_name); in register_disk() 521 dev_set_uevent_suppress(ddev, 1); in register_disk() 523 if (device_add(ddev)) in register_disk() 526 err = sysfs_create_link(block_depr, &ddev->kobj, in register_disk() 527 kobject_name(&ddev->kobj)); in register_disk() 529 device_del(ddev); in register_disk() 539 pm_runtime_set_memalloc_noio(ddev, true); in register_disk() 541 disk->part0.holder_dir = kobject_create_and_add("holders", &ddev->kobj); in register_disk() [all …]
|
D | partition-generic.c | 275 struct device *ddev = disk_to_dev(disk); in add_partition() local 318 dname = dev_name(ddev); in add_partition() 327 pdev->parent = ddev; in add_partition() 363 if (!dev_get_uevent_suppress(ddev)) in add_partition()
|
/linux-4.4.14/drivers/misc/mic/scif/ |
D | scif_fence.c | 207 struct dma_device *ddev = chan->device; in _scif_prog_signal() local 215 tx = ddev->device_prep_dma_memcpy(chan, 0, 0, 0, DMA_PREP_FENCE); in _scif_prog_signal() 235 tx = ddev->device_prep_dma_imm_data(chan, dst, val, 0); in _scif_prog_signal() 249 tx = ddev->device_prep_dma_memcpy(chan, dst, src, sizeof(val), in _scif_prog_signal() 586 struct dma_device *ddev = chan->device; in _scif_fence_mark() local 591 tx = ddev->device_prep_dma_memcpy(chan, 0, 0, 0, DMA_PREP_FENCE); in _scif_fence_mark() 606 tx = ddev->device_prep_dma_interrupt(chan, DMA_PREP_INTERRUPT); in _scif_fence_mark()
|
D | scif_dma.c | 449 struct dma_device *ddev; in scif_sync_dma() local 457 ddev = chan->device; in scif_sync_dma() 459 tx = ddev->device_prep_dma_memcpy(chan, 0, 0, 0, flags); in scif_sync_dma() 511 struct dma_device *ddev; in scif_async_dma() local 524 ddev = chan->device; in scif_async_dma() 526 tx = ddev->device_prep_dma_memcpy(chan, 0, 0, 0, flags); in scif_async_dma()
|
/linux-4.4.14/drivers/infiniband/hw/mlx5/ |
D | mr.c | 764 struct device *ddev = dev->ib_dev.dma_device; in reg_umr() local 808 dma = dma_map_single(ddev, pas, size, DMA_TO_DEVICE); in reg_umr() 809 if (dma_mapping_error(ddev, dma)) { in reg_umr() 841 dma_unmap_single(ddev, dma, size, DMA_TO_DEVICE); in reg_umr() 860 struct device *ddev = dev->ib_dev.dma_device; in mlx5_ib_update_mtt() local 905 dma = dma_map_single(ddev, pas, size, DMA_TO_DEVICE); in mlx5_ib_update_mtt() 906 if (dma_mapping_error(ddev, dma)) { in mlx5_ib_update_mtt() 915 dma_sync_single_for_cpu(ddev, dma, size, DMA_TO_DEVICE); in mlx5_ib_update_mtt() 930 dma_sync_single_for_device(ddev, dma, size, DMA_TO_DEVICE); in mlx5_ib_update_mtt() 965 dma_unmap_single(ddev, dma, size, DMA_TO_DEVICE); in mlx5_ib_update_mtt()
|
/linux-4.4.14/drivers/dma/dw/ |
D | regs.h | 306 static inline struct dw_dma *to_dw_dma(struct dma_device *ddev) in to_dw_dma() argument 308 return container_of(ddev, struct dw_dma, dma); in to_dw_dma()
|
/linux-4.4.14/drivers/net/wireless/hostap/ |
D | hostap_info.c | 156 netif_carrier_on(local->ddev); in prism2_info_linkstatus() 440 netif_carrier_on(local->ddev); in handle_info_queue_linkstatus() 444 netif_carrier_off(local->ddev); in handle_info_queue_linkstatus()
|
D | hostap_main.c | 116 if (dev == iface->local->ddev) in hostap_remove_interface() 117 iface->local->ddev = NULL; in hostap_remove_interface() 190 local->ddev->name, "wds%d"); in prism2_wds_add() 612 if (dev == local->ddev) { in prism2_close() 898 rtnl_locked, local->ddev->name, in hostap_enable_hostapd() 930 rtnl_locked, local->ddev->name, in hostap_enable_hostapd_sta()
|
D | hostap_proc.c | 457 local->proc = proc_mkdir(local->ddev->name, hostap_proc); in hostap_init_proc() 460 local->ddev->name); in hostap_init_proc()
|
D | hostap_80211_tx.c | 86 if (local->ddev != dev) { in hostap_data_start_xmit()
|
D | hostap_wlan.h | 651 struct net_device *ddev; /* main data device */ member
|
D | hostap_hw.c | 3272 local->ddev = hostap_add_interface(local, HOSTAP_INTERFACE_MAIN, 0, in hostap_hw_ready() 3275 if (local->ddev) { in hostap_hw_ready() 3279 netif_carrier_off(local->ddev); in hostap_hw_ready()
|
D | hostap_ioctl.c | 869 struct net_device *dev = local->ddev; in hostap_monitor_set_type() 1116 struct net_device *dev = local->ddev; in hostap_monitor_mode_disable() 1202 netif_carrier_on(local->ddev); in prism2_ioctl_siwmode()
|
D | hostap_80211_rx.c | 745 dev = local->ddev; in hostap_80211_rx()
|
/linux-4.4.14/drivers/gpu/drm/cirrus/ |
D | cirrus_main.c | 120 struct drm_device *ddev, in cirrus_device_init() argument 125 cdev->dev = ddev; in cirrus_device_init()
|
D | cirrus_drv.h | 192 struct drm_device *ddev,
|
/linux-4.4.14/include/linux/ |
D | rio.h | 447 static inline struct rio_mport *dma_to_mport(struct dma_device *ddev) in dma_to_mport() argument 449 return container_of(ddev, struct rio_mport, dma); in dma_to_mport()
|
/linux-4.4.14/drivers/gpu/drm/udl/ |
D | udl_drv.h | 53 struct drm_device *ddev; member
|
D | udl_main.c | 295 udl->ddev = dev; in udl_driver_load()
|
D | udl_fb.c | 329 if (drm_device_is_unplugged(udl->ddev)) in udl_fb_open()
|
/linux-4.4.14/drivers/edac/ |
D | xgene_edac.c | 523 struct device ddev; member 941 ctx->ddev = *edac->dev; in xgene_edac_pmd_add() 943 edac_dev->dev = &ctx->ddev; in xgene_edac_pmd_add() 1031 struct device ddev; member 1237 ctx->ddev = *edac->dev; in xgene_edac_l3_add() 1239 edac_dev->dev = &ctx->ddev; in xgene_edac_l3_add() 1724 ctx->ddev = *edac->dev; in xgene_edac_soc_add() 1726 edac_dev->dev = &ctx->ddev; in xgene_edac_soc_add()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
D | cmd.c | 1506 struct device *ddev = &dev->pdev->dev; in alloc_cmd_page() local 1508 cmd->cmd_alloc_buf = dma_zalloc_coherent(ddev, MLX5_ADAPTER_PAGE_SIZE, in alloc_cmd_page() 1521 dma_free_coherent(ddev, MLX5_ADAPTER_PAGE_SIZE, cmd->cmd_alloc_buf, in alloc_cmd_page() 1523 cmd->cmd_alloc_buf = dma_zalloc_coherent(ddev, in alloc_cmd_page() 1537 struct device *ddev = &dev->pdev->dev; in free_cmd_page() local 1539 dma_free_coherent(ddev, cmd->alloc_size, cmd->cmd_alloc_buf, in free_cmd_page()
|
/linux-4.4.14/drivers/gpu/drm/msm/ |
D | msm_drv.c | 1013 struct drm_device *ddev = dev_get_drvdata(dev); in msm_pm_suspend() local 1015 drm_kms_helper_poll_disable(ddev); in msm_pm_suspend() 1022 struct drm_device *ddev = dev_get_drvdata(dev); in msm_pm_resume() local 1024 drm_kms_helper_poll_enable(ddev); in msm_pm_resume()
|
/linux-4.4.14/drivers/macintosh/ |
D | windfarm_pm91.c | 642 static int wf_smu_probe(struct platform_device *ddev) in wf_smu_probe() argument 649 static int wf_smu_remove(struct platform_device *ddev) in wf_smu_remove() argument
|
D | windfarm_pm81.c | 720 static int wf_smu_probe(struct platform_device *ddev) in wf_smu_probe() argument 727 static int wf_smu_remove(struct platform_device *ddev) in wf_smu_remove() argument
|
D | windfarm_pm121.c | 997 static int pm121_probe(struct platform_device *ddev) in pm121_probe() argument 1004 static int pm121_remove(struct platform_device *ddev) in pm121_remove() argument
|
/linux-4.4.14/fs/xfs/ |
D | xfs_super.c | 719 struct block_device *ddev = mp->m_super->s_bdev; in xfs_open_devices() local 737 if (rtdev == ddev || rtdev == logdev) { in xfs_open_devices() 749 mp->m_ddev_targp = xfs_alloc_buftarg(mp, ddev); in xfs_open_devices() 759 if (logdev && logdev != ddev) { in xfs_open_devices() 777 if (logdev && logdev != ddev) in xfs_open_devices()
|
/linux-4.4.14/drivers/rapidio/devices/ |
D | tsi721_dma.c | 55 static inline struct tsi721_device *to_tsi721(struct dma_device *ddev) in to_tsi721() argument 57 return container_of(ddev, struct rio_mport, dma)->priv; in to_tsi721()
|
/linux-4.4.14/drivers/s390/net/ |
D | qeth_l2_main.c | 2135 struct ccw_device *ddev; in qeth_bridgeport_an_set() local 2142 ddev = CARD_DDEV(card); in qeth_bridgeport_an_set() 2143 ccw_device_get_schid(ddev, &schid); in qeth_bridgeport_an_set()
|
D | qeth_core_main.c | 4783 struct ccw_device *ddev; in qeth_determine_capabilities() local 4787 ddev = CARD_DDEV(card); in qeth_determine_capabilities() 4788 if (!ddev->online) { in qeth_determine_capabilities() 4790 rc = ccw_device_set_online(ddev); in qeth_determine_capabilities() 4809 rc = qdio_get_ssqd_desc(ddev, &card->ssqd); in qeth_determine_capabilities() 4829 ccw_device_set_offline(ddev); in qeth_determine_capabilities()
|