plat_dev 85 drivers/crypto/ccree/cc_debugfs.c ctx->dir = debugfs_create_dir(drvdata->plat_dev->name, cc_debugfs_dir); plat_dev 263 drivers/crypto/ccree/cc_driver.c static int init_cc_resources(struct platform_device *plat_dev) plat_dev 267 drivers/crypto/ccree/cc_driver.c struct device *dev = &plat_dev->dev; plat_dev 301 drivers/crypto/ccree/cc_driver.c platform_set_drvdata(plat_dev, new_drvdata); plat_dev 302 drivers/crypto/ccree/cc_driver.c new_drvdata->plat_dev = plat_dev; plat_dev 326 drivers/crypto/ccree/cc_driver.c req_mem_cc_regs = platform_get_resource(plat_dev, IORESOURCE_MEM, 0); plat_dev 340 drivers/crypto/ccree/cc_driver.c new_drvdata->irq = platform_get_irq(plat_dev, 0); plat_dev 346 drivers/crypto/ccree/cc_driver.c if (!plat_dev->dev.dma_mask) plat_dev 347 drivers/crypto/ccree/cc_driver.c plat_dev->dev.dma_mask = &plat_dev->dev.coherent_dma_mask; plat_dev 351 drivers/crypto/ccree/cc_driver.c if (dma_supported(&plat_dev->dev, dma_mask)) { plat_dev 352 drivers/crypto/ccree/cc_driver.c rc = dma_set_coherent_mask(&plat_dev->dev, dma_mask); plat_dev 561 drivers/crypto/ccree/cc_driver.c static void cleanup_cc_resources(struct platform_device *plat_dev) plat_dev 564 drivers/crypto/ccree/cc_driver.c (struct cc_drvdata *)platform_get_drvdata(plat_dev); plat_dev 614 drivers/crypto/ccree/cc_driver.c static int ccree_probe(struct platform_device *plat_dev) plat_dev 617 drivers/crypto/ccree/cc_driver.c struct device *dev = &plat_dev->dev; plat_dev 620 drivers/crypto/ccree/cc_driver.c rc = init_cc_resources(plat_dev); plat_dev 629 drivers/crypto/ccree/cc_driver.c static int ccree_remove(struct platform_device *plat_dev) plat_dev 631 drivers/crypto/ccree/cc_driver.c struct device *dev = &plat_dev->dev; plat_dev 635 drivers/crypto/ccree/cc_driver.c cleanup_cc_resources(plat_dev); plat_dev 144 drivers/crypto/ccree/cc_driver.h struct platform_device *plat_dev; plat_dev 204 drivers/crypto/ccree/cc_driver.h return &drvdata->plat_dev->dev; plat_dev 1494 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c src_vq->dev = &ctx->dev->plat_dev->dev; plat_dev 1509 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c dst_vq->dev = &ctx->dev->plat_dev->dev; plat_dev 168 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c mtk_v4l2_debug(0, "%s decoder [%d]", dev_name(&dev->plat_dev->dev), plat_dev 238 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c dev->plat_dev = pdev; plat_dev 240 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c dev->vpu_plat_dev = vpu_get_plat_device(dev->plat_dev); plat_dev 26 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c pdev = mtkdev->plat_dev; plat_dev 42 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c pdev = mtkdev->plat_dev; plat_dev 346 drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h struct platform_device *plat_dev; plat_dev 1291 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c src_vq->dev = &ctx->dev->plat_dev->dev; plat_dev 1305 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c dst_vq->dev = &ctx->dev->plat_dev->dev; plat_dev 186 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c mtk_v4l2_debug(0, "%s encoder [%d]", dev_name(&dev->plat_dev->dev), plat_dev 245 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c dev->plat_dev = pdev; plat_dev 247 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c dev->vpu_plat_dev = vpu_get_plat_device(dev->plat_dev); plat_dev 28 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c pdev = mtkdev->plat_dev; plat_dev 63 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c pdev = mtkdev->plat_dev; plat_dev 42 drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c struct device *dev = &ctx->dev->plat_dev->dev; plat_dev 65 drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c struct device *dev = &ctx->dev->plat_dev->dev; plat_dev 1114 drivers/media/platform/s5p-mfc/s5p_mfc.c struct device *dev = &mfc_dev->plat_dev->dev; plat_dev 1182 drivers/media/platform/s5p-mfc/s5p_mfc.c struct device *dev = &mfc_dev->plat_dev->dev; plat_dev 1236 drivers/media/platform/s5p-mfc/s5p_mfc.c struct device *dev = &mfc_dev->plat_dev->dev; plat_dev 1246 drivers/media/platform/s5p-mfc/s5p_mfc.c struct device *dev = &mfc_dev->plat_dev->dev; plat_dev 1256 drivers/media/platform/s5p-mfc/s5p_mfc.c struct device *dev = &mfc_dev->plat_dev->dev; plat_dev 1280 drivers/media/platform/s5p-mfc/s5p_mfc.c dev->plat_dev = pdev; plat_dev 1281 drivers/media/platform/s5p-mfc/s5p_mfc.c if (!dev->plat_dev) { plat_dev 302 drivers/media/platform/s5p-mfc/s5p_mfc_common.h struct platform_device *plat_dev; plat_dev 61 drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c dev->variant->fw_name[i], &dev->plat_dev->dev); plat_dev 259 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c dev_name(&dev->plat_dev->dev)); plat_dev 1307 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c dev_name(&dev->plat_dev->dev)); plat_dev 30 drivers/media/platform/s5p-mfc/s5p_mfc_pm.c pm->device = &dev->plat_dev->dev; plat_dev 32 drivers/net/ethernet/cadence/macb_pci.c struct platform_device *plat_dev; plat_dev 90 drivers/net/ethernet/cadence/macb_pci.c plat_dev = platform_device_register_full(&plat_info); plat_dev 91 drivers/net/ethernet/cadence/macb_pci.c if (IS_ERR(plat_dev)) { plat_dev 92 drivers/net/ethernet/cadence/macb_pci.c err = PTR_ERR(plat_dev); plat_dev 96 drivers/net/ethernet/cadence/macb_pci.c pci_set_drvdata(pdev, plat_dev); plat_dev 112 drivers/net/ethernet/cadence/macb_pci.c struct platform_device *plat_dev = pci_get_drvdata(pdev); plat_dev 113 drivers/net/ethernet/cadence/macb_pci.c struct macb_platform_data *plat_data = dev_get_platdata(&plat_dev->dev); plat_dev 115 drivers/net/ethernet/cadence/macb_pci.c platform_device_unregister(plat_dev); plat_dev 9329 drivers/net/ethernet/sun/niu.c struct platform_device *plat_dev = to_platform_device(dev); plat_dev 9330 drivers/net/ethernet/sun/niu.c struct niu_parent *p = dev_get_platdata(&plat_dev->dev); plat_dev 9359 drivers/net/ethernet/sun/niu.c struct platform_device *plat_dev = to_platform_device(dev); plat_dev 9360 drivers/net/ethernet/sun/niu.c struct niu_parent *p = dev_get_platdata(&plat_dev->dev); plat_dev 9388 drivers/net/ethernet/sun/niu.c struct platform_device *plat_dev = to_platform_device(dev); plat_dev 9389 drivers/net/ethernet/sun/niu.c struct niu_parent *p = dev_get_platdata(&plat_dev->dev); plat_dev 9421 drivers/net/ethernet/sun/niu.c struct platform_device *plat_dev = to_platform_device(dev); plat_dev 9422 drivers/net/ethernet/sun/niu.c struct niu_parent *p = dev_get_platdata(&plat_dev->dev); plat_dev 9439 drivers/net/ethernet/sun/niu.c struct platform_device *plat_dev; plat_dev 9443 drivers/net/ethernet/sun/niu.c plat_dev = platform_device_register_simple("niu-board", niu_parent_index, plat_dev 9445 drivers/net/ethernet/sun/niu.c if (IS_ERR(plat_dev)) plat_dev 9449 drivers/net/ethernet/sun/niu.c int err = device_create_file(&plat_dev->dev, plat_dev 9461 drivers/net/ethernet/sun/niu.c plat_dev->dev.platform_data = p; plat_dev 9462 drivers/net/ethernet/sun/niu.c p->plat_dev = plat_dev; plat_dev 9496 drivers/net/ethernet/sun/niu.c platform_device_unregister(plat_dev); plat_dev 9522 drivers/net/ethernet/sun/niu.c err = sysfs_create_link(&p->plat_dev->dev.kobj, plat_dev 9550 drivers/net/ethernet/sun/niu.c sysfs_remove_link(&p->plat_dev->dev.kobj, port_name); plat_dev 9557 drivers/net/ethernet/sun/niu.c platform_device_unregister(p->plat_dev); plat_dev 3067 drivers/net/ethernet/sun/niu.h struct platform_device *plat_dev; plat_dev 699 drivers/net/ethernet/toshiba/tc35815.c struct platform_device *plat_dev = to_platform_device(dev); plat_dev 702 drivers/net/ethernet/toshiba/tc35815.c return !strcmp(plat_dev->name, "tc35815-mac") && plat_dev->id == id; plat_dev 25 drivers/net/fjes/fjes.h struct platform_device *plat_dev; plat_dev 54 drivers/net/fjes/fjes_debugfs.c const char *name = dev_name(&adapter->plat_dev->dev); plat_dev 150 drivers/net/fjes/fjes_ethtool.c struct platform_device *plat_dev; plat_dev 152 drivers/net/fjes/fjes_ethtool.c plat_dev = adapter->plat_dev; plat_dev 160 drivers/net/fjes/fjes_ethtool.c "platform:%s", plat_dev->name); plat_dev 152 drivers/net/fjes/fjes_main.c struct platform_device *plat_dev; plat_dev 167 drivers/net/fjes/fjes_main.c plat_dev = platform_device_register_simple(DRV_NAME, 0, fjes_resource, plat_dev 169 drivers/net/fjes/fjes_main.c if (IS_ERR(plat_dev)) plat_dev 170 drivers/net/fjes/fjes_main.c return PTR_ERR(plat_dev); plat_dev 172 drivers/net/fjes/fjes_main.c device->driver_data = plat_dev; plat_dev 179 drivers/net/fjes/fjes_main.c struct platform_device *plat_dev; plat_dev 181 drivers/net/fjes/fjes_main.c plat_dev = (struct platform_device *)acpi_driver_data(device); plat_dev 182 drivers/net/fjes/fjes_main.c platform_device_unregister(plat_dev); plat_dev 1208 drivers/net/fjes/fjes_main.c static int fjes_probe(struct platform_device *plat_dev) plat_dev 1224 drivers/net/fjes/fjes_main.c SET_NETDEV_DEV(netdev, &plat_dev->dev); plat_dev 1226 drivers/net/fjes/fjes_main.c dev_set_drvdata(&plat_dev->dev, netdev); plat_dev 1229 drivers/net/fjes/fjes_main.c adapter->plat_dev = plat_dev; plat_dev 1264 drivers/net/fjes/fjes_main.c res = platform_get_resource(plat_dev, IORESOURCE_MEM, 0); plat_dev 1267 drivers/net/fjes/fjes_main.c hw->hw_res.irq = platform_get_irq(plat_dev, 0); plat_dev 1303 drivers/net/fjes/fjes_main.c static int fjes_remove(struct platform_device *plat_dev) plat_dev 1305 drivers/net/fjes/fjes_main.c struct net_device *netdev = dev_get_drvdata(&plat_dev->dev); plat_dev 116 drivers/rtc/rtc-test.c static int test_probe(struct platform_device *plat_dev) plat_dev 120 drivers/rtc/rtc-test.c rtd = devm_kzalloc(&plat_dev->dev, sizeof(*rtd), GFP_KERNEL); plat_dev 124 drivers/rtc/rtc-test.c platform_set_drvdata(plat_dev, rtd); plat_dev 126 drivers/rtc/rtc-test.c rtd->rtc = devm_rtc_allocate_device(&plat_dev->dev); plat_dev 130 drivers/rtc/rtc-test.c switch (plat_dev->id) { plat_dev 136 drivers/rtc/rtc-test.c device_init_wakeup(&plat_dev->dev, 1); plat_dev 178 drivers/spi/spi-topcliff-pch.c struct platform_device *plat_dev; plat_dev 1317 drivers/spi/spi-topcliff-pch.c static int pch_spi_pd_probe(struct platform_device *plat_dev) plat_dev 1321 drivers/spi/spi-topcliff-pch.c struct pch_spi_board_data *board_dat = dev_get_platdata(&plat_dev->dev); plat_dev 1324 drivers/spi/spi-topcliff-pch.c dev_dbg(&plat_dev->dev, "%s:debug\n", __func__); plat_dev 1329 drivers/spi/spi-topcliff-pch.c dev_err(&plat_dev->dev, "spi_alloc_master[%d] failed.\n", plat_dev 1330 drivers/spi/spi-topcliff-pch.c plat_dev->id); plat_dev 1337 drivers/spi/spi-topcliff-pch.c platform_set_drvdata(plat_dev, data); plat_dev 1341 drivers/spi/spi-topcliff-pch.c PCH_ADDRESS_SIZE * plat_dev->id; plat_dev 1344 drivers/spi/spi-topcliff-pch.c dev_err(&plat_dev->dev, "%s pci_iomap failed\n", __func__); plat_dev 1348 drivers/spi/spi-topcliff-pch.c data->io_remap_addr += PCH_ADDRESS_SIZE * plat_dev->id; plat_dev 1350 drivers/spi/spi-topcliff-pch.c dev_dbg(&plat_dev->dev, "[ch%d] remap_addr=%p\n", plat_dev 1351 drivers/spi/spi-topcliff-pch.c plat_dev->id, data->io_remap_addr); plat_dev 1361 drivers/spi/spi-topcliff-pch.c data->plat_dev = plat_dev; plat_dev 1364 drivers/spi/spi-topcliff-pch.c data->ch = plat_dev->id; plat_dev 1374 drivers/spi/spi-topcliff-pch.c dev_err(&plat_dev->dev, "%s fail(retval=%d)\n", __func__, ret); plat_dev 1381 drivers/spi/spi-topcliff-pch.c dev_err(&plat_dev->dev, plat_dev 1390 drivers/spi/spi-topcliff-pch.c dev_info(&plat_dev->dev, "Use DMA for data transfers\n"); plat_dev 1398 drivers/spi/spi-topcliff-pch.c dev_err(&plat_dev->dev, plat_dev 1418 drivers/spi/spi-topcliff-pch.c static int pch_spi_pd_remove(struct platform_device *plat_dev) plat_dev 1420 drivers/spi/spi-topcliff-pch.c struct pch_spi_board_data *board_dat = dev_get_platdata(&plat_dev->dev); plat_dev 1421 drivers/spi/spi-topcliff-pch.c struct pch_spi_data *data = platform_get_drvdata(plat_dev); plat_dev 1425 drivers/spi/spi-topcliff-pch.c dev_dbg(&plat_dev->dev, "%s:[ch%d] irq=%d\n", plat_dev 1426 drivers/spi/spi-topcliff-pch.c __func__, plat_dev->id, board_dat->pdev->irq); plat_dev 118 drivers/staging/media/allegro-dvt/allegro-core.c struct platform_device *plat_dev; plat_dev 731 drivers/staging/media/allegro-dvt/allegro-core.c buffer->vaddr = dma_alloc_coherent(&dev->plat_dev->dev, size, plat_dev 744 drivers/staging/media/allegro-dvt/allegro-core.c dma_free_coherent(&dev->plat_dev->dev, buffer->size, plat_dev 1390 drivers/staging/media/allegro-dvt/allegro-core.c size = nal_h264_write_sps(&dev->plat_dev->dev, dest, n, sps); plat_dev 1427 drivers/staging/media/allegro-dvt/allegro-core.c size = nal_h264_write_pps(&dev->plat_dev->dev, dest, n, pps); plat_dev 1568 drivers/staging/media/allegro-dvt/allegro-core.c len = nal_h264_write_filler(&dev->plat_dev->dev, curr, free); plat_dev 2202 drivers/staging/media/allegro-dvt/allegro-core.c src_vq->dev = &channel->dev->plat_dev->dev; plat_dev 2215 drivers/staging/media/allegro-dvt/allegro-core.c dst_vq->dev = &channel->dev->plat_dev->dev; plat_dev 2377 drivers/staging/media/allegro-dvt/allegro-core.c dev_name(&dev->plat_dev->dev)); plat_dev 2823 drivers/staging/media/allegro-dvt/allegro-core.c err = request_firmware(&fw_codec, fw_codec_name, &dev->plat_dev->dev); plat_dev 2893 drivers/staging/media/allegro-dvt/allegro-core.c &dev->plat_dev->dev, GFP_KERNEL, dev, plat_dev 2908 drivers/staging/media/allegro-dvt/allegro-core.c dev->plat_dev = pdev; plat_dev 18 drivers/usb/cdns3/cdns3-pci-wrap.c struct platform_device *plat_dev; plat_dev 159 drivers/usb/cdns3/cdns3-pci-wrap.c wrap->plat_dev = platform_device_register_full(&plat_info); plat_dev 160 drivers/usb/cdns3/cdns3-pci-wrap.c if (IS_ERR(wrap->plat_dev)) { plat_dev 162 drivers/usb/cdns3/cdns3-pci-wrap.c err = PTR_ERR(wrap->plat_dev); plat_dev 181 drivers/usb/cdns3/cdns3-pci-wrap.c platform_device_unregister(wrap->plat_dev); plat_dev 243 sound/soc/intel/atom/sst/sst_acpi.c struct platform_device *plat_dev; plat_dev 286 sound/soc/intel/atom/sst/sst_acpi.c plat_dev = platform_device_register_data(dev, pdata->platform, -1, plat_dev 288 sound/soc/intel/atom/sst/sst_acpi.c if (IS_ERR(plat_dev)) { plat_dev 291 sound/soc/intel/atom/sst/sst_acpi.c return PTR_ERR(plat_dev);