/arch/arm/include/asm/ |
H A D | fiq_debugger.h | 44 int (*uart_init)(struct platform_device *pdev); 45 void (*uart_free)(struct platform_device *pdev); 46 int (*uart_resume)(struct platform_device *pdev); 47 int (*uart_getc)(struct platform_device *pdev); 48 void (*uart_putc)(struct platform_device *pdev, unsigned int c); 49 void (*uart_flush)(struct platform_device *pdev); 50 void (*uart_enable)(struct platform_device *pdev); 51 void (*uart_disable)(struct platform_device *pdev); 53 int (*uart_dev_suspend)(struct platform_device *pdev); 54 int (*uart_dev_resume)(struct platform_device *pdev); [all...] |
/arch/mips/pci/ |
H A D | fixup-fuloong2e.c | 51 static void __init loongson2e_nec_fixup(struct pci_dev *pdev) argument 56 pci_read_config_dword(pdev, 0xe0, &val); 57 pci_write_config_dword(pdev, 0xe0, (val & ~7) | 0x4); 60 pci_write_config_dword(pdev, 0xe4, 1 << 5); 63 static void __init loongson2e_686b_func0_fixup(struct pci_dev *pdev) argument 67 sb_slot = PCI_SLOT(pdev->devfn); 72 pci_write_config_byte(pdev, 0x40, 0x08); 75 pci_write_config_byte(pdev, 0x41, 0x01); 78 pci_write_config_byte(pdev, 0x45, 0x00); 81 pci_write_config_byte(pdev, 138 loongson2e_686b_func1_fixup(struct pci_dev *pdev) argument 171 loongson2e_686b_func2_fixup(struct pci_dev *pdev) argument 177 loongson2e_686b_func3_fixup(struct pci_dev *pdev) argument 183 loongson2e_686b_func5_fixup(struct pci_dev *pdev) argument [all...] |
H A D | fixup-malta.c | 52 static void __init malta_piix_func0_fixup(struct pci_dev *pdev) argument 65 pci_read_config_byte(pdev, 0x60+i, ®_val); 73 if (PCI_SLOT(pdev->devfn) == 10) { 78 pci_read_config_byte(pdev, 0x69, ®_val); 79 pci_write_config_byte(pdev, 0x69, reg_val | 0xf0); 86 static void __init malta_piix_func1_fixup(struct pci_dev *pdev) argument 91 if (PCI_SLOT(pdev->devfn) == 10) { 95 pci_read_config_byte(pdev, 0x41, ®_val); 96 pci_write_config_byte(pdev, 0x41, reg_val|0x80); 97 pci_read_config_byte(pdev, [all...] |
/arch/arm/mach-exynos/include/mach/ |
H A D | ohci.h | 15 int (*phy_init)(struct platform_device *pdev, int type); 16 int (*phy_exit)(struct platform_device *pdev, int type);
|
/arch/arm/plat-samsung/include/plat/ |
H A D | usb-phy.h | 19 extern int s5p_usb_phy_init(struct platform_device *pdev, int type); 20 extern int s5p_usb_phy_exit(struct platform_device *pdev, int type);
|
H A D | ehci.h | 15 int (*phy_init)(struct platform_device *pdev, int type); 16 int (*phy_exit)(struct platform_device *pdev, int type);
|
H A D | udc-hs.h | 30 int (*phy_init)(struct platform_device *pdev, int type); 31 int (*phy_exit)(struct platform_device *pdev, int type);
|
/arch/x86/include/asm/ |
H A D | probe_roms.h | 5 extern void __iomem *pci_map_biosrom(struct pci_dev *pdev); 7 extern size_t pci_biosrom_size(struct pci_dev *pdev);
|
/arch/powerpc/platforms/pseries/ |
H A D | eeh_sysfs.c | 43 struct pci_dev *pdev = to_pci_dev(dev); \ 44 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); \ 60 void eeh_sysfs_add_device(struct pci_dev *pdev) argument 64 rc += device_create_file(&pdev->dev, &dev_attr_eeh_mode); 65 rc += device_create_file(&pdev->dev, &dev_attr_eeh_config_addr); 66 rc += device_create_file(&pdev->dev, &dev_attr_eeh_pe_config_addr); 67 rc += device_create_file(&pdev->dev, &dev_attr_eeh_check_count); 68 rc += device_create_file(&pdev->dev, &dev_attr_eeh_false_positives); 69 rc += device_create_file(&pdev->dev, &dev_attr_eeh_freeze_count); 75 void eeh_sysfs_remove_device(struct pci_dev *pdev) argument [all...] |
/arch/mips/cobalt/ |
H A D | led.c | 35 struct platform_device *pdev; local 40 pdev = platform_device_alloc("cobalt-qube-leds", -1); 42 pdev = platform_device_alloc("cobalt-raq-leds", -1); 44 if (!pdev) 47 retval = platform_device_add_resources(pdev, &cobalt_led_resource, 1); 51 retval = platform_device_add(pdev); 58 platform_device_put(pdev);
|
H A D | lcd.c | 33 struct platform_device *pdev; local 36 pdev = platform_device_alloc("cobalt-lcd", -1); 37 if (!pdev) 40 retval = platform_device_add_resources(pdev, &cobalt_lcd_resource, 1); 44 retval = platform_device_add(pdev); 51 platform_device_put(pdev);
|
H A D | rtc.c | 41 struct platform_device *pdev; local 44 pdev = platform_device_alloc("rtc_cmos", -1); 45 if (!pdev) 48 retval = platform_device_add_resources(pdev, cobalt_rtc_resource, 53 retval = platform_device_add(pdev); 60 platform_device_put(pdev);
|
/arch/arm/plat-mxc/include/mach/ |
H A D | imx-uart.h | 26 int (*init)(struct platform_device *pdev); 27 void (*exit)(struct platform_device *pdev);
|
/arch/mips/wrppmc/ |
H A D | serial.c | 54 struct platform_device *pdev; local 57 pdev = platform_device_alloc("serial8250", -1); 58 if (!pdev) 61 pdev->id = PLAT8250_DEV_PLATFORM; 62 pdev->dev.platform_data = wrppmc_serial8250_port; 64 retval = platform_device_add_resources(pdev, wrppmc_uart_resource, 69 retval = platform_device_add(pdev); 76 platform_device_put(pdev);
|
/arch/sh/drivers/ |
H A D | push-switch.c | 39 struct platform_device *pdev = psw->pdev; local 43 kobject_uevent(&pdev->dev.kobj, KOBJ_CHANGE); 46 static int switch_drv_probe(struct platform_device *pdev) argument 56 irq = platform_get_irq(pdev, 0); 62 psw_info = pdev->dev.platform_data; 67 psw_info->name ? psw_info->name : DRV_NAME, pdev); 72 ret = device_create_file(&pdev->dev, &dev_attr_switch); 74 dev_err(&pdev->dev, "Failed creating device attrs\n"); 87 psw->pdev 100 switch_drv_remove(struct platform_device *pdev) argument [all...] |
/arch/arm/mach-mxs/ |
H A D | devices.c | 31 struct platform_device *pdev; local 33 pdev = platform_device_alloc(name, id); 34 if (!pdev) 44 pdev->dev.dma_mask = 45 kmalloc(sizeof(*pdev->dev.dma_mask), GFP_KERNEL); 46 if (!pdev->dev.dma_mask) 50 *pdev->dev.dma_mask = dmamask; 51 pdev->dev.coherent_dma_mask = dmamask; 55 ret = platform_device_add_resources(pdev, res, num_resources); 61 ret = platform_device_add_data(pdev, dat [all...] |
/arch/arm/plat-omap/include/plat/ |
H A D | omap_device.h | 53 * @pdev: platform_device 71 struct platform_device *pdev; member in struct:omap_device 85 int omap_device_enable(struct platform_device *pdev); 86 int omap_device_idle(struct platform_device *pdev); 87 int omap_device_shutdown(struct platform_device *pdev); 103 struct omap_device *omap_device_alloc(struct platform_device *pdev, 108 int omap_device_register(struct platform_device *pdev); 114 int omap_device_align_pm_lat(struct platform_device *pdev, 117 int omap_device_get_context_loss_count(struct platform_device *pdev); 157 static inline struct omap_device *to_omap_device(struct platform_device *pdev) argument 163 omap_device_disable_idle_on_suspend(struct platform_device *pdev) argument [all...] |
H A D | flash.h | 15 extern void omap1_set_vpp(struct platform_device *pdev, int enable);
|
/arch/avr32/mach-at32ap/ |
H A D | pdc.c | 14 static int __init pdc_probe(struct platform_device *pdev) argument 18 pclk = clk_get(&pdev->dev, "pclk"); 20 dev_err(&pdev->dev, "no pclk defined\n"); 23 hclk = clk_get(&pdev->dev, "hclk"); 25 dev_err(&pdev->dev, "no hclk defined\n"); 33 dev_info(&pdev->dev, "Atmel Peripheral DMA Controller enabled\n");
|
/arch/ia64/pci/ |
H A D | fixup.c | 27 static void __devinit pci_fixup_video(struct pci_dev *pdev) argument 38 if ((pdev->class >> 8) != PCI_CLASS_DISPLAY_VGA) 42 bus = pdev->bus; 63 pci_read_config_word(pdev, PCI_COMMAND, &config); 65 pdev->resource[PCI_ROM_RESOURCE].flags |= IORESOURCE_ROM_SHADOW; 66 dev_printk(KERN_DEBUG, &pdev->dev, "Boot video device\n");
|
/arch/mips/ath79/ |
H A D | dev-gpio-buttons.c | 23 struct platform_device *pdev; local 34 pdev = platform_device_alloc("gpio-keys-polled", id); 35 if (!pdev) 43 err = platform_device_add_data(pdev, &pdata, sizeof(pdata)); 47 err = platform_device_add(pdev); 54 platform_device_put(pdev);
|
H A D | dev-leds-gpio.c | 22 struct platform_device *pdev; local 33 pdev = platform_device_alloc("leds-gpio", id); 34 if (!pdev) 41 err = platform_device_add_data(pdev, &pdata, sizeof(pdata)); 45 err = platform_device_add(pdev); 52 platform_device_put(pdev);
|
/arch/arm/mach-omap2/ |
H A D | hwspinlock.c | 35 struct platform_device *pdev; local 48 pdev = omap_device_build(dev_name, 0, oh, &omap_hwspinlock_pdata, 51 if (IS_ERR(pdev)) { 54 retval = PTR_ERR(pdev);
|
/arch/powerpc/include/asm/ |
H A D | ppc-pci.h | 64 void eeh_sysfs_add_device(struct pci_dev *pdev); 65 void eeh_sysfs_remove_device(struct pci_dev *pdev); 67 static inline const char *eeh_pci_name(struct pci_dev *pdev) argument 69 return pdev ? pci_name(pdev) : "<null>"; 72 static inline const char *eeh_driver_name(struct pci_dev *pdev) argument 74 return (pdev && pdev->driver) ? pdev->driver->name : "<null>";
|
/arch/sh/include/asm/ |
H A D | device.h | 13 int platform_resource_setup_memory(struct platform_device *pdev,
|