ddev              599 block/genhd.c  	struct device *ddev = disk_to_dev(disk);
ddev              605 block/genhd.c  	ddev->parent = parent;
ddev              607 block/genhd.c  	dev_set_name(ddev, "%s", disk->disk_name);
ddev              610 block/genhd.c  	dev_set_uevent_suppress(ddev, 1);
ddev              613 block/genhd.c  		WARN_ON(ddev->groups);
ddev              614 block/genhd.c  		ddev->groups = groups;
ddev              616 block/genhd.c  	if (device_add(ddev))
ddev              619 block/genhd.c  		err = sysfs_create_link(block_depr, &ddev->kobj,
ddev              620 block/genhd.c  					kobject_name(&ddev->kobj));
ddev              622 block/genhd.c  			device_del(ddev);
ddev              632 block/genhd.c  	pm_runtime_set_memalloc_noio(ddev, true);
ddev              634 block/genhd.c  	disk->part0.holder_dir = kobject_create_and_add("holders", &ddev->kobj);
ddev              635 block/genhd.c  	disk->slave_dir = kobject_create_and_add("slaves", &ddev->kobj);
ddev              638 block/genhd.c  		dev_set_uevent_suppress(ddev, 0);
ddev              662 block/genhd.c  	dev_set_uevent_suppress(ddev, 0);
ddev              663 block/genhd.c  	kobject_uevent(&ddev->kobj, KOBJ_ADD);
ddev              672 block/genhd.c  		err = sysfs_create_link(&ddev->kobj,
ddev              315 block/partition-generic.c 	struct device *ddev = disk_to_dev(disk);
ddev              360 block/partition-generic.c 	dname = dev_name(ddev);
ddev              369 block/partition-generic.c 	pdev->parent = ddev;
ddev              405 block/partition-generic.c 	if (!dev_get_uevent_suppress(ddev))
ddev              510 drivers/amba/bus.c 	struct deferred_device *ddev, *tmp;
ddev              514 drivers/amba/bus.c 	list_for_each_entry_safe(ddev, tmp, &deferred_devices, node) {
ddev              515 drivers/amba/bus.c 		int ret = amba_device_try_add(ddev->dev, ddev->parent);
ddev              520 drivers/amba/bus.c 		list_del_init(&ddev->node);
ddev              521 drivers/amba/bus.c 		kfree(ddev);
ddev              545 drivers/amba/bus.c 		struct deferred_device *ddev;
ddev              547 drivers/amba/bus.c 		ddev = kmalloc(sizeof(*ddev), GFP_KERNEL);
ddev              548 drivers/amba/bus.c 		if (!ddev)
ddev              551 drivers/amba/bus.c 		ddev->dev = dev;
ddev              552 drivers/amba/bus.c 		ddev->parent = parent;
ddev              560 drivers/amba/bus.c 		list_add_tail(&ddev->node, &deferred_devices);
ddev              344 drivers/dma/at_hdmac_regs.h static inline struct at_dma *to_at_dma(struct dma_device *ddev)
ddev              346 drivers/dma/at_hdmac_regs.h 	return container_of(ddev, struct at_dma, dma_common);
ddev              269 drivers/dma/at_xdmac.c static inline struct at_xdmac *to_at_xdmac(struct dma_device *ddev)
ddev              271 drivers/dma/at_xdmac.c 	return container_of(ddev, struct at_xdmac, dma);
ddev               49 drivers/dma/bcm2835-dma.c 	struct dma_device ddev;
ddev              192 drivers/dma/bcm2835-dma.c 	return container_of(d, struct bcm2835_dmadev, ddev);
ddev              827 drivers/dma/bcm2835-dma.c 	c = devm_kzalloc(d->ddev.dev, sizeof(*c), GFP_KERNEL);
ddev              832 drivers/dma/bcm2835-dma.c 	vchan_init(&c->vc, &d->ddev);
ddev              851 drivers/dma/bcm2835-dma.c 	list_for_each_entry_safe(c, next, &od->ddev.channels,
ddev              857 drivers/dma/bcm2835-dma.c 	dma_unmap_page_attrs(od->ddev.dev, od->zero_page, PAGE_SIZE,
ddev              873 drivers/dma/bcm2835-dma.c 	chan = dma_get_any_slave_channel(&d->ddev);
ddev              918 drivers/dma/bcm2835-dma.c 	dma_cap_set(DMA_SLAVE, od->ddev.cap_mask);
ddev              919 drivers/dma/bcm2835-dma.c 	dma_cap_set(DMA_PRIVATE, od->ddev.cap_mask);
ddev              920 drivers/dma/bcm2835-dma.c 	dma_cap_set(DMA_CYCLIC, od->ddev.cap_mask);
ddev              921 drivers/dma/bcm2835-dma.c 	dma_cap_set(DMA_MEMCPY, od->ddev.cap_mask);
ddev              922 drivers/dma/bcm2835-dma.c 	od->ddev.device_alloc_chan_resources = bcm2835_dma_alloc_chan_resources;
ddev              923 drivers/dma/bcm2835-dma.c 	od->ddev.device_free_chan_resources = bcm2835_dma_free_chan_resources;
ddev              924 drivers/dma/bcm2835-dma.c 	od->ddev.device_tx_status = bcm2835_dma_tx_status;
ddev              925 drivers/dma/bcm2835-dma.c 	od->ddev.device_issue_pending = bcm2835_dma_issue_pending;
ddev              926 drivers/dma/bcm2835-dma.c 	od->ddev.device_prep_dma_cyclic = bcm2835_dma_prep_dma_cyclic;
ddev              927 drivers/dma/bcm2835-dma.c 	od->ddev.device_prep_slave_sg = bcm2835_dma_prep_slave_sg;
ddev              928 drivers/dma/bcm2835-dma.c 	od->ddev.device_prep_dma_memcpy = bcm2835_dma_prep_dma_memcpy;
ddev              929 drivers/dma/bcm2835-dma.c 	od->ddev.device_config = bcm2835_dma_slave_config;
ddev              930 drivers/dma/bcm2835-dma.c 	od->ddev.device_terminate_all = bcm2835_dma_terminate_all;
ddev              931 drivers/dma/bcm2835-dma.c 	od->ddev.device_synchronize = bcm2835_dma_synchronize;
ddev              932 drivers/dma/bcm2835-dma.c 	od->ddev.src_addr_widths = BIT(DMA_SLAVE_BUSWIDTH_4_BYTES);
ddev              933 drivers/dma/bcm2835-dma.c 	od->ddev.dst_addr_widths = BIT(DMA_SLAVE_BUSWIDTH_4_BYTES);
ddev              934 drivers/dma/bcm2835-dma.c 	od->ddev.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV) |
ddev              936 drivers/dma/bcm2835-dma.c 	od->ddev.residue_granularity = DMA_RESIDUE_GRANULARITY_BURST;
ddev              937 drivers/dma/bcm2835-dma.c 	od->ddev.descriptor_reuse = true;
ddev              938 drivers/dma/bcm2835-dma.c 	od->ddev.dev = &pdev->dev;
ddev              939 drivers/dma/bcm2835-dma.c 	INIT_LIST_HEAD(&od->ddev.channels);
ddev              943 drivers/dma/bcm2835-dma.c 	od->zero_page = dma_map_page_attrs(od->ddev.dev, ZERO_PAGE(0), 0,
ddev              946 drivers/dma/bcm2835-dma.c 	if (dma_mapping_error(od->ddev.dev, od->zero_page)) {
ddev             1014 drivers/dma/bcm2835-dma.c 	rc = dma_async_device_register(&od->ddev);
ddev             1034 drivers/dma/bcm2835-dma.c 	dma_async_device_unregister(&od->ddev);
ddev              361 drivers/dma/dw/regs.h static inline struct dw_dma *to_dw_dma(struct dma_device *ddev)
ddev              363 drivers/dma/dw/regs.h 	return container_of(ddev, struct dw_dma, dma);
ddev              118 drivers/dma/hsu/hsu.h static inline struct hsu_dma *to_hsu_dma(struct dma_device *ddev)
ddev              120 drivers/dma/hsu/hsu.h 	return container_of(ddev, struct hsu_dma, dma);
ddev              193 drivers/dma/idma64.h static inline struct idma64 *to_idma64(struct dma_device *ddev)
ddev              195 drivers/dma/idma64.h 	return container_of(ddev, struct idma64, dma);
ddev              140 drivers/dma/mediatek/mtk-cqdma.c 	struct dma_device ddev;
ddev              151 drivers/dma/mediatek/mtk-cqdma.c 	return container_of(chan->device, struct mtk_cqdma_device, ddev);
ddev              166 drivers/dma/mediatek/mtk-cqdma.c 	return cqdma->ddev.dev;
ddev              762 drivers/dma/mediatek/mtk-cqdma.c 	dd = &cqdma->ddev;
ddev              933 drivers/dma/mediatek/mtk-cqdma.c 	dma_async_device_unregister(&cqdma->ddev);
ddev              233 drivers/dma/mediatek/mtk-hsdma.c 	struct dma_device ddev;
ddev              251 drivers/dma/mediatek/mtk-hsdma.c 	return container_of(chan->device, struct mtk_hsdma_device, ddev);
ddev              266 drivers/dma/mediatek/mtk-hsdma.c 	return hsdma->ddev.dev;
ddev              906 drivers/dma/mediatek/mtk-hsdma.c 	dd = &hsdma->ddev;
ddev             1038 drivers/dma/mediatek/mtk-hsdma.c 	dma_async_device_unregister(&hsdma->ddev);
ddev               79 drivers/dma/mediatek/mtk-uart-apdma.c 	struct dma_device ddev;
ddev              107 drivers/dma/mediatek/mtk-uart-apdma.c 	return container_of(d, struct mtk_uart_apdmadev, ddev);
ddev              276 drivers/dma/mediatek/mtk-uart-apdma.c 	ret = pm_runtime_get_sync(mtkd->ddev.dev);
ddev              316 drivers/dma/mediatek/mtk-uart-apdma.c 	pm_runtime_put_sync(mtkd->ddev.dev);
ddev              458 drivers/dma/mediatek/mtk-uart-apdma.c 	while (!list_empty(&mtkd->ddev.channels)) {
ddev              459 drivers/dma/mediatek/mtk-uart-apdma.c 		struct mtk_chan *c = list_first_entry(&mtkd->ddev.channels,
ddev              503 drivers/dma/mediatek/mtk-uart-apdma.c 	dma_cap_set(DMA_SLAVE, mtkd->ddev.cap_mask);
ddev              504 drivers/dma/mediatek/mtk-uart-apdma.c 	mtkd->ddev.device_alloc_chan_resources =
ddev              506 drivers/dma/mediatek/mtk-uart-apdma.c 	mtkd->ddev.device_free_chan_resources =
ddev              508 drivers/dma/mediatek/mtk-uart-apdma.c 	mtkd->ddev.device_tx_status = mtk_uart_apdma_tx_status;
ddev              509 drivers/dma/mediatek/mtk-uart-apdma.c 	mtkd->ddev.device_issue_pending = mtk_uart_apdma_issue_pending;
ddev              510 drivers/dma/mediatek/mtk-uart-apdma.c 	mtkd->ddev.device_prep_slave_sg = mtk_uart_apdma_prep_slave_sg;
ddev              511 drivers/dma/mediatek/mtk-uart-apdma.c 	mtkd->ddev.device_config = mtk_uart_apdma_slave_config;
ddev              512 drivers/dma/mediatek/mtk-uart-apdma.c 	mtkd->ddev.device_pause = mtk_uart_apdma_device_pause;
ddev              513 drivers/dma/mediatek/mtk-uart-apdma.c 	mtkd->ddev.device_terminate_all = mtk_uart_apdma_terminate_all;
ddev              514 drivers/dma/mediatek/mtk-uart-apdma.c 	mtkd->ddev.src_addr_widths = BIT(DMA_SLAVE_BUSWIDTH_1_BYTE);
ddev              515 drivers/dma/mediatek/mtk-uart-apdma.c 	mtkd->ddev.dst_addr_widths = BIT(DMA_SLAVE_BUSWIDTH_1_BYTE);
ddev              516 drivers/dma/mediatek/mtk-uart-apdma.c 	mtkd->ddev.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV);
ddev              517 drivers/dma/mediatek/mtk-uart-apdma.c 	mtkd->ddev.residue_granularity = DMA_RESIDUE_GRANULARITY_SEGMENT;
ddev              518 drivers/dma/mediatek/mtk-uart-apdma.c 	mtkd->ddev.dev = &pdev->dev;
ddev              519 drivers/dma/mediatek/mtk-uart-apdma.c 	INIT_LIST_HEAD(&mtkd->ddev.channels);
ddev              529 drivers/dma/mediatek/mtk-uart-apdma.c 		c = devm_kzalloc(mtkd->ddev.dev, sizeof(*c), GFP_KERNEL);
ddev              547 drivers/dma/mediatek/mtk-uart-apdma.c 		vchan_init(&c->vc, &mtkd->ddev);
ddev              558 drivers/dma/mediatek/mtk-uart-apdma.c 	rc = dma_async_device_register(&mtkd->ddev);
ddev              572 drivers/dma/mediatek/mtk-uart-apdma.c 	dma_async_device_unregister(&mtkd->ddev);
ddev              588 drivers/dma/mediatek/mtk-uart-apdma.c 	dma_async_device_unregister(&mtkd->ddev);
ddev              148 drivers/dma/pch_dma.c static inline struct pch_dma *to_pd(struct dma_device *ddev)
ddev              150 drivers/dma/pch_dma.c 	return container_of(ddev, struct pch_dma, dma);
ddev               79 drivers/dma/qcom/hidma.c 	return container_of(dmadev, struct hidma_dev, ddev);
ddev              101 drivers/dma/qcom/hidma.c 	INIT_LIST_HEAD(&dmadev->ddev.channels);
ddev              116 drivers/dma/qcom/hidma.c 	struct dma_device *ddev = mchan->chan.device;
ddev              117 drivers/dma/qcom/hidma.c 	struct hidma_dev *mdma = to_hidma_dev(ddev);
ddev              175 drivers/dma/qcom/hidma.c 	struct dma_device *ddev = mchan->chan.device;
ddev              176 drivers/dma/qcom/hidma.c 	struct hidma_dev *dmadev = to_hidma_dev(ddev);
ddev              195 drivers/dma/qcom/hidma.c 		pm_runtime_mark_last_busy(dmadev->ddev.dev);
ddev              196 drivers/dma/qcom/hidma.c 		pm_runtime_put_autosuspend(dmadev->ddev.dev);
ddev              203 drivers/dma/qcom/hidma.c 	struct dma_device *ddev;
ddev              205 drivers/dma/qcom/hidma.c 	mchan = devm_kzalloc(dmadev->ddev.dev, sizeof(*mchan), GFP_KERNEL);
ddev              209 drivers/dma/qcom/hidma.c 	ddev = &dmadev->ddev;
ddev              212 drivers/dma/qcom/hidma.c 	mchan->chan.device = ddev;
ddev              222 drivers/dma/qcom/hidma.c 	list_add_tail(&mchan->chan.device_node, &ddev->channels);
ddev              223 drivers/dma/qcom/hidma.c 	dmadev->ddev.chancnt++;
ddev              231 drivers/dma/qcom/hidma.c 	pm_runtime_get_sync(dmadev->ddev.dev);
ddev              258 drivers/dma/qcom/hidma.c 	status = pm_runtime_get(dmadev->ddev.dev);
ddev              325 drivers/dma/qcom/hidma.c 	pm_runtime_get_sync(dmadev->ddev.dev);
ddev              327 drivers/dma/qcom/hidma.c 		pm_runtime_mark_last_busy(dmadev->ddev.dev);
ddev              328 drivers/dma/qcom/hidma.c 		pm_runtime_put_autosuspend(dmadev->ddev.dev);
ddev              331 drivers/dma/qcom/hidma.c 	pm_runtime_mark_last_busy(dmadev->ddev.dev);
ddev              332 drivers/dma/qcom/hidma.c 	pm_runtime_put_autosuspend(dmadev->ddev.dev);
ddev              474 drivers/dma/qcom/hidma.c 	pm_runtime_get_sync(dmadev->ddev.dev);
ddev              489 drivers/dma/qcom/hidma.c 		dev_err(dmadev->ddev.dev, "channel did not pause\n");
ddev              507 drivers/dma/qcom/hidma.c 	pm_runtime_mark_last_busy(dmadev->ddev.dev);
ddev              508 drivers/dma/qcom/hidma.c 	pm_runtime_put_autosuspend(dmadev->ddev.dev);
ddev              523 drivers/dma/qcom/hidma.c 	pm_runtime_get_sync(dmadev->ddev.dev);
ddev              525 drivers/dma/qcom/hidma.c 	pm_runtime_mark_last_busy(dmadev->ddev.dev);
ddev              526 drivers/dma/qcom/hidma.c 	pm_runtime_put_autosuspend(dmadev->ddev.dev);
ddev              565 drivers/dma/qcom/hidma.c 		pm_runtime_get_sync(dmadev->ddev.dev);
ddev              567 drivers/dma/qcom/hidma.c 			dev_warn(dmadev->ddev.dev, "channel did not stop\n");
ddev              569 drivers/dma/qcom/hidma.c 		pm_runtime_mark_last_busy(dmadev->ddev.dev);
ddev              570 drivers/dma/qcom/hidma.c 		pm_runtime_put_autosuspend(dmadev->ddev.dev);
ddev              584 drivers/dma/qcom/hidma.c 		pm_runtime_get_sync(dmadev->ddev.dev);
ddev              589 drivers/dma/qcom/hidma.c 			dev_err(dmadev->ddev.dev,
ddev              591 drivers/dma/qcom/hidma.c 		pm_runtime_mark_last_busy(dmadev->ddev.dev);
ddev              592 drivers/dma/qcom/hidma.c 		pm_runtime_put_autosuspend(dmadev->ddev.dev);
ddev              634 drivers/dma/qcom/hidma.c 	device_remove_file(dev->ddev.dev, dev->chid_attrs);
ddev              643 drivers/dma/qcom/hidma.c 	attrs = devm_kmalloc(dev->ddev.dev, sizeof(struct device_attribute),
ddev              648 drivers/dma/qcom/hidma.c 	name_copy = devm_kstrdup(dev->ddev.dev, name, GFP_KERNEL);
ddev              666 drivers/dma/qcom/hidma.c 	return device_create_file(dev->ddev.dev, dev->chid_attrs);
ddev              686 drivers/dma/qcom/hidma.c 	struct device *dev = dmadev->ddev.dev;
ddev              800 drivers/dma/qcom/hidma.c 	INIT_LIST_HEAD(&dmadev->ddev.channels);
ddev              802 drivers/dma/qcom/hidma.c 	dmadev->ddev.dev = &pdev->dev;
ddev              803 drivers/dma/qcom/hidma.c 	pm_runtime_get_sync(dmadev->ddev.dev);
ddev              805 drivers/dma/qcom/hidma.c 	dma_cap_set(DMA_MEMCPY, dmadev->ddev.cap_mask);
ddev              806 drivers/dma/qcom/hidma.c 	dma_cap_set(DMA_MEMSET, dmadev->ddev.cap_mask);
ddev              816 drivers/dma/qcom/hidma.c 	dmadev->ddev.device_prep_dma_memcpy = hidma_prep_dma_memcpy;
ddev              817 drivers/dma/qcom/hidma.c 	dmadev->ddev.device_prep_dma_memset = hidma_prep_dma_memset;
ddev              818 drivers/dma/qcom/hidma.c 	dmadev->ddev.device_alloc_chan_resources = hidma_alloc_chan_resources;
ddev              819 drivers/dma/qcom/hidma.c 	dmadev->ddev.device_free_chan_resources = hidma_free_chan_resources;
ddev              820 drivers/dma/qcom/hidma.c 	dmadev->ddev.device_tx_status = hidma_tx_status;
ddev              821 drivers/dma/qcom/hidma.c 	dmadev->ddev.device_issue_pending = hidma_issue_pending;
ddev              822 drivers/dma/qcom/hidma.c 	dmadev->ddev.device_pause = hidma_pause;
ddev              823 drivers/dma/qcom/hidma.c 	dmadev->ddev.device_resume = hidma_resume;
ddev              824 drivers/dma/qcom/hidma.c 	dmadev->ddev.device_terminate_all = hidma_terminate_all;
ddev              825 drivers/dma/qcom/hidma.c 	dmadev->ddev.copy_align = 8;
ddev              858 drivers/dma/qcom/hidma.c 	dmadev->lldev = hidma_ll_init(dmadev->ddev.dev,
ddev              878 drivers/dma/qcom/hidma.c 	INIT_LIST_HEAD(&dmadev->ddev.channels);
ddev              883 drivers/dma/qcom/hidma.c 	rc = dma_async_device_register(&dmadev->ddev);
ddev              892 drivers/dma/qcom/hidma.c 	pm_runtime_mark_last_busy(dmadev->ddev.dev);
ddev              893 drivers/dma/qcom/hidma.c 	pm_runtime_put_autosuspend(dmadev->ddev.dev);
ddev              915 drivers/dma/qcom/hidma.c 	dev_info(dmadev->ddev.dev, "HI-DMA engine shutdown\n");
ddev              917 drivers/dma/qcom/hidma.c 	pm_runtime_get_sync(dmadev->ddev.dev);
ddev              919 drivers/dma/qcom/hidma.c 		dev_warn(dmadev->ddev.dev, "channel did not stop\n");
ddev              920 drivers/dma/qcom/hidma.c 	pm_runtime_mark_last_busy(dmadev->ddev.dev);
ddev              921 drivers/dma/qcom/hidma.c 	pm_runtime_put_autosuspend(dmadev->ddev.dev);
ddev              929 drivers/dma/qcom/hidma.c 	pm_runtime_get_sync(dmadev->ddev.dev);
ddev              930 drivers/dma/qcom/hidma.c 	dma_async_device_unregister(&dmadev->ddev);
ddev              932 drivers/dma/qcom/hidma.c 		devm_free_irq(dmadev->ddev.dev, dmadev->irq, dmadev->lldev);
ddev              124 drivers/dma/qcom/hidma.h 	struct dma_device		ddev;
ddev               90 drivers/dma/qcom/hidma_dbg.c 	pm_runtime_get_sync(dmadev->ddev.dev);
ddev              106 drivers/dma/qcom/hidma_dbg.c 	pm_runtime_mark_last_busy(dmadev->ddev.dev);
ddev              107 drivers/dma/qcom/hidma_dbg.c 	pm_runtime_put_autosuspend(dmadev->ddev.dev);
ddev              147 drivers/dma/qcom/hidma_dbg.c 	dmadev->debugfs = debugfs_create_dir(dev_name(dmadev->ddev.dev), NULL);
ddev              150 drivers/dma/qcom/hidma_dbg.c 	list_for_each(position, &dmadev->ddev.channels) {
ddev              207 drivers/dma/stm32-dma.c 	struct dma_device ddev;
ddev              218 drivers/dma/stm32-dma.c 			    ddev);
ddev             1177 drivers/dma/stm32-dma.c 	ret = pm_runtime_get_sync(dmadev->ddev.dev);
ddev             1183 drivers/dma/stm32-dma.c 		pm_runtime_put(dmadev->ddev.dev);
ddev             1203 drivers/dma/stm32-dma.c 	pm_runtime_put(dmadev->ddev.dev);
ddev             1231 drivers/dma/stm32-dma.c 	struct device *dev = dmadev->ddev.dev;
ddev             1290 drivers/dma/stm32-dma.c 	dd = &dmadev->ddev;
ddev              272 drivers/dma/stm32-mdma.c 	struct dma_device ddev;
ddev              288 drivers/dma/stm32-mdma.c 			    ddev);
ddev              308 drivers/dma/stm32-mdma.c 	return mdma_dev->ddev.dev;
ddev             1449 drivers/dma/stm32-mdma.c 	ret = pm_runtime_get_sync(dmadev->ddev.dev);
ddev             1455 drivers/dma/stm32-mdma.c 		pm_runtime_put(dmadev->ddev.dev);
ddev             1475 drivers/dma/stm32-mdma.c 	pm_runtime_put(dmadev->ddev.dev);
ddev             1510 drivers/dma/stm32-mdma.c 	c = dma_get_any_slave_channel(&dmadev->ddev);
ddev             1600 drivers/dma/stm32-mdma.c 	dd = &dmadev->ddev;
ddev              124 drivers/dma/ti/cppi41.c 	struct dma_device ddev;
ddev              273 drivers/dma/ti/cppi41.c 	pm_runtime_put(cdd->ddev.dev);
ddev              377 drivers/dma/ti/cppi41.c 	error = pm_runtime_get_sync(cdd->ddev.dev);
ddev              379 drivers/dma/ti/cppi41.c 		dev_err(cdd->ddev.dev, "%s pm runtime get: %i\n",
ddev              381 drivers/dma/ti/cppi41.c 		pm_runtime_put_noidle(cdd->ddev.dev);
ddev              393 drivers/dma/ti/cppi41.c 	pm_runtime_mark_last_busy(cdd->ddev.dev);
ddev              394 drivers/dma/ti/cppi41.c 	pm_runtime_put_autosuspend(cdd->ddev.dev);
ddev              405 drivers/dma/ti/cppi41.c 	error = pm_runtime_get_sync(cdd->ddev.dev);
ddev              407 drivers/dma/ti/cppi41.c 		pm_runtime_put_noidle(cdd->ddev.dev);
ddev              414 drivers/dma/ti/cppi41.c 	pm_runtime_mark_last_busy(cdd->ddev.dev);
ddev              415 drivers/dma/ti/cppi41.c 	pm_runtime_put_autosuspend(cdd->ddev.dev);
ddev              463 drivers/dma/ti/cppi41.c 	pm_runtime_get(cdd->ddev.dev);
ddev              497 drivers/dma/ti/cppi41.c 	error = pm_runtime_get(cdd->ddev.dev);
ddev              499 drivers/dma/ti/cppi41.c 		pm_runtime_put_noidle(cdd->ddev.dev);
ddev              500 drivers/dma/ti/cppi41.c 		dev_err(cdd->ddev.dev, "Failed to pm_runtime_get: %i\n",
ddev              512 drivers/dma/ti/cppi41.c 	pm_runtime_mark_last_busy(cdd->ddev.dev);
ddev              513 drivers/dma/ti/cppi41.c 	pm_runtime_put_autosuspend(cdd->ddev.dev);
ddev              596 drivers/dma/ti/cppi41.c 	error = pm_runtime_get(cdd->ddev.dev);
ddev              598 drivers/dma/ti/cppi41.c 		pm_runtime_put_noidle(cdd->ddev.dev);
ddev              630 drivers/dma/ti/cppi41.c 	pm_runtime_mark_last_busy(cdd->ddev.dev);
ddev              631 drivers/dma/ti/cppi41.c 	pm_runtime_put_autosuspend(cdd->ddev.dev);
ddev              771 drivers/dma/ti/cppi41.c 	pm_runtime_put(cdd->ddev.dev);
ddev              807 drivers/dma/ti/cppi41.c 		cchan->chan.device = &cdd->ddev;
ddev              808 drivers/dma/ti/cppi41.c 		list_add_tail(&cchan->chan.device_node, &cdd->ddev.channels);
ddev             1055 drivers/dma/ti/cppi41.c 	dma_cap_set(DMA_SLAVE, cdd->ddev.cap_mask);
ddev             1056 drivers/dma/ti/cppi41.c 	cdd->ddev.device_alloc_chan_resources = cppi41_dma_alloc_chan_resources;
ddev             1057 drivers/dma/ti/cppi41.c 	cdd->ddev.device_free_chan_resources = cppi41_dma_free_chan_resources;
ddev             1058 drivers/dma/ti/cppi41.c 	cdd->ddev.device_tx_status = cppi41_dma_tx_status;
ddev             1059 drivers/dma/ti/cppi41.c 	cdd->ddev.device_issue_pending = cppi41_dma_issue_pending;
ddev             1060 drivers/dma/ti/cppi41.c 	cdd->ddev.device_prep_slave_sg = cppi41_dma_prep_slave_sg;
ddev             1061 drivers/dma/ti/cppi41.c 	cdd->ddev.device_terminate_all = cppi41_stop_chan;
ddev             1062 drivers/dma/ti/cppi41.c 	cdd->ddev.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV);
ddev             1063 drivers/dma/ti/cppi41.c 	cdd->ddev.src_addr_widths = CPPI41_DMA_BUSWIDTHS;
ddev             1064 drivers/dma/ti/cppi41.c 	cdd->ddev.dst_addr_widths = CPPI41_DMA_BUSWIDTHS;
ddev             1065 drivers/dma/ti/cppi41.c 	cdd->ddev.residue_granularity = DMA_RESIDUE_GRANULARITY_BURST;
ddev             1066 drivers/dma/ti/cppi41.c 	cdd->ddev.dev = dev;
ddev             1067 drivers/dma/ti/cppi41.c 	INIT_LIST_HEAD(&cdd->ddev.channels);
ddev             1068 drivers/dma/ti/cppi41.c 	cpp41_dma_info.dma_cap = cdd->ddev.cap_mask;
ddev             1133 drivers/dma/ti/cppi41.c 	ret = dma_async_device_register(&cdd->ddev);
ddev             1147 drivers/dma/ti/cppi41.c 	dma_async_device_unregister(&cdd->ddev);
ddev             1169 drivers/dma/ti/cppi41.c 	dma_async_device_unregister(&cdd->ddev);
ddev             1198 drivers/dma/ti/cppi41.c 	list_for_each_entry(c, &cdd->ddev.channels, chan.device_node)
ddev               27 drivers/dma/ti/omap-dma.c 	struct dma_device ddev;
ddev              213 drivers/dma/ti/omap-dma.c 	return container_of(d, struct omap_dmadev, ddev);
ddev              621 drivers/dma/ti/omap-dma.c 			dev_err(od->ddev.dev, "invalid channel %u\n", channel);
ddev              640 drivers/dma/ti/omap-dma.c 	struct device *dev = od->ddev.dev;
ddev              707 drivers/dma/ti/omap-dma.c 	dev_dbg(od->ddev.dev, "freeing channel %u used for %u\n", c->dma_ch,
ddev             1439 drivers/dma/ti/omap-dma.c 	vchan_init(&c->vc, &od->ddev);
ddev             1446 drivers/dma/ti/omap-dma.c 	while (!list_empty(&od->ddev.channels)) {
ddev             1447 drivers/dma/ti/omap-dma.c 		struct omap_chan *c = list_first_entry(&od->ddev.channels,
ddev             1482 drivers/dma/ti/omap-dma.c 	dma_cap_set(DMA_SLAVE, od->ddev.cap_mask);
ddev             1483 drivers/dma/ti/omap-dma.c 	dma_cap_set(DMA_CYCLIC, od->ddev.cap_mask);
ddev             1484 drivers/dma/ti/omap-dma.c 	dma_cap_set(DMA_MEMCPY, od->ddev.cap_mask);
ddev             1485 drivers/dma/ti/omap-dma.c 	dma_cap_set(DMA_INTERLEAVE, od->ddev.cap_mask);
ddev             1486 drivers/dma/ti/omap-dma.c 	od->ddev.device_alloc_chan_resources = omap_dma_alloc_chan_resources;
ddev             1487 drivers/dma/ti/omap-dma.c 	od->ddev.device_free_chan_resources = omap_dma_free_chan_resources;
ddev             1488 drivers/dma/ti/omap-dma.c 	od->ddev.device_tx_status = omap_dma_tx_status;
ddev             1489 drivers/dma/ti/omap-dma.c 	od->ddev.device_issue_pending = omap_dma_issue_pending;
ddev             1490 drivers/dma/ti/omap-dma.c 	od->ddev.device_prep_slave_sg = omap_dma_prep_slave_sg;
ddev             1491 drivers/dma/ti/omap-dma.c 	od->ddev.device_prep_dma_cyclic = omap_dma_prep_dma_cyclic;
ddev             1492 drivers/dma/ti/omap-dma.c 	od->ddev.device_prep_dma_memcpy = omap_dma_prep_dma_memcpy;
ddev             1493 drivers/dma/ti/omap-dma.c 	od->ddev.device_prep_interleaved_dma = omap_dma_prep_dma_interleaved;
ddev             1494 drivers/dma/ti/omap-dma.c 	od->ddev.device_config = omap_dma_slave_config;
ddev             1495 drivers/dma/ti/omap-dma.c 	od->ddev.device_pause = omap_dma_pause;
ddev             1496 drivers/dma/ti/omap-dma.c 	od->ddev.device_resume = omap_dma_resume;
ddev             1497 drivers/dma/ti/omap-dma.c 	od->ddev.device_terminate_all = omap_dma_terminate_all;
ddev             1498 drivers/dma/ti/omap-dma.c 	od->ddev.device_synchronize = omap_dma_synchronize;
ddev             1499 drivers/dma/ti/omap-dma.c 	od->ddev.src_addr_widths = OMAP_DMA_BUSWIDTHS;
ddev             1500 drivers/dma/ti/omap-dma.c 	od->ddev.dst_addr_widths = OMAP_DMA_BUSWIDTHS;
ddev             1501 drivers/dma/ti/omap-dma.c 	od->ddev.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV);
ddev             1503 drivers/dma/ti/omap-dma.c 		od->ddev.residue_granularity =
ddev             1506 drivers/dma/ti/omap-dma.c 		od->ddev.residue_granularity = DMA_RESIDUE_GRANULARITY_BURST;
ddev             1507 drivers/dma/ti/omap-dma.c 	od->ddev.max_burst = SZ_16M - 1; /* CCEN: 24bit unsigned */
ddev             1508 drivers/dma/ti/omap-dma.c 	od->ddev.dev = &pdev->dev;
ddev             1509 drivers/dma/ti/omap-dma.c 	INIT_LIST_HEAD(&od->ddev.channels);
ddev             1569 drivers/dma/ti/omap-dma.c 	od->ddev.filter.map = od->plat->slave_map;
ddev             1570 drivers/dma/ti/omap-dma.c 	od->ddev.filter.mapcnt = od->plat->slavecnt;
ddev             1571 drivers/dma/ti/omap-dma.c 	od->ddev.filter.fn = omap_dma_filter_fn;
ddev             1585 drivers/dma/ti/omap-dma.c 	rc = dma_async_device_register(&od->ddev);
ddev             1596 drivers/dma/ti/omap-dma.c 		omap_dma_info.dma_cap = od->ddev.cap_mask;
ddev             1603 drivers/dma/ti/omap-dma.c 			dma_async_device_unregister(&od->ddev);
ddev             1625 drivers/dma/ti/omap-dma.c 	dma_async_device_unregister(&od->ddev);
ddev              101 drivers/dma/txx9dmac.c 	const struct txx9dmac_dev *ddev)
ddev              103 drivers/dma/txx9dmac.c 	return ddev->regs;
ddev              107 drivers/dma/txx9dmac.c 	const struct txx9dmac_dev *ddev)
ddev              109 drivers/dma/txx9dmac.c 	return ddev->regs;
ddev              112 drivers/dma/txx9dmac.c #define dma64_readl(ddev, name) \
ddev              113 drivers/dma/txx9dmac.c 	__raw_readl(&(__txx9dmac_regs(ddev)->name))
ddev              114 drivers/dma/txx9dmac.c #define dma64_writel(ddev, name, val) \
ddev              115 drivers/dma/txx9dmac.c 	__raw_writel((val), &(__txx9dmac_regs(ddev)->name))
ddev              117 drivers/dma/txx9dmac.c #define dma32_readl(ddev, name) \
ddev              118 drivers/dma/txx9dmac.c 	__raw_readl(&(__txx9dmac_regs32(ddev)->name))
ddev              119 drivers/dma/txx9dmac.c #define dma32_writel(ddev, name, val) \
ddev              120 drivers/dma/txx9dmac.c 	__raw_writel((val), &(__txx9dmac_regs32(ddev)->name))
ddev              122 drivers/dma/txx9dmac.c #define dma_readl(ddev, name) \
ddev              123 drivers/dma/txx9dmac.c 	(__is_dmac64(ddev) ? \
ddev              124 drivers/dma/txx9dmac.c 	dma64_readl(ddev, name) : dma32_readl(ddev, name))
ddev              125 drivers/dma/txx9dmac.c #define dma_writel(ddev, name, val) \
ddev              126 drivers/dma/txx9dmac.c 	(__is_dmac64(ddev) ? \
ddev              127 drivers/dma/txx9dmac.c 	dma64_writel(ddev, name, val) : dma32_writel(ddev, name, val))
ddev              192 drivers/dma/txx9dmac.c 	struct txx9dmac_dev *ddev = dc->ddev;
ddev              204 drivers/dma/txx9dmac.c 					ddev->descsize, DMA_TO_DEVICE);
ddev              244 drivers/dma/txx9dmac.c 	struct txx9dmac_dev *ddev = dc->ddev;
ddev              249 drivers/dma/txx9dmac.c 				child->txd.phys, ddev->descsize,
ddev              252 drivers/dma/txx9dmac.c 			desc->txd.phys, ddev->descsize,
ddev              426 drivers/dma/txx9dmac.c 	struct txx9dmac_dev *ddev = dc->ddev;
ddev              436 drivers/dma/txx9dmac.c 				prev->txd.phys, ddev->descsize,
ddev              647 drivers/dma/txx9dmac.c 	struct txx9dmac_dev *ddev = (struct txx9dmac_dev *)data;
ddev              651 drivers/dma/txx9dmac.c 	mcr = dma_readl(ddev, MCR);
ddev              652 drivers/dma/txx9dmac.c 	dev_vdbg(ddev->chan[0]->dma.dev, "tasklet: mcr=%x\n", mcr);
ddev              655 drivers/dma/txx9dmac.c 			dc = ddev->chan[i];
ddev              666 drivers/dma/txx9dmac.c 	irq = ddev->irq;
ddev              673 drivers/dma/txx9dmac.c 	struct txx9dmac_dev *ddev = dev_id;
ddev              675 drivers/dma/txx9dmac.c 	dev_vdbg(ddev->chan[0]->dma.dev, "interrupt: status=%#x\n",
ddev              676 drivers/dma/txx9dmac.c 			dma_readl(ddev, MCR));
ddev              678 drivers/dma/txx9dmac.c 	tasklet_schedule(&ddev->tasklet);
ddev              713 drivers/dma/txx9dmac.c 	struct txx9dmac_dev *ddev = dc->ddev;
ddev              736 drivers/dma/txx9dmac.c 		if (__is_dmac64(ddev)) {
ddev              754 drivers/dma/txx9dmac.c 		if (__is_dmac64(ddev)) {
ddev              758 drivers/dma/txx9dmac.c 			txx9dmac_desc_set_nosimple(ddev, desc, 8, 8,
ddev              764 drivers/dma/txx9dmac.c 			txx9dmac_desc_set_nosimple(ddev, desc, 4, 4,
ddev              780 drivers/dma/txx9dmac.c 					prev->txd.phys, ddev->descsize,
ddev              789 drivers/dma/txx9dmac.c 		txx9dmac_desc_set_INTENT(ddev, prev);
ddev              793 drivers/dma/txx9dmac.c 			prev->txd.phys, ddev->descsize,
ddev              808 drivers/dma/txx9dmac.c 	struct txx9dmac_dev *ddev = dc->ddev;
ddev              840 drivers/dma/txx9dmac.c 		if (__is_dmac64(ddev)) {
ddev              866 drivers/dma/txx9dmac.c 		txx9dmac_desc_set_nosimple(ddev, desc, sai, dai,
ddev              875 drivers/dma/txx9dmac.c 					ddev->descsize,
ddev              884 drivers/dma/txx9dmac.c 		txx9dmac_desc_set_INTENT(ddev, prev);
ddev              888 drivers/dma/txx9dmac.c 			prev->txd.phys, ddev->descsize,
ddev              942 drivers/dma/txx9dmac.c 	struct txx9dmac_dev *ddev = dc->ddev;
ddev              951 drivers/dma/txx9dmac.c 				   prev->txd.phys, ddev->descsize,
ddev             1046 drivers/dma/txx9dmac.c 	struct txx9dmac_dev *ddev = dc->ddev;
ddev             1066 drivers/dma/txx9dmac.c 				 ddev->descsize, DMA_TO_DEVICE);
ddev             1075 drivers/dma/txx9dmac.c static void txx9dmac_off(struct txx9dmac_dev *ddev)
ddev             1077 drivers/dma/txx9dmac.c 	dma_writel(ddev, MCR, 0);
ddev             1111 drivers/dma/txx9dmac.c 	dc->ddev = platform_get_drvdata(dmac_dev);
ddev             1112 drivers/dma/txx9dmac.c 	if (dc->ddev->irq < 0) {
ddev             1125 drivers/dma/txx9dmac.c 	dc->ddev->chan[ch] = dc;
ddev             1131 drivers/dma/txx9dmac.c 		dc->ch_regs = &__txx9dmac_regs(dc->ddev)->CHAN[ch];
ddev             1133 drivers/dma/txx9dmac.c 		dc->ch_regs = &__txx9dmac_regs32(dc->ddev)->CHAN[ch];
ddev             1165 drivers/dma/txx9dmac.c 	dc->ddev->chan[pdev->id % TXX9_DMA_MAX_NR_CHANNELS] = NULL;
ddev             1173 drivers/dma/txx9dmac.c 	struct txx9dmac_dev *ddev;
ddev             1181 drivers/dma/txx9dmac.c 	ddev = devm_kzalloc(&pdev->dev, sizeof(*ddev), GFP_KERNEL);
ddev             1182 drivers/dma/txx9dmac.c 	if (!ddev)
ddev             1189 drivers/dma/txx9dmac.c 	ddev->regs = devm_ioremap(&pdev->dev, io->start, resource_size(io));
ddev             1190 drivers/dma/txx9dmac.c 	if (!ddev->regs)
ddev             1192 drivers/dma/txx9dmac.c 	ddev->have_64bit_regs = pdata->have_64bit_regs;
ddev             1193 drivers/dma/txx9dmac.c 	if (__is_dmac64(ddev))
ddev             1194 drivers/dma/txx9dmac.c 		ddev->descsize = sizeof(struct txx9dmac_hwdesc);
ddev             1196 drivers/dma/txx9dmac.c 		ddev->descsize = sizeof(struct txx9dmac_hwdesc32);
ddev             1199 drivers/dma/txx9dmac.c 	txx9dmac_off(ddev);
ddev             1201 drivers/dma/txx9dmac.c 	ddev->irq = platform_get_irq(pdev, 0);
ddev             1202 drivers/dma/txx9dmac.c 	if (ddev->irq >= 0) {
ddev             1203 drivers/dma/txx9dmac.c 		tasklet_init(&ddev->tasklet, txx9dmac_tasklet,
ddev             1204 drivers/dma/txx9dmac.c 				(unsigned long)ddev);
ddev             1205 drivers/dma/txx9dmac.c 		err = devm_request_irq(&pdev->dev, ddev->irq,
ddev             1206 drivers/dma/txx9dmac.c 			txx9dmac_interrupt, 0, dev_name(&pdev->dev), ddev);
ddev             1214 drivers/dma/txx9dmac.c 	dma_writel(ddev, MCR, mcr);
ddev             1216 drivers/dma/txx9dmac.c 	platform_set_drvdata(pdev, ddev);
ddev             1222 drivers/dma/txx9dmac.c 	struct txx9dmac_dev *ddev = platform_get_drvdata(pdev);
ddev             1224 drivers/dma/txx9dmac.c 	txx9dmac_off(ddev);
ddev             1225 drivers/dma/txx9dmac.c 	if (ddev->irq >= 0) {
ddev             1226 drivers/dma/txx9dmac.c 		devm_free_irq(&pdev->dev, ddev->irq, ddev);
ddev             1227 drivers/dma/txx9dmac.c 		tasklet_kill(&ddev->tasklet);
ddev             1234 drivers/dma/txx9dmac.c 	struct txx9dmac_dev *ddev = platform_get_drvdata(pdev);
ddev             1236 drivers/dma/txx9dmac.c 	txx9dmac_off(ddev);
ddev             1241 drivers/dma/txx9dmac.c 	struct txx9dmac_dev *ddev = dev_get_drvdata(dev);
ddev             1243 drivers/dma/txx9dmac.c 	txx9dmac_off(ddev);
ddev             1249 drivers/dma/txx9dmac.c 	struct txx9dmac_dev *ddev = dev_get_drvdata(dev);
ddev             1256 drivers/dma/txx9dmac.c 	dma_writel(ddev, MCR, mcr);
ddev              163 drivers/dma/txx9dmac.h 	struct txx9dmac_dev	*ddev;
ddev              188 drivers/dma/txx9dmac.h static inline bool __is_dmac64(const struct txx9dmac_dev *ddev)
ddev              190 drivers/dma/txx9dmac.h 	return ddev->have_64bit_regs;
ddev              195 drivers/dma/txx9dmac.h 	return __is_dmac64(dc->ddev);
ddev              247 drivers/dma/txx9dmac.h static inline void txx9dmac_desc_set_INTENT(struct txx9dmac_dev *ddev,
ddev              257 drivers/dma/txx9dmac.h static inline void txx9dmac_desc_set_nosimple(struct txx9dmac_dev *ddev,
ddev              274 drivers/dma/txx9dmac.h static inline void txx9dmac_desc_set_INTENT(struct txx9dmac_dev *ddev,
ddev              277 drivers/dma/txx9dmac.h 	if (__is_dmac64(ddev))
ddev              287 drivers/dma/txx9dmac.h static inline void txx9dmac_desc_set_nosimple(struct txx9dmac_dev *ddev,
ddev              291 drivers/dma/txx9dmac.h 	if (__is_dmac64(ddev)) {
ddev               68 drivers/dma/uniphier-mdmac.c 	struct dma_device ddev;
ddev              375 drivers/dma/uniphier-mdmac.c 	vchan_init(&mc->vc, &mdev->ddev);
ddev              384 drivers/dma/uniphier-mdmac.c 	struct dma_device *ddev;
ddev              416 drivers/dma/uniphier-mdmac.c 	ddev = &mdev->ddev;
ddev              417 drivers/dma/uniphier-mdmac.c 	ddev->dev = dev;
ddev              418 drivers/dma/uniphier-mdmac.c 	dma_cap_set(DMA_PRIVATE, ddev->cap_mask);
ddev              419 drivers/dma/uniphier-mdmac.c 	ddev->src_addr_widths = UNIPHIER_MDMAC_SLAVE_BUSWIDTHS;
ddev              420 drivers/dma/uniphier-mdmac.c 	ddev->dst_addr_widths = UNIPHIER_MDMAC_SLAVE_BUSWIDTHS;
ddev              421 drivers/dma/uniphier-mdmac.c 	ddev->directions = BIT(DMA_MEM_TO_DEV) | BIT(DMA_DEV_TO_MEM);
ddev              422 drivers/dma/uniphier-mdmac.c 	ddev->residue_granularity = DMA_RESIDUE_GRANULARITY_SEGMENT;
ddev              423 drivers/dma/uniphier-mdmac.c 	ddev->device_free_chan_resources = uniphier_mdmac_free_chan_resources;
ddev              424 drivers/dma/uniphier-mdmac.c 	ddev->device_prep_slave_sg = uniphier_mdmac_prep_slave_sg;
ddev              425 drivers/dma/uniphier-mdmac.c 	ddev->device_terminate_all = uniphier_mdmac_terminate_all;
ddev              426 drivers/dma/uniphier-mdmac.c 	ddev->device_synchronize = uniphier_mdmac_synchronize;
ddev              427 drivers/dma/uniphier-mdmac.c 	ddev->device_tx_status = uniphier_mdmac_tx_status;
ddev              428 drivers/dma/uniphier-mdmac.c 	ddev->device_issue_pending = uniphier_mdmac_issue_pending;
ddev              429 drivers/dma/uniphier-mdmac.c 	INIT_LIST_HEAD(&ddev->channels);
ddev              437 drivers/dma/uniphier-mdmac.c 	ret = dma_async_device_register(ddev);
ddev              442 drivers/dma/uniphier-mdmac.c 					 ddev);
ddev              451 drivers/dma/uniphier-mdmac.c 	dma_async_device_unregister(ddev);
ddev              471 drivers/dma/uniphier-mdmac.c 	list_for_each_entry(chan, &mdev->ddev.channels, device_node) {
ddev              479 drivers/dma/uniphier-mdmac.c 	dma_async_device_unregister(&mdev->ddev);
ddev             1591 drivers/edac/altera_edac.c 	if (!devres_open_group(&altdev->ddev, altr_portb_setup, GFP_KERNEL))
ddev             1599 drivers/edac/altera_edac.c 	dci->dev = &altdev->ddev;
ddev             1615 drivers/edac/altera_edac.c 	rc = devm_request_irq(&altdev->ddev, altdev->sb_irq,
ddev             1639 drivers/edac/altera_edac.c 	rc = devm_request_irq(&altdev->ddev, altdev->db_irq,
ddev             1660 drivers/edac/altera_edac.c 	devres_remove_group(&altdev->ddev, altr_portb_setup);
ddev             1666 drivers/edac/altera_edac.c 	devres_release_group(&altdev->ddev, altr_portb_setup);
ddev             2001 drivers/edac/altera_edac.c 	altdev->ddev = *edac->dev;
ddev             2002 drivers/edac/altera_edac.c 	dci->dev = &altdev->ddev;
ddev              383 drivers/edac/altera_edac.h 	struct device ddev;
ddev              510 drivers/edac/xgene_edac.c 	struct device		ddev;
ddev              928 drivers/edac/xgene_edac.c 	ctx->ddev = *edac->dev;
ddev              930 drivers/edac/xgene_edac.c 	edac_dev->dev = &ctx->ddev;
ddev             1018 drivers/edac/xgene_edac.c 	struct device		ddev;
ddev             1224 drivers/edac/xgene_edac.c 	ctx->ddev = *edac->dev;
ddev             1226 drivers/edac/xgene_edac.c 	edac_dev->dev = &ctx->ddev;
ddev             1767 drivers/edac/xgene_edac.c 	ctx->ddev = *edac->dev;
ddev             1769 drivers/edac/xgene_edac.c 	edac_dev->dev = &ctx->ddev;
ddev              776 drivers/gpu/drm/amd/amdgpu/amdgpu.h 	struct drm_device		*ddev;
ddev             1030 drivers/gpu/drm/amd/amdgpu/amdgpu.h 		       struct drm_device *ddev,
ddev              468 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 				pm_runtime_get_sync(adev->ddev->dev);
ddev              470 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 				drm_helper_hpd_irq_event(adev->ddev);
ddev              471 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 				pm_runtime_mark_last_busy(adev->ddev->dev);
ddev              472 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 				pm_runtime_put_autosuspend(adev->ddev->dev);
ddev              815 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 		list_for_each_entry(tmp, &adev->ddev->mode_config.encoder_list,
ddev              156 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c 			.drm_render_minor = adev->ddev->render->index,
ddev              524 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c 	if (obj->dev->driver != adev->ddev->driver)
ddev              151 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c 				adev->i2c_bus[i] = amdgpu_i2c_create(adev->ddev, &i2c, stmp);
ddev              544 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c 	amdgpu_link_encoder_connector(adev->ddev);
ddev             1946 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev             1947 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev             1998 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c 	atom_card_info->dev = adev->ddev;
ddev             1502 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 	struct drm_device *dev = adev->ddev;
ddev               67 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c 				 adev->ddev->primary->debugfs_root,
ddev               68 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c 				 adev->ddev->primary);
ddev              827 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c 	struct drm_minor *minor = adev->ddev->primary;
ddev             1103 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c 				    adev->ddev->primary->debugfs_root,
ddev              125 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              126 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev             1329 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 		struct drm_device *ddev = adev->ddev;
ddev             1330 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 		const char *pci_address_name = pci_name(ddev->pdev);
ddev             2556 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 			 adev->asic_reset_res, adev->ddev->unique);
ddev             2573 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 		       struct drm_device *ddev,
ddev             2583 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 	adev->ddev = ddev;
ddev             2737 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 	if (amdgpu_device_is_px(ddev))
ddev             2811 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 	drm_mode_config_init(adev->ddev);
ddev             2950 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 			drm_helper_force_disable_all(adev->ddev);
ddev             2952 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 			drm_atomic_helper_shutdown(adev->ddev);
ddev             3620 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 					 r, tmp_adev->ddev->unique);
ddev             3879 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 			  r, adev->ddev->unique);
ddev             3896 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 				  r, tmp_adev->ddev->unique);
ddev             3931 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 			drm_helper_resume_force_mode(tmp_adev->ddev);
ddev               96 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 	    (amdgpu_display_get_crtc_scanoutpos(adev->ddev, work->crtc_id, 0,
ddev              102 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 		  amdgpu_get_vblank_counter_kms(adev->ddev, amdgpu_crtc->crtc_id)) > 0) {
ddev              607 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 		drm_property_create_range(adev->ddev, 0 , "coherent", 0, 1);
ddev              612 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 		drm_property_create_range(adev->ddev, 0, "load detection", 0, 1);
ddev              616 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 	drm_mode_create_scaling_mode_property(adev->ddev);
ddev              620 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 		drm_property_create_enum(adev->ddev, 0,
ddev              625 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 		drm_property_create_range(adev->ddev, 0,
ddev              631 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 		drm_property_create_range(adev->ddev, 0,
ddev              638 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 		drm_property_create_enum(adev->ddev, 0,
ddev              644 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 		drm_property_create_enum(adev->ddev, 0,
ddev              650 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 			drm_property_create_range(adev->ddev, 0,
ddev              120 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 	struct drm_device *ddev = adev->ddev;
ddev              128 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 				    &ddev->mode_config.crtc_list, head) {
ddev              141 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 	struct drm_device *dev = adev->ddev;
ddev              168 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 	struct drm_device *dev = adev->ddev;
ddev              138 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c 	info = drm_get_format_info(adev->ddev, mode_cmd);
ddev              234 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c 	ret = amdgpu_display_framebuffer_init(adev->ddev, &rfbdev->rfb,
ddev              257 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c 	info->apertures->ranges[0].base = adev->ddev->mode_config.fb_base;
ddev              273 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c 	vga_switcheroo_client_fb_set(adev->ddev->pdev, info);
ddev              321 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c 	if (list_empty(&adev->ddev->mode_config.connector_list))
ddev              335 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c 	drm_fb_helper_prepare(adev->ddev, &rfbdev->helper,
ddev              338 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c 	ret = drm_fb_helper_init(adev->ddev, &rfbdev->helper,
ddev              349 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c 		drm_helper_disable_unused_functions(adev->ddev);
ddev              360 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c 	amdgpu_fbdev_destroy(adev->ddev, adev->mode_info.rfbdev);
ddev               95 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c 	struct drm_device *ddev = adev->ddev;
ddev               98 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c 	mutex_lock(&ddev->filelist_mutex);
ddev              100 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c 	list_for_each_entry(file, &ddev->filelist, lhead) {
ddev              114 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c 	mutex_unlock(&ddev->filelist_mutex);
ddev               49 drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev               50 drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev               67 drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev               68 drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev              256 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c 	struct drm_device *dev = adev->ddev;
ddev               87 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c 	struct drm_device *dev = adev->ddev;
ddev              242 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c 			adev->ddev->vblank_disable_immediate = true;
ddev              244 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c 		r = drm_vblank_init(adev->ddev, adev->mode_info.num_crtc);
ddev              257 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c 	r = drm_irq_install(adev->ddev, adev->ddev->pdev->irq);
ddev              264 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c 	adev->ddev->max_vblank_count = 0x00ffffff;
ddev              284 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c 		drm_irq_uninstall(adev->ddev);
ddev              495 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c 	if (!adev->ddev->irq_enabled)
ddev              525 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c 	if (!adev->ddev->irq_enabled)
ddev              556 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c 	if (!adev->ddev->irq_enabled)
ddev              551 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 	drm_gem_private_object_init(adev->ddev, &bo->tbo.base, size);
ddev              159 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              160 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev              184 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              185 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev              212 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 		    (ddev->switch_power_state == DRM_SWITCH_POWER_ON))
ddev              283 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              284 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev              291 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	    (ddev->switch_power_state != DRM_SWITCH_POWER_ON))
ddev              318 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              319 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev              326 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	     (ddev->switch_power_state != DRM_SWITCH_POWER_ON))
ddev              410 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              411 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev              437 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              438 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev              470 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              471 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev              484 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              485 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev              534 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              535 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev              562 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              563 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev              647 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              648 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev              726 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              727 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev              769 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              770 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev              797 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              798 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev              837 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              838 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev              893 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              894 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev              920 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              921 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev              940 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              941 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev              967 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              968 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev              983 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              984 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev             1007 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev             1008 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev             1023 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev             1024 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev             1047 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev             1048 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev             1063 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev             1064 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev             1087 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev             1088 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev             1103 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev             1104 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev             1127 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev             1128 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev             1144 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev             1145 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev             1178 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev             1179 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev             1195 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev             1196 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev             1249 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev             1250 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev             1267 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev             1268 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev             1326 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev             1327 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev             1352 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev             1353 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev             1382 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev             1383 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev             1405 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev             1406 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev             1471 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = adev->ddev;
ddev             1477 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	     (ddev->switch_power_state != DRM_SWITCH_POWER_ON))
ddev             1625 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	     (adev->ddev->switch_power_state != DRM_SWITCH_POWER_ON))
ddev             1669 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	     (adev->ddev->switch_power_state != DRM_SWITCH_POWER_ON))
ddev             1709 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	     (adev->ddev->switch_power_state != DRM_SWITCH_POWER_ON))
ddev             1737 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	     (adev->ddev->switch_power_state != DRM_SWITCH_POWER_ON))
ddev             1797 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	     (adev->ddev->switch_power_state != DRM_SWITCH_POWER_ON))
ddev             1832 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	     (adev->ddev->switch_power_state != DRM_SWITCH_POWER_ON))
ddev             1882 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	     (adev->ddev->switch_power_state != DRM_SWITCH_POWER_ON))
ddev             1913 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = adev->ddev;
ddev             1919 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	     (ddev->switch_power_state != DRM_SWITCH_POWER_ON))
ddev             1943 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = adev->ddev;
ddev             1953 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	     (ddev->switch_power_state != DRM_SWITCH_POWER_ON))
ddev             1977 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = adev->ddev;
ddev             1984 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	     (ddev->switch_power_state != DRM_SWITCH_POWER_ON))
ddev             2077 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = adev->ddev;
ddev             2083 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	     (ddev->switch_power_state != DRM_SWITCH_POWER_ON))
ddev             2107 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = adev->ddev;
ddev             2113 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	     (ddev->switch_power_state != DRM_SWITCH_POWER_ON))
ddev             3148 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	struct drm_device *ddev = adev->ddev;
ddev             3161 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	     (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) {
ddev              228 drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c 				pmu_file_prefix, adev->ddev->primary->index);
ddev              928 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c 	struct drm_minor *minor = adev->ddev->primary;
ddev              492 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c 	struct drm_minor *minor = adev->ddev->primary;
ddev             1682 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 			       adev->ddev->anon_inode->i_mapping,
ddev             2436 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	struct drm_minor *minor = adev->ddev->primary;
ddev              386 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 	struct drm_device *ddev = dev_get_drvdata(dev);			\
ddev              387 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 	struct amdgpu_device *adev = ddev->dev_private;			\
ddev               43 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c 	adev->ddev->driver->driver_features &= ~DRIVER_ATOMIC;
ddev               45 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev               46 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev               62 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev               63 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev               79 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev               80 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev               97 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev               98 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev              127 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              128 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev              139 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              140 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev              207 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 	sysfs_remove_link(&adev->dev->kobj, adev->ddev->unique);
ddev              220 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 	sysfs_remove_link(&adev->dev->kobj, adev->ddev->unique);
ddev              221 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 	sysfs_remove_link(hive->kobj, adev->ddev->unique);
ddev             1676 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct drm_device *dev = adev->ddev;
ddev              331 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct drm_device *dev = adev->ddev;
ddev              383 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct drm_device *dev = adev->ddev;
ddev             2681 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	drm_crtc_init(adev->ddev, &amdgpu_crtc->base, &dce_v10_0_crtc_funcs);
ddev             2689 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	adev->ddev->mode_config.cursor_width = amdgpu_crtc->max_cursor_width;
ddev             2690 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	adev->ddev->mode_config.cursor_height = amdgpu_crtc->max_cursor_height;
ddev             2772 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	adev->ddev->mode_config.funcs = &amdgpu_mode_funcs;
ddev             2774 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	adev->ddev->mode_config.async_page_flip = true;
ddev             2776 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	adev->ddev->mode_config.max_width = 16384;
ddev             2777 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	adev->ddev->mode_config.max_height = 16384;
ddev             2779 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	adev->ddev->mode_config.preferred_depth = 24;
ddev             2780 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	adev->ddev->mode_config.prefer_shadow = 1;
ddev             2782 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	adev->ddev->mode_config.fb_base = adev->gmc.aper_base;
ddev             2788 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	adev->ddev->mode_config.max_width = 16384;
ddev             2789 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	adev->ddev->mode_config.max_height = 16384;
ddev             2799 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 		amdgpu_display_print_display_setup(adev->ddev);
ddev             2812 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	drm_kms_helper_poll_init(adev->ddev);
ddev             2824 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	drm_kms_helper_poll_fini(adev->ddev);
ddev             2830 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	drm_mode_config_cleanup(adev->ddev);
ddev             3137 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	spin_lock_irqsave(&adev->ddev->event_lock, flags);
ddev             3144 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 		spin_unlock_irqrestore(&adev->ddev->event_lock, flags);
ddev             3156 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	spin_unlock_irqrestore(&adev->ddev->event_lock, flags);
ddev             3225 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 			drm_handle_vblank(adev->ddev, crtc);
ddev             3465 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct drm_device *dev = adev->ddev;
ddev              349 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct drm_device *dev = adev->ddev;
ddev              400 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct drm_device *dev = adev->ddev;
ddev             2789 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	drm_crtc_init(adev->ddev, &amdgpu_crtc->base, &dce_v11_0_crtc_funcs);
ddev             2797 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	adev->ddev->mode_config.cursor_width = amdgpu_crtc->max_cursor_width;
ddev             2798 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	adev->ddev->mode_config.cursor_height = amdgpu_crtc->max_cursor_height;
ddev             2893 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	adev->ddev->mode_config.funcs = &amdgpu_mode_funcs;
ddev             2895 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	adev->ddev->mode_config.async_page_flip = true;
ddev             2897 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	adev->ddev->mode_config.max_width = 16384;
ddev             2898 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	adev->ddev->mode_config.max_height = 16384;
ddev             2900 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	adev->ddev->mode_config.preferred_depth = 24;
ddev             2901 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	adev->ddev->mode_config.prefer_shadow = 1;
ddev             2903 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	adev->ddev->mode_config.fb_base = adev->gmc.aper_base;
ddev             2909 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	adev->ddev->mode_config.max_width = 16384;
ddev             2910 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	adev->ddev->mode_config.max_height = 16384;
ddev             2921 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 		amdgpu_display_print_display_setup(adev->ddev);
ddev             2934 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	drm_kms_helper_poll_init(adev->ddev);
ddev             2946 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	drm_kms_helper_poll_fini(adev->ddev);
ddev             2952 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	drm_mode_config_cleanup(adev->ddev);
ddev             3263 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	spin_lock_irqsave(&adev->ddev->event_lock, flags);
ddev             3270 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 		spin_unlock_irqrestore(&adev->ddev->event_lock, flags);
ddev             3282 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	spin_unlock_irqrestore(&adev->ddev->event_lock, flags);
ddev             3352 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 			drm_handle_vblank(adev->ddev, crtc);
ddev             3591 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct drm_device *dev = adev->ddev;
ddev              282 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct drm_device *dev = adev->ddev;
ddev              325 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct drm_device *dev = adev->ddev;
ddev             2569 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	drm_crtc_init(adev->ddev, &amdgpu_crtc->base, &dce_v6_0_crtc_funcs);
ddev             2577 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	adev->ddev->mode_config.cursor_width = amdgpu_crtc->max_cursor_width;
ddev             2578 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	adev->ddev->mode_config.cursor_height = amdgpu_crtc->max_cursor_height;
ddev             2647 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	adev->ddev->mode_config.funcs = &amdgpu_mode_funcs;
ddev             2648 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	adev->ddev->mode_config.async_page_flip = true;
ddev             2649 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	adev->ddev->mode_config.max_width = 16384;
ddev             2650 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	adev->ddev->mode_config.max_height = 16384;
ddev             2651 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	adev->ddev->mode_config.preferred_depth = 24;
ddev             2652 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	adev->ddev->mode_config.prefer_shadow = 1;
ddev             2653 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	adev->ddev->mode_config.fb_base = adev->gmc.aper_base;
ddev             2659 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	adev->ddev->mode_config.max_width = 16384;
ddev             2660 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	adev->ddev->mode_config.max_height = 16384;
ddev             2671 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		amdgpu_display_print_display_setup(adev->ddev);
ddev             2684 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	drm_kms_helper_poll_init(adev->ddev);
ddev             2695 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	drm_kms_helper_poll_fini(adev->ddev);
ddev             2700 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	drm_mode_config_cleanup(adev->ddev);
ddev             2945 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 			drm_handle_vblank(adev->ddev, crtc);
ddev             3014 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	spin_lock_irqsave(&adev->ddev->event_lock, flags);
ddev             3021 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		spin_unlock_irqrestore(&adev->ddev->event_lock, flags);
ddev             3033 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	spin_unlock_irqrestore(&adev->ddev->event_lock, flags);
ddev             3275 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct drm_device *dev = adev->ddev;
ddev              276 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct drm_device *dev = adev->ddev;
ddev              318 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct drm_device *dev = adev->ddev;
ddev             2589 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	drm_crtc_init(adev->ddev, &amdgpu_crtc->base, &dce_v8_0_crtc_funcs);
ddev             2597 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	adev->ddev->mode_config.cursor_width = amdgpu_crtc->max_cursor_width;
ddev             2598 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	adev->ddev->mode_config.cursor_height = amdgpu_crtc->max_cursor_height;
ddev             2669 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	adev->ddev->mode_config.funcs = &amdgpu_mode_funcs;
ddev             2671 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	adev->ddev->mode_config.async_page_flip = true;
ddev             2673 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	adev->ddev->mode_config.max_width = 16384;
ddev             2674 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	adev->ddev->mode_config.max_height = 16384;
ddev             2676 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	adev->ddev->mode_config.preferred_depth = 24;
ddev             2677 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	adev->ddev->mode_config.prefer_shadow = 1;
ddev             2679 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	adev->ddev->mode_config.fb_base = adev->gmc.aper_base;
ddev             2685 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	adev->ddev->mode_config.max_width = 16384;
ddev             2686 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	adev->ddev->mode_config.max_height = 16384;
ddev             2696 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 		amdgpu_display_print_display_setup(adev->ddev);
ddev             2709 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	drm_kms_helper_poll_init(adev->ddev);
ddev             2721 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	drm_kms_helper_poll_fini(adev->ddev);
ddev             2727 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	drm_mode_config_cleanup(adev->ddev);
ddev             3037 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 			drm_handle_vblank(adev->ddev, crtc);
ddev             3106 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	spin_lock_irqsave(&adev->ddev->event_lock, flags);
ddev             3113 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 		spin_unlock_irqrestore(&adev->ddev->event_lock, flags);
ddev             3125 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	spin_unlock_irqrestore(&adev->ddev->event_lock, flags);
ddev             3353 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct drm_device *dev = adev->ddev;
ddev              232 drivers/gpu/drm/amd/amdgpu/dce_virtual.c 	drm_crtc_init(adev->ddev, &amdgpu_crtc->base, &dce_virtual_crtc_funcs);
ddev              368 drivers/gpu/drm/amd/amdgpu/dce_virtual.c 	adev->ddev->max_vblank_count = 0;
ddev              370 drivers/gpu/drm/amd/amdgpu/dce_virtual.c 	adev->ddev->mode_config.funcs = &amdgpu_mode_funcs;
ddev              372 drivers/gpu/drm/amd/amdgpu/dce_virtual.c 	adev->ddev->mode_config.max_width = 16384;
ddev              373 drivers/gpu/drm/amd/amdgpu/dce_virtual.c 	adev->ddev->mode_config.max_height = 16384;
ddev              375 drivers/gpu/drm/amd/amdgpu/dce_virtual.c 	adev->ddev->mode_config.preferred_depth = 24;
ddev              376 drivers/gpu/drm/amd/amdgpu/dce_virtual.c 	adev->ddev->mode_config.prefer_shadow = 1;
ddev              378 drivers/gpu/drm/amd/amdgpu/dce_virtual.c 	adev->ddev->mode_config.fb_base = adev->gmc.aper_base;
ddev              384 drivers/gpu/drm/amd/amdgpu/dce_virtual.c 	adev->ddev->mode_config.max_width = 16384;
ddev              385 drivers/gpu/drm/amd/amdgpu/dce_virtual.c 	adev->ddev->mode_config.max_height = 16384;
ddev              397 drivers/gpu/drm/amd/amdgpu/dce_virtual.c 	drm_kms_helper_poll_init(adev->ddev);
ddev              409 drivers/gpu/drm/amd/amdgpu/dce_virtual.c 	drm_kms_helper_poll_fini(adev->ddev);
ddev              411 drivers/gpu/drm/amd/amdgpu/dce_virtual.c 	drm_mode_config_cleanup(adev->ddev);
ddev              596 drivers/gpu/drm/amd/amdgpu/dce_virtual.c 	drm_encoder_init(adev->ddev, encoder, &dce_virtual_encoder_funcs,
ddev              607 drivers/gpu/drm/amd/amdgpu/dce_virtual.c 	drm_connector_init(adev->ddev, connector, &dce_virtual_connector_funcs,
ddev              658 drivers/gpu/drm/amd/amdgpu/dce_virtual.c 	spin_lock_irqsave(&adev->ddev->event_lock, flags);
ddev              665 drivers/gpu/drm/amd/amdgpu/dce_virtual.c 		spin_unlock_irqrestore(&adev->ddev->event_lock, flags);
ddev              677 drivers/gpu/drm/amd/amdgpu/dce_virtual.c 	spin_unlock_irqrestore(&adev->ddev->event_lock, flags);
ddev              691 drivers/gpu/drm/amd/amdgpu/dce_virtual.c 	struct drm_device *ddev = amdgpu_crtc->base.dev;
ddev              692 drivers/gpu/drm/amd/amdgpu/dce_virtual.c 	struct amdgpu_device *adev = ddev->dev_private;
ddev              694 drivers/gpu/drm/amd/amdgpu/dce_virtual.c 	drm_handle_vblank(ddev, amdgpu_crtc->crtc_id);
ddev              192 drivers/gpu/drm/amd/amdgpu/df_v3_6.c 	struct drm_device *ddev;
ddev              195 drivers/gpu/drm/amd/amdgpu/df_v3_6.c 	ddev = dev_get_drvdata(dev);
ddev              196 drivers/gpu/drm/amd/amdgpu/df_v3_6.c 	adev = ddev->dev_private;
ddev              241 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct drm_device *dev = adev->ddev;
ddev              286 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	spin_lock_irqsave(&adev->ddev->event_lock, flags);
ddev              294 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		spin_unlock_irqrestore(&adev->ddev->event_lock, flags);
ddev              346 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		list_add_tail(&e->base.link, &adev->ddev->vblank_event_list);
ddev              355 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	amdgpu_crtc->last_flip_vblank = amdgpu_get_vblank_counter_kms(adev->ddev,
ddev              359 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	spin_unlock_irqrestore(&adev->ddev->event_lock, flags);
ddev              394 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 				spin_lock_irqsave(&adev->ddev->event_lock, flags);
ddev              404 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 				spin_unlock_irqrestore(&adev->ddev->event_lock, flags);
ddev              442 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			spin_lock_irqsave(&adev->ddev->event_lock, flags);
ddev              452 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			spin_unlock_irqrestore(&adev->ddev->event_lock, flags);
ddev              649 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->dm.ddev = adev->ddev;
ddev              738 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->ddev->mode_config.cursor_width = adev->dm.dc->caps.max_cursor_size;
ddev              739 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->ddev->mode_config.cursor_height = adev->dm.dc->caps.max_cursor_size;
ddev              741 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	if (drm_vblank_init(adev->ddev, adev->dm.display_indexes_num)) {
ddev              956 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	return detect_mst_link_for_all_connectors(adev->ddev);
ddev             1051 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->dm.cached_state = drm_atomic_helper_suspend(adev->ddev);
ddev             1053 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	s3_handle_mst(adev->ddev, true);
ddev             1167 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct drm_device *ddev = adev->ddev;
ddev             1194 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	s3_handle_mst(ddev, false);
ddev             1203 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	list_for_each_entry(connector, &ddev->mode_config.connector_list, head) {
ddev             1259 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	drm_atomic_helper_resume(ddev, dm->cached_state);
ddev             1646 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct drm_device *dev = adev->ddev;
ddev             2012 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->ddev->mode_config.funcs = (void *)&amdgpu_dm_mode_funcs;
ddev             2013 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->ddev->mode_config.helper_private = &amdgpu_dm_mode_config_helperfuncs;
ddev             2015 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->ddev->mode_config.max_width = 16384;
ddev             2016 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->ddev->mode_config.max_height = 16384;
ddev             2018 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->ddev->mode_config.preferred_depth = 24;
ddev             2019 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->ddev->mode_config.prefer_shadow = 1;
ddev             2021 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->ddev->mode_config.async_page_flip = true;
ddev             2023 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	adev->ddev->mode_config.fb_base = adev->gmc.aper_base;
ddev             2037 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	drm_atomic_private_obj_init(adev->ddev,
ddev             2144 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			dm->adev->ddev->primary->index);
ddev             2147 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			dm->adev->ddev->dev,
ddev             2325 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		if (amdgpu_dm_encoder_init(dm->ddev, aencoder, i)) {
ddev             2409 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	drm_mode_config_cleanup(dm->ddev);
ddev             2461 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			drm_kms_helper_hotplug_event(adev->ddev);
ddev             2574 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		adev->ddev->dev,
ddev             4745 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	res = drm_universal_plane_init(dm->adev->ddev, plane, possible_crtcs,
ddev             4802 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			dm->ddev,
ddev             5034 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct amdgpu_device *adev = dm->ddev->dev_private;
ddev             5076 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 				dm->ddev->mode_config.scaling_mode_property,
ddev             5106 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			dm->ddev->mode_config.hdr_output_metadata_property, 0);
ddev             5218 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			dm->ddev,
ddev             5520 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	spin_lock_irqsave(&adev->ddev->event_lock, flags);
ddev             5573 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	spin_unlock_irqrestore(&adev->ddev->event_lock, flags);
ddev             5596 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	spin_lock_irqsave(&adev->ddev->event_lock, flags);
ddev             5619 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	spin_unlock_irqrestore(&adev->ddev->event_lock, flags);
ddev             5843 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			last_flip_vblank = amdgpu_get_vblank_counter_kms(dm->ddev, acrtc_attach->crtc_id);
ddev             5866 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			(amdgpu_display_get_crtc_scanoutpos(dm->ddev, acrtc_attach->crtc_id,
ddev             5872 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			  amdgpu_get_vblank_counter_kms(dm->ddev, acrtc_attach->crtc_id)) > 0)) {
ddev             6405 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	spin_lock_irqsave(&adev->ddev->event_lock, flags);
ddev             6413 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	spin_unlock_irqrestore(&adev->ddev->event_lock, flags);
ddev             6440 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct drm_device *ddev = connector->dev;
ddev             6441 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct drm_atomic_state *state = drm_atomic_state_alloc(ddev);
ddev             6451 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	state->acquire_ctx = ddev->mode_config.acquire_ctx;
ddev              127 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h 	struct drm_device *ddev;
ddev             1123 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c 	struct drm_minor *minor = adev->ddev->primary;
ddev              733 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 	struct drm_device *dev = adev->ddev;
ddev              766 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 	struct drm_device *dev = adev->ddev;
ddev              424 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c 		dm->adev->ddev,
ddev              143 drivers/gpu/drm/ast/ast_drv.c 	struct drm_device *ddev = pci_get_drvdata(pdev);
ddev              146 drivers/gpu/drm/ast/ast_drv.c 	error = ast_drm_freeze(ddev);
ddev              157 drivers/gpu/drm/ast/ast_drv.c 	struct drm_device *ddev = pci_get_drvdata(pdev);
ddev              158 drivers/gpu/drm/ast/ast_drv.c 	return ast_drm_resume(ddev);
ddev              164 drivers/gpu/drm/ast/ast_drv.c 	struct drm_device *ddev = pci_get_drvdata(pdev);
ddev              166 drivers/gpu/drm/ast/ast_drv.c 	if (!ddev || !ddev->dev_private)
ddev              168 drivers/gpu/drm/ast/ast_drv.c 	return ast_drm_freeze(ddev);
ddev              175 drivers/gpu/drm/ast/ast_drv.c 	struct drm_device *ddev = pci_get_drvdata(pdev);
ddev              176 drivers/gpu/drm/ast/ast_drv.c 	return ast_drm_thaw(ddev);
ddev              182 drivers/gpu/drm/ast/ast_drv.c 	struct drm_device *ddev = pci_get_drvdata(pdev);
ddev              184 drivers/gpu/drm/ast/ast_drv.c 	return ast_drm_freeze(ddev);
ddev              863 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	struct drm_device *ddev;
ddev              866 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	ddev = drm_dev_alloc(&atmel_hlcdc_dc_driver, &pdev->dev);
ddev              867 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	if (IS_ERR(ddev))
ddev              868 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 		return PTR_ERR(ddev);
ddev              870 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	ret = atmel_hlcdc_dc_load(ddev);
ddev              874 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	ret = drm_dev_register(ddev, 0);
ddev              878 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	drm_fbdev_generic_setup(ddev, 24);
ddev              883 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	atmel_hlcdc_dc_unload(ddev);
ddev              886 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	drm_dev_put(ddev);
ddev              893 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	struct drm_device *ddev = platform_get_drvdata(pdev);
ddev              895 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	drm_dev_unregister(ddev);
ddev              896 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	atmel_hlcdc_dc_unload(ddev);
ddev              897 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	drm_dev_put(ddev);
ddev              171 drivers/gpu/drm/cirrus/cirrus_drv.h 		      struct drm_device *ddev,
ddev               74 drivers/gpu/drm/lima/lima_device.h 	struct drm_device *ddev;
ddev              282 drivers/gpu/drm/lima/lima_drv.c 	struct drm_device *ddev;
ddev              302 drivers/gpu/drm/lima/lima_drv.c 	ddev = drm_dev_alloc(&lima_drm_driver, &pdev->dev);
ddev              303 drivers/gpu/drm/lima/lima_drv.c 	if (IS_ERR(ddev))
ddev              304 drivers/gpu/drm/lima/lima_drv.c 		return PTR_ERR(ddev);
ddev              306 drivers/gpu/drm/lima/lima_drv.c 	ddev->dev_private = ldev;
ddev              307 drivers/gpu/drm/lima/lima_drv.c 	ldev->ddev = ddev;
ddev              317 drivers/gpu/drm/lima/lima_drv.c 	err = drm_dev_register(ddev, 0);
ddev              326 drivers/gpu/drm/lima/lima_drv.c 	drm_dev_put(ddev);
ddev              335 drivers/gpu/drm/lima/lima_drv.c 	struct drm_device *ddev = ldev->ddev;
ddev              337 drivers/gpu/drm/lima/lima_drv.c 	drm_dev_unregister(ddev);
ddev              339 drivers/gpu/drm/lima/lima_drv.c 	drm_dev_put(ddev);
ddev               50 drivers/gpu/drm/lima/lima_object.c 	err = drm_gem_object_init(dev->ddev, &bo->gem, size);
ddev              997 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c 	struct drm_device *ddev = dev_get_drvdata(master);
ddev              999 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c 	struct msm_drm_private *priv = ddev->dev_private;
ddev             1018 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c 	dpu_kms->dev = ddev;
ddev             1063 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c 	struct drm_device *ddev;
ddev             1066 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c 	ddev = dpu_kms->dev;
ddev             1067 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c 	if (!ddev) {
ddev             1085 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c 	struct drm_device *ddev;
ddev             1088 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c 	ddev = dpu_kms->dev;
ddev             1089 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c 	if (!ddev) {
ddev             1102 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c 	drm_for_each_encoder(encoder, ddev)
ddev             1046 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 	struct drm_device *ddev = dev_get_drvdata(master);
ddev             1051 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 	return mdp5_init(pdev, ddev);
ddev              213 drivers/gpu/drm/msm/msm_drv.c 	struct drm_device *ddev = platform_get_drvdata(pdev);
ddev              214 drivers/gpu/drm/msm/msm_drv.c 	struct msm_drm_private *priv = ddev->dev_private;
ddev              226 drivers/gpu/drm/msm/msm_drv.c 	if (ddev->registered) {
ddev              227 drivers/gpu/drm/msm/msm_drv.c 		drm_dev_unregister(ddev);
ddev              228 drivers/gpu/drm/msm/msm_drv.c 		drm_atomic_helper_shutdown(ddev);
ddev              246 drivers/gpu/drm/msm/msm_drv.c 	msm_gem_shrinker_cleanup(ddev);
ddev              248 drivers/gpu/drm/msm/msm_drv.c 	drm_kms_helper_poll_fini(ddev);
ddev              255 drivers/gpu/drm/msm/msm_drv.c 		msm_fbdev_free(ddev);
ddev              258 drivers/gpu/drm/msm/msm_drv.c 	drm_mode_config_cleanup(ddev);
ddev              261 drivers/gpu/drm/msm/msm_drv.c 	drm_irq_uninstall(ddev);
ddev              274 drivers/gpu/drm/msm/msm_drv.c 	component_unbind_all(dev, ddev);
ddev              277 drivers/gpu/drm/msm/msm_drv.c 		mdss->funcs->destroy(ddev);
ddev              279 drivers/gpu/drm/msm/msm_drv.c 	ddev->dev_private = NULL;
ddev              280 drivers/gpu/drm/msm/msm_drv.c 	drm_dev_put(ddev);
ddev              386 drivers/gpu/drm/msm/msm_drv.c 	struct drm_device *ddev;
ddev              393 drivers/gpu/drm/msm/msm_drv.c 	ddev = drm_dev_alloc(drv, dev);
ddev              394 drivers/gpu/drm/msm/msm_drv.c 	if (IS_ERR(ddev)) {
ddev              396 drivers/gpu/drm/msm/msm_drv.c 		return PTR_ERR(ddev);
ddev              399 drivers/gpu/drm/msm/msm_drv.c 	platform_set_drvdata(pdev, ddev);
ddev              407 drivers/gpu/drm/msm/msm_drv.c 	ddev->dev_private = priv;
ddev              408 drivers/gpu/drm/msm/msm_drv.c 	priv->dev = ddev;
ddev              412 drivers/gpu/drm/msm/msm_drv.c 		ret = mdp5_mdss_init(ddev);
ddev              415 drivers/gpu/drm/msm/msm_drv.c 		ret = dpu_mdss_init(ddev);
ddev              433 drivers/gpu/drm/msm/msm_drv.c 	drm_mode_config_init(ddev);
ddev              436 drivers/gpu/drm/msm/msm_drv.c 	ret = component_bind_all(dev, ddev);
ddev              440 drivers/gpu/drm/msm/msm_drv.c 	ret = msm_init_vram(ddev);
ddev              452 drivers/gpu/drm/msm/msm_drv.c 	msm_gem_shrinker_init(ddev);
ddev              456 drivers/gpu/drm/msm/msm_drv.c 		kms = mdp4_kms_init(ddev);
ddev              460 drivers/gpu/drm/msm/msm_drv.c 		kms = mdp5_kms_init(ddev);
ddev              463 drivers/gpu/drm/msm/msm_drv.c 		kms = dpu_kms_init(ddev);
ddev              481 drivers/gpu/drm/msm/msm_drv.c 	ddev->mode_config.normalize_zpos = true;
ddev              484 drivers/gpu/drm/msm/msm_drv.c 		kms->dev = ddev;
ddev              492 drivers/gpu/drm/msm/msm_drv.c 	ddev->mode_config.funcs = &mode_config_funcs;
ddev              493 drivers/gpu/drm/msm/msm_drv.c 	ddev->mode_config.helper_private = &mode_config_helper_funcs;
ddev              505 drivers/gpu/drm/msm/msm_drv.c 		priv->event_thread[i].dev = ddev;
ddev              523 drivers/gpu/drm/msm/msm_drv.c 	ret = drm_vblank_init(ddev, priv->num_crtcs);
ddev              531 drivers/gpu/drm/msm/msm_drv.c 		ret = drm_irq_install(ddev, kms->irq);
ddev              539 drivers/gpu/drm/msm/msm_drv.c 	ret = drm_dev_register(ddev, 0);
ddev              543 drivers/gpu/drm/msm/msm_drv.c 	drm_mode_config_reset(ddev);
ddev              547 drivers/gpu/drm/msm/msm_drv.c 		priv->fbdev = msm_fbdev_init(ddev);
ddev              550 drivers/gpu/drm/msm/msm_drv.c 	ret = msm_debugfs_late_init(ddev);
ddev              554 drivers/gpu/drm/msm/msm_drv.c 	drm_kms_helper_poll_init(ddev);
ddev              563 drivers/gpu/drm/msm/msm_drv.c 		mdss->funcs->destroy(ddev);
ddev              567 drivers/gpu/drm/msm/msm_drv.c 	drm_dev_put(ddev);
ddev             1039 drivers/gpu/drm/msm/msm_drv.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev             1040 drivers/gpu/drm/msm/msm_drv.c 	struct msm_drm_private *priv = ddev->dev_private;
ddev             1045 drivers/gpu/drm/msm/msm_drv.c 	priv->pm_state = drm_atomic_helper_suspend(ddev);
ddev             1057 drivers/gpu/drm/msm/msm_drv.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev             1058 drivers/gpu/drm/msm/msm_drv.c 	struct msm_drm_private *priv = ddev->dev_private;
ddev             1064 drivers/gpu/drm/msm/msm_drv.c 	ret = drm_atomic_helper_resume(ddev, priv->pm_state);
ddev             1075 drivers/gpu/drm/msm/msm_drv.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev             1076 drivers/gpu/drm/msm/msm_drv.c 	struct msm_drm_private *priv = ddev->dev_private;
ddev             1089 drivers/gpu/drm/msm/msm_drv.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev             1090 drivers/gpu/drm/msm/msm_drv.c 	struct msm_drm_private *priv = ddev->dev_private;
ddev              128 drivers/gpu/drm/omapdrm/omap_drv.c static void omap_disconnect_pipelines(struct drm_device *ddev)
ddev              130 drivers/gpu/drm/omapdrm/omap_drv.c 	struct omap_drm_private *priv = ddev->dev_private;
ddev              150 drivers/gpu/drm/omapdrm/omap_drv.c static int omap_connect_pipelines(struct drm_device *ddev)
ddev              152 drivers/gpu/drm/omapdrm/omap_drv.c 	struct omap_drm_private *priv = ddev->dev_private;
ddev              387 drivers/gpu/drm/omapdrm/omap_drv.c static void omap_modeset_enable_external_hpd(struct drm_device *ddev)
ddev              389 drivers/gpu/drm/omapdrm/omap_drv.c 	struct omap_drm_private *priv = ddev->dev_private;
ddev              401 drivers/gpu/drm/omapdrm/omap_drv.c static void omap_modeset_disable_external_hpd(struct drm_device *ddev)
ddev              403 drivers/gpu/drm/omapdrm/omap_drv.c 	struct omap_drm_private *priv = ddev->dev_private;
ddev              559 drivers/gpu/drm/omapdrm/omap_drv.c 	struct drm_device *ddev;
ddev              566 drivers/gpu/drm/omapdrm/omap_drv.c 	ddev = drm_dev_alloc(&omap_drm_driver, dev);
ddev              567 drivers/gpu/drm/omapdrm/omap_drv.c 	if (IS_ERR(ddev))
ddev              568 drivers/gpu/drm/omapdrm/omap_drv.c 		return PTR_ERR(ddev);
ddev              570 drivers/gpu/drm/omapdrm/omap_drv.c 	priv->ddev = ddev;
ddev              571 drivers/gpu/drm/omapdrm/omap_drv.c 	ddev->dev_private = priv;
ddev              592 drivers/gpu/drm/omapdrm/omap_drv.c 	omap_gem_init(ddev);
ddev              594 drivers/gpu/drm/omapdrm/omap_drv.c 	ret = omap_modeset_init(ddev);
ddev              601 drivers/gpu/drm/omapdrm/omap_drv.c 	ret = drm_vblank_init(ddev, priv->num_pipes);
ddev              610 drivers/gpu/drm/omapdrm/omap_drv.c 	omap_fbdev_init(ddev);
ddev              612 drivers/gpu/drm/omapdrm/omap_drv.c 	drm_kms_helper_poll_init(ddev);
ddev              613 drivers/gpu/drm/omapdrm/omap_drv.c 	omap_modeset_enable_external_hpd(ddev);
ddev              619 drivers/gpu/drm/omapdrm/omap_drv.c 	ret = drm_dev_register(ddev, 0);
ddev              626 drivers/gpu/drm/omapdrm/omap_drv.c 	omap_modeset_disable_external_hpd(ddev);
ddev              627 drivers/gpu/drm/omapdrm/omap_drv.c 	drm_kms_helper_poll_fini(ddev);
ddev              629 drivers/gpu/drm/omapdrm/omap_drv.c 	omap_fbdev_fini(ddev);
ddev              631 drivers/gpu/drm/omapdrm/omap_drv.c 	drm_mode_config_cleanup(ddev);
ddev              632 drivers/gpu/drm/omapdrm/omap_drv.c 	omap_drm_irq_uninstall(ddev);
ddev              634 drivers/gpu/drm/omapdrm/omap_drv.c 	omap_gem_deinit(ddev);
ddev              636 drivers/gpu/drm/omapdrm/omap_drv.c 	omap_disconnect_pipelines(ddev);
ddev              638 drivers/gpu/drm/omapdrm/omap_drv.c 	drm_dev_put(ddev);
ddev              644 drivers/gpu/drm/omapdrm/omap_drv.c 	struct drm_device *ddev = priv->ddev;
ddev              648 drivers/gpu/drm/omapdrm/omap_drv.c 	drm_dev_unregister(ddev);
ddev              650 drivers/gpu/drm/omapdrm/omap_drv.c 	omap_modeset_disable_external_hpd(ddev);
ddev              651 drivers/gpu/drm/omapdrm/omap_drv.c 	drm_kms_helper_poll_fini(ddev);
ddev              653 drivers/gpu/drm/omapdrm/omap_drv.c 	omap_fbdev_fini(ddev);
ddev              655 drivers/gpu/drm/omapdrm/omap_drv.c 	drm_atomic_helper_shutdown(ddev);
ddev              657 drivers/gpu/drm/omapdrm/omap_drv.c 	drm_mode_config_cleanup(ddev);
ddev              659 drivers/gpu/drm/omapdrm/omap_drv.c 	omap_drm_irq_uninstall(ddev);
ddev              660 drivers/gpu/drm/omapdrm/omap_drv.c 	omap_gem_deinit(ddev);
ddev              664 drivers/gpu/drm/omapdrm/omap_drv.c 	omap_disconnect_pipelines(ddev);
ddev              667 drivers/gpu/drm/omapdrm/omap_drv.c 	drm_dev_put(ddev);
ddev              712 drivers/gpu/drm/omapdrm/omap_drv.c 	struct drm_device *drm_dev = priv->ddev;
ddev              720 drivers/gpu/drm/omapdrm/omap_drv.c 	struct drm_device *drm_dev = priv->ddev;
ddev               44 drivers/gpu/drm/omapdrm/omap_drv.h 	struct drm_device *ddev;
ddev               63 drivers/gpu/drm/panfrost/panfrost_device.h 	struct drm_device *ddev;
ddev              120 drivers/gpu/drm/panfrost/panfrost_device.h static inline struct panfrost_device *to_panfrost_device(struct drm_device *ddev)
ddev              122 drivers/gpu/drm/panfrost/panfrost_device.h 	return ddev->dev_private;
ddev               27 drivers/gpu/drm/panfrost/panfrost_drv.c static int panfrost_ioctl_get_param(struct drm_device *ddev, void *data, struct drm_file *file)
ddev               30 drivers/gpu/drm/panfrost/panfrost_drv.c 	struct panfrost_device *pfdev = ddev->dev_private;
ddev              579 drivers/gpu/drm/panfrost/panfrost_drv.c 	struct drm_device *ddev;
ddev              592 drivers/gpu/drm/panfrost/panfrost_drv.c 	ddev = drm_dev_alloc(&panfrost_drm_driver, &pdev->dev);
ddev              593 drivers/gpu/drm/panfrost/panfrost_drv.c 	if (IS_ERR(ddev))
ddev              594 drivers/gpu/drm/panfrost/panfrost_drv.c 		return PTR_ERR(ddev);
ddev              596 drivers/gpu/drm/panfrost/panfrost_drv.c 	ddev->dev_private = pfdev;
ddev              597 drivers/gpu/drm/panfrost/panfrost_drv.c 	pfdev->ddev = ddev;
ddev              626 drivers/gpu/drm/panfrost/panfrost_drv.c 	err = drm_dev_register(ddev, 0);
ddev              630 drivers/gpu/drm/panfrost/panfrost_drv.c 	panfrost_gem_shrinker_init(ddev);
ddev              640 drivers/gpu/drm/panfrost/panfrost_drv.c 	drm_dev_put(ddev);
ddev              647 drivers/gpu/drm/panfrost/panfrost_drv.c 	struct drm_device *ddev = pfdev->ddev;
ddev              649 drivers/gpu/drm/panfrost/panfrost_drv.c 	drm_dev_unregister(ddev);
ddev              650 drivers/gpu/drm/panfrost/panfrost_drv.c 	panfrost_gem_shrinker_cleanup(ddev);
ddev              658 drivers/gpu/drm/panfrost/panfrost_drv.c 	drm_dev_put(ddev);
ddev               93 drivers/gpu/drm/panfrost/panfrost_job.c 	fence->dev = pfdev->ddev;
ddev               88 drivers/gpu/drm/panfrost/panfrost_perfcnt.c 	bo = drm_gem_shmem_create(pfdev->ddev, perfcnt->bosize);
ddev              126 drivers/gpu/drm/qxl/qxl_debugfs.c 				 qdev->ddev.primary->debugfs_root,
ddev              127 drivers/gpu/drm/qxl/qxl_debugfs.c 				 qdev->ddev.primary);
ddev              145 drivers/gpu/drm/qxl/qxl_display.c 	struct drm_device *dev = &qdev->ddev;
ddev              164 drivers/gpu/drm/qxl/qxl_display.c 	struct drm_device *dev = &qdev->ddev;
ddev              920 drivers/gpu/drm/qxl/qxl_display.c 	err = drm_universal_plane_init(&qdev->ddev, plane, possible_crtcs,
ddev             1006 drivers/gpu/drm/qxl/qxl_display.c 	struct drm_device *ddev = connector->dev;
ddev             1007 drivers/gpu/drm/qxl/qxl_display.c 	struct qxl_device *qdev = ddev->dev_private;
ddev             1039 drivers/gpu/drm/qxl/qxl_display.c 	struct drm_device *ddev = connector->dev;
ddev             1040 drivers/gpu/drm/qxl/qxl_display.c 	struct qxl_device *qdev = ddev->dev_private;
ddev             1091 drivers/gpu/drm/qxl/qxl_display.c 		drm_property_create_range(&qdev->ddev, DRM_MODE_PROP_IMMUTABLE,
ddev             1207 drivers/gpu/drm/qxl/qxl_display.c 	drm_mode_config_init(&qdev->ddev);
ddev             1213 drivers/gpu/drm/qxl/qxl_display.c 	qdev->ddev.mode_config.funcs = (void *)&qxl_mode_funcs;
ddev             1216 drivers/gpu/drm/qxl/qxl_display.c 	qdev->ddev.mode_config.min_width = 0;
ddev             1217 drivers/gpu/drm/qxl/qxl_display.c 	qdev->ddev.mode_config.min_height = 0;
ddev             1218 drivers/gpu/drm/qxl/qxl_display.c 	qdev->ddev.mode_config.max_width = 8192;
ddev             1219 drivers/gpu/drm/qxl/qxl_display.c 	qdev->ddev.mode_config.max_height = 8192;
ddev             1221 drivers/gpu/drm/qxl/qxl_display.c 	qdev->ddev.mode_config.fb_base = qdev->vram_base;
ddev             1223 drivers/gpu/drm/qxl/qxl_display.c 	drm_mode_create_suggested_offset_properties(&qdev->ddev);
ddev             1227 drivers/gpu/drm/qxl/qxl_display.c 		qdev_crtc_init(&qdev->ddev, i);
ddev             1228 drivers/gpu/drm/qxl/qxl_display.c 		qdev_output_init(&qdev->ddev, i);
ddev             1233 drivers/gpu/drm/qxl/qxl_display.c 	drm_mode_config_reset(&qdev->ddev);
ddev             1240 drivers/gpu/drm/qxl/qxl_display.c 	drm_mode_config_cleanup(&qdev->ddev);
ddev              111 drivers/gpu/drm/qxl/qxl_drv.c 	drm_kms_helper_poll_init(&qdev->ddev);
ddev              114 drivers/gpu/drm/qxl/qxl_drv.c 	ret = drm_dev_register(&qdev->ddev, ent->driver_data);
ddev              118 drivers/gpu/drm/qxl/qxl_drv.c 	drm_fbdev_generic_setup(&qdev->ddev, 32);
ddev              200 drivers/gpu/drm/qxl/qxl_drv.h 	struct drm_device ddev;
ddev               70 drivers/gpu/drm/qxl/qxl_ioctl.c 	return qxl_mode_dumb_mmap(file_priv, &qdev->ddev, qxl_map->handle,
ddev               96 drivers/gpu/drm/qxl/qxl_irq.c 	ret = drm_irq_install(&qdev->ddev, qdev->ddev.pdev->irq);
ddev              115 drivers/gpu/drm/qxl/qxl_kms.c 	r = drm_dev_init(&qdev->ddev, drv, &pdev->dev);
ddev              121 drivers/gpu/drm/qxl/qxl_kms.c 	qdev->ddev.pdev = pdev;
ddev              122 drivers/gpu/drm/qxl/qxl_kms.c 	pci_set_drvdata(pdev, &qdev->ddev);
ddev              123 drivers/gpu/drm/qxl/qxl_kms.c 	qdev->ddev.dev_private = qdev;
ddev               98 drivers/gpu/drm/qxl/qxl_object.c 	r = drm_gem_object_init(&qdev->ddev, &bo->tbo.base, size);
ddev              118 drivers/gpu/drm/qxl/qxl_object.c 			dev_err(qdev->ddev.dev,
ddev              230 drivers/gpu/drm/qxl/qxl_object.c 	struct drm_device *ddev = bo->tbo.base.dev;
ddev              243 drivers/gpu/drm/qxl/qxl_object.c 		dev_err(ddev->dev, "%p pin failed\n", bo);
ddev              250 drivers/gpu/drm/qxl/qxl_object.c 	struct drm_device *ddev = bo->tbo.base.dev;
ddev              254 drivers/gpu/drm/qxl/qxl_object.c 		dev_warn(ddev->dev, "%p unpin not necessary\n", bo);
ddev              264 drivers/gpu/drm/qxl/qxl_object.c 		dev_err(ddev->dev, "%p validate failed for unpin\n", bo);
ddev              310 drivers/gpu/drm/qxl/qxl_object.c 	dev_err(qdev->ddev.dev, "Userspace still has active objects !\n");
ddev              312 drivers/gpu/drm/qxl/qxl_object.c 		dev_err(qdev->ddev.dev, "%p %p %lu %lu force free\n",
ddev               37 drivers/gpu/drm/qxl/qxl_object.h 			struct drm_device *ddev = bo->tbo.base.dev;
ddev               39 drivers/gpu/drm/qxl/qxl_object.h 			dev_err(ddev->dev, "%p reserve failed\n", bo);
ddev               74 drivers/gpu/drm/qxl/qxl_object.h 			struct drm_device *ddev = bo->tbo.base.dev;
ddev               76 drivers/gpu/drm/qxl/qxl_object.h 			dev_err(ddev->dev, "%p reserve failed for wait\n",
ddev              327 drivers/gpu/drm/qxl/qxl_ttm.c 			       qdev->ddev.anon_inode->i_mapping,
ddev             2248 drivers/gpu/drm/radeon/atombios_encoders.c 	struct drm_device *dev = rdev->ddev;
ddev             7603 drivers/gpu/drm/radeon/cik.c 					drm_handle_vblank(rdev->ddev, 0);
ddev             7633 drivers/gpu/drm/radeon/cik.c 					drm_handle_vblank(rdev->ddev, 1);
ddev             7663 drivers/gpu/drm/radeon/cik.c 					drm_handle_vblank(rdev->ddev, 2);
ddev             7693 drivers/gpu/drm/radeon/cik.c 					drm_handle_vblank(rdev->ddev, 3);
ddev             7723 drivers/gpu/drm/radeon/cik.c 					drm_handle_vblank(rdev->ddev, 4);
ddev             7753 drivers/gpu/drm/radeon/cik.c 					drm_handle_vblank(rdev->ddev, 5);
ddev             8603 drivers/gpu/drm/radeon/cik.c 	radeon_get_clock_info(rdev->ddev);
ddev               92 drivers/gpu/drm/radeon/dce6_afmt.c 			list_for_each_entry(encoder, &rdev->ddev->mode_config.encoder_list, head) {
ddev             1673 drivers/gpu/drm/radeon/evergreen.c 	struct drm_device *ddev = rdev->ddev;
ddev             1679 drivers/gpu/drm/radeon/evergreen.c 	list_for_each_entry(crtc, &ddev->mode_config.crtc_list, head) {
ddev             1698 drivers/gpu/drm/radeon/evergreen.c 	struct drm_device *ddev = rdev->ddev;
ddev             1704 drivers/gpu/drm/radeon/evergreen.c 	list_for_each_entry(crtc, &ddev->mode_config.crtc_list, head) {
ddev             1763 drivers/gpu/drm/radeon/evergreen.c 	struct drm_device *dev = rdev->ddev;
ddev             1804 drivers/gpu/drm/radeon/evergreen.c 	struct drm_device *dev = rdev->ddev;
ddev             4757 drivers/gpu/drm/radeon/evergreen.c 					drm_handle_vblank(rdev->ddev, crtc_idx);
ddev             5214 drivers/gpu/drm/radeon/evergreen.c 	radeon_get_clock_info(rdev->ddev);
ddev             2389 drivers/gpu/drm/radeon/ni.c 	radeon_get_clock_info(rdev->ddev);
ddev              451 drivers/gpu/drm/radeon/r100.c 	struct drm_device *ddev = rdev->ddev;
ddev              457 drivers/gpu/drm/radeon/r100.c 	list_for_each_entry(crtc, &ddev->mode_config.crtc_list, head) {
ddev              482 drivers/gpu/drm/radeon/r100.c 	struct drm_device *ddev = rdev->ddev;
ddev              488 drivers/gpu/drm/radeon/r100.c 	list_for_each_entry(crtc, &ddev->mode_config.crtc_list, head) {
ddev              595 drivers/gpu/drm/radeon/r100.c 	struct drm_device *dev = rdev->ddev;
ddev              618 drivers/gpu/drm/radeon/r100.c 	struct drm_device *dev = rdev->ddev;
ddev              790 drivers/gpu/drm/radeon/r100.c 				drm_handle_vblank(rdev->ddev, 0);
ddev              799 drivers/gpu/drm/radeon/r100.c 				drm_handle_vblank(rdev->ddev, 1);
ddev             1465 drivers/gpu/drm/radeon/r100.c 	crtc = drm_crtc_find(p->rdev->ddev, p->filp, crtc_id);
ddev             2614 drivers/gpu/drm/radeon/r100.c 	struct drm_device *dev = rdev->ddev;
ddev             3961 drivers/gpu/drm/radeon/r100.c 	radeon_combios_asic_init(rdev->ddev);
ddev             4070 drivers/gpu/drm/radeon/r100.c 	radeon_get_clock_info(rdev->ddev);
ddev             1463 drivers/gpu/drm/radeon/r300.c 	radeon_combios_asic_init(rdev->ddev);
ddev             1549 drivers/gpu/drm/radeon/r300.c 	radeon_get_clock_info(rdev->ddev);
ddev              329 drivers/gpu/drm/radeon/r420.c 		radeon_combios_asic_init(rdev->ddev);
ddev              421 drivers/gpu/drm/radeon/r420.c 	radeon_get_clock_info(rdev->ddev);
ddev              290 drivers/gpu/drm/radeon/r520.c 	radeon_get_clock_info(rdev->ddev);
ddev              953 drivers/gpu/drm/radeon/r600.c 	struct drm_device *dev = rdev->ddev;
ddev             1020 drivers/gpu/drm/radeon/r600.c 	struct drm_device *dev = rdev->ddev;
ddev             3284 drivers/gpu/drm/radeon/r600.c 	radeon_get_clock_info(rdev->ddev);
ddev             4142 drivers/gpu/drm/radeon/r600.c 					drm_handle_vblank(rdev->ddev, 0);
ddev             4172 drivers/gpu/drm/radeon/r600.c 					drm_handle_vblank(rdev->ddev, 1);
ddev              890 drivers/gpu/drm/radeon/r600_cs.c 	crtc = drm_crtc_find(p->rdev->ddev, p->filp, crtc_id);
ddev              158 drivers/gpu/drm/radeon/r600_dpm.c 	struct drm_device *dev = rdev->ddev;
ddev              185 drivers/gpu/drm/radeon/r600_dpm.c 	struct drm_device *dev = rdev->ddev;
ddev              118 drivers/gpu/drm/radeon/r600_hdmi.c 	struct drm_device *dev = rdev->ddev;
ddev             2310 drivers/gpu/drm/radeon/radeon.h 	struct drm_device		*ddev;
ddev             2456 drivers/gpu/drm/radeon/radeon.h 		       struct drm_device *ddev,
ddev             2621 drivers/gpu/drm/radeon/radeon.h #define ASIC_IS_X2(rdev) ((rdev->ddev->pdev->device == 0x9441) || \
ddev             2622 drivers/gpu/drm/radeon/radeon.h 		(rdev->ddev->pdev->device == 0x9443) || \
ddev             2623 drivers/gpu/drm/radeon/radeon.h 		(rdev->ddev->pdev->device == 0x944B) || \
ddev             2624 drivers/gpu/drm/radeon/radeon.h 		(rdev->ddev->pdev->device == 0x9506) || \
ddev             2625 drivers/gpu/drm/radeon/radeon.h 		(rdev->ddev->pdev->device == 0x9509) || \
ddev             2626 drivers/gpu/drm/radeon/radeon.h 		(rdev->ddev->pdev->device == 0x950F) || \
ddev             2627 drivers/gpu/drm/radeon/radeon.h 		(rdev->ddev->pdev->device == 0x689C) || \
ddev             2628 drivers/gpu/drm/radeon/radeon.h 		(rdev->ddev->pdev->device == 0x689D))
ddev             2651 drivers/gpu/drm/radeon/radeon.h #define ASIC_IS_LOMBOK(rdev) ((rdev->ddev->pdev->device == 0x6849) || \
ddev             2652 drivers/gpu/drm/radeon/radeon.h 			      (rdev->ddev->pdev->device == 0x6850) || \
ddev             2653 drivers/gpu/drm/radeon/radeon.h 			      (rdev->ddev->pdev->device == 0x6858) || \
ddev             2654 drivers/gpu/drm/radeon/radeon.h 			      (rdev->ddev->pdev->device == 0x6859) || \
ddev             2655 drivers/gpu/drm/radeon/radeon.h 			      (rdev->ddev->pdev->device == 0x6840) || \
ddev             2656 drivers/gpu/drm/radeon/radeon.h 			      (rdev->ddev->pdev->device == 0x6841) || \
ddev             2657 drivers/gpu/drm/radeon/radeon.h 			      (rdev->ddev->pdev->device == 0x6842) || \
ddev             2658 drivers/gpu/drm/radeon/radeon.h 			      (rdev->ddev->pdev->device == 0x6843))
ddev              411 drivers/gpu/drm/radeon/radeon_acpi.c 			pm_runtime_get_sync(rdev->ddev->dev);
ddev              413 drivers/gpu/drm/radeon/radeon_acpi.c 			drm_helper_hpd_irq_event(rdev->ddev);
ddev              414 drivers/gpu/drm/radeon/radeon_acpi.c 			pm_runtime_mark_last_busy(rdev->ddev->dev);
ddev              415 drivers/gpu/drm/radeon/radeon_acpi.c 			pm_runtime_put_autosuspend(rdev->ddev->dev);
ddev              742 drivers/gpu/drm/radeon/radeon_acpi.c 		list_for_each_entry(tmp, &rdev->ddev->mode_config.encoder_list,
ddev              143 drivers/gpu/drm/radeon/radeon_agp.c 	ret = drm_agp_acquire(rdev->ddev);
ddev              149 drivers/gpu/drm/radeon/radeon_agp.c 	ret = drm_agp_info(rdev->ddev, &info);
ddev              151 drivers/gpu/drm/radeon/radeon_agp.c 		drm_agp_release(rdev->ddev);
ddev              156 drivers/gpu/drm/radeon/radeon_agp.c 	if (rdev->ddev->agp->agp_info.aper_size < 32) {
ddev              157 drivers/gpu/drm/radeon/radeon_agp.c 		drm_agp_release(rdev->ddev);
ddev              160 drivers/gpu/drm/radeon/radeon_agp.c 			rdev->ddev->agp->agp_info.aper_size);
ddev              241 drivers/gpu/drm/radeon/radeon_agp.c 	ret = drm_agp_enable(rdev->ddev, mode);
ddev              244 drivers/gpu/drm/radeon/radeon_agp.c 		drm_agp_release(rdev->ddev);
ddev              248 drivers/gpu/drm/radeon/radeon_agp.c 	rdev->mc.agp_base = rdev->ddev->agp->agp_info.aper_base;
ddev              249 drivers/gpu/drm/radeon/radeon_agp.c 	rdev->mc.gtt_size = rdev->ddev->agp->agp_info.aper_size << 20;
ddev              280 drivers/gpu/drm/radeon/radeon_agp.c 	if (rdev->ddev->agp && rdev->ddev->agp->acquired) {
ddev              281 drivers/gpu/drm/radeon/radeon_agp.c 		drm_agp_release(rdev->ddev);
ddev              195 drivers/gpu/drm/radeon/radeon_atombios.c 				rdev->i2c_bus[i] = radeon_i2c_create(rdev->ddev, &i2c, stmp);
ddev              257 drivers/gpu/drm/radeon/radeon_audio.c 		list_for_each_entry(encoder, &rdev->ddev->mode_config.encoder_list, head) {
ddev              523 drivers/gpu/drm/radeon/radeon_bios.c 	if (rdev->ddev->pdev->device == PCI_DEVICE_ID_ATI_RADEON_QY) {
ddev              560 drivers/gpu/drm/radeon/radeon_bios.c 	if (rdev->ddev->pdev->device == PCI_DEVICE_ID_ATI_RADEON_QY) {
ddev              578 drivers/gpu/drm/radeon/radeon_bios.c 	if (rdev->ddev->pdev->device == PCI_DEVICE_ID_ATI_RADEON_QY) {
ddev              377 drivers/gpu/drm/radeon/radeon_combios.c 	edid_info = combios_get_table_offset(rdev->ddev, COMBIOS_HARDCODED_EDID_TABLE);
ddev              647 drivers/gpu/drm/radeon/radeon_combios.c 	struct drm_device *dev = rdev->ddev;
ddev              675 drivers/gpu/drm/radeon/radeon_combios.c 	struct drm_device *dev = rdev->ddev;
ddev              817 drivers/gpu/drm/radeon/radeon_combios.c 	struct drm_device *dev = rdev->ddev;
ddev              920 drivers/gpu/drm/radeon/radeon_combios.c 	struct drm_device *dev = rdev->ddev;
ddev             2639 drivers/gpu/drm/radeon/radeon_combios.c 	struct drm_device *dev = rdev->ddev;
ddev              133 drivers/gpu/drm/radeon/radeon_cs.c 		    (i <= 0 || pci_find_capability(p->rdev->ddev->pdev,
ddev              762 drivers/gpu/drm/radeon/radeon_device.c 			radeon_combios_asic_init(rdev->ddev);
ddev              982 drivers/gpu/drm/radeon/radeon_device.c 	atom_card_info->dev = rdev->ddev;
ddev             1007 drivers/gpu/drm/radeon/radeon_device.c 	radeon_atom_initialize_bios_scratch_regs(rdev->ddev);
ddev             1050 drivers/gpu/drm/radeon/radeon_device.c 	radeon_combios_initialize_bios_scratch_regs(rdev->ddev);
ddev             1288 drivers/gpu/drm/radeon/radeon_device.c 		       struct drm_device *ddev,
ddev             1298 drivers/gpu/drm/radeon/radeon_device.c 	rdev->ddev = ddev;
ddev             1513 drivers/gpu/drm/radeon/radeon_device.c 	if (radeon_is_px(ddev))
ddev             1514 drivers/gpu/drm/radeon/radeon_device.c 		pm_runtime_put_noidle(ddev->dev);
ddev             1867 drivers/gpu/drm/radeon/radeon_device.c 	drm_helper_resume_force_mode(rdev->ddev);
ddev             1918 drivers/gpu/drm/radeon/radeon_device.c 				 rdev->ddev->primary->debugfs_root,
ddev             1919 drivers/gpu/drm/radeon/radeon_device.c 				 rdev->ddev->primary);
ddev              307 drivers/gpu/drm/radeon/radeon_display.c 	spin_lock_irqsave(&rdev->ddev->event_lock, flags);
ddev              313 drivers/gpu/drm/radeon/radeon_display.c 		spin_unlock_irqrestore(&rdev->ddev->event_lock, flags);
ddev              339 drivers/gpu/drm/radeon/radeon_display.c 	     radeon_get_crtc_scanoutpos(rdev->ddev, crtc_id,
ddev              352 drivers/gpu/drm/radeon/radeon_display.c 	spin_unlock_irqrestore(&rdev->ddev->event_lock, flags);
ddev              375 drivers/gpu/drm/radeon/radeon_display.c 	spin_lock_irqsave(&rdev->ddev->event_lock, flags);
ddev              382 drivers/gpu/drm/radeon/radeon_display.c 		spin_unlock_irqrestore(&rdev->ddev->event_lock, flags);
ddev              394 drivers/gpu/drm/radeon/radeon_display.c 	spin_unlock_irqrestore(&rdev->ddev->event_lock, flags);
ddev              413 drivers/gpu/drm/radeon/radeon_display.c 	struct drm_device *dev = rdev->ddev;
ddev             1405 drivers/gpu/drm/radeon/radeon_display.c 			drm_property_create_range(rdev->ddev, 0 , "coherent", 0, 1);
ddev             1413 drivers/gpu/drm/radeon/radeon_display.c 			drm_property_create_enum(rdev->ddev, 0,
ddev             1419 drivers/gpu/drm/radeon/radeon_display.c 		drm_property_create_range(rdev->ddev, 0, "load detection", 0, 1);
ddev             1423 drivers/gpu/drm/radeon/radeon_display.c 	drm_mode_create_scaling_mode_property(rdev->ddev);
ddev             1427 drivers/gpu/drm/radeon/radeon_display.c 		drm_property_create_enum(rdev->ddev, 0,
ddev             1433 drivers/gpu/drm/radeon/radeon_display.c 		drm_property_create_enum(rdev->ddev, 0,
ddev             1438 drivers/gpu/drm/radeon/radeon_display.c 		drm_property_create_range(rdev->ddev, 0,
ddev             1444 drivers/gpu/drm/radeon/radeon_display.c 		drm_property_create_range(rdev->ddev, 0,
ddev             1451 drivers/gpu/drm/radeon/radeon_display.c 		drm_property_create_enum(rdev->ddev, 0,
ddev             1457 drivers/gpu/drm/radeon/radeon_display.c 		drm_property_create_enum(rdev->ddev, 0,
ddev             1463 drivers/gpu/drm/radeon/radeon_display.c 		drm_property_create_enum(rdev->ddev, 0,
ddev             1582 drivers/gpu/drm/radeon/radeon_display.c 	drm_mode_config_init(rdev->ddev);
ddev             1585 drivers/gpu/drm/radeon/radeon_display.c 	rdev->ddev->mode_config.funcs = &radeon_mode_funcs;
ddev             1588 drivers/gpu/drm/radeon/radeon_display.c 		rdev->ddev->mode_config.async_page_flip = true;
ddev             1591 drivers/gpu/drm/radeon/radeon_display.c 		rdev->ddev->mode_config.max_width = 16384;
ddev             1592 drivers/gpu/drm/radeon/radeon_display.c 		rdev->ddev->mode_config.max_height = 16384;
ddev             1594 drivers/gpu/drm/radeon/radeon_display.c 		rdev->ddev->mode_config.max_width = 8192;
ddev             1595 drivers/gpu/drm/radeon/radeon_display.c 		rdev->ddev->mode_config.max_height = 8192;
ddev             1597 drivers/gpu/drm/radeon/radeon_display.c 		rdev->ddev->mode_config.max_width = 4096;
ddev             1598 drivers/gpu/drm/radeon/radeon_display.c 		rdev->ddev->mode_config.max_height = 4096;
ddev             1601 drivers/gpu/drm/radeon/radeon_display.c 	rdev->ddev->mode_config.preferred_depth = 24;
ddev             1602 drivers/gpu/drm/radeon/radeon_display.c 	rdev->ddev->mode_config.prefer_shadow = 1;
ddev             1604 drivers/gpu/drm/radeon/radeon_display.c 	rdev->ddev->mode_config.fb_base = rdev->mc.aper_base;
ddev             1622 drivers/gpu/drm/radeon/radeon_display.c 		radeon_crtc_init(rdev->ddev, i);
ddev             1626 drivers/gpu/drm/radeon/radeon_display.c 	ret = radeon_setup_enc_conn(rdev->ddev);
ddev             1644 drivers/gpu/drm/radeon/radeon_display.c 	drm_kms_helper_poll_init(rdev->ddev);
ddev             1655 drivers/gpu/drm/radeon/radeon_display.c 		drm_kms_helper_poll_fini(rdev->ddev);
ddev             1657 drivers/gpu/drm/radeon/radeon_display.c 		drm_helper_force_disable_all(rdev->ddev);
ddev             1660 drivers/gpu/drm/radeon/radeon_display.c 		drm_mode_config_cleanup(rdev->ddev);
ddev              422 drivers/gpu/drm/radeon/radeon_drv.c 	struct drm_device *ddev = pci_get_drvdata(pdev);
ddev              438 drivers/gpu/drm/radeon/radeon_drv.c 	radeon_suspend_kms(ddev, true, true, false);
ddev               56 drivers/gpu/drm/radeon/radeon_fb.c 	int ret = pm_runtime_get_sync(rdev->ddev->dev);
ddev               58 drivers/gpu/drm/radeon/radeon_fb.c 		pm_runtime_mark_last_busy(rdev->ddev->dev);
ddev               59 drivers/gpu/drm/radeon/radeon_fb.c 		pm_runtime_put_autosuspend(rdev->ddev->dev);
ddev               71 drivers/gpu/drm/radeon/radeon_fb.c 	pm_runtime_mark_last_busy(rdev->ddev->dev);
ddev               72 drivers/gpu/drm/radeon/radeon_fb.c 	pm_runtime_put_autosuspend(rdev->ddev->dev);
ddev              140 drivers/gpu/drm/radeon/radeon_fb.c 	info = drm_get_format_info(rdev->ddev, mode_cmd);
ddev              253 drivers/gpu/drm/radeon/radeon_fb.c 	ret = radeon_framebuffer_init(rdev->ddev, &rfbdev->fb, &mode_cmd, gobj);
ddev              277 drivers/gpu/drm/radeon/radeon_fb.c 	info->apertures->ranges[0].base = rdev->ddev->mode_config.fb_base;
ddev              293 drivers/gpu/drm/radeon/radeon_fb.c 	vga_switcheroo_client_fb_set(rdev->ddev->pdev, info);
ddev              337 drivers/gpu/drm/radeon/radeon_fb.c 	if (list_empty(&rdev->ddev->mode_config.connector_list))
ddev              354 drivers/gpu/drm/radeon/radeon_fb.c 	drm_fb_helper_prepare(rdev->ddev, &rfbdev->helper,
ddev              357 drivers/gpu/drm/radeon/radeon_fb.c 	ret = drm_fb_helper_init(rdev->ddev, &rfbdev->helper,
ddev              367 drivers/gpu/drm/radeon/radeon_fb.c 	drm_helper_disable_unused_functions(rdev->ddev);
ddev              387 drivers/gpu/drm/radeon/radeon_fb.c 	radeon_fbdev_destroy(rdev->ddev, rdev->mode_info.rfbdev);
ddev              155 drivers/gpu/drm/radeon/radeon_fence.c 	trace_radeon_fence_emit(rdev->ddev, ring, (*fence)->seq);
ddev              292 drivers/gpu/drm/radeon/radeon_fence.c 	if (fence_drv->delayed_irq && rdev->ddev->irq_enabled) {
ddev              509 drivers/gpu/drm/radeon/radeon_fence.c 		trace_radeon_fence_wait_begin(rdev->ddev, i, target_seq[i]);
ddev              531 drivers/gpu/drm/radeon/radeon_fence.c 		trace_radeon_fence_wait_end(rdev->ddev, i, target_seq[i]);
ddev             1023 drivers/gpu/drm/radeon/radeon_i2c.c 	struct drm_device *dev = rdev->ddev;
ddev               85 drivers/gpu/drm/radeon/radeon_irq_kms.c 	struct drm_device *dev = rdev->ddev;
ddev              106 drivers/gpu/drm/radeon/radeon_irq_kms.c 	struct drm_device *dev = rdev->ddev;
ddev              295 drivers/gpu/drm/radeon/radeon_irq_kms.c 	rdev->ddev->vblank_disable_immediate = true;
ddev              297 drivers/gpu/drm/radeon/radeon_irq_kms.c 	r = drm_vblank_init(rdev->ddev, rdev->num_crtc);
ddev              318 drivers/gpu/drm/radeon/radeon_irq_kms.c 	r = drm_irq_install(rdev->ddev, rdev->ddev->pdev->irq);
ddev              339 drivers/gpu/drm/radeon/radeon_irq_kms.c 		drm_irq_uninstall(rdev->ddev);
ddev              361 drivers/gpu/drm/radeon/radeon_irq_kms.c 	if (!rdev->ddev->irq_enabled)
ddev              400 drivers/gpu/drm/radeon/radeon_irq_kms.c 	if (!rdev->ddev->irq_enabled)
ddev              426 drivers/gpu/drm/radeon/radeon_irq_kms.c 	if (!rdev->ddev->irq_enabled)
ddev              452 drivers/gpu/drm/radeon/radeon_irq_kms.c 	if (!rdev->ddev->irq_enabled)
ddev              474 drivers/gpu/drm/radeon/radeon_irq_kms.c 	if (!rdev->ddev->irq_enabled)
ddev              496 drivers/gpu/drm/radeon/radeon_irq_kms.c 	if (!rdev->ddev->irq_enabled)
ddev              518 drivers/gpu/drm/radeon/radeon_irq_kms.c 	if (!rdev->ddev->irq_enabled)
ddev              541 drivers/gpu/drm/radeon/radeon_irq_kms.c 	if (!rdev->ddev->irq_enabled)
ddev              212 drivers/gpu/drm/radeon/radeon_object.c 	drm_gem_private_object_init(rdev->ddev, &bo->tbo.base, size);
ddev              284 drivers/gpu/drm/radeon/radeon_pm.c 		drm_for_each_crtc(crtc, rdev->ddev) {
ddev              301 drivers/gpu/drm/radeon/radeon_pm.c 		drm_for_each_crtc(crtc, rdev->ddev) {
ddev              359 drivers/gpu/drm/radeon/radeon_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              360 drivers/gpu/drm/radeon/radeon_pm.c 	struct radeon_device *rdev = ddev->dev_private;
ddev              375 drivers/gpu/drm/radeon/radeon_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              376 drivers/gpu/drm/radeon/radeon_pm.c 	struct radeon_device *rdev = ddev->dev_private;
ddev              380 drivers/gpu/drm/radeon/radeon_pm.c 	     (ddev->switch_power_state != DRM_SWITCH_POWER_ON))
ddev              414 drivers/gpu/drm/radeon/radeon_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              415 drivers/gpu/drm/radeon/radeon_pm.c 	struct radeon_device *rdev = ddev->dev_private;
ddev              428 drivers/gpu/drm/radeon/radeon_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              429 drivers/gpu/drm/radeon/radeon_pm.c 	struct radeon_device *rdev = ddev->dev_private;
ddev              433 drivers/gpu/drm/radeon/radeon_pm.c 	     (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) {
ddev              471 drivers/gpu/drm/radeon/radeon_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              472 drivers/gpu/drm/radeon/radeon_pm.c 	struct radeon_device *rdev = ddev->dev_private;
ddev              485 drivers/gpu/drm/radeon/radeon_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              486 drivers/gpu/drm/radeon/radeon_pm.c 	struct radeon_device *rdev = ddev->dev_private;
ddev              504 drivers/gpu/drm/radeon/radeon_pm.c 	    (ddev->switch_power_state == DRM_SWITCH_POWER_ON))
ddev              515 drivers/gpu/drm/radeon/radeon_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              516 drivers/gpu/drm/radeon/radeon_pm.c 	struct radeon_device *rdev = ddev->dev_private;
ddev              520 drivers/gpu/drm/radeon/radeon_pm.c 	     (ddev->switch_power_state != DRM_SWITCH_POWER_ON))
ddev              533 drivers/gpu/drm/radeon/radeon_pm.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              534 drivers/gpu/drm/radeon/radeon_pm.c 	struct radeon_device *rdev = ddev->dev_private;
ddev              540 drivers/gpu/drm/radeon/radeon_pm.c 	     (ddev->switch_power_state != DRM_SWITCH_POWER_ON))
ddev              675 drivers/gpu/drm/radeon/radeon_pm.c 	struct drm_device *ddev = rdev->ddev;
ddev              680 drivers/gpu/drm/radeon/radeon_pm.c 	     (ddev->switch_power_state != DRM_SWITCH_POWER_ON))
ddev             1647 drivers/gpu/drm/radeon/radeon_pm.c 	struct drm_device *ddev = rdev->ddev;
ddev             1660 drivers/gpu/drm/radeon/radeon_pm.c 				    &ddev->mode_config.crtc_list, head) {
ddev             1720 drivers/gpu/drm/radeon/radeon_pm.c 	struct drm_device *ddev = rdev->ddev;
ddev             1734 drivers/gpu/drm/radeon/radeon_pm.c 				    &ddev->mode_config.crtc_list, head) {
ddev             1773 drivers/gpu/drm/radeon/radeon_pm.c 			vbl_status = radeon_get_crtc_scanoutpos(rdev->ddev,
ddev             1869 drivers/gpu/drm/radeon/radeon_pm.c 	struct drm_device *ddev = rdev->ddev;
ddev             1872 drivers/gpu/drm/radeon/radeon_pm.c 	     (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) {
ddev               96 drivers/gpu/drm/radeon/radeon_ttm.c 			if (!rdev->ddev->agp) {
ddev              101 drivers/gpu/drm/radeon/radeon_ttm.c 			if (!rdev->ddev->agp->cant_use_aperture)
ddev              424 drivers/gpu/drm/radeon/radeon_ttm.c 			mem->bus.is_iomem = !rdev->ddev->agp->cant_use_aperture;
ddev              458 drivers/gpu/drm/radeon/radeon_ttm.c 			rdev->ddev->hose->dense_mem_base;
ddev              641 drivers/gpu/drm/radeon/radeon_ttm.c 		return ttm_agp_tt_create(bo, rdev->ddev->agp->bridge,
ddev              796 drivers/gpu/drm/radeon/radeon_ttm.c 			       rdev->ddev->anon_inode->i_mapping,
ddev             1066 drivers/gpu/drm/radeon/radeon_ttm.c 	struct drm_minor *minor = rdev->ddev->primary;
ddev              481 drivers/gpu/drm/radeon/rs400.c 	radeon_combios_asic_init(rdev->ddev);
ddev              559 drivers/gpu/drm/radeon/rs400.c 	radeon_get_clock_info(rdev->ddev);
ddev              318 drivers/gpu/drm/radeon/rs600.c 	struct drm_device *ddev = rdev->ddev;
ddev              324 drivers/gpu/drm/radeon/rs600.c 	list_for_each_entry(crtc, &ddev->mode_config.crtc_list, head) {
ddev              336 drivers/gpu/drm/radeon/rs600.c 	struct drm_device *ddev = rdev->ddev;
ddev              342 drivers/gpu/drm/radeon/rs600.c 	list_for_each_entry(crtc, &ddev->mode_config.crtc_list, head) {
ddev              405 drivers/gpu/drm/radeon/rs600.c 	struct drm_device *dev = rdev->ddev;
ddev              432 drivers/gpu/drm/radeon/rs600.c 	struct drm_device *dev = rdev->ddev;
ddev              794 drivers/gpu/drm/radeon/rs600.c 				drm_handle_vblank(rdev->ddev, 0);
ddev              803 drivers/gpu/drm/radeon/rs600.c 				drm_handle_vblank(rdev->ddev, 1);
ddev             1136 drivers/gpu/drm/radeon/rs600.c 	radeon_get_clock_info(rdev->ddev);
ddev              848 drivers/gpu/drm/radeon/rs690.c 	radeon_get_clock_info(rdev->ddev);
ddev              227 drivers/gpu/drm/radeon/rs780_dpm.c 	struct drm_device *dev = rdev->ddev;
ddev              669 drivers/gpu/drm/radeon/rv515.c 	radeon_get_clock_info(rdev->ddev);
ddev             1941 drivers/gpu/drm/radeon/rv770.c 	radeon_get_clock_info(rdev->ddev);
ddev             6300 drivers/gpu/drm/radeon/si.c 					drm_handle_vblank(rdev->ddev, crtc_idx);
ddev             6862 drivers/gpu/drm/radeon/si.c 	radeon_get_clock_info(rdev->ddev);
ddev             1190 drivers/gpu/drm/rcar-du/rcar_du_crtc.c 	ret = drm_crtc_init_with_planes(rcdu->ddev, crtc, primary, NULL,
ddev              472 drivers/gpu/drm/rcar-du/rcar_du_drv.c 	return drm_mode_config_helper_suspend(rcdu->ddev);
ddev              479 drivers/gpu/drm/rcar-du/rcar_du_drv.c 	return drm_mode_config_helper_resume(rcdu->ddev);
ddev              494 drivers/gpu/drm/rcar-du/rcar_du_drv.c 	struct drm_device *ddev = rcdu->ddev;
ddev              496 drivers/gpu/drm/rcar-du/rcar_du_drv.c 	drm_dev_unregister(ddev);
ddev              498 drivers/gpu/drm/rcar-du/rcar_du_drv.c 	drm_kms_helper_poll_fini(ddev);
ddev              499 drivers/gpu/drm/rcar-du/rcar_du_drv.c 	drm_mode_config_cleanup(ddev);
ddev              501 drivers/gpu/drm/rcar-du/rcar_du_drv.c 	drm_dev_put(ddev);
ddev              509 drivers/gpu/drm/rcar-du/rcar_du_drv.c 	struct drm_device *ddev;
ddev              530 drivers/gpu/drm/rcar-du/rcar_du_drv.c 	ddev = drm_dev_alloc(&rcar_du_driver, &pdev->dev);
ddev              531 drivers/gpu/drm/rcar-du/rcar_du_drv.c 	if (IS_ERR(ddev))
ddev              532 drivers/gpu/drm/rcar-du/rcar_du_drv.c 		return PTR_ERR(ddev);
ddev              534 drivers/gpu/drm/rcar-du/rcar_du_drv.c 	rcdu->ddev = ddev;
ddev              535 drivers/gpu/drm/rcar-du/rcar_du_drv.c 	ddev->dev_private = rcdu;
ddev              545 drivers/gpu/drm/rcar-du/rcar_du_drv.c 	ddev->irq_enabled = 1;
ddev              551 drivers/gpu/drm/rcar-du/rcar_du_drv.c 	ret = drm_dev_register(ddev, 0);
ddev              557 drivers/gpu/drm/rcar-du/rcar_du_drv.c 	drm_fbdev_generic_setup(ddev, 32);
ddev               80 drivers/gpu/drm/rcar-du/rcar_du_drv.h 	struct drm_device *ddev;
ddev              112 drivers/gpu/drm/rcar-du/rcar_du_encoder.c 	ret = drm_encoder_init(rcdu->ddev, encoder, &encoder_funcs,
ddev              534 drivers/gpu/drm/rcar-du/rcar_du_kms.c 		drm_property_create_range(rcdu->ddev, 0, "colorkey",
ddev              623 drivers/gpu/drm/rcar-du/rcar_du_kms.c 	struct drm_device *dev = rcdu->ddev;
ddev              776 drivers/gpu/drm/rcar-du/rcar_du_plane.c 		ret = drm_universal_plane_init(rcdu->ddev, &plane->plane, crtcs,
ddev              384 drivers/gpu/drm/rcar-du/rcar_du_vsp.c 		ret = drm_universal_plane_init(rcdu->ddev, &plane->plane, crtcs,
ddev              207 drivers/gpu/drm/rcar-du/rcar_du_writeback.c 	return drm_writeback_connector_init(rcdu->ddev, wb_conn,
ddev              157 drivers/gpu/drm/shmobile/shmob_drm_crtc.c 	struct drm_device *dev = sdev->ddev;
ddev              484 drivers/gpu/drm/shmobile/shmob_drm_crtc.c 	ret = drm_crtc_init(sdev->ddev, crtc, &crtc_funcs);
ddev              579 drivers/gpu/drm/shmobile/shmob_drm_crtc.c 	ret = drm_encoder_init(sdev->ddev, encoder, &encoder_funcs,
ddev              665 drivers/gpu/drm/shmobile/shmob_drm_crtc.c 	ret = drm_connector_init(sdev->ddev, connector, &connector_funcs,
ddev              682 drivers/gpu/drm/shmobile/shmob_drm_crtc.c 		sdev->ddev->mode_config.dpms_property, DRM_MODE_DPMS_OFF);
ddev              161 drivers/gpu/drm/shmobile/shmob_drm_drv.c 	drm_kms_helper_poll_disable(sdev->ddev);
ddev              171 drivers/gpu/drm/shmobile/shmob_drm_drv.c 	drm_modeset_lock_all(sdev->ddev);
ddev              173 drivers/gpu/drm/shmobile/shmob_drm_drv.c 	drm_modeset_unlock_all(sdev->ddev);
ddev              175 drivers/gpu/drm/shmobile/shmob_drm_drv.c 	drm_kms_helper_poll_enable(sdev->ddev);
ddev              191 drivers/gpu/drm/shmobile/shmob_drm_drv.c 	struct drm_device *ddev = sdev->ddev;
ddev              193 drivers/gpu/drm/shmobile/shmob_drm_drv.c 	drm_dev_unregister(ddev);
ddev              194 drivers/gpu/drm/shmobile/shmob_drm_drv.c 	drm_kms_helper_poll_fini(ddev);
ddev              195 drivers/gpu/drm/shmobile/shmob_drm_drv.c 	drm_mode_config_cleanup(ddev);
ddev              196 drivers/gpu/drm/shmobile/shmob_drm_drv.c 	drm_irq_uninstall(ddev);
ddev              197 drivers/gpu/drm/shmobile/shmob_drm_drv.c 	drm_dev_put(ddev);
ddev              206 drivers/gpu/drm/shmobile/shmob_drm_drv.c 	struct drm_device *ddev;
ddev              244 drivers/gpu/drm/shmobile/shmob_drm_drv.c 	ddev = drm_dev_alloc(&shmob_drm_driver, &pdev->dev);
ddev              245 drivers/gpu/drm/shmobile/shmob_drm_drv.c 	if (IS_ERR(ddev))
ddev              246 drivers/gpu/drm/shmobile/shmob_drm_drv.c 		return PTR_ERR(ddev);
ddev              248 drivers/gpu/drm/shmobile/shmob_drm_drv.c 	sdev->ddev = ddev;
ddev              249 drivers/gpu/drm/shmobile/shmob_drm_drv.c 	ddev->dev_private = sdev;
ddev              265 drivers/gpu/drm/shmobile/shmob_drm_drv.c 	ret = drm_vblank_init(ddev, 1);
ddev              271 drivers/gpu/drm/shmobile/shmob_drm_drv.c 	ret = drm_irq_install(ddev, platform_get_irq(pdev, 0));
ddev              281 drivers/gpu/drm/shmobile/shmob_drm_drv.c 	ret = drm_dev_register(ddev, 0);
ddev              288 drivers/gpu/drm/shmobile/shmob_drm_drv.c 	drm_irq_uninstall(ddev);
ddev              290 drivers/gpu/drm/shmobile/shmob_drm_drv.c 	drm_kms_helper_poll_fini(ddev);
ddev              291 drivers/gpu/drm/shmobile/shmob_drm_drv.c 	drm_mode_config_cleanup(ddev);
ddev              293 drivers/gpu/drm/shmobile/shmob_drm_drv.c 	drm_dev_put(ddev);
ddev               34 drivers/gpu/drm/shmobile/shmob_drm_drv.h 	struct drm_device *ddev;
ddev              129 drivers/gpu/drm/shmobile/shmob_drm_kms.c 	drm_mode_config_init(sdev->ddev);
ddev              135 drivers/gpu/drm/shmobile/shmob_drm_kms.c 	drm_kms_helper_poll_init(sdev->ddev);
ddev              137 drivers/gpu/drm/shmobile/shmob_drm_kms.c 	sdev->ddev->mode_config.min_width = 0;
ddev              138 drivers/gpu/drm/shmobile/shmob_drm_kms.c 	sdev->ddev->mode_config.min_height = 0;
ddev              139 drivers/gpu/drm/shmobile/shmob_drm_kms.c 	sdev->ddev->mode_config.max_width = 4095;
ddev              140 drivers/gpu/drm/shmobile/shmob_drm_kms.c 	sdev->ddev->mode_config.max_height = 4095;
ddev              141 drivers/gpu/drm/shmobile/shmob_drm_kms.c 	sdev->ddev->mode_config.funcs = &shmob_drm_mode_config_funcs;
ddev              143 drivers/gpu/drm/shmobile/shmob_drm_kms.c 	drm_helper_disable_unused_functions(sdev->ddev);
ddev              113 drivers/gpu/drm/shmobile/shmob_drm_plane.c 	dev_dbg(sdev->ddev->dev, "%s(%u): %s 0x%08x 0x%08x\n", __func__, \
ddev              126 drivers/gpu/drm/shmobile/shmob_drm_plane.c 	dev_dbg(sdev->ddev->dev, "%s(%u): %s 0x%08x\n", __func__, splane->index,
ddev              148 drivers/gpu/drm/shmobile/shmob_drm_plane.c 	dev_dbg(sdev->ddev->dev, "%s(%u): %s 0x%08x\n", __func__, splane->index,
ddev              254 drivers/gpu/drm/shmobile/shmob_drm_plane.c 	ret = drm_plane_init(sdev->ddev, &splane->plane, 1,
ddev              174 drivers/gpu/drm/sti/sti_drv.c static int sti_init(struct drm_device *ddev)
ddev              182 drivers/gpu/drm/sti/sti_drv.c 	ddev->dev_private = (void *)private;
ddev              183 drivers/gpu/drm/sti/sti_drv.c 	dev_set_drvdata(ddev->dev, ddev);
ddev              184 drivers/gpu/drm/sti/sti_drv.c 	private->drm_dev = ddev;
ddev              186 drivers/gpu/drm/sti/sti_drv.c 	drm_mode_config_init(ddev);
ddev              188 drivers/gpu/drm/sti/sti_drv.c 	sti_mode_config_init(ddev);
ddev              190 drivers/gpu/drm/sti/sti_drv.c 	drm_kms_helper_poll_init(ddev);
ddev              195 drivers/gpu/drm/sti/sti_drv.c static void sti_cleanup(struct drm_device *ddev)
ddev              197 drivers/gpu/drm/sti/sti_drv.c 	struct sti_private *private = ddev->dev_private;
ddev              199 drivers/gpu/drm/sti/sti_drv.c 	drm_kms_helper_poll_fini(ddev);
ddev              200 drivers/gpu/drm/sti/sti_drv.c 	drm_atomic_helper_shutdown(ddev);
ddev              201 drivers/gpu/drm/sti/sti_drv.c 	drm_mode_config_cleanup(ddev);
ddev              202 drivers/gpu/drm/sti/sti_drv.c 	component_unbind_all(ddev->dev, ddev);
ddev              204 drivers/gpu/drm/sti/sti_drv.c 	ddev->dev_private = NULL;
ddev              209 drivers/gpu/drm/sti/sti_drv.c 	struct drm_device *ddev;
ddev              212 drivers/gpu/drm/sti/sti_drv.c 	ddev = drm_dev_alloc(&sti_driver, dev);
ddev              213 drivers/gpu/drm/sti/sti_drv.c 	if (IS_ERR(ddev))
ddev              214 drivers/gpu/drm/sti/sti_drv.c 		return PTR_ERR(ddev);
ddev              216 drivers/gpu/drm/sti/sti_drv.c 	ret = sti_init(ddev);
ddev              220 drivers/gpu/drm/sti/sti_drv.c 	ret = component_bind_all(ddev->dev, ddev);
ddev              224 drivers/gpu/drm/sti/sti_drv.c 	ret = drm_dev_register(ddev, 0);
ddev              228 drivers/gpu/drm/sti/sti_drv.c 	drm_mode_config_reset(ddev);
ddev              230 drivers/gpu/drm/sti/sti_drv.c 	drm_fbdev_generic_setup(ddev, 32);
ddev              235 drivers/gpu/drm/sti/sti_drv.c 	sti_cleanup(ddev);
ddev              237 drivers/gpu/drm/sti/sti_drv.c 	drm_dev_put(ddev);
ddev              243 drivers/gpu/drm/sti/sti_drv.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              245 drivers/gpu/drm/sti/sti_drv.c 	drm_dev_unregister(ddev);
ddev              246 drivers/gpu/drm/sti/sti_drv.c 	sti_cleanup(ddev);
ddev              247 drivers/gpu/drm/sti/sti_drv.c 	drm_dev_put(ddev);
ddev               79 drivers/gpu/drm/stm/drv.c static int drv_load(struct drm_device *ddev)
ddev               81 drivers/gpu/drm/stm/drv.c 	struct platform_device *pdev = to_platform_device(ddev->dev);
ddev               87 drivers/gpu/drm/stm/drv.c 	ldev = devm_kzalloc(ddev->dev, sizeof(*ldev), GFP_KERNEL);
ddev               91 drivers/gpu/drm/stm/drv.c 	ddev->dev_private = (void *)ldev;
ddev               93 drivers/gpu/drm/stm/drv.c 	drm_mode_config_init(ddev);
ddev              100 drivers/gpu/drm/stm/drv.c 	ddev->mode_config.min_width = 0;
ddev              101 drivers/gpu/drm/stm/drv.c 	ddev->mode_config.min_height = 0;
ddev              102 drivers/gpu/drm/stm/drv.c 	ddev->mode_config.max_width = STM_MAX_FB_WIDTH;
ddev              103 drivers/gpu/drm/stm/drv.c 	ddev->mode_config.max_height = STM_MAX_FB_HEIGHT;
ddev              104 drivers/gpu/drm/stm/drv.c 	ddev->mode_config.funcs = &drv_mode_config_funcs;
ddev              106 drivers/gpu/drm/stm/drv.c 	ret = ltdc_load(ddev);
ddev              110 drivers/gpu/drm/stm/drv.c 	drm_mode_config_reset(ddev);
ddev              111 drivers/gpu/drm/stm/drv.c 	drm_kms_helper_poll_init(ddev);
ddev              113 drivers/gpu/drm/stm/drv.c 	platform_set_drvdata(pdev, ddev);
ddev              117 drivers/gpu/drm/stm/drv.c 	drm_mode_config_cleanup(ddev);
ddev              121 drivers/gpu/drm/stm/drv.c static void drv_unload(struct drm_device *ddev)
ddev              125 drivers/gpu/drm/stm/drv.c 	drm_kms_helper_poll_fini(ddev);
ddev              126 drivers/gpu/drm/stm/drv.c 	ltdc_unload(ddev);
ddev              127 drivers/gpu/drm/stm/drv.c 	drm_mode_config_cleanup(ddev);
ddev              132 drivers/gpu/drm/stm/drv.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              133 drivers/gpu/drm/stm/drv.c 	struct ltdc_device *ldev = ddev->dev_private;
ddev              138 drivers/gpu/drm/stm/drv.c 	state = drm_atomic_helper_suspend(ddev);
ddev              150 drivers/gpu/drm/stm/drv.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              151 drivers/gpu/drm/stm/drv.c 	struct ltdc_device *ldev = ddev->dev_private;
ddev              158 drivers/gpu/drm/stm/drv.c 	ret = drm_atomic_helper_resume(ddev, ldev->suspend_state);
ddev              169 drivers/gpu/drm/stm/drv.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              172 drivers/gpu/drm/stm/drv.c 	ltdc_suspend(ddev);
ddev              179 drivers/gpu/drm/stm/drv.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              182 drivers/gpu/drm/stm/drv.c 	return ltdc_resume(ddev);
ddev              194 drivers/gpu/drm/stm/drv.c 	struct drm_device *ddev;
ddev              201 drivers/gpu/drm/stm/drv.c 	ddev = drm_dev_alloc(&drv_driver, dev);
ddev              202 drivers/gpu/drm/stm/drv.c 	if (IS_ERR(ddev))
ddev              203 drivers/gpu/drm/stm/drv.c 		return PTR_ERR(ddev);
ddev              205 drivers/gpu/drm/stm/drv.c 	ret = drv_load(ddev);
ddev              209 drivers/gpu/drm/stm/drv.c 	ret = drm_dev_register(ddev, 0);
ddev              213 drivers/gpu/drm/stm/drv.c 	drm_fbdev_generic_setup(ddev, 16);
ddev              218 drivers/gpu/drm/stm/drv.c 	drm_dev_put(ddev);
ddev              225 drivers/gpu/drm/stm/drv.c 	struct drm_device *ddev = platform_get_drvdata(pdev);
ddev              229 drivers/gpu/drm/stm/drv.c 	drm_dev_unregister(ddev);
ddev              230 drivers/gpu/drm/stm/drv.c 	drv_unload(ddev);
ddev              231 drivers/gpu/drm/stm/drv.c 	drm_dev_put(ddev);
ddev              369 drivers/gpu/drm/stm/ltdc.c 	struct drm_device *ddev = arg;
ddev              370 drivers/gpu/drm/stm/ltdc.c 	struct ltdc_device *ldev = ddev->dev_private;
ddev              371 drivers/gpu/drm/stm/ltdc.c 	struct drm_crtc *crtc = drm_crtc_from_index(ddev, 0);
ddev              390 drivers/gpu/drm/stm/ltdc.c 	struct drm_device *ddev = arg;
ddev              391 drivers/gpu/drm/stm/ltdc.c 	struct ltdc_device *ldev = ddev->dev_private;
ddev              449 drivers/gpu/drm/stm/ltdc.c 	struct drm_device *ddev = crtc->dev;
ddev              464 drivers/gpu/drm/stm/ltdc.c 	pm_runtime_put_sync(ddev->dev);
ddev              513 drivers/gpu/drm/stm/ltdc.c 	struct drm_device *ddev = crtc->dev;
ddev              518 drivers/gpu/drm/stm/ltdc.c 	runtime_active = pm_runtime_active(ddev->dev);
ddev              521 drivers/gpu/drm/stm/ltdc.c 		pm_runtime_put_sync(ddev->dev);
ddev              531 drivers/gpu/drm/stm/ltdc.c 		ret = pm_runtime_get_sync(ddev->dev);
ddev              547 drivers/gpu/drm/stm/ltdc.c 	struct drm_device *ddev = crtc->dev;
ddev              555 drivers/gpu/drm/stm/ltdc.c 	if (!pm_runtime_active(ddev->dev)) {
ddev              556 drivers/gpu/drm/stm/ltdc.c 		ret = pm_runtime_get_sync(ddev->dev);
ddev              622 drivers/gpu/drm/stm/ltdc.c 	struct drm_device *ddev = crtc->dev;
ddev              635 drivers/gpu/drm/stm/ltdc.c 		spin_lock_irq(&ddev->event_lock);
ddev              640 drivers/gpu/drm/stm/ltdc.c 		spin_unlock_irq(&ddev->event_lock);
ddev              671 drivers/gpu/drm/stm/ltdc.c bool ltdc_crtc_scanoutpos(struct drm_device *ddev, unsigned int pipe,
ddev              676 drivers/gpu/drm/stm/ltdc.c 	struct ltdc_device *ldev = ddev->dev_private;
ddev              696 drivers/gpu/drm/stm/ltdc.c 	if (pm_runtime_active(ddev->dev)) {
ddev              932 drivers/gpu/drm/stm/ltdc.c static struct drm_plane *ltdc_plane_create(struct drm_device *ddev,
ddev              936 drivers/gpu/drm/stm/ltdc.c 	struct ltdc_device *ldev = ddev->dev_private;
ddev              937 drivers/gpu/drm/stm/ltdc.c 	struct device *dev = ddev->dev;
ddev              969 drivers/gpu/drm/stm/ltdc.c 	ret = drm_universal_plane_init(ddev, plane, possible_crtcs,
ddev              982 drivers/gpu/drm/stm/ltdc.c static void ltdc_plane_destroy_all(struct drm_device *ddev)
ddev              987 drivers/gpu/drm/stm/ltdc.c 				 &ddev->mode_config.plane_list, head)
ddev              991 drivers/gpu/drm/stm/ltdc.c static int ltdc_crtc_init(struct drm_device *ddev, struct drm_crtc *crtc)
ddev              993 drivers/gpu/drm/stm/ltdc.c 	struct ltdc_device *ldev = ddev->dev_private;
ddev              998 drivers/gpu/drm/stm/ltdc.c 	primary = ltdc_plane_create(ddev, DRM_PLANE_TYPE_PRIMARY);
ddev             1004 drivers/gpu/drm/stm/ltdc.c 	ret = drm_crtc_init_with_planes(ddev, crtc, primary, NULL,
ddev             1020 drivers/gpu/drm/stm/ltdc.c 		overlay = ltdc_plane_create(ddev, DRM_PLANE_TYPE_OVERLAY);
ddev             1031 drivers/gpu/drm/stm/ltdc.c 	ltdc_plane_destroy_all(ddev);
ddev             1043 drivers/gpu/drm/stm/ltdc.c static int ltdc_encoder_init(struct drm_device *ddev, struct drm_bridge *bridge)
ddev             1048 drivers/gpu/drm/stm/ltdc.c 	encoder = devm_kzalloc(ddev->dev, sizeof(*encoder), GFP_KERNEL);
ddev             1055 drivers/gpu/drm/stm/ltdc.c 	drm_encoder_init(ddev, encoder, &ltdc_encoder_funcs,
ddev             1069 drivers/gpu/drm/stm/ltdc.c static int ltdc_get_caps(struct drm_device *ddev)
ddev             1071 drivers/gpu/drm/stm/ltdc.c 	struct ltdc_device *ldev = ddev->dev_private;
ddev             1118 drivers/gpu/drm/stm/ltdc.c void ltdc_suspend(struct drm_device *ddev)
ddev             1120 drivers/gpu/drm/stm/ltdc.c 	struct ltdc_device *ldev = ddev->dev_private;
ddev             1126 drivers/gpu/drm/stm/ltdc.c int ltdc_resume(struct drm_device *ddev)
ddev             1128 drivers/gpu/drm/stm/ltdc.c 	struct ltdc_device *ldev = ddev->dev_private;
ddev             1142 drivers/gpu/drm/stm/ltdc.c int ltdc_load(struct drm_device *ddev)
ddev             1144 drivers/gpu/drm/stm/ltdc.c 	struct platform_device *pdev = to_platform_device(ddev->dev);
ddev             1145 drivers/gpu/drm/stm/ltdc.c 	struct ltdc_device *ldev = ddev->dev_private;
ddev             1146 drivers/gpu/drm/stm/ltdc.c 	struct device *dev = ddev->dev;
ddev             1219 drivers/gpu/drm/stm/ltdc.c 						dev_name(dev), ddev);
ddev             1227 drivers/gpu/drm/stm/ltdc.c 	ret = ltdc_get_caps(ddev);
ddev             1249 drivers/gpu/drm/stm/ltdc.c 			ret = ltdc_encoder_init(ddev, bridge[i]);
ddev             1264 drivers/gpu/drm/stm/ltdc.c 	ddev->mode_config.allow_fb_modifiers = true;
ddev             1266 drivers/gpu/drm/stm/ltdc.c 	ret = ltdc_crtc_init(ddev, crtc);
ddev             1272 drivers/gpu/drm/stm/ltdc.c 	ret = drm_vblank_init(ddev, NB_CRTC);
ddev             1279 drivers/gpu/drm/stm/ltdc.c 	ddev->irq_enabled = 1;
ddev             1283 drivers/gpu/drm/stm/ltdc.c 	pm_runtime_enable(ddev->dev);
ddev             1295 drivers/gpu/drm/stm/ltdc.c void ltdc_unload(struct drm_device *ddev)
ddev             1302 drivers/gpu/drm/stm/ltdc.c 		drm_of_panel_bridge_remove(ddev->dev->of_node, 0, i);
ddev             1304 drivers/gpu/drm/stm/ltdc.c 	pm_runtime_disable(ddev->dev);
ddev               47 drivers/gpu/drm/stm/ltdc.h int ltdc_load(struct drm_device *ddev);
ddev               48 drivers/gpu/drm/stm/ltdc.h void ltdc_unload(struct drm_device *ddev);
ddev               49 drivers/gpu/drm/stm/ltdc.h void ltdc_suspend(struct drm_device *ddev);
ddev               50 drivers/gpu/drm/stm/ltdc.h int ltdc_resume(struct drm_device *ddev);
ddev              223 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	struct drm_device *ddev;
ddev              235 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	ddev = drm_dev_alloc(ddrv, dev);
ddev              236 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	if (IS_ERR(ddev))
ddev              237 drivers/gpu/drm/tilcdc/tilcdc_drv.c 		return PTR_ERR(ddev);
ddev              239 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	ddev->dev_private = priv;
ddev              240 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	platform_set_drvdata(pdev, ddev);
ddev              241 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	drm_mode_config_init(ddev);
ddev              293 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	switch (tilcdc_read(ddev, LCDC_PID_REG)) {
ddev              304 drivers/gpu/drm/tilcdc/tilcdc_drv.c 			tilcdc_read(ddev, LCDC_PID_REG));
ddev              342 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	ret = tilcdc_crtc_create(ddev);
ddev              347 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	modeset_init(ddev);
ddev              361 drivers/gpu/drm/tilcdc/tilcdc_drv.c 		ret = component_bind_all(dev, ddev);
ddev              365 drivers/gpu/drm/tilcdc/tilcdc_drv.c 		ret = tilcdc_add_component_encoder(ddev);
ddev              369 drivers/gpu/drm/tilcdc/tilcdc_drv.c 		ret = tilcdc_attach_external_device(ddev);
ddev              381 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	ret = drm_vblank_init(ddev, 1);
ddev              387 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	ret = drm_irq_install(ddev, platform_get_irq(pdev, 0));
ddev              393 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	drm_mode_config_reset(ddev);
ddev              395 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	drm_kms_helper_poll_init(ddev);
ddev              397 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	ret = drm_dev_register(ddev, 0);
ddev              401 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	drm_fbdev_generic_setup(ddev, bpp);
ddev              407 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	tilcdc_fini(ddev);
ddev              546 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              549 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	ret = drm_mode_config_helper_suspend(ddev);
ddev              559 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              563 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	return  drm_mode_config_helper_resume(ddev);
ddev              581 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	struct drm_device *ddev = dev_get_drvdata(dev);
ddev              584 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	if (!ddev->dev_private)
ddev               42 drivers/gpu/drm/tilcdc/tilcdc_external.c struct drm_connector *tilcdc_encoder_find_connector(struct drm_device *ddev,
ddev               47 drivers/gpu/drm/tilcdc/tilcdc_external.c 	list_for_each_entry(connector, &ddev->mode_config.connector_list, head) {
ddev               52 drivers/gpu/drm/tilcdc/tilcdc_external.c 	dev_err(ddev->dev, "No connector found for %s encoder (id %d)\n",
ddev               58 drivers/gpu/drm/tilcdc/tilcdc_external.c int tilcdc_add_component_encoder(struct drm_device *ddev)
ddev               60 drivers/gpu/drm/tilcdc/tilcdc_external.c 	struct tilcdc_drm_private *priv = ddev->dev_private;
ddev               63 drivers/gpu/drm/tilcdc/tilcdc_external.c 	list_for_each_entry(encoder, &ddev->mode_config.encoder_list, head)
ddev               68 drivers/gpu/drm/tilcdc/tilcdc_external.c 		dev_err(ddev->dev, "%s: No suitable encoder found\n", __func__);
ddev               73 drivers/gpu/drm/tilcdc/tilcdc_external.c 		tilcdc_encoder_find_connector(ddev, encoder);
ddev               90 drivers/gpu/drm/tilcdc/tilcdc_external.c int tilcdc_attach_bridge(struct drm_device *ddev, struct drm_bridge *bridge)
ddev               92 drivers/gpu/drm/tilcdc/tilcdc_external.c 	struct tilcdc_drm_private *priv = ddev->dev_private;
ddev               99 drivers/gpu/drm/tilcdc/tilcdc_external.c 		dev_err(ddev->dev, "drm_bridge_attach() failed %d\n", ret);
ddev              106 drivers/gpu/drm/tilcdc/tilcdc_external.c 		tilcdc_encoder_find_connector(ddev, priv->external_encoder);
ddev              113 drivers/gpu/drm/tilcdc/tilcdc_external.c int tilcdc_attach_external_device(struct drm_device *ddev)
ddev              115 drivers/gpu/drm/tilcdc/tilcdc_external.c 	struct tilcdc_drm_private *priv = ddev->dev_private;
ddev              120 drivers/gpu/drm/tilcdc/tilcdc_external.c 	ret = drm_of_find_panel_or_bridge(ddev->dev->of_node, 0, 0,
ddev              127 drivers/gpu/drm/tilcdc/tilcdc_external.c 	priv->external_encoder = devm_kzalloc(ddev->dev,
ddev              133 drivers/gpu/drm/tilcdc/tilcdc_external.c 	ret = drm_encoder_init(ddev, priv->external_encoder,
ddev              137 drivers/gpu/drm/tilcdc/tilcdc_external.c 		dev_err(ddev->dev, "drm_encoder_init() failed %d\n", ret);
ddev              142 drivers/gpu/drm/tilcdc/tilcdc_external.c 		bridge = devm_drm_panel_bridge_add(ddev->dev, panel,
ddev              150 drivers/gpu/drm/tilcdc/tilcdc_external.c 	ret = tilcdc_attach_bridge(ddev, bridge);
ddev               13 drivers/gpu/drm/tilcdc/tilcdc_external.h int tilcdc_attach_external_device(struct drm_device *ddev);
ddev               51 drivers/gpu/drm/vboxvideo/vbox_drv.c 	ret = drm_dev_init(&vbox->ddev, &driver, &pdev->dev);
ddev               57 drivers/gpu/drm/vboxvideo/vbox_drv.c 	vbox->ddev.pdev = pdev;
ddev               58 drivers/gpu/drm/vboxvideo/vbox_drv.c 	vbox->ddev.dev_private = vbox;
ddev               82 drivers/gpu/drm/vboxvideo/vbox_drv.c 	ret = drm_fb_helper_fbdev_setup(&vbox->ddev, &vbox->fb_helper,
ddev               88 drivers/gpu/drm/vboxvideo/vbox_drv.c 	ret = drm_dev_register(&vbox->ddev, 0);
ddev              107 drivers/gpu/drm/vboxvideo/vbox_drv.c 	drm_dev_put(&vbox->ddev);
ddev              115 drivers/gpu/drm/vboxvideo/vbox_drv.c 	drm_dev_unregister(&vbox->ddev);
ddev              121 drivers/gpu/drm/vboxvideo/vbox_drv.c 	drm_dev_put(&vbox->ddev);
ddev              130 drivers/gpu/drm/vboxvideo/vbox_drv.c 	error = drm_mode_config_helper_suspend(&vbox->ddev);
ddev              134 drivers/gpu/drm/vboxvideo/vbox_drv.c 	pci_save_state(vbox->ddev.pdev);
ddev              135 drivers/gpu/drm/vboxvideo/vbox_drv.c 	pci_disable_device(vbox->ddev.pdev);
ddev              136 drivers/gpu/drm/vboxvideo/vbox_drv.c 	pci_set_power_state(vbox->ddev.pdev, PCI_D3hot);
ddev              145 drivers/gpu/drm/vboxvideo/vbox_drv.c 	if (pci_enable_device(vbox->ddev.pdev))
ddev              148 drivers/gpu/drm/vboxvideo/vbox_drv.c 	return drm_mode_config_helper_resume(&vbox->ddev);
ddev              155 drivers/gpu/drm/vboxvideo/vbox_drv.c 	return drm_mode_config_helper_suspend(&vbox->ddev);
ddev              162 drivers/gpu/drm/vboxvideo/vbox_drv.c 	return drm_mode_config_helper_resume(&vbox->ddev);
ddev              169 drivers/gpu/drm/vboxvideo/vbox_drv.c 	return drm_mode_config_helper_suspend(&vbox->ddev);
ddev               58 drivers/gpu/drm/vboxvideo/vbox_drv.h 	struct drm_device ddev;
ddev               49 drivers/gpu/drm/vboxvideo/vbox_fb.c 	struct pci_dev *pdev = vbox->ddev.pdev;
ddev              109 drivers/gpu/drm/vboxvideo/vbox_irq.c 	struct drm_device *dev = &vbox->ddev;
ddev              168 drivers/gpu/drm/vboxvideo/vbox_irq.c 	drm_kms_helper_hotplug_event(&vbox->ddev);
ddev              176 drivers/gpu/drm/vboxvideo/vbox_irq.c 	return drm_irq_install(&vbox->ddev, vbox->ddev.pdev->irq);
ddev              181 drivers/gpu/drm/vboxvideo/vbox_irq.c 	drm_irq_uninstall(&vbox->ddev);
ddev              111 drivers/gpu/drm/vboxvideo/vbox_main.c 	drm_helper_mode_fill_fb_struct(&vbox->ddev, &vbox_fb->base, mode_cmd);
ddev              113 drivers/gpu/drm/vboxvideo/vbox_main.c 	ret = drm_framebuffer_init(&vbox->ddev, &vbox_fb->base, &vbox_fb_funcs);
ddev              127 drivers/gpu/drm/vboxvideo/vbox_main.c 	vbox->vbva_info = devm_kcalloc(vbox->ddev.dev, vbox->num_crtcs,
ddev              135 drivers/gpu/drm/vboxvideo/vbox_main.c 	vbox->vbva_buffers = pci_iomap_range(vbox->ddev.pdev, 0,
ddev              166 drivers/gpu/drm/vboxvideo/vbox_main.c 	pci_iounmap(vbox->ddev.pdev, vbox->vbva_buffers);
ddev              211 drivers/gpu/drm/vboxvideo/vbox_main.c 	    pci_iomap_range(vbox->ddev.pdev, 0, GUEST_HEAP_OFFSET(vbox),
ddev              246 drivers/gpu/drm/vboxvideo/vbox_main.c 	vbox->last_mode_hints = devm_kcalloc(vbox->ddev.dev, vbox->num_crtcs,
ddev              263 drivers/gpu/drm/vboxvideo/vbox_main.c 	pci_iounmap(vbox->ddev.pdev, vbox->guest_heap);
ddev              271 drivers/gpu/drm/vboxvideo/vbox_main.c 	pci_iounmap(vbox->ddev.pdev, vbox->guest_heap);
ddev              286 drivers/gpu/drm/vboxvideo/vbox_main.c 	gbo = drm_gem_vram_create(&vbox->ddev, &vbox->ddev.vram_mm->bdev,
ddev              129 drivers/gpu/drm/vboxvideo/vbox_mode.c 	list_for_each_entry(crtci, &vbox->ddev.mode_config.crtc_list, head) {
ddev              152 drivers/gpu/drm/vboxvideo/vbox_mode.c 	list_for_each_entry(connectori, &vbox->ddev.mode_config.connector_list,
ddev              196 drivers/gpu/drm/vboxvideo/vbox_mode.c 		list_for_each_entry(crtci, &vbox->ddev.mode_config.crtc_list,
ddev              386 drivers/gpu/drm/vboxvideo/vbox_mode.c 		container_of(plane->dev, struct vbox_private, ddev);
ddev              441 drivers/gpu/drm/vboxvideo/vbox_mode.c 		container_of(plane->dev, struct vbox_private, ddev);
ddev              450 drivers/gpu/drm/vboxvideo/vbox_mode.c 	list_for_each_entry(crtci, &vbox->ddev.mode_config.crtc_list, head) {
ddev              558 drivers/gpu/drm/vboxvideo/vbox_mode.c 	err = drm_universal_plane_init(&vbox->ddev, plane, possible_crtcs,
ddev              576 drivers/gpu/drm/vboxvideo/vbox_mode.c 		container_of(dev, struct vbox_private, ddev);
ddev              762 drivers/gpu/drm/vboxvideo/vbox_mode.c 			vbox->ddev.mode_config.suggested_x_property,
ddev              766 drivers/gpu/drm/vboxvideo/vbox_mode.c 			vbox->ddev.mode_config.suggested_x_property, 0);
ddev              770 drivers/gpu/drm/vboxvideo/vbox_mode.c 			vbox->ddev.mode_config.suggested_y_property,
ddev              774 drivers/gpu/drm/vboxvideo/vbox_mode.c 			vbox->ddev.mode_config.suggested_y_property, 0);
ddev              865 drivers/gpu/drm/vboxvideo/vbox_mode.c 		container_of(dev, struct vbox_private, ddev);
ddev              899 drivers/gpu/drm/vboxvideo/vbox_mode.c 	struct drm_device *dev = &vbox->ddev;
ddev              940 drivers/gpu/drm/vboxvideo/vbox_mode.c 	drm_mode_config_cleanup(&vbox->ddev);
ddev               17 drivers/gpu/drm/vboxvideo/vbox_ttm.c 	struct drm_device *dev = &vbox->ddev;
ddev               43 drivers/gpu/drm/vboxvideo/vbox_ttm.c 		     pci_resource_start(vbox->ddev.pdev, 0),
ddev               44 drivers/gpu/drm/vboxvideo/vbox_ttm.c 		     pci_resource_len(vbox->ddev.pdev, 0), DRM_MTRR_WC);
ddev               48 drivers/gpu/drm/vboxvideo/vbox_ttm.c 	drm_vram_helper_release_mm(&vbox->ddev);
ddev              252 drivers/gpu/drm/virtio/virtgpu_display.c 	struct drm_device *dev = vgdev->ddev;
ddev              352 drivers/gpu/drm/virtio/virtgpu_display.c 	drm_mode_config_init(vgdev->ddev);
ddev              353 drivers/gpu/drm/virtio/virtgpu_display.c 	vgdev->ddev->mode_config.quirk_addfb_prefer_host_byte_order = true;
ddev              354 drivers/gpu/drm/virtio/virtgpu_display.c 	vgdev->ddev->mode_config.funcs = &virtio_gpu_mode_funcs;
ddev              355 drivers/gpu/drm/virtio/virtgpu_display.c 	vgdev->ddev->mode_config.helper_private = &virtio_mode_config_helpers;
ddev              358 drivers/gpu/drm/virtio/virtgpu_display.c 	vgdev->ddev->mode_config.min_width = XRES_MIN;
ddev              359 drivers/gpu/drm/virtio/virtgpu_display.c 	vgdev->ddev->mode_config.min_height = YRES_MIN;
ddev              360 drivers/gpu/drm/virtio/virtgpu_display.c 	vgdev->ddev->mode_config.max_width = XRES_MAX;
ddev              361 drivers/gpu/drm/virtio/virtgpu_display.c 	vgdev->ddev->mode_config.max_height = YRES_MAX;
ddev              366 drivers/gpu/drm/virtio/virtgpu_display.c 	drm_mode_config_reset(vgdev->ddev);
ddev              375 drivers/gpu/drm/virtio/virtgpu_display.c 	drm_atomic_helper_shutdown(vgdev->ddev);
ddev              376 drivers/gpu/drm/virtio/virtgpu_display.c 	drm_mode_config_cleanup(vgdev->ddev);
ddev              178 drivers/gpu/drm/virtio/virtgpu_drv.h 	struct drm_device *ddev;
ddev               54 drivers/gpu/drm/virtio/virtgpu_ioctl.c 	return virtio_gpu_mode_dumb_mmap(file_priv, vgdev->ddev,
ddev               47 drivers/gpu/drm/virtio/virtgpu_kms.c 		drm_helper_hpd_irq_event(vgdev->ddev);
ddev              131 drivers/gpu/drm/virtio/virtgpu_kms.c 	vgdev->ddev = dev;
ddev              124 drivers/gpu/drm/virtio/virtgpu_object.c 	ret = drm_gem_object_init(vgdev->ddev, &bo->gem_base, params->size);
ddev              270 drivers/gpu/drm/virtio/virtgpu_plane.c 	struct drm_device *dev = vgdev->ddev;
ddev              281 drivers/gpu/drm/virtio/virtgpu_ttm.c 			       vgdev->ddev->anon_inode->i_mapping,
ddev              561 drivers/gpu/drm/virtio/virtgpu_vq.c 	if (!drm_helper_hpd_irq_event(vgdev->ddev))
ddev              562 drivers/gpu/drm/virtio/virtgpu_vq.c 		drm_kms_helper_hotplug_event(vgdev->ddev);
ddev              923 drivers/infiniband/hw/mlx5/mr.c 	struct device *ddev = dev->ib_dev.dev.parent;
ddev              977 drivers/infiniband/hw/mlx5/mr.c 	dma = dma_map_single(ddev, xlt, size, DMA_TO_DEVICE);
ddev              978 drivers/infiniband/hw/mlx5/mr.c 	if (dma_mapping_error(ddev, dma)) {
ddev             1006 drivers/infiniband/hw/mlx5/mr.c 		dma_sync_single_for_cpu(ddev, dma, size, DMA_TO_DEVICE);
ddev             1010 drivers/infiniband/hw/mlx5/mr.c 		dma_sync_single_for_device(ddev, dma, size, DMA_TO_DEVICE);
ddev             1035 drivers/infiniband/hw/mlx5/mr.c 	dma_unmap_single(ddev, dma, size, DMA_TO_DEVICE);
ddev              203 drivers/input/tablet/gtco.c 	struct device *ddev = &device->intf->dev;
ddev              229 drivers/input/tablet/gtco.c 	dev_dbg(ddev, "======>>>>>>PARSE<<<<<<======\n");
ddev              238 drivers/input/tablet/gtco.c 			dev_err(ddev,
ddev              281 drivers/input/tablet/gtco.c 				dev_dbg(ddev, "::::: Saving Report: %d input #%d Max: 0x%X(%d) Min:0x%X(%d) of %d bits\n",
ddev              296 drivers/input/tablet/gtco.c 					dev_dbg(ddev, "GER: X Usage: 0x%x\n", usage);
ddev              304 drivers/input/tablet/gtco.c 					dev_dbg(ddev, "GER: Y Usage: 0x%x\n", usage);
ddev              354 drivers/input/tablet/gtco.c 					dev_err(ddev, "Collection level %d would exceed limit of %d\n",
ddev              361 drivers/input/tablet/gtco.c 					dev_dbg(ddev, "======>>>>>> Physical\n");
ddev              364 drivers/input/tablet/gtco.c 					dev_dbg(ddev, "======>>>>>>\n");
ddev              382 drivers/input/tablet/gtco.c 					dev_err(ddev, "Collection level already at zero\n");
ddev              386 drivers/input/tablet/gtco.c 				dev_dbg(ddev, "<<<<<<======\n");
ddev              402 drivers/input/tablet/gtco.c 				dev_dbg(ddev, "%sMAINTAG:(%d) %c SIZE: %d Data: %s 0x%x\n",
ddev              407 drivers/input/tablet/gtco.c 				dev_dbg(ddev, "%sMAINTAG:(%d) %c SIZE: %d Data: %s 0x%x\n",
ddev              412 drivers/input/tablet/gtco.c 				dev_dbg(ddev, "%sMAINTAG:(%d) %c SIZE: %d Data: %s 0x%x\n",
ddev              483 drivers/input/tablet/gtco.c 					dev_dbg(ddev, "%sGLOBALTAG:%s(%d) SIZE: %d Data: 0x%x\n",
ddev              489 drivers/input/tablet/gtco.c 					dev_dbg(ddev, "%sGLOBALTAG:%s(%d) SIZE: %d Data: 0x%x\n",
ddev              495 drivers/input/tablet/gtco.c 					dev_dbg(ddev, "%sGLOBALTAG:%s(%d) SIZE: %d Data: 0x%x\n",
ddev              501 drivers/input/tablet/gtco.c 				dev_dbg(ddev, "%sGLOBALTAG: ILLEGAL TAG:%d SIZE: %d\n",
ddev              529 drivers/input/tablet/gtco.c 				dev_dbg(ddev, "%sLOCALTAG:(%d) %s SIZE: %d Data: 0x%x\n",
ddev              534 drivers/input/tablet/gtco.c 				dev_dbg(ddev, "%sLOCALTAG:(%d) %s SIZE: %d Data: 0x%x\n",
ddev              539 drivers/input/tablet/gtco.c 				dev_dbg(ddev, "%sLOCALTAG:(%d) %s SIZE: %d Data: 0x%x\n",
ddev              987 drivers/macintosh/windfarm_pm121.c static int pm121_probe(struct platform_device *ddev)
ddev              994 drivers/macintosh/windfarm_pm121.c static int pm121_remove(struct platform_device *ddev)
ddev              719 drivers/macintosh/windfarm_pm81.c static int wf_smu_probe(struct platform_device *ddev)
ddev              726 drivers/macintosh/windfarm_pm81.c static int wf_smu_remove(struct platform_device *ddev)
ddev              642 drivers/macintosh/windfarm_pm91.c static int wf_smu_probe(struct platform_device *ddev)
ddev              649 drivers/macintosh/windfarm_pm91.c static int wf_smu_remove(struct platform_device *ddev)
ddev               41 drivers/md/dm-zoned-target.c 	struct dm_dev		*ddev;
ddev              691 drivers/md/dm-zoned-target.c 	ret = dm_get_device(ti, path, dm_table_get_mode(ti->table), &dmz->ddev);
ddev              694 drivers/md/dm-zoned-target.c 		dmz->ddev = NULL;
ddev              704 drivers/md/dm-zoned-target.c 	dev->bdev = dmz->ddev->bdev;
ddev              736 drivers/md/dm-zoned-target.c 	dm_put_device(ti, dmz->ddev);
ddev              749 drivers/md/dm-zoned-target.c 	dm_put_device(ti, dmz->ddev);
ddev              780 drivers/md/dm-zoned-target.c 		dmz->ddev = NULL;
ddev              965 drivers/md/dm-zoned-target.c 	return fn(ti, dmz->ddev, 0, capacity, data);
ddev              416 drivers/misc/mic/scif/scif_dma.c 	struct dma_device *ddev;
ddev              424 drivers/misc/mic/scif/scif_dma.c 	ddev = chan->device;
ddev              426 drivers/misc/mic/scif/scif_dma.c 	tx = ddev->device_prep_dma_memcpy(chan, 0, 0, 0, flags);
ddev              478 drivers/misc/mic/scif/scif_dma.c 	struct dma_device *ddev;
ddev              491 drivers/misc/mic/scif/scif_dma.c 	ddev = chan->device;
ddev              493 drivers/misc/mic/scif/scif_dma.c 	tx = ddev->device_prep_dma_memcpy(chan, 0, 0, 0, flags);
ddev              200 drivers/misc/mic/scif/scif_fence.c 	struct dma_device *ddev = chan->device;
ddev              209 drivers/misc/mic/scif/scif_fence.c 	tx = ddev->device_prep_dma_memcpy(chan, 0, 0, 0, DMA_PREP_FENCE);
ddev              229 drivers/misc/mic/scif/scif_fence.c 		tx = ddev->device_prep_dma_imm_data(chan, dst, val, 0);
ddev              243 drivers/misc/mic/scif/scif_fence.c 		tx = ddev->device_prep_dma_memcpy(chan, dst, src, sizeof(val),
ddev              590 drivers/misc/mic/scif/scif_fence.c 	struct dma_device *ddev = chan->device;
ddev              595 drivers/misc/mic/scif/scif_fence.c 	tx = ddev->device_prep_dma_memcpy(chan, 0, 0, 0, DMA_PREP_FENCE);
ddev              610 drivers/misc/mic/scif/scif_fence.c 	tx = ddev->device_prep_dma_interrupt(chan, DMA_PREP_INTERRUPT);
ddev              473 drivers/misc/mic/vop/vop_vringh.c 	struct dma_device *ddev;
ddev              482 drivers/misc/mic/vop/vop_vringh.c 	ddev = vop_ch->device;
ddev              483 drivers/misc/mic/vop/vop_vringh.c 	tx = ddev->device_prep_dma_memcpy(vop_ch, dst, src, len,
ddev             2259 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c void hns_dsaf_get_regs(struct dsaf_device *ddev, u32 port, void *data)
ddev             2265 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	bool is_ver1 = AE_IS_VER1(ddev->dsaf_ver);
ddev             2268 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[0] = dsaf_read_dev(ddev, DSAF_SRAM_INIT_OVER_0_REG);
ddev             2269 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[1] = dsaf_read_dev(ddev, DSAF_CFG_0_REG);
ddev             2270 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[2] = dsaf_read_dev(ddev, DSAF_ECC_ERR_INVERT_0_REG);
ddev             2271 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[3] = dsaf_read_dev(ddev, DSAF_ABNORMAL_TIMEOUT_0_REG);
ddev             2272 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[4] = dsaf_read_dev(ddev, DSAF_FSM_TIMEOUT_0_REG);
ddev             2273 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[5] = dsaf_read_dev(ddev, DSAF_DSA_REG_CNT_CLR_CE_REG);
ddev             2274 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[6] = dsaf_read_dev(ddev, DSAF_DSA_SBM_INF_FIFO_THRD_REG);
ddev             2275 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[7] = dsaf_read_dev(ddev, DSAF_DSA_SRAM_1BIT_ECC_SEL_REG);
ddev             2276 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[8] = dsaf_read_dev(ddev, DSAF_DSA_SRAM_1BIT_ECC_CNT_REG);
ddev             2278 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[9] = dsaf_read_dev(ddev, DSAF_PFC_EN_0_REG + port * 4);
ddev             2279 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[10] = dsaf_read_dev(ddev, DSAF_PFC_UNIT_CNT_0_REG + port * 4);
ddev             2280 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[11] = dsaf_read_dev(ddev, DSAF_XGE_INT_MSK_0_REG + port * 4);
ddev             2281 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[12] = dsaf_read_dev(ddev, DSAF_XGE_INT_SRC_0_REG + port * 4);
ddev             2282 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[13] = dsaf_read_dev(ddev, DSAF_XGE_INT_STS_0_REG + port * 4);
ddev             2283 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[14] = dsaf_read_dev(ddev, DSAF_XGE_INT_MSK_0_REG + port * 4);
ddev             2284 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[15] = dsaf_read_dev(ddev, DSAF_PPE_INT_MSK_0_REG + port * 4);
ddev             2285 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[16] = dsaf_read_dev(ddev, DSAF_ROCEE_INT_MSK_0_REG + port * 4);
ddev             2286 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[17] = dsaf_read_dev(ddev, DSAF_XGE_INT_SRC_0_REG + port * 4);
ddev             2287 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[18] = dsaf_read_dev(ddev, DSAF_PPE_INT_SRC_0_REG + port * 4);
ddev             2288 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[19] =  dsaf_read_dev(ddev, DSAF_ROCEE_INT_SRC_0_REG + port * 4);
ddev             2289 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[20] = dsaf_read_dev(ddev, DSAF_XGE_INT_STS_0_REG + port * 4);
ddev             2290 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[21] = dsaf_read_dev(ddev, DSAF_PPE_INT_STS_0_REG + port * 4);
ddev             2291 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[22] = dsaf_read_dev(ddev, DSAF_ROCEE_INT_STS_0_REG + port * 4);
ddev             2292 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[23] = dsaf_read_dev(ddev, DSAF_PPE_QID_CFG_0_REG + port * 4);
ddev             2295 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[24 + i] = dsaf_read_dev(ddev,
ddev             2298 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[32] = dsaf_read_dev(ddev, DSAF_MIX_DEF_QID_0_REG + port * 4);
ddev             2301 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[33 + i] = dsaf_read_dev(ddev,
ddev             2305 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[41 + i] = dsaf_read_dev(ddev,
ddev             2309 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[170] = dsaf_read_dev(ddev, DSAF_INODE_CUT_THROUGH_CFG_0_REG);
ddev             2311 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[171] = dsaf_read_dev(ddev,
ddev             2316 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[172 + i] = dsaf_read_dev(ddev,
ddev             2318 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[175 + i] = dsaf_read_dev(ddev,
ddev             2320 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[178 + i] = dsaf_read_dev(ddev,
ddev             2322 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[181 + i] = dsaf_read_dev(ddev,
ddev             2324 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[184 + i] = dsaf_read_dev(ddev,
ddev             2326 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[187 + i] = dsaf_read_dev(ddev,
ddev             2328 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[190 + i] = dsaf_read_dev(ddev,
ddev             2332 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[193 + i] = dsaf_read_dev(ddev, reg_tmp + j * 0x80);
ddev             2333 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[196 + i] = dsaf_read_dev(ddev,
ddev             2335 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[199 + i] = dsaf_read_dev(ddev,
ddev             2337 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[202 + i] = dsaf_read_dev(ddev,
ddev             2339 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[205 + i] = dsaf_read_dev(ddev,
ddev             2341 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[208 + i] = dsaf_read_dev(ddev,
ddev             2343 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[211 + i] = dsaf_read_dev(ddev,
ddev             2345 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[214 + i] = dsaf_read_dev(ddev,
ddev             2347 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[217 + i] = dsaf_read_dev(ddev,
ddev             2349 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[220 + i] = dsaf_read_dev(ddev,
ddev             2351 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[223 + i] = dsaf_read_dev(ddev,
ddev             2353 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[226 + i] = dsaf_read_dev(ddev,
ddev             2357 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[229] = dsaf_read_dev(ddev, DSAF_INODE_GE_FC_EN_0_REG + port * 4);
ddev             2361 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[230 + i] = dsaf_read_dev(ddev,
ddev             2365 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[233] = dsaf_read_dev(ddev,
ddev             2369 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	for (i = 0; i < HNS_DSAF_SBM_NUM(ddev) / DSAF_COMM_CHN; i++) {
ddev             2371 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[234 + i] = dsaf_read_dev(ddev,
ddev             2373 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[237 + i] = dsaf_read_dev(ddev,
ddev             2375 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[240 + i] = dsaf_read_dev(ddev,
ddev             2377 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[243 + i] = dsaf_read_dev(ddev,
ddev             2379 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[246 + i] = dsaf_read_dev(ddev,
ddev             2381 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[249 + i] = dsaf_read_dev(ddev,
ddev             2383 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[252 + i] = dsaf_read_dev(ddev,
ddev             2385 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[255 + i] = dsaf_read_dev(ddev,
ddev             2387 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[258 + i] = dsaf_read_dev(ddev,
ddev             2389 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[261 + i] = dsaf_read_dev(ddev,
ddev             2391 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[264 + i] = dsaf_read_dev(ddev,
ddev             2393 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[267 + i] = dsaf_read_dev(ddev,
ddev             2395 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[270 + i] = dsaf_read_dev(ddev,
ddev             2397 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[273 + i] = dsaf_read_dev(ddev,
ddev             2399 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[276 + i] = dsaf_read_dev(ddev,
ddev             2401 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[279 + i] = dsaf_read_dev(ddev,
ddev             2403 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[282 + i] = dsaf_read_dev(ddev,
ddev             2405 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[285 + i] = dsaf_read_dev(ddev,
ddev             2407 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[288 + i] = dsaf_read_dev(ddev,
ddev             2409 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[291 + i] = dsaf_read_dev(ddev,
ddev             2411 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[294 + i] = dsaf_read_dev(ddev,
ddev             2413 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[297 + i] = dsaf_read_dev(ddev,
ddev             2415 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[300 + i] = dsaf_read_dev(ddev,
ddev             2417 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[303 + i] = dsaf_read_dev(ddev,
ddev             2419 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[306 + i] = dsaf_read_dev(ddev,
ddev             2421 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[309 + i] = dsaf_read_dev(ddev,
ddev             2423 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[312 + i] = dsaf_read_dev(ddev,
ddev             2429 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[315 + i] = dsaf_read_dev(ddev,
ddev             2431 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[323 + i] = dsaf_read_dev(ddev,
ddev             2433 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[331 + i] = dsaf_read_dev(ddev,
ddev             2435 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[339 + i] = dsaf_read_dev(ddev,
ddev             2437 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[347 + i] = dsaf_read_dev(ddev,
ddev             2439 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[355 + i] = dsaf_read_dev(ddev,
ddev             2443 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[363] = dsaf_read_dev(ddev, DSAF_XOD_PFS_CFG_0_0_REG + port * 0x90);
ddev             2444 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[364] = dsaf_read_dev(ddev, DSAF_XOD_PFS_CFG_1_0_REG + port * 0x90);
ddev             2445 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[365] = dsaf_read_dev(ddev, DSAF_XOD_PFS_CFG_2_0_REG + port * 0x90);
ddev             2449 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[366 + i] = dsaf_read_dev(ddev,
ddev             2451 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[369 + i] = dsaf_read_dev(ddev,
ddev             2453 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[372 + i] = dsaf_read_dev(ddev,
ddev             2455 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[375 + i] = dsaf_read_dev(ddev,
ddev             2457 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[378 + i] = dsaf_read_dev(ddev,
ddev             2459 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[381 + i] = dsaf_read_dev(ddev,
ddev             2461 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[384 + i] = dsaf_read_dev(ddev,
ddev             2463 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[387 + i] = dsaf_read_dev(ddev,
ddev             2465 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[390 + i] = dsaf_read_dev(ddev,
ddev             2467 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[393 + i] = dsaf_read_dev(ddev,
ddev             2471 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[396] = dsaf_read_dev(ddev,
ddev             2473 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[397] = dsaf_read_dev(ddev,
ddev             2475 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[398] = dsaf_read_dev(ddev,
ddev             2477 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[399] = dsaf_read_dev(ddev,
ddev             2479 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[400] = dsaf_read_dev(ddev,
ddev             2481 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[401] = dsaf_read_dev(ddev,
ddev             2483 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[402] = dsaf_read_dev(ddev,
ddev             2485 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[403] = dsaf_read_dev(ddev,
ddev             2487 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[404] = dsaf_read_dev(ddev,
ddev             2489 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[405] = dsaf_read_dev(ddev,
ddev             2491 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[406] = dsaf_read_dev(ddev,
ddev             2493 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[407] = dsaf_read_dev(ddev,
ddev             2495 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[408] = dsaf_read_dev(ddev,
ddev             2501 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[409 + i] = dsaf_read_dev(ddev,
ddev             2503 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[412 + i] = dsaf_read_dev(ddev,
ddev             2505 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[415 + i] = dsaf_read_dev(ddev, DSAF_VOQ_IN_PKT_NUM_0_REG + j);
ddev             2506 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[418 + i] = dsaf_read_dev(ddev,
ddev             2508 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[421 + i] = dsaf_read_dev(ddev,
ddev             2510 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[424 + i] = dsaf_read_dev(ddev, DSAF_VOQ_BP_STATUS_0_REG + j);
ddev             2511 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[427 + i] = dsaf_read_dev(ddev, DSAF_VOQ_SPUP_IDLE_0_REG + j);
ddev             2512 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[430 + i] = dsaf_read_dev(ddev,
ddev             2514 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[433 + i] = dsaf_read_dev(ddev,
ddev             2516 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[436 + i] = dsaf_read_dev(ddev,
ddev             2518 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[439 + i] = dsaf_read_dev(ddev,
ddev             2520 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[442 + i] = dsaf_read_dev(ddev,
ddev             2525 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[445] = dsaf_read_dev(ddev, DSAF_TBL_CTRL_0_REG);
ddev             2526 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[446] = dsaf_read_dev(ddev, DSAF_TBL_INT_MSK_0_REG);
ddev             2527 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[447] = dsaf_read_dev(ddev, DSAF_TBL_INT_SRC_0_REG);
ddev             2528 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[448] = dsaf_read_dev(ddev, DSAF_TBL_INT_STS_0_REG);
ddev             2529 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[449] = dsaf_read_dev(ddev, DSAF_TBL_TCAM_ADDR_0_REG);
ddev             2530 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[450] = dsaf_read_dev(ddev, DSAF_TBL_LINE_ADDR_0_REG);
ddev             2531 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[451] = dsaf_read_dev(ddev, DSAF_TBL_TCAM_HIGH_0_REG);
ddev             2532 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[452] = dsaf_read_dev(ddev, DSAF_TBL_TCAM_LOW_0_REG);
ddev             2533 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[453] = dsaf_read_dev(ddev, DSAF_TBL_TCAM_MCAST_CFG_4_0_REG);
ddev             2534 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[454] = dsaf_read_dev(ddev, DSAF_TBL_TCAM_MCAST_CFG_3_0_REG);
ddev             2535 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[455] = dsaf_read_dev(ddev, DSAF_TBL_TCAM_MCAST_CFG_2_0_REG);
ddev             2536 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[456] = dsaf_read_dev(ddev, DSAF_TBL_TCAM_MCAST_CFG_1_0_REG);
ddev             2537 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[457] = dsaf_read_dev(ddev, DSAF_TBL_TCAM_MCAST_CFG_0_0_REG);
ddev             2538 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[458] = dsaf_read_dev(ddev, DSAF_TBL_TCAM_UCAST_CFG_0_REG);
ddev             2539 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[459] = dsaf_read_dev(ddev, DSAF_TBL_LIN_CFG_0_REG);
ddev             2540 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[460] = dsaf_read_dev(ddev, DSAF_TBL_TCAM_RDATA_HIGH_0_REG);
ddev             2541 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[461] = dsaf_read_dev(ddev, DSAF_TBL_TCAM_RDATA_LOW_0_REG);
ddev             2542 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[462] = dsaf_read_dev(ddev, DSAF_TBL_TCAM_RAM_RDATA4_0_REG);
ddev             2543 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[463] = dsaf_read_dev(ddev, DSAF_TBL_TCAM_RAM_RDATA3_0_REG);
ddev             2544 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[464] = dsaf_read_dev(ddev, DSAF_TBL_TCAM_RAM_RDATA2_0_REG);
ddev             2545 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[465] = dsaf_read_dev(ddev, DSAF_TBL_TCAM_RAM_RDATA1_0_REG);
ddev             2546 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[466] = dsaf_read_dev(ddev, DSAF_TBL_TCAM_RAM_RDATA0_0_REG);
ddev             2547 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[467] = dsaf_read_dev(ddev, DSAF_TBL_LIN_RDATA_0_REG);
ddev             2551 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[468 + 2 * i] = dsaf_read_dev(ddev,
ddev             2553 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[469 + 2 * i] = dsaf_read_dev(ddev,
ddev             2557 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[484] = dsaf_read_dev(ddev, DSAF_TBL_SA_MIS_INFO2_0_REG);
ddev             2558 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[485] = dsaf_read_dev(ddev, DSAF_TBL_SA_MIS_INFO1_0_REG);
ddev             2559 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[486] = dsaf_read_dev(ddev, DSAF_TBL_SA_MIS_INFO0_0_REG);
ddev             2560 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[487] = dsaf_read_dev(ddev, DSAF_TBL_PUL_0_REG);
ddev             2561 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[488] = dsaf_read_dev(ddev, DSAF_TBL_OLD_RSLT_0_REG);
ddev             2562 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[489] = dsaf_read_dev(ddev, DSAF_TBL_OLD_SCAN_VAL_0_REG);
ddev             2563 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[490] = dsaf_read_dev(ddev, DSAF_TBL_DFX_CTRL_0_REG);
ddev             2564 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[491] = dsaf_read_dev(ddev, DSAF_TBL_DFX_STAT_0_REG);
ddev             2565 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[492] = dsaf_read_dev(ddev, DSAF_TBL_DFX_STAT_2_0_REG);
ddev             2566 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[493] = dsaf_read_dev(ddev, DSAF_TBL_LKUP_NUM_I_0_REG);
ddev             2567 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[494] = dsaf_read_dev(ddev, DSAF_TBL_LKUP_NUM_O_0_REG);
ddev             2568 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[495] = dsaf_read_dev(ddev, DSAF_TBL_UCAST_BCAST_MIS_INFO_0_0_REG);
ddev             2571 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[496] = dsaf_read_dev(ddev, DSAF_INODE_FIFO_WL_0_REG + port * 0x4);
ddev             2572 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[497] = dsaf_read_dev(ddev, DSAF_ONODE_FIFO_WL_0_REG + port * 0x4);
ddev             2573 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[498] = dsaf_read_dev(ddev, DSAF_XGE_GE_WORK_MODE_0_REG + port * 0x4);
ddev             2574 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[499] = dsaf_read_dev(ddev,
ddev             2576 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[500] = dsaf_read_dev(ddev, DSAF_NETPORT_CTRL_SIG_0_REG + port * 0x4);
ddev             2577 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p[501] = dsaf_read_dev(ddev, DSAF_XGE_CTRL_SIG_CFG_0_REG + port * 0x4);
ddev             2580 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 		p[502] = dsaf_read_dev(ddev, DSAF_PAUSE_CFG_REG + port * 0x4);
ddev             2638 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static u64 *hns_dsaf_get_node_stats(struct dsaf_device *ddev, u64 *data,
ddev             2643 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	struct dsaf_hw_stats *hw_stats = &ddev->hw_stats[node_num];
ddev             2644 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	bool is_ver1 = AE_IS_VER1(ddev->dsaf_ver);
ddev             2678 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c void hns_dsaf_get_stats(struct dsaf_device *ddev, u64 *data, int port)
ddev             2684 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	p = hns_dsaf_get_node_stats(ddev, p, node_num);
ddev             2688 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c 	(void)hns_dsaf_get_node_stats(ddev, p, node_num);
ddev              444 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h void hns_dsaf_get_stats(struct dsaf_device *ddev, u64 *data, int port);
ddev              448 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h void hns_dsaf_get_regs(struct dsaf_device *ddev, u32 port, void *data);
ddev             3279 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	priv->ddev = &mdev->pdev->dev;
ddev               63 drivers/net/ethernet/mellanox/mlx4/en_rx.c 	dma = dma_map_page(priv->ddev, page, 0, PAGE_SIZE, priv->dma_dir);
ddev               64 drivers/net/ethernet/mellanox/mlx4/en_rx.c 	if (unlikely(dma_mapping_error(priv->ddev, dma))) {
ddev               98 drivers/net/ethernet/mellanox/mlx4/en_rx.c 		dma_unmap_page(priv->ddev, frag->dma,
ddev              456 drivers/net/ethernet/mellanox/mlx4/en_rx.c 		dma_unmap_page(priv->ddev, ring->page_cache.buf[i].dma,
ddev              488 drivers/net/ethernet/mellanox/mlx4/en_rx.c 		dma_sync_single_range_for_cpu(priv->ddev, dma, frags->page_offset,
ddev              511 drivers/net/ethernet/mellanox/mlx4/en_rx.c 			dma_unmap_page(priv->ddev, dma, PAGE_SIZE, priv->dma_dir);
ddev              736 drivers/net/ethernet/mellanox/mlx4/en_rx.c 			dma_sync_single_for_cpu(priv->ddev, dma, sizeof(*ethh),
ddev              775 drivers/net/ethernet/mellanox/mlx4/en_rx.c 			dma_sync_single_for_cpu(priv->ddev, dma,
ddev              297 drivers/net/ethernet/mellanox/mlx4/en_tx.c 			dma_unmap_single(priv->ddev,
ddev              302 drivers/net/ethernet/mellanox/mlx4/en_tx.c 			dma_unmap_page(priv->ddev,
ddev              311 drivers/net/ethernet/mellanox/mlx4/en_tx.c 				dma_unmap_page(priv->ddev,
ddev              325 drivers/net/ethernet/mellanox/mlx4/en_tx.c 				dma_unmap_page(priv->ddev,
ddev              354 drivers/net/ethernet/mellanox/mlx4/en_tx.c 		dma_unmap_page(priv->ddev, tx_info->map0_dma,
ddev              780 drivers/net/ethernet/mellanox/mlx4/en_tx.c 	struct device *ddev = priv->ddev;
ddev              789 drivers/net/ethernet/mellanox/mlx4/en_tx.c 		dma = skb_frag_dma_map(ddev, frag,
ddev              792 drivers/net/ethernet/mellanox/mlx4/en_tx.c 		if (dma_mapping_error(ddev, dma))
ddev              806 drivers/net/ethernet/mellanox/mlx4/en_tx.c 		dma = dma_map_single(ddev, skb->data +
ddev              809 drivers/net/ethernet/mellanox/mlx4/en_tx.c 		if (dma_mapping_error(ddev, dma))
ddev              828 drivers/net/ethernet/mellanox/mlx4/en_tx.c 		dma_unmap_page(ddev, (dma_addr_t)be64_to_cpu(data->addr),
ddev             1159 drivers/net/ethernet/mellanox/mlx4/en_tx.c 	dma_sync_single_range_for_device(priv->ddev, dma, frame->page_offset,
ddev              621 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h 	struct device *ddev;
ddev             1874 drivers/net/ethernet/mellanox/mlx5/core/cmd.c 	struct device *ddev = dev->device;
ddev             1876 drivers/net/ethernet/mellanox/mlx5/core/cmd.c 	cmd->cmd_alloc_buf = dma_alloc_coherent(ddev, MLX5_ADAPTER_PAGE_SIZE,
ddev             1889 drivers/net/ethernet/mellanox/mlx5/core/cmd.c 	dma_free_coherent(ddev, MLX5_ADAPTER_PAGE_SIZE, cmd->cmd_alloc_buf,
ddev             1891 drivers/net/ethernet/mellanox/mlx5/core/cmd.c 	cmd->cmd_alloc_buf = dma_alloc_coherent(ddev,
ddev             1905 drivers/net/ethernet/mellanox/mlx5/core/cmd.c 	struct device *ddev = dev->device;
ddev             1907 drivers/net/ethernet/mellanox/mlx5/core/cmd.c 	dma_free_coherent(ddev, cmd->alloc_size, cmd->cmd_alloc_buf,
ddev              127 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c 	struct device *ddev = &dev->pdev->dev;
ddev              145 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c 	dma = dma_map_single(ddev, buff, tracer->buff.size, DMA_FROM_DEVICE);
ddev              146 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c 	if (dma_mapping_error(ddev, dma)) {
ddev              148 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c 			       dma_mapping_error(ddev, dma));
ddev              165 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c 	struct device *ddev = &dev->pdev->dev;
ddev              170 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c 	dma_unmap_single(ddev, tracer->buff.dma, tracer->buff.size, DMA_FROM_DEVICE);
ddev              744 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c 	dev = local->ddev;
ddev               87 drivers/net/wireless/intersil/hostap/hostap_80211_tx.c 	if (local->ddev != dev) {
ddev             3226 drivers/net/wireless/intersil/hostap/hostap_hw.c 	local->ddev = hostap_add_interface(local, HOSTAP_INTERFACE_MAIN, 0,
ddev             3229 drivers/net/wireless/intersil/hostap/hostap_hw.c 	if (local->ddev) {
ddev             3233 drivers/net/wireless/intersil/hostap/hostap_hw.c 			netif_carrier_off(local->ddev);
ddev              157 drivers/net/wireless/intersil/hostap/hostap_info.c 		netif_carrier_on(local->ddev);
ddev              442 drivers/net/wireless/intersil/hostap/hostap_info.c 		netif_carrier_on(local->ddev);
ddev              446 drivers/net/wireless/intersil/hostap/hostap_info.c 		netif_carrier_off(local->ddev);
ddev              870 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 	struct net_device *dev = local->ddev;
ddev             1117 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 	struct net_device *dev = local->ddev;
ddev             1203 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 		netif_carrier_on(local->ddev);
ddev              112 drivers/net/wireless/intersil/hostap/hostap_main.c 	if (dev == iface->local->ddev)
ddev              113 drivers/net/wireless/intersil/hostap/hostap_main.c 		iface->local->ddev = NULL;
ddev              186 drivers/net/wireless/intersil/hostap/hostap_main.c 				   local->ddev->name, "wds%d");
ddev              608 drivers/net/wireless/intersil/hostap/hostap_main.c 	if (dev == local->ddev) {
ddev              883 drivers/net/wireless/intersil/hostap/hostap_main.c 					    rtnl_locked, local->ddev->name,
ddev              915 drivers/net/wireless/intersil/hostap/hostap_main.c 					     rtnl_locked, local->ddev->name,
ddev              366 drivers/net/wireless/intersil/hostap/hostap_proc.c 	local->proc = proc_mkdir(local->ddev->name, hostap_proc);
ddev              369 drivers/net/wireless/intersil/hostap/hostap_proc.c 		       local->ddev->name);
ddev              653 drivers/net/wireless/intersil/hostap/hostap_wlan.h 	struct net_device *ddev; /* main data device */
ddev              202 drivers/nfc/nfcsim.c static int nfcsim_send(struct nfc_digital_dev *ddev, struct sk_buff *skb,
ddev              205 drivers/nfc/nfcsim.c 	struct nfcsim *dev = nfc_digital_get_drvdata(ddev);
ddev              241 drivers/nfc/nfcsim.c static void nfcsim_abort_cmd(struct nfc_digital_dev *ddev)
ddev              243 drivers/nfc/nfcsim.c 	struct nfcsim *dev = nfc_digital_get_drvdata(ddev);
ddev              248 drivers/nfc/nfcsim.c static int nfcsim_switch_rf(struct nfc_digital_dev *ddev, bool on)
ddev              250 drivers/nfc/nfcsim.c 	struct nfcsim *dev = nfc_digital_get_drvdata(ddev);
ddev              257 drivers/nfc/nfcsim.c static int nfcsim_in_configure_hw(struct nfc_digital_dev *ddev,
ddev              260 drivers/nfc/nfcsim.c 	struct nfcsim *dev = nfc_digital_get_drvdata(ddev);
ddev              280 drivers/nfc/nfcsim.c static int nfcsim_in_send_cmd(struct nfc_digital_dev *ddev,
ddev              284 drivers/nfc/nfcsim.c 	return nfcsim_send(ddev, skb, timeout, cb, arg);
ddev              287 drivers/nfc/nfcsim.c static int nfcsim_tg_configure_hw(struct nfc_digital_dev *ddev,
ddev              290 drivers/nfc/nfcsim.c 	struct nfcsim *dev = nfc_digital_get_drvdata(ddev);
ddev              310 drivers/nfc/nfcsim.c static int nfcsim_tg_send_cmd(struct nfc_digital_dev *ddev,
ddev              314 drivers/nfc/nfcsim.c 	return nfcsim_send(ddev, skb, timeout, cb, arg);
ddev              317 drivers/nfc/nfcsim.c static int nfcsim_tg_listen(struct nfc_digital_dev *ddev, u16 timeout,
ddev              320 drivers/nfc/nfcsim.c 	return nfcsim_send(ddev, NULL, timeout, cb, arg);
ddev              952 drivers/nfc/port100.c static void port100_abort_cmd(struct nfc_digital_dev *ddev)
ddev              954 drivers/nfc/port100.c 	struct port100 *dev = nfc_digital_get_drvdata(ddev);
ddev             1044 drivers/nfc/port100.c static int port100_switch_rf(struct nfc_digital_dev *ddev, bool on)
ddev             1046 drivers/nfc/port100.c 	struct port100 *dev = nfc_digital_get_drvdata(ddev);
ddev             1057 drivers/nfc/port100.c 		port100_abort_cmd(ddev);
ddev             1069 drivers/nfc/port100.c static int port100_in_set_rf(struct nfc_digital_dev *ddev, u8 rf)
ddev             1071 drivers/nfc/port100.c 	struct port100 *dev = nfc_digital_get_drvdata(ddev);
ddev             1098 drivers/nfc/port100.c static int port100_in_set_framing(struct nfc_digital_dev *ddev, int param)
ddev             1100 drivers/nfc/port100.c 	struct port100 *dev = nfc_digital_get_drvdata(ddev);
ddev             1140 drivers/nfc/port100.c static int port100_in_configure_hw(struct nfc_digital_dev *ddev, int type,
ddev             1144 drivers/nfc/port100.c 		return port100_in_set_rf(ddev, param);
ddev             1147 drivers/nfc/port100.c 		return port100_in_set_framing(ddev, param);
ddev             1203 drivers/nfc/port100.c static int port100_in_send_cmd(struct nfc_digital_dev *ddev,
ddev             1207 drivers/nfc/port100.c 	struct port100 *dev = nfc_digital_get_drvdata(ddev);
ddev             1226 drivers/nfc/port100.c static int port100_tg_set_rf(struct nfc_digital_dev *ddev, u8 rf)
ddev             1228 drivers/nfc/port100.c 	struct port100 *dev = nfc_digital_get_drvdata(ddev);
ddev             1255 drivers/nfc/port100.c static int port100_tg_set_framing(struct nfc_digital_dev *ddev, int param)
ddev             1257 drivers/nfc/port100.c 	struct port100 *dev = nfc_digital_get_drvdata(ddev);
ddev             1297 drivers/nfc/port100.c static int port100_tg_configure_hw(struct nfc_digital_dev *ddev, int type,
ddev             1301 drivers/nfc/port100.c 		return port100_tg_set_rf(ddev, param);
ddev             1304 drivers/nfc/port100.c 		return port100_tg_set_framing(ddev, param);
ddev             1369 drivers/nfc/port100.c static int port100_tg_send_cmd(struct nfc_digital_dev *ddev,
ddev             1373 drivers/nfc/port100.c 	struct port100 *dev = nfc_digital_get_drvdata(ddev);
ddev             1397 drivers/nfc/port100.c static int port100_listen_mdaa(struct nfc_digital_dev *ddev,
ddev             1402 drivers/nfc/port100.c 	struct port100 *dev = nfc_digital_get_drvdata(ddev);
ddev             1408 drivers/nfc/port100.c 	rc = port100_tg_configure_hw(ddev, NFC_DIGITAL_CONFIG_RF_TECH,
ddev             1413 drivers/nfc/port100.c 	rc = port100_tg_configure_hw(ddev, NFC_DIGITAL_CONFIG_FRAMING,
ddev             1453 drivers/nfc/port100.c static int port100_listen(struct nfc_digital_dev *ddev, u16 timeout,
ddev             1456 drivers/nfc/port100.c 	struct port100 *dev = nfc_digital_get_drvdata(ddev);
ddev             1463 drivers/nfc/port100.c 	return port100_tg_send_cmd(ddev, skb, timeout, cb, arg);
ddev              221 drivers/nfc/st95hf/core.c 	struct nfc_digital_dev *ddev;
ddev              537 drivers/nfc/st95hf/core.c 	struct nfc_digital_dev *nfcddev = st95context->ddev;
ddev              611 drivers/nfc/st95hf/core.c 	struct nfc_digital_dev *nfcddev = stcontext->ddev;
ddev              702 drivers/nfc/st95hf/core.c 	struct nfc_digital_dev *nfcddev = stcontext->ddev;
ddev              849 drivers/nfc/st95hf/core.c 	cb_arg->complete_cb(stcontext->ddev, cb_arg->cb_usrarg, skb_resp);
ddev              863 drivers/nfc/st95hf/core.c 	cb_arg->complete_cb(stcontext->ddev, cb_arg->cb_usrarg, skb_resp);
ddev              871 drivers/nfc/st95hf/core.c static int st95hf_in_configure_hw(struct nfc_digital_dev *ddev,
ddev              875 drivers/nfc/st95hf/core.c 	struct st95hf_context *stcontext = nfc_digital_get_drvdata(ddev);
ddev              917 drivers/nfc/st95hf/core.c static int st95hf_in_send_cmd(struct nfc_digital_dev *ddev,
ddev              923 drivers/nfc/st95hf/core.c 	struct st95hf_context *stcontext = nfc_digital_get_drvdata(ddev);
ddev              958 drivers/nfc/st95hf/core.c 	    ddev->curr_protocol == NFC_PROTO_ISO14443)
ddev              994 drivers/nfc/st95hf/core.c static int st95hf_tg_configure_hw(struct nfc_digital_dev *ddev,
ddev             1001 drivers/nfc/st95hf/core.c static int st95hf_tg_send_cmd(struct nfc_digital_dev *ddev,
ddev             1010 drivers/nfc/st95hf/core.c static int st95hf_tg_listen(struct nfc_digital_dev *ddev,
ddev             1018 drivers/nfc/st95hf/core.c static int st95hf_tg_get_rf_tech(struct nfc_digital_dev *ddev, u8 *rf_tech)
ddev             1023 drivers/nfc/st95hf/core.c static int st95hf_switch_rf(struct nfc_digital_dev *ddev, bool on)
ddev             1026 drivers/nfc/st95hf/core.c 	struct st95hf_context *stcontext = nfc_digital_get_drvdata(ddev);
ddev             1028 drivers/nfc/st95hf/core.c 	rf_tech = ddev->curr_rf_tech;
ddev             1039 drivers/nfc/st95hf/core.c static void st95hf_abort_cmd(struct nfc_digital_dev *ddev)
ddev             1169 drivers/nfc/st95hf/core.c 	st95context->ddev = nfc_digital_allocate_device(&st95hf_nfc_digital_ops,
ddev             1174 drivers/nfc/st95hf/core.c 	if (!st95context->ddev) {
ddev             1179 drivers/nfc/st95hf/core.c 	st95context->nfcdev = st95context->ddev->nfc_dev;
ddev             1180 drivers/nfc/st95hf/core.c 	nfc_digital_set_parent_dev(st95context->ddev, &nfc_spi_dev->dev);
ddev             1182 drivers/nfc/st95hf/core.c 	ret =  nfc_digital_register_device(st95context->ddev);
ddev             1189 drivers/nfc/st95hf/core.c 	nfc_digital_set_drvdata(st95context->ddev, st95context);
ddev             1197 drivers/nfc/st95hf/core.c 	nfc_digital_free_device(st95context->ddev);
ddev             1217 drivers/nfc/st95hf/core.c 	nfc_digital_unregister_device(stcontext->ddev);
ddev             1218 drivers/nfc/st95hf/core.c 	nfc_digital_free_device(stcontext->ddev);
ddev              428 drivers/nfc/trf7970a.c 	struct nfc_digital_dev		*ddev;
ddev              628 drivers/nfc/trf7970a.c 	trf->cb(trf->ddev, trf->cb_arg, trf->rx_skb);
ddev             1123 drivers/nfc/trf7970a.c static int trf7970a_switch_rf(struct nfc_digital_dev *ddev, bool on)
ddev             1125 drivers/nfc/trf7970a.c 	struct trf7970a *trf = nfc_digital_get_drvdata(ddev);
ddev             1338 drivers/nfc/trf7970a.c static int trf7970a_in_configure_hw(struct nfc_digital_dev *ddev, int type,
ddev             1341 drivers/nfc/trf7970a.c 	struct trf7970a *trf = nfc_digital_get_drvdata(ddev);
ddev             1459 drivers/nfc/trf7970a.c static int trf7970a_send_cmd(struct nfc_digital_dev *ddev,
ddev             1463 drivers/nfc/trf7970a.c 	struct trf7970a *trf = nfc_digital_get_drvdata(ddev);
ddev             1516 drivers/nfc/trf7970a.c 	trf->ddev = ddev;
ddev             1681 drivers/nfc/trf7970a.c static int trf7970a_tg_configure_hw(struct nfc_digital_dev *ddev, int type,
ddev             1684 drivers/nfc/trf7970a.c 	struct trf7970a *trf = nfc_digital_get_drvdata(ddev);
ddev             1717 drivers/nfc/trf7970a.c static int _trf7970a_tg_listen(struct nfc_digital_dev *ddev, u16 timeout,
ddev             1721 drivers/nfc/trf7970a.c 	struct trf7970a *trf = nfc_digital_get_drvdata(ddev);
ddev             1772 drivers/nfc/trf7970a.c 	trf->ddev = ddev;
ddev             1792 drivers/nfc/trf7970a.c static int trf7970a_tg_listen(struct nfc_digital_dev *ddev, u16 timeout,
ddev             1795 drivers/nfc/trf7970a.c 	struct trf7970a *trf = nfc_digital_get_drvdata(ddev);
ddev             1800 drivers/nfc/trf7970a.c 	return _trf7970a_tg_listen(ddev, timeout, cb, arg, false);
ddev             1803 drivers/nfc/trf7970a.c static int trf7970a_tg_listen_md(struct nfc_digital_dev *ddev,
ddev             1807 drivers/nfc/trf7970a.c 	struct trf7970a *trf = nfc_digital_get_drvdata(ddev);
ddev             1813 drivers/nfc/trf7970a.c 	ret = trf7970a_tg_configure_hw(ddev, NFC_DIGITAL_CONFIG_RF_TECH,
ddev             1818 drivers/nfc/trf7970a.c 	ret = trf7970a_tg_configure_hw(ddev, NFC_DIGITAL_CONFIG_FRAMING,
ddev             1823 drivers/nfc/trf7970a.c 	return _trf7970a_tg_listen(ddev, timeout, cb, arg, true);
ddev             1826 drivers/nfc/trf7970a.c static int trf7970a_tg_get_rf_tech(struct nfc_digital_dev *ddev, u8 *rf_tech)
ddev             1828 drivers/nfc/trf7970a.c 	struct trf7970a *trf = nfc_digital_get_drvdata(ddev);
ddev             1838 drivers/nfc/trf7970a.c static void trf7970a_abort_cmd(struct nfc_digital_dev *ddev)
ddev             1840 drivers/nfc/trf7970a.c 	struct trf7970a *trf = nfc_digital_get_drvdata(ddev);
ddev             2103 drivers/nfc/trf7970a.c 	trf->ddev = nfc_digital_allocate_device(&trf7970a_nfc_ops,
ddev             2108 drivers/nfc/trf7970a.c 	if (!trf->ddev) {
ddev             2114 drivers/nfc/trf7970a.c 	nfc_digital_set_parent_dev(trf->ddev, trf->dev);
ddev             2115 drivers/nfc/trf7970a.c 	nfc_digital_set_drvdata(trf->ddev, trf);
ddev             2127 drivers/nfc/trf7970a.c 	ret = nfc_digital_register_device(trf->ddev);
ddev             2139 drivers/nfc/trf7970a.c 	nfc_digital_free_device(trf->ddev);
ddev             2157 drivers/nfc/trf7970a.c 	nfc_digital_unregister_device(trf->ddev);
ddev             2158 drivers/nfc/trf7970a.c 	nfc_digital_free_device(trf->ddev);
ddev               52 drivers/rapidio/devices/tsi721_dma.c static inline struct tsi721_device *to_tsi721(struct dma_device *ddev)
ddev               54 drivers/rapidio/devices/tsi721_dma.c 	return container_of(ddev, struct rio_mport, dma)->priv;
ddev             4664 drivers/s390/net/qeth_core_main.c 	struct ccw_device *ddev = channel->ccwdev;
ddev             4669 drivers/s390/net/qeth_core_main.c 	if (!ddev->online) {
ddev             4671 drivers/s390/net/qeth_core_main.c 		rc = ccw_device_set_online(ddev);
ddev             4686 drivers/s390/net/qeth_core_main.c 	rc = qdio_get_ssqd_desc(ddev, &card->ssqd);
ddev             1650 drivers/s390/net/qeth_l2_main.c 	struct ccw_device *ddev;
ddev             1657 drivers/s390/net/qeth_l2_main.c 	ddev = CARD_DDEV(card);
ddev             1658 drivers/s390/net/qeth_l2_main.c 	ccw_device_get_schid(ddev, &schid);
ddev              349 drivers/scsi/libsas/sas_ata.c static int sas_ata_printk(const char *level, const struct domain_device *ddev,
ddev              352 drivers/scsi/libsas/sas_ata.c 	struct ata_port *ap = ddev->sata_dev.ap;
ddev              353 drivers/scsi/libsas/sas_ata.c 	struct device *dev = &ddev->rphy->dev;
ddev              792 drivers/scsi/libsas/sas_ata.c 			struct domain_device *ddev = cmd_to_domain_dev(cmd);
ddev              794 drivers/scsi/libsas/sas_ata.c 			if (!dev_is_sata(ddev) || TO_SAS_TASK(cmd))
ddev              796 drivers/scsi/libsas/sas_ata.c 			if (eh_dev && eh_dev != ddev)
ddev              798 drivers/scsi/libsas/sas_ata.c 			eh_dev = ddev;
ddev              501 drivers/scsi/libsas/sas_discover.c 	struct domain_device *ddev = port->port_dev;
ddev              516 drivers/scsi/libsas/sas_discover.c 	if (ddev && dev_is_expander(ddev->dev_type))
ddev              517 drivers/scsi/libsas/sas_discover.c 		res = sas_ex_revalidate_domain(ddev);
ddev              249 drivers/scsi/libsas/sas_init.c 		struct domain_device *ddev = sas_find_dev_by_rphy(rphy);
ddev              250 drivers/scsi/libsas/sas_init.c 		struct domain_device *ata_dev = sas_ex_to_ata(ddev, phy->number);
ddev              257 drivers/scsi/libsas/sas_init.c 			return sas_smp_phy_control(ddev, phy->number, reset_type, NULL);
ddev              284 drivers/scsi/libsas/sas_init.c 		struct domain_device *ddev = sas_find_dev_by_rphy(rphy);
ddev              289 drivers/scsi/libsas/sas_init.c 			ret = sas_smp_phy_control(ddev, phy->number, cmd, NULL);
ddev              317 drivers/scsi/libsas/sas_init.c 		struct domain_device *ddev = sas_find_dev_by_rphy(rphy);
ddev              318 drivers/scsi/libsas/sas_init.c 		ret = sas_smp_phy_control(ddev, phy->number, reset_type, NULL);
ddev              353 drivers/scsi/libsas/sas_init.c 		struct domain_device *ddev = sas_find_dev_by_rphy(rphy);
ddev              354 drivers/scsi/libsas/sas_init.c 		ret = sas_smp_phy_control(ddev, phy->number,
ddev              156 drivers/staging/mt7621-dma/mtk-hsdma.c 	struct dma_device ddev;
ddev              169 drivers/staging/mt7621-dma/mtk-hsdma.c 			ddev);
ddev              211 drivers/staging/mt7621-dma/mtk-hsdma.c 	dev_dbg(hsdma->ddev.dev, "tbase %08x, tcnt %08x, " \
ddev              223 drivers/staging/mt7621-dma/mtk-hsdma.c 	dev_dbg(hsdma->ddev.dev, "info %08x, glo %08x, delay %08x, " \
ddev              239 drivers/staging/mt7621-dma/mtk-hsdma.c 	dev_dbg(hsdma->ddev.dev, "tx idx: %d, rx idx: %d\n",
ddev              246 drivers/staging/mt7621-dma/mtk-hsdma.c 		dev_dbg(hsdma->ddev.dev, "%d tx addr0: %08x, flags %08x, " \
ddev              306 drivers/staging/mt7621-dma/mtk-hsdma.c 			dev_err(hsdma->ddev.dev, "timeout, reset it\n");
ddev              417 drivers/staging/mt7621-dma/mtk-hsdma.c 		dev_dbg(hsdma->ddev.dev, "no desc to complete\n");
ddev              437 drivers/staging/mt7621-dma/mtk-hsdma.c 		dev_dbg(hsdma->ddev.dev, "unhandle irq status %08x\n", status);
ddev              455 drivers/staging/mt7621-dma/mtk-hsdma.c 			dev_dbg(hsdma->ddev.dev, "no desc to issue\n");
ddev              510 drivers/staging/mt7621-dma/mtk-hsdma.c 			dev_dbg(hsdma->ddev.dev, "chan 0 no desc to issue\n");
ddev              550 drivers/staging/mt7621-dma/mtk-hsdma.c 	chan->tx_ring = dma_alloc_coherent(hsdma->ddev.dev,
ddev              571 drivers/staging/mt7621-dma/mtk-hsdma.c 		dma_free_coherent(hsdma->ddev.dev,
ddev              609 drivers/staging/mt7621-dma/mtk-hsdma.c 	dev_info(hsdma->ddev.dev, "rx: %d, tx: %d\n",
ddev              689 drivers/staging/mt7621-dma/mtk-hsdma.c 	dd = &hsdma->ddev;
ddev              743 drivers/staging/mt7621-dma/mtk-hsdma.c 	dma_async_device_unregister(&hsdma->ddev);
ddev              120 drivers/staging/ralink-gdma/ralink-gdma.c 	struct dma_device ddev;
ddev              142 drivers/staging/ralink-gdma/ralink-gdma.c 		ddev);
ddev              188 drivers/staging/ralink-gdma/ralink-gdma.c 		dev_err(dma_dev->ddev.dev, "not support flow controller\n");
ddev              195 drivers/staging/ralink-gdma/ralink-gdma.c 			dev_err(dma_dev->ddev.dev, "only support 4 byte buswidth\n");
ddev              204 drivers/staging/ralink-gdma/ralink-gdma.c 			dev_err(dma_dev->ddev.dev, "only support 4 byte buswidth\n");
ddev              212 drivers/staging/ralink-gdma/ralink-gdma.c 		dev_err(dma_dev->ddev.dev, "direction type %d error\n",
ddev              241 drivers/staging/ralink-gdma/ralink-gdma.c 			dev_err(dma_dev->ddev.dev, "chan %d wait timeout\n",
ddev              252 drivers/staging/ralink-gdma/ralink-gdma.c 		dev_dbg(dma_dev->ddev.dev, "terminate chan %d loops %d\n",
ddev              260 drivers/staging/ralink-gdma/ralink-gdma.c 	dev_dbg(dma_dev->ddev.dev, "chan %d, src %08x, dst %08x, ctr0 %08x, ctr1 %08x, intr %08x, signal %08x\n",
ddev              280 drivers/staging/ralink-gdma/ralink-gdma.c 		dev_err(dma_dev->ddev.dev, "chan %d is start(%08x).\n",
ddev              310 drivers/staging/ralink-gdma/ralink-gdma.c 		dev_err(dma_dev->ddev.dev, "direction type %d error\n",
ddev              334 drivers/staging/ralink-gdma/ralink-gdma.c 	dev_dbg(dma_dev->ddev.dev, "chan %d, src %08x, dst %08x, ctr0 %08x, ctr1 %08x, unmask %08x, done %08x, req %08x, ack %08x, fin %08x\n",
ddev              357 drivers/staging/ralink-gdma/ralink-gdma.c 		dev_err(dma_dev->ddev.dev, "chan %d is start(%08x).\n",
ddev              385 drivers/staging/ralink-gdma/ralink-gdma.c 		dev_err(dma_dev->ddev.dev, "direction type %d error\n",
ddev              455 drivers/staging/ralink-gdma/ralink-gdma.c 		dev_dbg(dma_dev->ddev.dev, "chan %d no desc to complete\n",
ddev              506 drivers/staging/ralink-gdma/ralink-gdma.c 			dev_dbg(dma_dev->ddev.dev, "chan %d no desc to issue\n",
ddev              732 drivers/staging/ralink-gdma/ralink-gdma.c 				dev_dbg(dma_dev->ddev.dev,
ddev              752 drivers/staging/ralink-gdma/ralink-gdma.c 	dev_info(dma_dev->ddev.dev, "revision: %d, channels: %d\n",
ddev              766 drivers/staging/ralink-gdma/ralink-gdma.c 	dev_info(dma_dev->ddev.dev, "revision: %d, channels: %d\n",
ddev              840 drivers/staging/ralink-gdma/ralink-gdma.c 	dd = &dma_dev->ddev;
ddev              901 drivers/staging/ralink-gdma/ralink-gdma.c 	dma_async_device_unregister(&dma_dev->ddev);
ddev               51 drivers/usb/core/config.c static void usb_parse_ssp_isoc_endpoint_companion(struct device *ddev,
ddev               64 drivers/usb/core/config.c 		dev_warn(ddev, "Invalid SuperSpeedPlus isoc endpoint companion"
ddev               72 drivers/usb/core/config.c static void usb_parse_ss_endpoint_companion(struct device *ddev, int cfgno,
ddev               86 drivers/usb/core/config.c 		dev_warn(ddev, "No SuperSpeed endpoint companion for config %d "
ddev              112 drivers/usb/core/config.c 		dev_warn(ddev, "Control endpoint with bMaxBurst = %d in "
ddev              118 drivers/usb/core/config.c 		dev_warn(ddev, "Endpoint with bMaxBurst = %d in "
ddev              128 drivers/usb/core/config.c 		dev_warn(ddev, "%s endpoint with bmAttributes = %d in "
ddev              137 drivers/usb/core/config.c 		dev_warn(ddev, "Bulk endpoint with more than 65536 streams in "
ddev              145 drivers/usb/core/config.c 		dev_warn(ddev, "Isoc endpoint has Mult of %d in "
ddev              163 drivers/usb/core/config.c 		dev_warn(ddev, "%s endpoint with wBytesPerInterval of %d in "
ddev              175 drivers/usb/core/config.c 		usb_parse_ssp_isoc_endpoint_companion(ddev, cfgno, inum, asnum,
ddev              254 drivers/usb/core/config.c static int usb_parse_endpoint(struct device *ddev, int cfgno,
ddev              259 drivers/usb/core/config.c 	struct usb_device *udev = to_usb_device(ddev);
ddev              276 drivers/usb/core/config.c 		dev_warn(ddev, "config %d interface %d altsetting %d has an "
ddev              284 drivers/usb/core/config.c 		dev_warn(ddev, "config %d interface %d altsetting %d has an "
ddev              296 drivers/usb/core/config.c 		dev_warn(ddev, "config %d interface %d altsetting %d has a duplicate endpoint with address 0x%X, skipping\n",
ddev              304 drivers/usb/core/config.c 			dev_warn(ddev, "config %d interface %d altsetting %d has a blacklisted endpoint with address 0x%X, skipping\n",
ddev              325 drivers/usb/core/config.c 		switch (to_usb_device(ddev)->speed) {
ddev              346 drivers/usb/core/config.c 			if (to_usb_device(ddev)->quirks &
ddev              355 drivers/usb/core/config.c 			if (to_usb_device(ddev)->quirks &
ddev              373 drivers/usb/core/config.c 		switch (to_usb_device(ddev)->speed) {
ddev              383 drivers/usb/core/config.c 		dev_warn(ddev, "config %d interface %d altsetting %d "
ddev              395 drivers/usb/core/config.c 	if (to_usb_device(ddev)->speed == USB_SPEED_LOW &&
ddev              397 drivers/usb/core/config.c 		dev_warn(ddev, "config %d interface %d altsetting %d "
ddev              414 drivers/usb/core/config.c 		dev_warn(ddev, "config %d interface %d altsetting %d endpoint 0x%X has invalid wMaxPacketSize 0\n",
ddev              420 drivers/usb/core/config.c 	switch (to_usb_device(ddev)->speed) {
ddev              445 drivers/usb/core/config.c 		dev_warn(ddev, "config %d interface %d altsetting %d endpoint 0x%X has invalid maxpacket %d, setting to %d\n",
ddev              456 drivers/usb/core/config.c 	if (to_usb_device(ddev)->speed == USB_SPEED_HIGH
ddev              459 drivers/usb/core/config.c 			dev_warn(ddev, "config %d interface %d altsetting %d "
ddev              466 drivers/usb/core/config.c 	if (to_usb_device(ddev)->speed >= USB_SPEED_SUPER)
ddev              467 drivers/usb/core/config.c 		usb_parse_ss_endpoint_companion(ddev, cfgno,
ddev              478 drivers/usb/core/config.c 		dev_dbg(ddev, "skipped %d descriptor%s after %s\n",
ddev              502 drivers/usb/core/config.c static int usb_parse_interface(struct device *ddev, int cfgno,
ddev              540 drivers/usb/core/config.c 			dev_warn(ddev, "Duplicate descriptor for config %d "
ddev              557 drivers/usb/core/config.c 		dev_dbg(ddev, "skipped %d descriptor%s after %s\n",
ddev              566 drivers/usb/core/config.c 		dev_warn(ddev, "too many endpoints for config %d interface %d "
ddev              586 drivers/usb/core/config.c 		retval = usb_parse_endpoint(ddev, cfgno, config, inum, asnum,
ddev              597 drivers/usb/core/config.c 		dev_warn(ddev, "config %d interface %d altsetting %d has %d "
ddev              612 drivers/usb/core/config.c 	struct device *ddev = &dev->dev;
ddev              632 drivers/usb/core/config.c 		dev_err(ddev, "invalid descriptor for config index %d: "
ddev              643 drivers/usb/core/config.c 		dev_warn(ddev, "config %d has too many interfaces: %d, "
ddev              657 drivers/usb/core/config.c 			dev_warn(ddev, "config %d descriptor has %d excess "
ddev              665 drivers/usb/core/config.c 			dev_warn(ddev, "config %d has an invalid descriptor "
ddev              677 drivers/usb/core/config.c 				dev_warn(ddev, "config %d has an invalid "
ddev              687 drivers/usb/core/config.c 				dev_warn(ddev, "config %d has more interface "
ddev              695 drivers/usb/core/config.c 				dev_warn(ddev, "config %d has an invalid "
ddev              720 drivers/usb/core/config.c 				dev_warn(ddev,
ddev              727 drivers/usb/core/config.c 				dev_warn(ddev, "found more Interface "
ddev              738 drivers/usb/core/config.c 			dev_warn(ddev, "config %d contains an unexpected "
ddev              747 drivers/usb/core/config.c 		dev_warn(ddev, "config %d has %d interface%s, different from "
ddev              751 drivers/usb/core/config.c 		dev_warn(ddev, "config %d has no interfaces?\n", cfgno);
ddev              761 drivers/usb/core/config.c 			dev_warn(ddev, "config %d has no interface number "
ddev              769 drivers/usb/core/config.c 			dev_warn(ddev, "too many alternate settings for "
ddev              792 drivers/usb/core/config.c 		dev_dbg(ddev, "skipped %d descriptor%s after %s\n",
ddev              799 drivers/usb/core/config.c 		retval = usb_parse_interface(ddev, cfgno, config,
ddev              818 drivers/usb/core/config.c 				dev_warn(ddev, "config %d interface %d has no "
ddev              867 drivers/usb/core/config.c 	struct device *ddev = &dev->dev;
ddev              875 drivers/usb/core/config.c 		dev_warn(ddev, "too many configurations: %d, "
ddev              881 drivers/usb/core/config.c 		dev_err(ddev, "no configurations\n");
ddev              905 drivers/usb/core/config.c 			dev_err(ddev, "unable to read config index %d "
ddev              909 drivers/usb/core/config.c 			dev_err(ddev, "chopping to %d config(s)\n", cfgno);
ddev              913 drivers/usb/core/config.c 			dev_err(ddev, "config index %d descriptor too short "
ddev              935 drivers/usb/core/config.c 			dev_err(ddev, "unable to read config index %d "
ddev              941 drivers/usb/core/config.c 			dev_warn(ddev, "config index %d descriptor too short "
ddev              961 drivers/usb/core/config.c 		dev_err(ddev, "out of memory\n");
ddev              986 drivers/usb/core/config.c 	struct device *ddev = &dev->dev;
ddev             1002 drivers/usb/core/config.c 		dev_err(ddev, "unable to get BOS descriptor or descriptor too short\n");
ddev             1030 drivers/usb/core/config.c 		dev_err(ddev, "unable to get BOS descriptor set\n");
ddev             1055 drivers/usb/core/config.c 			dev_warn(ddev, "descriptor type invalid, skip\n");
ddev             2644 drivers/usb/serial/ftdi_sio.c 	struct device *ddev = &port->dev;
ddev             2654 drivers/usb/serial/ftdi_sio.c 		dev_dbg(ddev, "%s: forcing baud rate for this device\n", __func__);
ddev             2661 drivers/usb/serial/ftdi_sio.c 		dev_dbg(ddev, "%s: forcing rtscts for this device\n", __func__);
ddev             2680 drivers/usb/serial/ftdi_sio.c 		dev_warn(ddev, "requested CSIZE setting not supported\n");
ddev             2727 drivers/usb/serial/ftdi_sio.c 		dev_dbg(ddev, "Setting CS5 quirk\n");
ddev             2731 drivers/usb/serial/ftdi_sio.c 		dev_dbg(ddev, "Setting CS7\n");
ddev             2736 drivers/usb/serial/ftdi_sio.c 		dev_dbg(ddev, "Setting CS8\n");
ddev             2749 drivers/usb/serial/ftdi_sio.c 		dev_err(ddev, "%s FAILED to set databits/stopbits/parity\n",
ddev             2762 drivers/usb/serial/ftdi_sio.c 			dev_err(ddev, "%s error from disable flowcontrol urb\n",
ddev             2771 drivers/usb/serial/ftdi_sio.c 			dev_err(ddev, "%s urb failed to set baudrate\n", __func__);
ddev             2820 drivers/usb/serial/io_edgeport.c 	struct device *ddev = &serial->dev->dev;
ddev             2871 drivers/usb/serial/io_edgeport.c 		dev_warn(ddev,
ddev             2877 drivers/usb/serial/io_edgeport.c 	dev_dbg(ddev, "%s - time 1 %ld\n", __func__, jiffies);
ddev             2884 drivers/usb/serial/io_edgeport.c 		dev_dbg(ddev, "%s - time 2 %ld\n", __func__, jiffies);
ddev             2889 drivers/usb/serial/io_edgeport.c 		dev_dbg(ddev, "%s - time 3 %ld\n", __func__, jiffies);
ddev             2895 drivers/usb/serial/io_edgeport.c 	dev_dbg(ddev, "  FirmwareMajorVersion  %d.%d.%d\n",
ddev             2922 drivers/usb/serial/io_edgeport.c 				dev_dbg(ddev, "found interrupt in\n");
ddev             2959 drivers/usb/serial/io_edgeport.c 				dev_dbg(ddev, "found bulk in\n");
ddev             2992 drivers/usb/serial/io_edgeport.c 				dev_dbg(ddev, "found bulk out\n");
ddev             3002 drivers/usb/serial/io_edgeport.c 				dev_err(ddev, "expected endpoints not found\n");
ddev             3022 drivers/usb/serial/io_edgeport.c 			dev_err(ddev, "%s - Error %d submitting control urb\n",
ddev              273 drivers/usb/serial/pl2303.c 	struct device *ddev = &interface->dev;
ddev              290 drivers/usb/serial/pl2303.c 		dev_dbg(ddev, "found interrupt in on separate interface\n");
ddev              868 drivers/usb/serial/usb-serial.c 	struct device *ddev = &interface->dev;
ddev              883 drivers/usb/serial/usb-serial.c 		dev_dbg(ddev, "none matched\n");
ddev              889 drivers/usb/serial/usb-serial.c 		dev_err(ddev, "module get failed, exiting\n");
ddev              908 drivers/usb/serial/usb-serial.c 			dev_dbg(ddev, "sub driver rejected device\n");
ddev              926 drivers/usb/serial/usb-serial.c 		dev_err(ddev, "required endpoints missing\n");
ddev              942 drivers/usb/serial/usb-serial.c 		dev_warn(ddev, "too many ports requested: %d\n", num_ports);
ddev              953 drivers/usb/serial/usb-serial.c 	dev_info(ddev, "%s converter detected\n", type->description);
ddev              964 drivers/usb/serial/usb-serial.c 	dev_dbg(ddev, "setting up %d port structure(s)\n", max_endpoints);
ddev             1009 drivers/usb/serial/usb-serial.c 		dev_dbg(ddev, "The device claims to support interrupt in transfers, but read_int_callback is not defined\n");
ddev             1020 drivers/usb/serial/usb-serial.c 		dev_dbg(ddev, "The device claims to support interrupt out transfers, but write_int_callback is not defined\n");
ddev             1043 drivers/usb/serial/usb-serial.c 		dev_err(ddev, "No more free serial minor numbers\n");
ddev             1051 drivers/usb/serial/usb-serial.c 		dev_dbg(ddev, "registering %s\n", dev_name(&port->dev));
ddev             1056 drivers/usb/serial/usb-serial.c 			dev_err(ddev, "Error registering port device, continuing\n");
ddev              701 fs/xfs/xfs_super.c 	struct block_device	*ddev = mp->m_super->s_bdev;
ddev              702 fs/xfs/xfs_super.c 	struct dax_device	*dax_ddev = fs_dax_get_by_bdev(ddev);
ddev              722 fs/xfs/xfs_super.c 		if (rtdev == ddev || rtdev == logdev) {
ddev              735 fs/xfs/xfs_super.c 	mp->m_ddev_targp = xfs_alloc_buftarg(mp, ddev, dax_ddev);
ddev              745 fs/xfs/xfs_super.c 	if (logdev && logdev != ddev) {
ddev              764 fs/xfs/xfs_super.c 	if (logdev && logdev != ddev) {
ddev              516 include/linux/rio.h static inline struct rio_mport *dma_to_mport(struct dma_device *ddev)
ddev              518 include/linux/rio.h 	return container_of(ddev, struct rio_mport, dma);
ddev               87 include/net/nfc/digital.h typedef void (*nfc_digital_cmd_complete_t)(struct nfc_digital_dev *ddev,
ddev              147 include/net/nfc/digital.h 	int (*in_configure_hw)(struct nfc_digital_dev *ddev, int type,
ddev              149 include/net/nfc/digital.h 	int (*in_send_cmd)(struct nfc_digital_dev *ddev, struct sk_buff *skb,
ddev              153 include/net/nfc/digital.h 	int (*tg_configure_hw)(struct nfc_digital_dev *ddev, int type,
ddev              155 include/net/nfc/digital.h 	int (*tg_send_cmd)(struct nfc_digital_dev *ddev, struct sk_buff *skb,
ddev              158 include/net/nfc/digital.h 	int (*tg_listen)(struct nfc_digital_dev *ddev, u16 timeout,
ddev              160 include/net/nfc/digital.h 	int (*tg_listen_mdaa)(struct nfc_digital_dev *ddev,
ddev              164 include/net/nfc/digital.h 	int (*tg_listen_md)(struct nfc_digital_dev *ddev, u16 timeout,
ddev              166 include/net/nfc/digital.h 	int (*tg_get_rf_tech)(struct nfc_digital_dev *ddev, u8 *rf_tech);
ddev              168 include/net/nfc/digital.h 	int (*switch_rf)(struct nfc_digital_dev *ddev, bool on);
ddev              169 include/net/nfc/digital.h 	void (*abort_cmd)(struct nfc_digital_dev *ddev);
ddev              174 include/net/nfc/digital.h typedef int (*digital_poll_t)(struct nfc_digital_dev *ddev, u8 rf_tech);
ddev               35 net/nfc/digital.h #define DIGITAL_DRV_CAPS_IN_CRC(ddev) \
ddev               36 net/nfc/digital.h 	((ddev)->driver_capabilities & NFC_DIGITAL_DRV_CAPS_IN_CRC)
ddev               37 net/nfc/digital.h #define DIGITAL_DRV_CAPS_TG_CRC(ddev) \
ddev               38 net/nfc/digital.h 	((ddev)->driver_capabilities & NFC_DIGITAL_DRV_CAPS_TG_CRC)
ddev               45 net/nfc/digital.h struct sk_buff *digital_skb_alloc(struct nfc_digital_dev *ddev,
ddev               48 net/nfc/digital.h int digital_send_cmd(struct nfc_digital_dev *ddev, u8 cmd_type,
ddev               53 net/nfc/digital.h int digital_in_configure_hw(struct nfc_digital_dev *ddev, int type, int param);
ddev               54 net/nfc/digital.h static inline int digital_in_send_cmd(struct nfc_digital_dev *ddev,
ddev               59 net/nfc/digital.h 	return digital_send_cmd(ddev, DIGITAL_CMD_IN_SEND, skb, NULL, timeout,
ddev               63 net/nfc/digital.h void digital_poll_next_tech(struct nfc_digital_dev *ddev);
ddev               65 net/nfc/digital.h int digital_in_send_sens_req(struct nfc_digital_dev *ddev, u8 rf_tech);
ddev               66 net/nfc/digital.h int digital_in_send_sensb_req(struct nfc_digital_dev *ddev, u8 rf_tech);
ddev               67 net/nfc/digital.h int digital_in_send_sensf_req(struct nfc_digital_dev *ddev, u8 rf_tech);
ddev               68 net/nfc/digital.h int digital_in_send_iso15693_inv_req(struct nfc_digital_dev *ddev, u8 rf_tech);
ddev               70 net/nfc/digital.h int digital_in_iso_dep_pull_sod(struct nfc_digital_dev *ddev,
ddev               72 net/nfc/digital.h int digital_in_iso_dep_push_sod(struct nfc_digital_dev *ddev,
ddev               75 net/nfc/digital.h int digital_target_found(struct nfc_digital_dev *ddev,
ddev               80 net/nfc/digital.h int digital_in_send_atr_req(struct nfc_digital_dev *ddev,
ddev               83 net/nfc/digital.h int digital_in_send_dep_req(struct nfc_digital_dev *ddev,
ddev               87 net/nfc/digital.h int digital_tg_configure_hw(struct nfc_digital_dev *ddev, int type, int param);
ddev               88 net/nfc/digital.h static inline int digital_tg_send_cmd(struct nfc_digital_dev *ddev,
ddev               92 net/nfc/digital.h 	return digital_send_cmd(ddev, DIGITAL_CMD_TG_SEND, skb, NULL, timeout,
ddev               96 net/nfc/digital.h void digital_tg_recv_sens_req(struct nfc_digital_dev *ddev, void *arg,
ddev               99 net/nfc/digital.h void digital_tg_recv_sensf_req(struct nfc_digital_dev *ddev, void *arg,
ddev              102 net/nfc/digital.h static inline int digital_tg_listen(struct nfc_digital_dev *ddev, u16 timeout,
ddev              105 net/nfc/digital.h 	return digital_send_cmd(ddev, DIGITAL_CMD_TG_LISTEN, NULL, NULL,
ddev              109 net/nfc/digital.h void digital_tg_recv_atr_req(struct nfc_digital_dev *ddev, void *arg,
ddev              112 net/nfc/digital.h int digital_tg_send_dep_res(struct nfc_digital_dev *ddev, struct sk_buff *skb);
ddev              114 net/nfc/digital.h int digital_tg_listen_nfca(struct nfc_digital_dev *ddev, u8 rf_tech);
ddev              115 net/nfc/digital.h int digital_tg_listen_nfcf(struct nfc_digital_dev *ddev, u8 rf_tech);
ddev              116 net/nfc/digital.h void digital_tg_recv_md_req(struct nfc_digital_dev *ddev, void *arg,
ddev               42 net/nfc/digital_core.c struct sk_buff *digital_skb_alloc(struct nfc_digital_dev *ddev,
ddev               47 net/nfc/digital_core.c 	skb = alloc_skb(len + ddev->tx_headroom + ddev->tx_tailroom,
ddev               50 net/nfc/digital_core.c 		skb_reserve(skb, ddev->tx_headroom);
ddev              100 net/nfc/digital_core.c static inline void digital_switch_rf(struct nfc_digital_dev *ddev, bool on)
ddev              102 net/nfc/digital_core.c 	ddev->ops->switch_rf(ddev, on);
ddev              105 net/nfc/digital_core.c static inline void digital_abort_cmd(struct nfc_digital_dev *ddev)
ddev              107 net/nfc/digital_core.c 	ddev->ops->abort_cmd(ddev);
ddev              113 net/nfc/digital_core.c 	struct nfc_digital_dev *ddev = container_of(work,
ddev              117 net/nfc/digital_core.c 	mutex_lock(&ddev->cmd_lock);
ddev              119 net/nfc/digital_core.c 	cmd = list_first_entry_or_null(&ddev->cmd_queue, struct digital_cmd,
ddev              122 net/nfc/digital_core.c 		mutex_unlock(&ddev->cmd_lock);
ddev              128 net/nfc/digital_core.c 	mutex_unlock(&ddev->cmd_lock);
ddev              134 net/nfc/digital_core.c 	cmd->cmd_cb(ddev, cmd->cb_context, cmd->resp);
ddev              139 net/nfc/digital_core.c 	schedule_work(&ddev->cmd_work);
ddev              142 net/nfc/digital_core.c static void digital_send_cmd_complete(struct nfc_digital_dev *ddev,
ddev              149 net/nfc/digital_core.c 	schedule_work(&ddev->cmd_complete_work);
ddev              157 net/nfc/digital_core.c 	struct nfc_digital_dev *ddev = container_of(work,
ddev              161 net/nfc/digital_core.c 	mutex_lock(&ddev->cmd_lock);
ddev              163 net/nfc/digital_core.c 	cmd = list_first_entry_or_null(&ddev->cmd_queue, struct digital_cmd,
ddev              166 net/nfc/digital_core.c 		mutex_unlock(&ddev->cmd_lock);
ddev              172 net/nfc/digital_core.c 	mutex_unlock(&ddev->cmd_lock);
ddev              180 net/nfc/digital_core.c 		rc = ddev->ops->in_send_cmd(ddev, cmd->req, cmd->timeout,
ddev              185 net/nfc/digital_core.c 		rc = ddev->ops->tg_send_cmd(ddev, cmd->req, cmd->timeout,
ddev              190 net/nfc/digital_core.c 		rc = ddev->ops->tg_listen(ddev, cmd->timeout,
ddev              197 net/nfc/digital_core.c 		rc = ddev->ops->tg_listen_mdaa(ddev, params, cmd->timeout,
ddev              202 net/nfc/digital_core.c 		rc = ddev->ops->tg_listen_md(ddev, cmd->timeout,
ddev              216 net/nfc/digital_core.c 	mutex_lock(&ddev->cmd_lock);
ddev              218 net/nfc/digital_core.c 	mutex_unlock(&ddev->cmd_lock);
ddev              224 net/nfc/digital_core.c 	schedule_work(&ddev->cmd_work);
ddev              227 net/nfc/digital_core.c int digital_send_cmd(struct nfc_digital_dev *ddev, u8 cmd_type,
ddev              246 net/nfc/digital_core.c 	mutex_lock(&ddev->cmd_lock);
ddev              247 net/nfc/digital_core.c 	list_add_tail(&cmd->queue, &ddev->cmd_queue);
ddev              248 net/nfc/digital_core.c 	mutex_unlock(&ddev->cmd_lock);
ddev              250 net/nfc/digital_core.c 	schedule_work(&ddev->cmd_work);
ddev              255 net/nfc/digital_core.c int digital_in_configure_hw(struct nfc_digital_dev *ddev, int type, int param)
ddev              259 net/nfc/digital_core.c 	rc = ddev->ops->in_configure_hw(ddev, type, param);
ddev              266 net/nfc/digital_core.c int digital_tg_configure_hw(struct nfc_digital_dev *ddev, int type, int param)
ddev              270 net/nfc/digital_core.c 	rc = ddev->ops->tg_configure_hw(ddev, type, param);
ddev              277 net/nfc/digital_core.c static int digital_tg_listen_mdaa(struct nfc_digital_dev *ddev, u8 rf_tech)
ddev              294 net/nfc/digital_core.c 	return digital_send_cmd(ddev, DIGITAL_CMD_TG_LISTEN_MDAA, NULL, params,
ddev              298 net/nfc/digital_core.c static int digital_tg_listen_md(struct nfc_digital_dev *ddev, u8 rf_tech)
ddev              300 net/nfc/digital_core.c 	return digital_send_cmd(ddev, DIGITAL_CMD_TG_LISTEN_MD, NULL, NULL, 500,
ddev              304 net/nfc/digital_core.c int digital_target_found(struct nfc_digital_dev *ddev,
ddev              314 net/nfc/digital_core.c 	rf_tech = ddev->poll_techs[ddev->poll_tech_index].rf_tech;
ddev              372 net/nfc/digital_core.c 	ddev->curr_rf_tech = rf_tech;
ddev              374 net/nfc/digital_core.c 	if (DIGITAL_DRV_CAPS_IN_CRC(ddev)) {
ddev              375 net/nfc/digital_core.c 		ddev->skb_add_crc = digital_skb_add_crc_none;
ddev              376 net/nfc/digital_core.c 		ddev->skb_check_crc = digital_skb_check_crc_none;
ddev              378 net/nfc/digital_core.c 		ddev->skb_add_crc = add_crc;
ddev              379 net/nfc/digital_core.c 		ddev->skb_check_crc = check_crc;
ddev              382 net/nfc/digital_core.c 	rc = digital_in_configure_hw(ddev, NFC_DIGITAL_CONFIG_FRAMING, framing);
ddev              388 net/nfc/digital_core.c 	poll_tech_count = ddev->poll_tech_count;
ddev              389 net/nfc/digital_core.c 	ddev->poll_tech_count = 0;
ddev              391 net/nfc/digital_core.c 	rc = nfc_targets_found(ddev->nfc_dev, target, 1);
ddev              393 net/nfc/digital_core.c 		ddev->poll_tech_count = poll_tech_count;
ddev              400 net/nfc/digital_core.c void digital_poll_next_tech(struct nfc_digital_dev *ddev)
ddev              404 net/nfc/digital_core.c 	digital_switch_rf(ddev, 0);
ddev              406 net/nfc/digital_core.c 	mutex_lock(&ddev->poll_lock);
ddev              408 net/nfc/digital_core.c 	if (!ddev->poll_tech_count) {
ddev              409 net/nfc/digital_core.c 		mutex_unlock(&ddev->poll_lock);
ddev              414 net/nfc/digital_core.c 	ddev->poll_tech_index = rand_mod % ddev->poll_tech_count;
ddev              416 net/nfc/digital_core.c 	mutex_unlock(&ddev->poll_lock);
ddev              418 net/nfc/digital_core.c 	schedule_delayed_work(&ddev->poll_work,
ddev              426 net/nfc/digital_core.c 	struct nfc_digital_dev *ddev = container_of(work,
ddev              429 net/nfc/digital_core.c 	mutex_lock(&ddev->poll_lock);
ddev              431 net/nfc/digital_core.c 	if (!ddev->poll_tech_count) {
ddev              432 net/nfc/digital_core.c 		mutex_unlock(&ddev->poll_lock);
ddev              436 net/nfc/digital_core.c 	poll_tech = &ddev->poll_techs[ddev->poll_tech_index];
ddev              438 net/nfc/digital_core.c 	mutex_unlock(&ddev->poll_lock);
ddev              440 net/nfc/digital_core.c 	rc = poll_tech->poll_func(ddev, poll_tech->rf_tech);
ddev              442 net/nfc/digital_core.c 		digital_poll_next_tech(ddev);
ddev              445 net/nfc/digital_core.c static void digital_add_poll_tech(struct nfc_digital_dev *ddev, u8 rf_tech,
ddev              450 net/nfc/digital_core.c 	if (ddev->poll_tech_count >= NFC_DIGITAL_POLL_MODE_COUNT_MAX)
ddev              453 net/nfc/digital_core.c 	poll_tech = &ddev->poll_techs[ddev->poll_tech_count++];
ddev              471 net/nfc/digital_core.c 	struct nfc_digital_dev *ddev = nfc_get_drvdata(nfc_dev);
ddev              475 net/nfc/digital_core.c 		 tm_protocols, ddev->protocols);
ddev              477 net/nfc/digital_core.c 	matching_im_protocols = ddev->protocols & im_protocols;
ddev              478 net/nfc/digital_core.c 	matching_tm_protocols = ddev->protocols & tm_protocols;
ddev              485 net/nfc/digital_core.c 	if (ddev->poll_tech_count) {
ddev              490 net/nfc/digital_core.c 	if (ddev->curr_protocol) {
ddev              495 net/nfc/digital_core.c 	ddev->poll_tech_count = 0;
ddev              496 net/nfc/digital_core.c 	ddev->poll_tech_index = 0;
ddev              499 net/nfc/digital_core.c 		digital_add_poll_tech(ddev, NFC_DIGITAL_RF_TECH_106A,
ddev              503 net/nfc/digital_core.c 		digital_add_poll_tech(ddev, NFC_DIGITAL_RF_TECH_106B,
ddev              507 net/nfc/digital_core.c 		digital_add_poll_tech(ddev, NFC_DIGITAL_RF_TECH_212F,
ddev              510 net/nfc/digital_core.c 		digital_add_poll_tech(ddev, NFC_DIGITAL_RF_TECH_424F,
ddev              515 net/nfc/digital_core.c 		digital_add_poll_tech(ddev, NFC_DIGITAL_RF_TECH_ISO15693,
ddev              519 net/nfc/digital_core.c 		if (ddev->ops->tg_listen_mdaa) {
ddev              520 net/nfc/digital_core.c 			digital_add_poll_tech(ddev, 0,
ddev              522 net/nfc/digital_core.c 		} else if (ddev->ops->tg_listen_md) {
ddev              523 net/nfc/digital_core.c 			digital_add_poll_tech(ddev, 0,
ddev              526 net/nfc/digital_core.c 			digital_add_poll_tech(ddev, NFC_DIGITAL_RF_TECH_106A,
ddev              529 net/nfc/digital_core.c 			digital_add_poll_tech(ddev, NFC_DIGITAL_RF_TECH_212F,
ddev              532 net/nfc/digital_core.c 			digital_add_poll_tech(ddev, NFC_DIGITAL_RF_TECH_424F,
ddev              537 net/nfc/digital_core.c 	if (!ddev->poll_tech_count) {
ddev              543 net/nfc/digital_core.c 	schedule_delayed_work(&ddev->poll_work, 0);
ddev              550 net/nfc/digital_core.c 	struct nfc_digital_dev *ddev = nfc_get_drvdata(nfc_dev);
ddev              552 net/nfc/digital_core.c 	mutex_lock(&ddev->poll_lock);
ddev              554 net/nfc/digital_core.c 	if (!ddev->poll_tech_count) {
ddev              556 net/nfc/digital_core.c 		mutex_unlock(&ddev->poll_lock);
ddev              560 net/nfc/digital_core.c 	ddev->poll_tech_count = 0;
ddev              562 net/nfc/digital_core.c 	mutex_unlock(&ddev->poll_lock);
ddev              564 net/nfc/digital_core.c 	cancel_delayed_work_sync(&ddev->poll_work);
ddev              566 net/nfc/digital_core.c 	digital_abort_cmd(ddev);
ddev              571 net/nfc/digital_core.c 	struct nfc_digital_dev *ddev = nfc_get_drvdata(nfc_dev);
ddev              573 net/nfc/digital_core.c 	digital_switch_rf(ddev, 1);
ddev              580 net/nfc/digital_core.c 	struct nfc_digital_dev *ddev = nfc_get_drvdata(nfc_dev);
ddev              582 net/nfc/digital_core.c 	digital_switch_rf(ddev, 0);
ddev              591 net/nfc/digital_core.c 	struct nfc_digital_dev *ddev = nfc_get_drvdata(nfc_dev);
ddev              594 net/nfc/digital_core.c 	rc = digital_in_send_atr_req(ddev, target, comm_mode, gb, gb_len);
ddev              597 net/nfc/digital_core.c 		ddev->curr_protocol = NFC_PROTO_NFC_DEP;
ddev              604 net/nfc/digital_core.c 	struct nfc_digital_dev *ddev = nfc_get_drvdata(nfc_dev);
ddev              606 net/nfc/digital_core.c 	digital_abort_cmd(ddev);
ddev              608 net/nfc/digital_core.c 	ddev->curr_protocol = 0;
ddev              616 net/nfc/digital_core.c 	struct nfc_digital_dev *ddev = nfc_get_drvdata(nfc_dev);
ddev              618 net/nfc/digital_core.c 	if (ddev->poll_tech_count) {
ddev              623 net/nfc/digital_core.c 	if (ddev->curr_protocol) {
ddev              628 net/nfc/digital_core.c 	ddev->curr_protocol = protocol;
ddev              637 net/nfc/digital_core.c 	struct nfc_digital_dev *ddev = nfc_get_drvdata(nfc_dev);
ddev              639 net/nfc/digital_core.c 	if (!ddev->curr_protocol) {
ddev              644 net/nfc/digital_core.c 	digital_abort_cmd(ddev);
ddev              645 net/nfc/digital_core.c 	ddev->curr_protocol = 0;
ddev              650 net/nfc/digital_core.c 	struct nfc_digital_dev *ddev = nfc_get_drvdata(dev);
ddev              652 net/nfc/digital_core.c 	return digital_tg_send_dep_res(ddev, skb);
ddev              655 net/nfc/digital_core.c static void digital_in_send_complete(struct nfc_digital_dev *ddev, void *arg,
ddev              667 net/nfc/digital_core.c 	if (ddev->curr_protocol == NFC_PROTO_MIFARE) {
ddev              673 net/nfc/digital_core.c 	if ((ddev->curr_protocol == NFC_PROTO_ISO14443) ||
ddev              674 net/nfc/digital_core.c 	    (ddev->curr_protocol == NFC_PROTO_ISO14443_B)) {
ddev              675 net/nfc/digital_core.c 		rc = digital_in_iso_dep_pull_sod(ddev, resp);
ddev              680 net/nfc/digital_core.c 	rc = ddev->skb_check_crc(resp);
ddev              697 net/nfc/digital_core.c 	struct nfc_digital_dev *ddev = nfc_get_drvdata(nfc_dev);
ddev              708 net/nfc/digital_core.c 	if (ddev->curr_protocol == NFC_PROTO_NFC_DEP) {
ddev              709 net/nfc/digital_core.c 		rc = digital_in_send_dep_req(ddev, target, skb, data_exch);
ddev              713 net/nfc/digital_core.c 	if ((ddev->curr_protocol == NFC_PROTO_ISO14443) ||
ddev              714 net/nfc/digital_core.c 	    (ddev->curr_protocol == NFC_PROTO_ISO14443_B)) {
ddev              715 net/nfc/digital_core.c 		rc = digital_in_iso_dep_push_sod(ddev, skb);
ddev              720 net/nfc/digital_core.c 	ddev->skb_add_crc(skb);
ddev              722 net/nfc/digital_core.c 	rc = digital_in_send_cmd(ddev, skb, 500, digital_in_send_complete,
ddev              750 net/nfc/digital_core.c 	struct nfc_digital_dev *ddev;
ddev              757 net/nfc/digital_core.c 	ddev = kzalloc(sizeof(*ddev), GFP_KERNEL);
ddev              758 net/nfc/digital_core.c 	if (!ddev)
ddev              761 net/nfc/digital_core.c 	ddev->driver_capabilities = driver_capabilities;
ddev              762 net/nfc/digital_core.c 	ddev->ops = ops;
ddev              764 net/nfc/digital_core.c 	mutex_init(&ddev->cmd_lock);
ddev              765 net/nfc/digital_core.c 	INIT_LIST_HEAD(&ddev->cmd_queue);
ddev              767 net/nfc/digital_core.c 	INIT_WORK(&ddev->cmd_work, digital_wq_cmd);
ddev              768 net/nfc/digital_core.c 	INIT_WORK(&ddev->cmd_complete_work, digital_wq_cmd_complete);
ddev              770 net/nfc/digital_core.c 	mutex_init(&ddev->poll_lock);
ddev              771 net/nfc/digital_core.c 	INIT_DELAYED_WORK(&ddev->poll_work, digital_wq_poll);
ddev              774 net/nfc/digital_core.c 		ddev->protocols |= NFC_PROTO_JEWEL_MASK;
ddev              776 net/nfc/digital_core.c 		ddev->protocols |= NFC_PROTO_MIFARE_MASK;
ddev              778 net/nfc/digital_core.c 		ddev->protocols |= NFC_PROTO_FELICA_MASK;
ddev              780 net/nfc/digital_core.c 		ddev->protocols |= NFC_PROTO_NFC_DEP_MASK;
ddev              782 net/nfc/digital_core.c 		ddev->protocols |= NFC_PROTO_ISO15693_MASK;
ddev              784 net/nfc/digital_core.c 		ddev->protocols |= NFC_PROTO_ISO14443_MASK;
ddev              786 net/nfc/digital_core.c 		ddev->protocols |= NFC_PROTO_ISO14443_B_MASK;
ddev              788 net/nfc/digital_core.c 	ddev->tx_headroom = tx_headroom + DIGITAL_MAX_HEADER_LEN;
ddev              789 net/nfc/digital_core.c 	ddev->tx_tailroom = tx_tailroom + DIGITAL_CRC_LEN;
ddev              791 net/nfc/digital_core.c 	ddev->nfc_dev = nfc_allocate_device(&digital_nfc_ops, ddev->protocols,
ddev              792 net/nfc/digital_core.c 					    ddev->tx_headroom,
ddev              793 net/nfc/digital_core.c 					    ddev->tx_tailroom);
ddev              794 net/nfc/digital_core.c 	if (!ddev->nfc_dev) {
ddev              799 net/nfc/digital_core.c 	nfc_set_drvdata(ddev->nfc_dev, ddev);
ddev              801 net/nfc/digital_core.c 	return ddev;
ddev              804 net/nfc/digital_core.c 	kfree(ddev);
ddev              810 net/nfc/digital_core.c void nfc_digital_free_device(struct nfc_digital_dev *ddev)
ddev              812 net/nfc/digital_core.c 	nfc_free_device(ddev->nfc_dev);
ddev              813 net/nfc/digital_core.c 	kfree(ddev);
ddev              817 net/nfc/digital_core.c int nfc_digital_register_device(struct nfc_digital_dev *ddev)
ddev              819 net/nfc/digital_core.c 	return nfc_register_device(ddev->nfc_dev);
ddev              823 net/nfc/digital_core.c void nfc_digital_unregister_device(struct nfc_digital_dev *ddev)
ddev              827 net/nfc/digital_core.c 	nfc_unregister_device(ddev->nfc_dev);
ddev              829 net/nfc/digital_core.c 	mutex_lock(&ddev->poll_lock);
ddev              830 net/nfc/digital_core.c 	ddev->poll_tech_count = 0;
ddev              831 net/nfc/digital_core.c 	mutex_unlock(&ddev->poll_lock);
ddev              833 net/nfc/digital_core.c 	cancel_delayed_work_sync(&ddev->poll_work);
ddev              834 net/nfc/digital_core.c 	cancel_work_sync(&ddev->cmd_work);
ddev              835 net/nfc/digital_core.c 	cancel_work_sync(&ddev->cmd_complete_work);
ddev              837 net/nfc/digital_core.c 	list_for_each_entry_safe(cmd, n, &ddev->cmd_queue, queue) {
ddev              845 net/nfc/digital_core.c 			cmd->cmd_cb(ddev, cmd->cb_context, ERR_PTR(-ENODEV));
ddev              109 net/nfc/digital_dep.c static void digital_in_recv_dep_res(struct nfc_digital_dev *ddev, void *arg,
ddev              111 net/nfc/digital_dep.c static void digital_tg_recv_dep_req(struct nfc_digital_dev *ddev, void *arg,
ddev              171 net/nfc/digital_dep.c static void digital_skb_push_dep_sod(struct nfc_digital_dev *ddev,
ddev              178 net/nfc/digital_dep.c 	if (ddev->curr_rf_tech == NFC_DIGITAL_RF_TECH_106A)
ddev              182 net/nfc/digital_dep.c static int digital_skb_pull_dep_sod(struct nfc_digital_dev *ddev,
ddev              190 net/nfc/digital_dep.c 	if (ddev->curr_rf_tech == NFC_DIGITAL_RF_TECH_106A)
ddev              203 net/nfc/digital_dep.c digital_send_dep_data_prep(struct nfc_digital_dev *ddev, struct sk_buff *skb,
ddev              209 net/nfc/digital_dep.c 	if (skb->len > ddev->remote_payload_max) {
ddev              212 net/nfc/digital_dep.c 		new_skb = digital_skb_alloc(ddev, ddev->remote_payload_max);
ddev              214 net/nfc/digital_dep.c 			kfree_skb(ddev->chaining_skb);
ddev              215 net/nfc/digital_dep.c 			ddev->chaining_skb = NULL;
ddev              220 net/nfc/digital_dep.c 		skb_put_data(new_skb, skb->data, ddev->remote_payload_max);
ddev              221 net/nfc/digital_dep.c 		skb_pull(skb, ddev->remote_payload_max);
ddev              223 net/nfc/digital_dep.c 		ddev->chaining_skb = skb;
ddev              224 net/nfc/digital_dep.c 		ddev->data_exch = data_exch;
ddev              226 net/nfc/digital_dep.c 		ddev->chaining_skb = NULL;
ddev              234 net/nfc/digital_dep.c digital_recv_dep_data_gather(struct nfc_digital_dev *ddev, u8 pfb,
ddev              236 net/nfc/digital_dep.c 			     int (*send_ack)(struct nfc_digital_dev *ddev,
ddev              244 net/nfc/digital_dep.c 	if (DIGITAL_NFC_DEP_MI_BIT_SET(pfb) && (!ddev->chaining_skb)) {
ddev              245 net/nfc/digital_dep.c 		ddev->chaining_skb =
ddev              246 net/nfc/digital_dep.c 			nfc_alloc_recv_skb(8 * ddev->local_payload_max,
ddev              248 net/nfc/digital_dep.c 		if (!ddev->chaining_skb) {
ddev              254 net/nfc/digital_dep.c 	if (ddev->chaining_skb) {
ddev              255 net/nfc/digital_dep.c 		if (resp->len > skb_tailroom(ddev->chaining_skb)) {
ddev              256 net/nfc/digital_dep.c 			new_skb = skb_copy_expand(ddev->chaining_skb,
ddev              258 net/nfc/digital_dep.c 							  ddev->chaining_skb),
ddev              259 net/nfc/digital_dep.c 						  8 * ddev->local_payload_max,
ddev              266 net/nfc/digital_dep.c 			kfree_skb(ddev->chaining_skb);
ddev              267 net/nfc/digital_dep.c 			ddev->chaining_skb = new_skb;
ddev              270 net/nfc/digital_dep.c 		skb_put_data(ddev->chaining_skb, resp->data, resp->len);
ddev              276 net/nfc/digital_dep.c 			rc = send_ack(ddev, data_exch);
ddev              283 net/nfc/digital_dep.c 		resp = ddev->chaining_skb;
ddev              284 net/nfc/digital_dep.c 		ddev->chaining_skb = NULL;
ddev              292 net/nfc/digital_dep.c 	kfree_skb(ddev->chaining_skb);
ddev              293 net/nfc/digital_dep.c 	ddev->chaining_skb = NULL;
ddev              298 net/nfc/digital_dep.c static void digital_in_recv_psl_res(struct nfc_digital_dev *ddev, void *arg,
ddev              311 net/nfc/digital_dep.c 	rc = ddev->skb_check_crc(resp);
ddev              317 net/nfc/digital_dep.c 	rc = digital_skb_pull_dep_sod(ddev, resp);
ddev              332 net/nfc/digital_dep.c 	rc = digital_in_configure_hw(ddev, NFC_DIGITAL_CONFIG_RF_TECH,
ddev              337 net/nfc/digital_dep.c 	rc = digital_in_configure_hw(ddev, NFC_DIGITAL_CONFIG_FRAMING,
ddev              342 net/nfc/digital_dep.c 	if (!DIGITAL_DRV_CAPS_IN_CRC(ddev) &&
ddev              343 net/nfc/digital_dep.c 	    (ddev->curr_rf_tech == NFC_DIGITAL_RF_TECH_106A)) {
ddev              344 net/nfc/digital_dep.c 		ddev->skb_add_crc = digital_skb_add_crc_f;
ddev              345 net/nfc/digital_dep.c 		ddev->skb_check_crc = digital_skb_check_crc_f;
ddev              348 net/nfc/digital_dep.c 	ddev->curr_rf_tech = NFC_DIGITAL_RF_TECH_424F;
ddev              350 net/nfc/digital_dep.c 	nfc_dep_link_is_up(ddev->nfc_dev, target->idx, NFC_COMM_ACTIVE,
ddev              353 net/nfc/digital_dep.c 	ddev->curr_nfc_dep_pni = 0;
ddev              359 net/nfc/digital_dep.c 		ddev->curr_protocol = 0;
ddev              362 net/nfc/digital_dep.c static int digital_in_send_psl_req(struct nfc_digital_dev *ddev,
ddev              370 net/nfc/digital_dep.c 	skb = digital_skb_alloc(ddev, sizeof(*psl_req));
ddev              383 net/nfc/digital_dep.c 	payload_size = min(ddev->local_payload_max, ddev->remote_payload_max);
ddev              387 net/nfc/digital_dep.c 	ddev->local_payload_max = payload_size;
ddev              388 net/nfc/digital_dep.c 	ddev->remote_payload_max = payload_size;
ddev              390 net/nfc/digital_dep.c 	digital_skb_push_dep_sod(ddev, skb);
ddev              392 net/nfc/digital_dep.c 	ddev->skb_add_crc(skb);
ddev              394 net/nfc/digital_dep.c 	rc = digital_in_send_cmd(ddev, skb, ddev->dep_rwt,
ddev              402 net/nfc/digital_dep.c static void digital_in_recv_atr_res(struct nfc_digital_dev *ddev, void *arg,
ddev              417 net/nfc/digital_dep.c 	rc = ddev->skb_check_crc(resp);
ddev              423 net/nfc/digital_dep.c 	rc = digital_skb_pull_dep_sod(ddev, resp);
ddev              441 net/nfc/digital_dep.c 	ddev->dep_rwt = digital_rwt_map[wt];
ddev              444 net/nfc/digital_dep.c 	ddev->remote_payload_max = digital_payload_bits_to_size(payload_bits);
ddev              446 net/nfc/digital_dep.c 	if (!ddev->remote_payload_max) {
ddev              451 net/nfc/digital_dep.c 	rc = nfc_set_remote_general_bytes(ddev->nfc_dev, atr_res->gb, gb_len);
ddev              455 net/nfc/digital_dep.c 	if ((ddev->protocols & NFC_PROTO_FELICA_MASK) &&
ddev              456 net/nfc/digital_dep.c 	    (ddev->curr_rf_tech != NFC_DIGITAL_RF_TECH_424F)) {
ddev              457 net/nfc/digital_dep.c 		rc = digital_in_send_psl_req(ddev, target);
ddev              462 net/nfc/digital_dep.c 	rc = nfc_dep_link_is_up(ddev->nfc_dev, target->idx, NFC_COMM_ACTIVE,
ddev              465 net/nfc/digital_dep.c 	ddev->curr_nfc_dep_pni = 0;
ddev              471 net/nfc/digital_dep.c 		ddev->curr_protocol = 0;
ddev              474 net/nfc/digital_dep.c int digital_in_send_atr_req(struct nfc_digital_dev *ddev,
ddev              491 net/nfc/digital_dep.c 	skb = digital_skb_alloc(ddev, size);
ddev              511 net/nfc/digital_dep.c 	ddev->local_payload_max = DIGITAL_PAYLOAD_SIZE_MAX;
ddev              512 net/nfc/digital_dep.c 	payload_bits = digital_payload_size_to_bits(ddev->local_payload_max);
ddev              520 net/nfc/digital_dep.c 	digital_skb_push_dep_sod(ddev, skb);
ddev              522 net/nfc/digital_dep.c 	ddev->skb_add_crc(skb);
ddev              524 net/nfc/digital_dep.c 	rc = digital_in_send_cmd(ddev, skb, DIGITAL_ATR_RES_RWT,
ddev              532 net/nfc/digital_dep.c static int digital_in_send_ack(struct nfc_digital_dev *ddev,
ddev              539 net/nfc/digital_dep.c 	skb = digital_skb_alloc(ddev, 1);
ddev              550 net/nfc/digital_dep.c 		       ddev->curr_nfc_dep_pni;
ddev              552 net/nfc/digital_dep.c 	digital_skb_push_dep_sod(ddev, skb);
ddev              554 net/nfc/digital_dep.c 	ddev->skb_add_crc(skb);
ddev              556 net/nfc/digital_dep.c 	ddev->saved_skb = pskb_copy(skb, GFP_KERNEL);
ddev              558 net/nfc/digital_dep.c 	rc = digital_in_send_cmd(ddev, skb, ddev->dep_rwt,
ddev              562 net/nfc/digital_dep.c 		kfree_skb(ddev->saved_skb);
ddev              563 net/nfc/digital_dep.c 		ddev->saved_skb = NULL;
ddev              569 net/nfc/digital_dep.c static int digital_in_send_nack(struct nfc_digital_dev *ddev,
ddev              576 net/nfc/digital_dep.c 	skb = digital_skb_alloc(ddev, 1);
ddev              587 net/nfc/digital_dep.c 		       DIGITAL_NFC_DEP_PFB_NACK_BIT | ddev->curr_nfc_dep_pni;
ddev              589 net/nfc/digital_dep.c 	digital_skb_push_dep_sod(ddev, skb);
ddev              591 net/nfc/digital_dep.c 	ddev->skb_add_crc(skb);
ddev              593 net/nfc/digital_dep.c 	rc = digital_in_send_cmd(ddev, skb, ddev->dep_rwt,
ddev              601 net/nfc/digital_dep.c static int digital_in_send_atn(struct nfc_digital_dev *ddev,
ddev              608 net/nfc/digital_dep.c 	skb = digital_skb_alloc(ddev, 1);
ddev              620 net/nfc/digital_dep.c 	digital_skb_push_dep_sod(ddev, skb);
ddev              622 net/nfc/digital_dep.c 	ddev->skb_add_crc(skb);
ddev              624 net/nfc/digital_dep.c 	rc = digital_in_send_cmd(ddev, skb, ddev->dep_rwt,
ddev              632 net/nfc/digital_dep.c static int digital_in_send_rtox(struct nfc_digital_dev *ddev,
ddev              640 net/nfc/digital_dep.c 	rwt_int = ddev->dep_rwt * rtox;
ddev              644 net/nfc/digital_dep.c 	skb = digital_skb_alloc(ddev, 1);
ddev              659 net/nfc/digital_dep.c 	digital_skb_push_dep_sod(ddev, skb);
ddev              661 net/nfc/digital_dep.c 	ddev->skb_add_crc(skb);
ddev              663 net/nfc/digital_dep.c 	rc = digital_in_send_cmd(ddev, skb, rwt_int,
ddev              671 net/nfc/digital_dep.c static int digital_in_send_saved_skb(struct nfc_digital_dev *ddev,
ddev              676 net/nfc/digital_dep.c 	if (!ddev->saved_skb)
ddev              679 net/nfc/digital_dep.c 	skb_get(ddev->saved_skb);
ddev              681 net/nfc/digital_dep.c 	rc = digital_in_send_cmd(ddev, ddev->saved_skb, ddev->dep_rwt,
ddev              684 net/nfc/digital_dep.c 		kfree_skb(ddev->saved_skb);
ddev              689 net/nfc/digital_dep.c static void digital_in_recv_dep_res(struct nfc_digital_dev *ddev, void *arg,
ddev              703 net/nfc/digital_dep.c 		if ((rc == -EIO || (rc == -ETIMEDOUT && ddev->nack_count)) &&
ddev              704 net/nfc/digital_dep.c 		    (ddev->nack_count++ < DIGITAL_NFC_DEP_N_RETRY_NACK)) {
ddev              705 net/nfc/digital_dep.c 			ddev->atn_count = 0;
ddev              707 net/nfc/digital_dep.c 			rc = digital_in_send_nack(ddev, data_exch);
ddev              713 net/nfc/digital_dep.c 			   (ddev->atn_count++ < DIGITAL_NFC_DEP_N_RETRY_ATN)) {
ddev              714 net/nfc/digital_dep.c 			ddev->nack_count = 0;
ddev              716 net/nfc/digital_dep.c 			rc = digital_in_send_atn(ddev, data_exch);
ddev              726 net/nfc/digital_dep.c 	rc = digital_skb_pull_dep_sod(ddev, resp);
ddev              732 net/nfc/digital_dep.c 	rc = ddev->skb_check_crc(resp);
ddev              735 net/nfc/digital_dep.c 		    (ddev->nack_count++ < DIGITAL_NFC_DEP_N_RETRY_NACK)) {
ddev              736 net/nfc/digital_dep.c 			ddev->atn_count = 0;
ddev              738 net/nfc/digital_dep.c 			rc = digital_in_send_nack(ddev, data_exch);
ddev              751 net/nfc/digital_dep.c 	ddev->atn_count = 0;
ddev              752 net/nfc/digital_dep.c 	ddev->nack_count = 0;
ddev              754 net/nfc/digital_dep.c 	if (resp->len > ddev->local_payload_max) {
ddev              790 net/nfc/digital_dep.c 		if (DIGITAL_NFC_DEP_PFB_PNI(pfb) != ddev->curr_nfc_dep_pni) {
ddev              796 net/nfc/digital_dep.c 		ddev->curr_nfc_dep_pni =
ddev              797 net/nfc/digital_dep.c 			DIGITAL_NFC_DEP_PFB_PNI(ddev->curr_nfc_dep_pni + 1);
ddev              799 net/nfc/digital_dep.c 		kfree_skb(ddev->saved_skb);
ddev              800 net/nfc/digital_dep.c 		ddev->saved_skb = NULL;
ddev              802 net/nfc/digital_dep.c 		resp = digital_recv_dep_data_gather(ddev, pfb, resp,
ddev              828 net/nfc/digital_dep.c 		if (DIGITAL_NFC_DEP_PFB_PNI(pfb) != ddev->curr_nfc_dep_pni) {
ddev              834 net/nfc/digital_dep.c 		ddev->curr_nfc_dep_pni =
ddev              835 net/nfc/digital_dep.c 			DIGITAL_NFC_DEP_PFB_PNI(ddev->curr_nfc_dep_pni + 1);
ddev              837 net/nfc/digital_dep.c 		if (!ddev->chaining_skb) {
ddev              846 net/nfc/digital_dep.c 		kfree_skb(ddev->saved_skb);
ddev              847 net/nfc/digital_dep.c 		ddev->saved_skb = NULL;
ddev              849 net/nfc/digital_dep.c 		rc = digital_in_send_dep_req(ddev, NULL,
ddev              850 net/nfc/digital_dep.c 					     ddev->chaining_skb,
ddev              851 net/nfc/digital_dep.c 					     ddev->data_exch);
ddev              859 net/nfc/digital_dep.c 			rc = digital_in_send_saved_skb(ddev, data_exch);
ddev              866 net/nfc/digital_dep.c 		if (ddev->atn_count || ddev->nack_count) {
ddev              879 net/nfc/digital_dep.c 		rc = digital_in_send_rtox(ddev, data_exch, rtox);
ddev              892 net/nfc/digital_dep.c 	kfree_skb(ddev->chaining_skb);
ddev              893 net/nfc/digital_dep.c 	ddev->chaining_skb = NULL;
ddev              895 net/nfc/digital_dep.c 	kfree_skb(ddev->saved_skb);
ddev              896 net/nfc/digital_dep.c 	ddev->saved_skb = NULL;
ddev              907 net/nfc/digital_dep.c int digital_in_send_dep_req(struct nfc_digital_dev *ddev,
ddev              921 net/nfc/digital_dep.c 	dep_req->pfb = ddev->curr_nfc_dep_pni;
ddev              923 net/nfc/digital_dep.c 	ddev->atn_count = 0;
ddev              924 net/nfc/digital_dep.c 	ddev->nack_count = 0;
ddev              926 net/nfc/digital_dep.c 	chaining_skb = ddev->chaining_skb;
ddev              928 net/nfc/digital_dep.c 	tmp_skb = digital_send_dep_data_prep(ddev, skb, dep_req, data_exch);
ddev              932 net/nfc/digital_dep.c 	digital_skb_push_dep_sod(ddev, tmp_skb);
ddev              934 net/nfc/digital_dep.c 	ddev->skb_add_crc(tmp_skb);
ddev              936 net/nfc/digital_dep.c 	ddev->saved_skb = pskb_copy(tmp_skb, GFP_KERNEL);
ddev              938 net/nfc/digital_dep.c 	rc = digital_in_send_cmd(ddev, tmp_skb, ddev->dep_rwt,
ddev              945 net/nfc/digital_dep.c 		ddev->chaining_skb = NULL;
ddev              947 net/nfc/digital_dep.c 		kfree_skb(ddev->saved_skb);
ddev              948 net/nfc/digital_dep.c 		ddev->saved_skb = NULL;
ddev              954 net/nfc/digital_dep.c static void digital_tg_set_rf_tech(struct nfc_digital_dev *ddev, u8 rf_tech)
ddev              956 net/nfc/digital_dep.c 	ddev->curr_rf_tech = rf_tech;
ddev              958 net/nfc/digital_dep.c 	ddev->skb_add_crc = digital_skb_add_crc_none;
ddev              959 net/nfc/digital_dep.c 	ddev->skb_check_crc = digital_skb_check_crc_none;
ddev              961 net/nfc/digital_dep.c 	if (DIGITAL_DRV_CAPS_TG_CRC(ddev))
ddev              964 net/nfc/digital_dep.c 	switch (ddev->curr_rf_tech) {
ddev              966 net/nfc/digital_dep.c 		ddev->skb_add_crc = digital_skb_add_crc_a;
ddev              967 net/nfc/digital_dep.c 		ddev->skb_check_crc = digital_skb_check_crc_a;
ddev              972 net/nfc/digital_dep.c 		ddev->skb_add_crc = digital_skb_add_crc_f;
ddev              973 net/nfc/digital_dep.c 		ddev->skb_check_crc = digital_skb_check_crc_f;
ddev              981 net/nfc/digital_dep.c static int digital_tg_send_ack(struct nfc_digital_dev *ddev,
ddev              988 net/nfc/digital_dep.c 	skb = digital_skb_alloc(ddev, 1);
ddev              999 net/nfc/digital_dep.c 		       ddev->curr_nfc_dep_pni;
ddev             1001 net/nfc/digital_dep.c 	if (ddev->did) {
ddev             1004 net/nfc/digital_dep.c 		skb_put_data(skb, &ddev->did, sizeof(ddev->did));
ddev             1007 net/nfc/digital_dep.c 	ddev->curr_nfc_dep_pni =
ddev             1008 net/nfc/digital_dep.c 		DIGITAL_NFC_DEP_PFB_PNI(ddev->curr_nfc_dep_pni + 1);
ddev             1010 net/nfc/digital_dep.c 	digital_skb_push_dep_sod(ddev, skb);
ddev             1012 net/nfc/digital_dep.c 	ddev->skb_add_crc(skb);
ddev             1014 net/nfc/digital_dep.c 	ddev->saved_skb = pskb_copy(skb, GFP_KERNEL);
ddev             1016 net/nfc/digital_dep.c 	rc = digital_tg_send_cmd(ddev, skb, 1500, digital_tg_recv_dep_req,
ddev             1020 net/nfc/digital_dep.c 		kfree_skb(ddev->saved_skb);
ddev             1021 net/nfc/digital_dep.c 		ddev->saved_skb = NULL;
ddev             1027 net/nfc/digital_dep.c static int digital_tg_send_atn(struct nfc_digital_dev *ddev)
ddev             1033 net/nfc/digital_dep.c 	skb = digital_skb_alloc(ddev, 1);
ddev             1045 net/nfc/digital_dep.c 	if (ddev->did) {
ddev             1048 net/nfc/digital_dep.c 		skb_put_data(skb, &ddev->did, sizeof(ddev->did));
ddev             1051 net/nfc/digital_dep.c 	digital_skb_push_dep_sod(ddev, skb);
ddev             1053 net/nfc/digital_dep.c 	ddev->skb_add_crc(skb);
ddev             1055 net/nfc/digital_dep.c 	rc = digital_tg_send_cmd(ddev, skb, 1500, digital_tg_recv_dep_req,
ddev             1063 net/nfc/digital_dep.c static int digital_tg_send_saved_skb(struct nfc_digital_dev *ddev)
ddev             1067 net/nfc/digital_dep.c 	if (!ddev->saved_skb)
ddev             1070 net/nfc/digital_dep.c 	skb_get(ddev->saved_skb);
ddev             1072 net/nfc/digital_dep.c 	rc = digital_tg_send_cmd(ddev, ddev->saved_skb, 1500,
ddev             1075 net/nfc/digital_dep.c 		kfree_skb(ddev->saved_skb);
ddev             1080 net/nfc/digital_dep.c static void digital_tg_recv_dep_req(struct nfc_digital_dev *ddev, void *arg,
ddev             1094 net/nfc/digital_dep.c 	rc = ddev->skb_check_crc(resp);
ddev             1100 net/nfc/digital_dep.c 	rc = digital_skb_pull_dep_sod(ddev, resp);
ddev             1106 net/nfc/digital_dep.c 	if (resp->len > ddev->local_payload_max) {
ddev             1123 net/nfc/digital_dep.c 		if (ddev->did && (ddev->did == resp->data[3])) {
ddev             1129 net/nfc/digital_dep.c 	} else if (ddev->did) {
ddev             1150 net/nfc/digital_dep.c 		if (ddev->atn_count) {
ddev             1154 net/nfc/digital_dep.c 			ddev->atn_count = 0;
ddev             1163 net/nfc/digital_dep.c 			  DIGITAL_NFC_DEP_PFB_PNI(ddev->curr_nfc_dep_pni - 1)) {
ddev             1164 net/nfc/digital_dep.c 				rc = digital_tg_send_saved_skb(ddev);
ddev             1178 net/nfc/digital_dep.c 		if (DIGITAL_NFC_DEP_PFB_PNI(pfb) != ddev->curr_nfc_dep_pni) {
ddev             1184 net/nfc/digital_dep.c 		kfree_skb(ddev->saved_skb);
ddev             1185 net/nfc/digital_dep.c 		ddev->saved_skb = NULL;
ddev             1187 net/nfc/digital_dep.c 		resp = digital_recv_dep_data_gather(ddev, pfb, resp,
ddev             1207 net/nfc/digital_dep.c 						ddev->curr_nfc_dep_pni) {
ddev             1212 net/nfc/digital_dep.c 			ddev->atn_count = 0;
ddev             1214 net/nfc/digital_dep.c 			rc = digital_tg_send_saved_skb(ddev);
ddev             1222 net/nfc/digital_dep.c 		if (ddev->atn_count) {
ddev             1226 net/nfc/digital_dep.c 			ddev->atn_count = 0;
ddev             1233 net/nfc/digital_dep.c 						ddev->curr_nfc_dep_pni) {
ddev             1234 net/nfc/digital_dep.c 				rc = digital_tg_send_saved_skb(ddev);
ddev             1248 net/nfc/digital_dep.c 		if (!ddev->chaining_skb ||
ddev             1250 net/nfc/digital_dep.c 					ddev->curr_nfc_dep_pni) {
ddev             1255 net/nfc/digital_dep.c 		kfree_skb(ddev->saved_skb);
ddev             1256 net/nfc/digital_dep.c 		ddev->saved_skb = NULL;
ddev             1258 net/nfc/digital_dep.c 		rc = digital_tg_send_dep_res(ddev, ddev->chaining_skb);
ddev             1269 net/nfc/digital_dep.c 		rc = digital_tg_send_atn(ddev);
ddev             1273 net/nfc/digital_dep.c 		ddev->atn_count++;
ddev             1278 net/nfc/digital_dep.c 	rc = nfc_tm_data_received(ddev->nfc_dev, resp);
ddev             1281 net/nfc/digital_dep.c 	kfree_skb(ddev->chaining_skb);
ddev             1282 net/nfc/digital_dep.c 	ddev->chaining_skb = NULL;
ddev             1284 net/nfc/digital_dep.c 	ddev->atn_count = 0;
ddev             1286 net/nfc/digital_dep.c 	kfree_skb(ddev->saved_skb);
ddev             1287 net/nfc/digital_dep.c 	ddev->saved_skb = NULL;
ddev             1298 net/nfc/digital_dep.c int digital_tg_send_dep_res(struct nfc_digital_dev *ddev, struct sk_buff *skb)
ddev             1310 net/nfc/digital_dep.c 	dep_res->pfb = ddev->curr_nfc_dep_pni;
ddev             1312 net/nfc/digital_dep.c 	if (ddev->did) {
ddev             1315 net/nfc/digital_dep.c 		skb_put_data(skb, &ddev->did, sizeof(ddev->did));
ddev             1318 net/nfc/digital_dep.c 	ddev->curr_nfc_dep_pni =
ddev             1319 net/nfc/digital_dep.c 		DIGITAL_NFC_DEP_PFB_PNI(ddev->curr_nfc_dep_pni + 1);
ddev             1321 net/nfc/digital_dep.c 	chaining_skb = ddev->chaining_skb;
ddev             1323 net/nfc/digital_dep.c 	tmp_skb = digital_send_dep_data_prep(ddev, skb, dep_res, NULL);
ddev             1327 net/nfc/digital_dep.c 	digital_skb_push_dep_sod(ddev, tmp_skb);
ddev             1329 net/nfc/digital_dep.c 	ddev->skb_add_crc(tmp_skb);
ddev             1331 net/nfc/digital_dep.c 	ddev->saved_skb = pskb_copy(tmp_skb, GFP_KERNEL);
ddev             1333 net/nfc/digital_dep.c 	rc = digital_tg_send_cmd(ddev, tmp_skb, 1500, digital_tg_recv_dep_req,
ddev             1340 net/nfc/digital_dep.c 		ddev->chaining_skb = NULL;
ddev             1342 net/nfc/digital_dep.c 		kfree_skb(ddev->saved_skb);
ddev             1343 net/nfc/digital_dep.c 		ddev->saved_skb = NULL;
ddev             1349 net/nfc/digital_dep.c static void digital_tg_send_psl_res_complete(struct nfc_digital_dev *ddev,
ddev             1357 net/nfc/digital_dep.c 	digital_tg_set_rf_tech(ddev, rf_tech);
ddev             1359 net/nfc/digital_dep.c 	digital_tg_configure_hw(ddev, NFC_DIGITAL_CONFIG_RF_TECH, rf_tech);
ddev             1361 net/nfc/digital_dep.c 	digital_tg_listen(ddev, 1500, digital_tg_recv_dep_req, NULL);
ddev             1366 net/nfc/digital_dep.c static int digital_tg_send_psl_res(struct nfc_digital_dev *ddev, u8 did,
ddev             1373 net/nfc/digital_dep.c 	skb = digital_skb_alloc(ddev, sizeof(struct digital_psl_res));
ddev             1385 net/nfc/digital_dep.c 	digital_skb_push_dep_sod(ddev, skb);
ddev             1387 net/nfc/digital_dep.c 	ddev->skb_add_crc(skb);
ddev             1389 net/nfc/digital_dep.c 	ddev->curr_nfc_dep_pni = 0;
ddev             1391 net/nfc/digital_dep.c 	rc = digital_tg_send_cmd(ddev, skb, 0, digital_tg_send_psl_res_complete,
ddev             1399 net/nfc/digital_dep.c static void digital_tg_recv_psl_req(struct nfc_digital_dev *ddev, void *arg,
ddev             1413 net/nfc/digital_dep.c 	rc = ddev->skb_check_crc(resp);
ddev             1419 net/nfc/digital_dep.c 	rc = digital_skb_pull_dep_sod(ddev, resp);
ddev             1453 net/nfc/digital_dep.c 	if (!payload_size || (payload_size > min(ddev->local_payload_max,
ddev             1454 net/nfc/digital_dep.c 						 ddev->remote_payload_max))) {
ddev             1459 net/nfc/digital_dep.c 	ddev->local_payload_max = payload_size;
ddev             1460 net/nfc/digital_dep.c 	ddev->remote_payload_max = payload_size;
ddev             1462 net/nfc/digital_dep.c 	rc = digital_tg_send_psl_res(ddev, psl_req->did, rf_tech);
ddev             1468 net/nfc/digital_dep.c static void digital_tg_send_atr_res_complete(struct nfc_digital_dev *ddev,
ddev             1474 net/nfc/digital_dep.c 		digital_poll_next_tech(ddev);
ddev             1482 net/nfc/digital_dep.c 	ddev->atn_count = 0;
ddev             1485 net/nfc/digital_dep.c 		digital_tg_recv_psl_req(ddev, arg, resp);
ddev             1487 net/nfc/digital_dep.c 		digital_tg_recv_dep_req(ddev, arg, resp);
ddev             1490 net/nfc/digital_dep.c static int digital_tg_send_atr_res(struct nfc_digital_dev *ddev,
ddev             1499 net/nfc/digital_dep.c 	gb = nfc_get_local_general_bytes(ddev->nfc_dev, &gb_len);
ddev             1503 net/nfc/digital_dep.c 	skb = digital_skb_alloc(ddev, sizeof(struct digital_atr_res) + gb_len);
ddev             1517 net/nfc/digital_dep.c 	ddev->local_payload_max = DIGITAL_PAYLOAD_SIZE_MAX;
ddev             1518 net/nfc/digital_dep.c 	payload_bits = digital_payload_size_to_bits(ddev->local_payload_max);
ddev             1528 net/nfc/digital_dep.c 	digital_skb_push_dep_sod(ddev, skb);
ddev             1530 net/nfc/digital_dep.c 	ddev->skb_add_crc(skb);
ddev             1532 net/nfc/digital_dep.c 	ddev->curr_nfc_dep_pni = 0;
ddev             1534 net/nfc/digital_dep.c 	rc = digital_tg_send_cmd(ddev, skb, 999,
ddev             1542 net/nfc/digital_dep.c void digital_tg_recv_atr_req(struct nfc_digital_dev *ddev, void *arg,
ddev             1563 net/nfc/digital_dep.c 		digital_tg_set_rf_tech(ddev, NFC_DIGITAL_RF_TECH_106A);
ddev             1566 net/nfc/digital_dep.c 		digital_tg_set_rf_tech(ddev, NFC_DIGITAL_RF_TECH_212F);
ddev             1574 net/nfc/digital_dep.c 	ddev->curr_protocol = NFC_PROTO_NFC_DEP_MASK;
ddev             1576 net/nfc/digital_dep.c 	rc = ddev->skb_check_crc(resp);
ddev             1582 net/nfc/digital_dep.c 	rc = digital_skb_pull_dep_sod(ddev, resp);
ddev             1598 net/nfc/digital_dep.c 	ddev->remote_payload_max = digital_payload_bits_to_size(payload_bits);
ddev             1600 net/nfc/digital_dep.c 	if (!ddev->remote_payload_max) {
ddev             1605 net/nfc/digital_dep.c 	ddev->did = atr_req->did;
ddev             1607 net/nfc/digital_dep.c 	rc = digital_tg_configure_hw(ddev, NFC_DIGITAL_CONFIG_FRAMING,
ddev             1612 net/nfc/digital_dep.c 	rc = digital_tg_send_atr_res(ddev, atr_req);
ddev             1618 net/nfc/digital_dep.c 	poll_tech_count = ddev->poll_tech_count;
ddev             1619 net/nfc/digital_dep.c 	ddev->poll_tech_count = 0;
ddev             1621 net/nfc/digital_dep.c 	rc = nfc_tm_activated(ddev->nfc_dev, NFC_PROTO_NFC_DEP_MASK,
ddev             1624 net/nfc/digital_dep.c 		ddev->poll_tech_count = poll_tech_count;
ddev             1631 net/nfc/digital_dep.c 		digital_poll_next_tech(ddev);
ddev              164 net/nfc/digital_technology.c static int digital_in_send_sdd_req(struct nfc_digital_dev *ddev,
ddev              167 net/nfc/digital_technology.c int digital_in_iso_dep_pull_sod(struct nfc_digital_dev *ddev,
ddev              195 net/nfc/digital_technology.c int digital_in_iso_dep_push_sod(struct nfc_digital_dev *ddev,
ddev              202 net/nfc/digital_technology.c 	if (skb->len + 3 > ddev->target_fsc)
ddev              207 net/nfc/digital_technology.c 	*skb->data = DIGITAL_ISO_DEP_I_PCB | ddev->curr_nfc_dep_pni;
ddev              209 net/nfc/digital_technology.c 	ddev->curr_nfc_dep_pni =
ddev              210 net/nfc/digital_technology.c 		DIGITAL_ISO_DEP_PNI(ddev->curr_nfc_dep_pni + 1);
ddev              215 net/nfc/digital_technology.c static void digital_in_recv_ats(struct nfc_digital_dev *ddev, void *arg,
ddev              235 net/nfc/digital_technology.c 		ddev->target_fsc = DIGITAL_ATS_MAX_FSC;
ddev              237 net/nfc/digital_technology.c 		ddev->target_fsc = digital_ats_fsc[fsdi];
ddev              239 net/nfc/digital_technology.c 	ddev->curr_nfc_dep_pni = 0;
ddev              241 net/nfc/digital_technology.c 	rc = digital_target_found(ddev, target, NFC_PROTO_ISO14443);
ddev              248 net/nfc/digital_technology.c 		digital_poll_next_tech(ddev);
ddev              251 net/nfc/digital_technology.c static int digital_in_send_rats(struct nfc_digital_dev *ddev,
ddev              257 net/nfc/digital_technology.c 	skb = digital_skb_alloc(ddev, 2);
ddev              264 net/nfc/digital_technology.c 	rc = digital_in_send_cmd(ddev, skb, 30, digital_in_recv_ats,
ddev              272 net/nfc/digital_technology.c static void digital_in_recv_sel_res(struct nfc_digital_dev *ddev, void *arg,
ddev              286 net/nfc/digital_technology.c 	if (!DIGITAL_DRV_CAPS_IN_CRC(ddev)) {
ddev              302 net/nfc/digital_technology.c 		rc = digital_in_send_sdd_req(ddev, target);
ddev              316 net/nfc/digital_technology.c 		rc = digital_in_send_rats(ddev, target);
ddev              329 net/nfc/digital_technology.c 	rc = digital_target_found(ddev, target, nfc_proto);
ddev              338 net/nfc/digital_technology.c 		digital_poll_next_tech(ddev);
ddev              341 net/nfc/digital_technology.c static int digital_in_send_sel_req(struct nfc_digital_dev *ddev,
ddev              350 net/nfc/digital_technology.c 	skb = digital_skb_alloc(ddev, sizeof(struct digital_sel_req));
ddev              369 net/nfc/digital_technology.c 	if (DIGITAL_DRV_CAPS_IN_CRC(ddev)) {
ddev              370 net/nfc/digital_technology.c 		rc = digital_in_configure_hw(ddev, NFC_DIGITAL_CONFIG_FRAMING,
ddev              378 net/nfc/digital_technology.c 	rc = digital_in_send_cmd(ddev, skb, 30, digital_in_recv_sel_res,
ddev              387 net/nfc/digital_technology.c static void digital_in_recv_sdd_res(struct nfc_digital_dev *ddev, void *arg,
ddev              431 net/nfc/digital_technology.c 	rc = digital_in_send_sel_req(ddev, target, sdd_res);
ddev              438 net/nfc/digital_technology.c 		digital_poll_next_tech(ddev);
ddev              442 net/nfc/digital_technology.c static int digital_in_send_sdd_req(struct nfc_digital_dev *ddev,
ddev              449 net/nfc/digital_technology.c 	rc = digital_in_configure_hw(ddev, NFC_DIGITAL_CONFIG_FRAMING,
ddev              454 net/nfc/digital_technology.c 	skb = digital_skb_alloc(ddev, 2);
ddev              468 net/nfc/digital_technology.c 	return digital_in_send_cmd(ddev, skb, 30, digital_in_recv_sdd_res,
ddev              472 net/nfc/digital_technology.c static void digital_in_recv_sens_res(struct nfc_digital_dev *ddev, void *arg,
ddev              504 net/nfc/digital_technology.c 		rc = digital_target_found(ddev, target, NFC_PROTO_JEWEL);
ddev              506 net/nfc/digital_technology.c 		rc = digital_in_send_sdd_req(ddev, target);
ddev              513 net/nfc/digital_technology.c 		digital_poll_next_tech(ddev);
ddev              517 net/nfc/digital_technology.c int digital_in_send_sens_req(struct nfc_digital_dev *ddev, u8 rf_tech)
ddev              522 net/nfc/digital_technology.c 	rc = digital_in_configure_hw(ddev, NFC_DIGITAL_CONFIG_RF_TECH,
ddev              527 net/nfc/digital_technology.c 	rc = digital_in_configure_hw(ddev, NFC_DIGITAL_CONFIG_FRAMING,
ddev              532 net/nfc/digital_technology.c 	skb = digital_skb_alloc(ddev, 1);
ddev              538 net/nfc/digital_technology.c 	rc = digital_in_send_cmd(ddev, skb, 30, digital_in_recv_sens_res, NULL);
ddev              571 net/nfc/digital_technology.c static void digital_in_recv_attrib_res(struct nfc_digital_dev *ddev, void *arg,
ddev              598 net/nfc/digital_technology.c 	rc = digital_target_found(ddev, target, NFC_PROTO_ISO14443_B);
ddev              605 net/nfc/digital_technology.c 		digital_poll_next_tech(ddev);
ddev              608 net/nfc/digital_technology.c static int digital_in_send_attrib_req(struct nfc_digital_dev *ddev,
ddev              616 net/nfc/digital_technology.c 	skb = digital_skb_alloc(ddev, sizeof(*attrib_req));
ddev              633 net/nfc/digital_technology.c 	rc = digital_in_send_cmd(ddev, skb, 30, digital_in_recv_attrib_res,
ddev              641 net/nfc/digital_technology.c static void digital_in_recv_sensb_res(struct nfc_digital_dev *ddev, void *arg,
ddev              683 net/nfc/digital_technology.c 		ddev->target_fsc = DIGITAL_ATS_MAX_FSC;
ddev              685 net/nfc/digital_technology.c 		ddev->target_fsc = digital_ats_fsc[fsci];
ddev              693 net/nfc/digital_technology.c 	rc = digital_in_send_attrib_req(ddev, target, sensb_res);
ddev              700 net/nfc/digital_technology.c 		digital_poll_next_tech(ddev);
ddev              704 net/nfc/digital_technology.c int digital_in_send_sensb_req(struct nfc_digital_dev *ddev, u8 rf_tech)
ddev              710 net/nfc/digital_technology.c 	rc = digital_in_configure_hw(ddev, NFC_DIGITAL_CONFIG_RF_TECH,
ddev              715 net/nfc/digital_technology.c 	rc = digital_in_configure_hw(ddev, NFC_DIGITAL_CONFIG_FRAMING,
ddev              720 net/nfc/digital_technology.c 	skb = digital_skb_alloc(ddev, sizeof(*sensb_req));
ddev              730 net/nfc/digital_technology.c 	rc = digital_in_send_cmd(ddev, skb, 30, digital_in_recv_sensb_res,
ddev              738 net/nfc/digital_technology.c static void digital_in_recv_sensf_res(struct nfc_digital_dev *ddev, void *arg,
ddev              757 net/nfc/digital_technology.c 	if (!DIGITAL_DRV_CAPS_IN_CRC(ddev)) {
ddev              783 net/nfc/digital_technology.c 	rc = digital_target_found(ddev, &target, proto);
ddev              789 net/nfc/digital_technology.c 		digital_poll_next_tech(ddev);
ddev              792 net/nfc/digital_technology.c int digital_in_send_sensf_req(struct nfc_digital_dev *ddev, u8 rf_tech)
ddev              799 net/nfc/digital_technology.c 	rc = digital_in_configure_hw(ddev, NFC_DIGITAL_CONFIG_RF_TECH, rf_tech);
ddev              803 net/nfc/digital_technology.c 	rc = digital_in_configure_hw(ddev, NFC_DIGITAL_CONFIG_FRAMING,
ddev              810 net/nfc/digital_technology.c 	skb = digital_skb_alloc(ddev, size);
ddev              825 net/nfc/digital_technology.c 	if (!DIGITAL_DRV_CAPS_IN_CRC(ddev))
ddev              828 net/nfc/digital_technology.c 	rc = digital_in_send_cmd(ddev, skb, 30, digital_in_recv_sensf_res,
ddev              836 net/nfc/digital_technology.c static void digital_in_recv_iso15693_inv_res(struct nfc_digital_dev *ddev,
ddev              872 net/nfc/digital_technology.c 	rc = digital_target_found(ddev, target, NFC_PROTO_ISO15693);
ddev              880 net/nfc/digital_technology.c 		digital_poll_next_tech(ddev);
ddev              883 net/nfc/digital_technology.c int digital_in_send_iso15693_inv_req(struct nfc_digital_dev *ddev, u8 rf_tech)
ddev              889 net/nfc/digital_technology.c 	rc = digital_in_configure_hw(ddev, NFC_DIGITAL_CONFIG_RF_TECH,
ddev              894 net/nfc/digital_technology.c 	rc = digital_in_configure_hw(ddev, NFC_DIGITAL_CONFIG_FRAMING,
ddev              899 net/nfc/digital_technology.c 	skb = digital_skb_alloc(ddev, sizeof(*req));
ddev              915 net/nfc/digital_technology.c 	rc = digital_in_send_cmd(ddev, skb, 30,
ddev              923 net/nfc/digital_technology.c static int digital_tg_send_sel_res(struct nfc_digital_dev *ddev)
ddev              928 net/nfc/digital_technology.c 	skb = digital_skb_alloc(ddev, 1);
ddev              934 net/nfc/digital_technology.c 	if (!DIGITAL_DRV_CAPS_TG_CRC(ddev))
ddev              937 net/nfc/digital_technology.c 	rc = digital_tg_configure_hw(ddev, NFC_DIGITAL_CONFIG_FRAMING,
ddev              944 net/nfc/digital_technology.c 	rc = digital_tg_send_cmd(ddev, skb, 300, digital_tg_recv_atr_req,
ddev              952 net/nfc/digital_technology.c static void digital_tg_recv_sel_req(struct nfc_digital_dev *ddev, void *arg,
ddev              963 net/nfc/digital_technology.c 	if (!DIGITAL_DRV_CAPS_TG_CRC(ddev)) {
ddev              973 net/nfc/digital_technology.c 	rc = digital_tg_send_sel_res(ddev);
ddev              977 net/nfc/digital_technology.c 		digital_poll_next_tech(ddev);
ddev              982 net/nfc/digital_technology.c static int digital_tg_send_sdd_res(struct nfc_digital_dev *ddev)
ddev              988 net/nfc/digital_technology.c 	skb = digital_skb_alloc(ddev, sizeof(struct digital_sdd_res));
ddev             1002 net/nfc/digital_technology.c 	rc = digital_tg_configure_hw(ddev, NFC_DIGITAL_CONFIG_FRAMING,
ddev             1009 net/nfc/digital_technology.c 	rc = digital_tg_send_cmd(ddev, skb, 300, digital_tg_recv_sel_req,
ddev             1017 net/nfc/digital_technology.c static void digital_tg_recv_sdd_req(struct nfc_digital_dev *ddev, void *arg,
ddev             1037 net/nfc/digital_technology.c 	rc = digital_tg_send_sdd_res(ddev);
ddev             1041 net/nfc/digital_technology.c 		digital_poll_next_tech(ddev);
ddev             1046 net/nfc/digital_technology.c static int digital_tg_send_sens_res(struct nfc_digital_dev *ddev)
ddev             1052 net/nfc/digital_technology.c 	skb = digital_skb_alloc(ddev, 2);
ddev             1061 net/nfc/digital_technology.c 	rc = digital_tg_configure_hw(ddev, NFC_DIGITAL_CONFIG_FRAMING,
ddev             1068 net/nfc/digital_technology.c 	rc = digital_tg_send_cmd(ddev, skb, 300, digital_tg_recv_sdd_req,
ddev             1076 net/nfc/digital_technology.c void digital_tg_recv_sens_req(struct nfc_digital_dev *ddev, void *arg,
ddev             1096 net/nfc/digital_technology.c 	rc = digital_tg_send_sens_res(ddev);
ddev             1100 net/nfc/digital_technology.c 		digital_poll_next_tech(ddev);
ddev             1105 net/nfc/digital_technology.c static void digital_tg_recv_atr_or_sensf_req(struct nfc_digital_dev *ddev,
ddev             1110 net/nfc/digital_technology.c 		digital_tg_recv_sensf_req(ddev, arg, resp);
ddev             1112 net/nfc/digital_technology.c 		digital_tg_recv_atr_req(ddev, arg, resp);
ddev             1117 net/nfc/digital_technology.c static int digital_tg_send_sensf_res(struct nfc_digital_dev *ddev,
ddev             1130 net/nfc/digital_technology.c 	skb = digital_skb_alloc(ddev, size);
ddev             1158 net/nfc/digital_technology.c 	if (!DIGITAL_DRV_CAPS_TG_CRC(ddev))
ddev             1161 net/nfc/digital_technology.c 	rc = digital_tg_send_cmd(ddev, skb, 300,
ddev             1169 net/nfc/digital_technology.c void digital_tg_recv_sensf_req(struct nfc_digital_dev *ddev, void *arg,
ddev             1181 net/nfc/digital_technology.c 	if (!DIGITAL_DRV_CAPS_TG_CRC(ddev)) {
ddev             1202 net/nfc/digital_technology.c 	rc = digital_tg_send_sensf_res(ddev, sensf_req);
ddev             1206 net/nfc/digital_technology.c 		digital_poll_next_tech(ddev);
ddev             1211 net/nfc/digital_technology.c static int digital_tg_config_nfca(struct nfc_digital_dev *ddev)
ddev             1215 net/nfc/digital_technology.c 	rc = digital_tg_configure_hw(ddev, NFC_DIGITAL_CONFIG_RF_TECH,
ddev             1220 net/nfc/digital_technology.c 	return digital_tg_configure_hw(ddev, NFC_DIGITAL_CONFIG_FRAMING,
ddev             1224 net/nfc/digital_technology.c int digital_tg_listen_nfca(struct nfc_digital_dev *ddev, u8 rf_tech)
ddev             1228 net/nfc/digital_technology.c 	rc = digital_tg_config_nfca(ddev);
ddev             1232 net/nfc/digital_technology.c 	return digital_tg_listen(ddev, 300, digital_tg_recv_sens_req, NULL);
ddev             1235 net/nfc/digital_technology.c static int digital_tg_config_nfcf(struct nfc_digital_dev *ddev, u8 rf_tech)
ddev             1239 net/nfc/digital_technology.c 	rc = digital_tg_configure_hw(ddev, NFC_DIGITAL_CONFIG_RF_TECH, rf_tech);
ddev             1243 net/nfc/digital_technology.c 	return digital_tg_configure_hw(ddev, NFC_DIGITAL_CONFIG_FRAMING,
ddev             1247 net/nfc/digital_technology.c int digital_tg_listen_nfcf(struct nfc_digital_dev *ddev, u8 rf_tech)
ddev             1251 net/nfc/digital_technology.c 	rc = digital_tg_config_nfcf(ddev, rf_tech);
ddev             1255 net/nfc/digital_technology.c 	return digital_tg_listen(ddev, 300, digital_tg_recv_sensf_req, NULL);
ddev             1258 net/nfc/digital_technology.c void digital_tg_recv_md_req(struct nfc_digital_dev *ddev, void *arg,
ddev             1269 net/nfc/digital_technology.c 	rc = ddev->ops->tg_get_rf_tech(ddev, &rf_tech);
ddev             1275 net/nfc/digital_technology.c 		rc = digital_tg_config_nfca(ddev);
ddev             1278 net/nfc/digital_technology.c 		digital_tg_recv_sens_req(ddev, arg, resp);
ddev             1282 net/nfc/digital_technology.c 		rc = digital_tg_config_nfcf(ddev, rf_tech);
ddev             1285 net/nfc/digital_technology.c 		digital_tg_recv_sensf_req(ddev, arg, resp);
ddev             1294 net/nfc/digital_technology.c 	digital_poll_next_tech(ddev);