/external/ltp/testcases/kernel/device-drivers/usb/tusb/ |
D | tusb.c | 349 struct pci_dev *pdev = in test_find_hcd() local 352 ltp_usb.pdev = pdev; in test_find_hcd() 356 pdev = pci_find_class(PCI_CLASS_SERIAL_USB << 8, NULL); in test_find_hcd() 357 if (pdev) { in test_find_hcd() 359 printk("tusb: Slot number: %d\n", pdev->devfn); in test_find_hcd() 361 memcpy(ltp_usb.pdev, pdev, sizeof(struct pci_dev)); in test_find_hcd() 363 if (pdev->driver->id_table) in test_find_hcd() 388 struct pci_dev *pdev = ltp_usb.pdev; in test_hcd_probe() local 391 if (!pdev) { in test_hcd_probe() 396 id = (struct pci_device_id *)pdev->driver->id_table; in test_hcd_probe() [all …]
|
D | st_tusb.h | 60 struct pci_dev *pdev; /* pci is typical */ member 102 struct pci_dev *pdev; member
|
/external/u-boot/drivers/usb/musb-new/ |
D | musb_dsps.c | 152 struct platform_device *pdev = to_platform_device(dev->parent); in dsps_musb_enable() local 153 struct dsps_glue *glue = platform_get_drvdata(pdev); in dsps_musb_enable() 185 struct platform_device *pdev = to_platform_device(dev->parent); in dsps_musb_disable() local 186 struct dsps_glue *glue = platform_get_drvdata(pdev); in dsps_musb_disable() 204 struct platform_device *pdev = to_platform_device(dev->parent); in otg_timer() local 205 struct dsps_glue *glue = platform_get_drvdata(pdev); in otg_timer() 258 struct platform_device *pdev = to_platform_device(dev->parent); in dsps_musb_try_idle() local 259 struct dsps_glue *glue = platform_get_drvdata(pdev); in dsps_musb_try_idle() 298 struct platform_device *pdev = to_platform_device(dev->parent); in dsps_interrupt() local 299 struct dsps_glue *glue = platform_get_drvdata(pdev); in dsps_interrupt() [all …]
|
D | am35x.c | 503 static int __devinit am35x_probe(struct platform_device *pdev) in am35x_probe() argument 505 struct musb_hdrc_platform_data *pdata = pdev->dev.platform_data; in am35x_probe() 516 dev_err(&pdev->dev, "failed to allocate glue context\n"); in am35x_probe() 522 dev_err(&pdev->dev, "failed to allocate musb device\n"); in am35x_probe() 526 phy_clk = clk_get(&pdev->dev, "fck"); in am35x_probe() 528 dev_err(&pdev->dev, "failed to get PHY clock\n"); in am35x_probe() 533 clk = clk_get(&pdev->dev, "ick"); in am35x_probe() 535 dev_err(&pdev->dev, "failed to get clock\n"); in am35x_probe() 542 dev_err(&pdev->dev, "failed to enable PHY clock\n"); in am35x_probe() 548 dev_err(&pdev->dev, "failed to enable clock\n"); in am35x_probe() [all …]
|
/external/u-boot/drivers/usb/host/ |
D | ehci-pci.c | 68 static void ehci_pci_legacy_init(pci_dev_t pdev, struct ehci_hccr **ret_hccr, in ehci_pci_legacy_init() argument 75 hccr = (struct ehci_hccr *)pci_map_bar(pdev, in ehci_pci_legacy_init() 88 pci_read_config_dword(pdev, PCI_COMMAND, &cmd); in ehci_pci_legacy_init() 90 pci_write_config_dword(pdev, PCI_COMMAND, cmd); in ehci_pci_legacy_init() 100 pci_dev_t pdev; in ehci_hcd_init() local 103 pdev = pci_find_devices(ehci_pci_ids, CONFIG_PCI_EHCI_DEVICE); in ehci_hcd_init() 105 pdev = pci_find_class(PCI_CLASS_SERIAL_USB_EHCI, index); in ehci_hcd_init() 107 if (pdev < 0) { in ehci_hcd_init() 111 ehci_pci_legacy_init(pdev, ret_hccr, ret_hcor); in ehci_hcd_init()
|
/external/mesa3d/src/freedreno/vulkan/ |
D | tu_legacy.c | 17 tu_GetPhysicalDeviceFeatures(VkPhysicalDevice pdev, VkPhysicalDeviceFeatures *features) in tu_GetPhysicalDeviceFeatures() argument 22 tu_GetPhysicalDeviceFeatures2(pdev, &features2); in tu_GetPhysicalDeviceFeatures() 27 tu_GetPhysicalDeviceProperties(VkPhysicalDevice pdev, VkPhysicalDeviceProperties *props) in tu_GetPhysicalDeviceProperties() argument 32 tu_GetPhysicalDeviceProperties2(pdev, &props2); in tu_GetPhysicalDeviceProperties() 37 tu_GetPhysicalDeviceQueueFamilyProperties(VkPhysicalDevice pdev, in tu_GetPhysicalDeviceQueueFamilyProperties() argument 42 return tu_GetPhysicalDeviceQueueFamilyProperties2(pdev, count, NULL); in tu_GetPhysicalDeviceQueueFamilyProperties() 49 tu_GetPhysicalDeviceQueueFamilyProperties2(pdev, count, props2); in tu_GetPhysicalDeviceQueueFamilyProperties() 55 tu_GetPhysicalDeviceMemoryProperties(VkPhysicalDevice pdev, VkPhysicalDeviceMemoryProperties *props) in tu_GetPhysicalDeviceMemoryProperties() argument 60 tu_GetPhysicalDeviceMemoryProperties2(pdev, &props2); in tu_GetPhysicalDeviceMemoryProperties() 65 tu_GetPhysicalDeviceFormatProperties(VkPhysicalDevice pdev, VkFormat format, VkFormatProperties *pr… in tu_GetPhysicalDeviceFormatProperties() argument [all …]
|
/external/ltp/testcases/kernel/device-drivers/agp/kernel_space/ |
D | tagp.c | 579 struct pci_dev *pdev; // = (struct pci_dev *)kmalloc(sizeof(struct pci_dev), GFP_KERNEL); in test_pci_find_device() local 582 pdev = pci_find_device(PCI_VENDOR_ID_ATI, PCI_ANY_ID, NULL); in test_pci_find_device() 584 if (pdev) { in test_pci_find_device() 589 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); in test_pci_find_device() 603 bridge->dev = pdev; in test_pci_find_device() 607 pci_read_config_dword(pdev, in test_pci_find_device() 611 pci_set_drvdata(pdev, bridge); in test_pci_find_device() 619 static int __init agp_test_probe(struct pci_dev *pdev, in agp_test_probe() argument 628 static void __devexit agp_test_remove(struct pci_dev *pdev) in agp_test_remove() argument 631 struct agp_bridge_data *bridge = pci_get_drvdata(pdev); in agp_test_remove()
|
/external/u-boot/drivers/video/ |
D | ati_radeon_fb.c | 146 switch (rinfo->pdev.device) { in radeon_identify_vram() 230 if(rinfo->pdev.device == PCI_CHIP_RV370_5B60) return; in radeon_write_pll_regs() 551 pci_dev_t pdev; in radeon_probe() local 554 pdev = pci_find_devices(ati_radeon_pci_ids, 0); in radeon_probe() 556 if (pdev != -1) { in radeon_probe() 557 pci_read_config_word(pdev, PCI_DEVICE_ID, &did); in radeon_probe() 559 PCI_VENDOR_ID_ATI, did, (pdev >> 16) & 0xff, in radeon_probe() 560 (pdev >> 11) & 0x1f, (pdev >> 8) & 0x7); in radeon_probe() 563 rinfo->pdev.vendor = PCI_VENDOR_ID_ATI; in radeon_probe() 564 rinfo->pdev.device = did; in radeon_probe() [all …]
|
/external/u-boot/drivers/ata/ |
D | dwc_ahsata.c | 513 static void dwc_ahsata_print_info(struct blk_desc *pdev) in dwc_ahsata_print_info() argument 518 pdev->product, pdev->vendor, pdev->revision, pdev->lba); in dwc_ahsata_print_info() 748 struct blk_desc *pdev) in dwc_ahsata_scan_common() argument 761 memcpy(pdev->product, serial, sizeof(serial)); in dwc_ahsata_scan_common() 765 memcpy(pdev->revision, firmware, sizeof(firmware)); in dwc_ahsata_scan_common() 769 memcpy(pdev->vendor, product, sizeof(product)); in dwc_ahsata_scan_common() 772 pdev->lba = ata_id_n_sectors(id); in dwc_ahsata_scan_common() 774 pdev->type = DEV_TYPE_HARDDISK; in dwc_ahsata_scan_common() 775 pdev->blksz = ATA_SECT_SIZE; in dwc_ahsata_scan_common() 776 pdev->lun = 0; in dwc_ahsata_scan_common() [all …]
|
/external/u-boot/drivers/pci/ |
D | pci_sandbox.c | 83 u8 pdev, pfn, devfn; in sandbox_pci_probe() local 99 pdev = fdt32_to_cpu(cell[0]); in sandbox_pci_probe() 101 if (pdev > 31 || pfn > 7) in sandbox_pci_probe() 103 devfn = SANDBOX_PCI_DEVFN(pdev, pfn); in sandbox_pci_probe()
|
D | pci_common.c | 104 void *pci_map_bar(pci_dev_t pdev, int bar, int flags) in pci_map_bar() argument 110 pci_read_config_dword(pdev, bar, &bar_response); in pci_map_bar() 119 return pci_bus_to_virt(pdev, pci_bus_addr, flags, 0, MAP_NOCACHE); in pci_map_bar()
|
/external/u-boot/drivers/mtd/nand/raw/brcmnand/ |
D | brcmnand.c | 181 struct platform_device *pdev; member 183 struct udevice *pdev; member 906 layout = devm_kzalloc(&host->pdev->dev, sizeof(*layout), GFP_KERNEL); in brcmnand_create_layout() 908 layout = devm_kzalloc(host->pdev, sizeof(*layout), GFP_KERNEL); in brcmnand_create_layout() 954 dev_err(&host->pdev->dev, in brcmnand_create_layout() 1010 dev_err(&host->pdev->dev, in brcmstb_choose_ecc_layout() 1056 dev_err_ratelimited(&host->pdev->dev, in brcmnand_wp() 1061 dev_err(&host->pdev->dev, in brcmnand_wp() 2240 struct platform_device *pdev = host->pdev; in brcmnand_init_cs() local 2242 struct udevice *pdev = host->pdev; in brcmnand_init_cs() local [all …]
|
D | bcm6858_nand.c | 76 struct udevice *pdev = dev; in bcm6858_nand_probe() local 83 dev_read_resource_byname(pdev, "nand-int-base", &res); in bcm6858_nand_probe() 95 return brcmnand_probe(pdev, soc); in bcm6858_nand_probe()
|
D | bcm6838_nand.c | 74 struct udevice *pdev = dev; in bcm6838_nand_probe() local 81 dev_read_resource_byname(pdev, "nand-int-base", &res); in bcm6838_nand_probe() 94 return brcmnand_probe(pdev, soc); in bcm6838_nand_probe()
|
D | bcm63158_nand.c | 76 struct udevice *pdev = dev; in bcm63158_nand_probe() local 83 dev_read_resource_byname(pdev, "nand-int-base", &res); in bcm63158_nand_probe() 95 return brcmnand_probe(pdev, soc); in bcm63158_nand_probe()
|
/external/u-boot/drivers/reset/ |
D | reset-mediatek.c | 77 int mediatek_reset_bind(struct udevice *pdev, u32 regofs, u32 num_regs) in mediatek_reset_bind() argument 83 ret = device_bind_driver_to_node(pdev, "mediatek_reset", "reset", in mediatek_reset_bind() 84 dev_ofnode(pdev), &rst_dev); in mediatek_reset_bind()
|
D | reset-rockchip.c | 106 int rockchip_reset_bind(struct udevice *pdev, u32 reg_offset, u32 reg_number) in rockchip_reset_bind() argument 112 ret = device_bind_driver_to_node(pdev, "rockchip_reset", "reset", in rockchip_reset_bind() 113 dev_ofnode(pdev), &rst_dev); in rockchip_reset_bind()
|
/external/u-boot/arch/x86/cpu/ |
D | mp_init.c | 427 struct udevice *dev, *pdev; in qemu_cpu_fixup() local 432 for (device_find_first_child(dm_root(), &pdev); in qemu_cpu_fixup() 433 pdev; in qemu_cpu_fixup() 434 device_find_next_child(&pdev)) { in qemu_cpu_fixup() 435 if (!strcmp(pdev->name, "cpus")) in qemu_cpu_fixup() 438 if (!pdev) { in qemu_cpu_fixup() 472 ret = device_bind_driver(pdev, "cpu_qemu", cpu, &dev); in qemu_cpu_fixup()
|
/external/libdrm/nouveau/ |
D | nouveau.c | 357 nouveau_device_open_existing(struct nouveau_device **pdev, int close, int fd, in nouveau_device_open_existing() argument 365 void *data, uint32_t size, struct nouveau_device **pdev) in nouveau_device_new() argument 385 dev = *pdev = &nvdev->base; in nouveau_device_new() 453 nouveau_device_del(pdev); in nouveau_device_new() 458 nouveau_device_wrap(int fd, int close, struct nouveau_device **pdev) in nouveau_device_wrap() argument 472 }, sizeof(struct nv_device_v0), pdev); in nouveau_device_wrap() 478 nvdev = nouveau_device(*pdev); in nouveau_device_wrap() 486 nouveau_device_open(const char *busid, struct nouveau_device **pdev) in nouveau_device_open() argument 490 ret = nouveau_device_wrap(fd, 1, pdev); in nouveau_device_open() 498 nouveau_device_del(struct nouveau_device **pdev) in nouveau_device_del() argument [all …]
|
/external/u-boot/board/gateworks/gw_ventana/ |
D | gw_ventana.c | 550 struct pci_dev *pdev = &pci_devs[pci_devno++]; in board_pci_fixup_dev() local 556 pdev->devfn = dev; in board_pci_fixup_dev() 557 pdev->vendor = vendor; in board_pci_fixup_dev() 558 pdev->device = device; in board_pci_fixup_dev() 559 pdev->class = class; in board_pci_fixup_dev() 560 pdev->ppar = NULL; in board_pci_fixup_dev() 562 pdev->busno = ++pci_bridgeno; in board_pci_fixup_dev() 564 pdev->busno = 0; in board_pci_fixup_dev() 568 pdev->devfn = 0; in board_pci_fixup_dev() 572 if (pci_devs[i].busno == PCI_BUS(pdev->devfn)) { in board_pci_fixup_dev() [all …]
|
/external/mesa3d/src/gallium/drivers/zink/ |
D | zink_screen.c | 601 vkGetPhysicalDeviceFormatProperties(screen->pdev, vkformat, &props); in zink_is_format_supported() 779 VkPhysicalDevice *pdevs, pdev; in choose_pdev() local 787 pdev = pdevs[0]; in choose_pdev() 792 pdev = pdevs[i]; in choose_pdev() 797 return pdev; in choose_pdev() 804 vkGetPhysicalDeviceQueueFamilyProperties(screen->pdev, &num_queues, NULL); in update_queue_props() 808 vkGetPhysicalDeviceQueueFamilyProperties(screen->pdev, &num_queues, props); in update_queue_props() 940 screen->vk_GetPhysicalDeviceCalibrateableTimeDomainsEXT(screen->pdev, &num_domains, NULL); in load_device_extensions() 944 screen->vk_GetPhysicalDeviceCalibrateableTimeDomainsEXT(screen->pdev, &num_domains, domains); in load_device_extensions() 1093 screen->pdev = choose_pdev(screen->instance); in zink_internal_create_screen() [all …]
|
/external/u-boot/drivers/clk/altera/ |
D | clk-arria10.c | 305 struct udevice *pdev; in socfpga_a10_ofdata_to_platdata() local 316 pdev = dev_get_parent(dev); in socfpga_a10_ofdata_to_platdata() 317 if (!pdev) in socfpga_a10_ofdata_to_platdata() 320 pplat = dev_get_platdata(pdev); in socfpga_a10_ofdata_to_platdata()
|
/external/OpenCSD/decoder/tests/snapshot_parser_lib/source/ |
D | snapshot_reader.cpp | 121 Parser::Parsed pdev = Parser::ParseSingleDevice(in); in readSnapShot() local 122 m_parsed_device_list[pdev.deviceName] = pdev; // map devices by name in readSnapShot()
|
/external/u-boot/drivers/pinctrl/broadcom/ |
D | pinctrl-bcm283x.c | 110 struct udevice *pdev; in bcm283x_pinctl_probe() local 126 "gpio_bcm2835", NULL, dev_of_offset(dev), &pdev); in bcm283x_pinctl_probe()
|
/external/u-boot/drivers/mtd/nand/raw/ |
D | pxa3xx_nand.c | 509 dev_err(&info->pdev->dev, "Error: timings not found\n"); in pxa3xx_nand_init_timings() 600 dev_err(&info->pdev->dev, in drain_fifo() 653 dev_err(&info->pdev->dev, "%s: invalid state %d\n", __func__, in handle_data_pio() 1024 dev_err(&info->pdev->dev, "non-supported command %x\n", in prepare_set_command() 1084 dev_err(&info->pdev->dev, "Wait timeout!!!\n"); in nand_cmdfunc() 1177 dev_err(&info->pdev->dev, "Wait timeout!!!\n"); in nand_cmdfunc_extended() 1423 dev_err(&info->pdev->dev, "Ready timeout!!!\n"); in pxa3xx_nand_waitfunc() 1630 dev_err(&info->pdev->dev, in pxa_ecc_init() 1656 dev_info(&info->pdev->dev, in pxa3xx_nand_scan() 1673 dev_err(&info->pdev->dev, in pxa3xx_nand_scan() [all …]
|