Searched refs:pdev (Results 1 - 25 of 7443) sorted by path

1234567891011>>

/linux-master/arch/arm/mach-omap1/
H A Dflash.h12 extern void omap1_set_vpp(struct platform_device *pdev, int enable);
/linux-master/arch/arm/mach-omap2/
H A Dfb.c57 struct platform_device *pdev; local
71 pdev = platform_device_register_resndata(NULL, "omapvrfb", -1,
74 return PTR_ERR_OR_ZERO(pdev);
/linux-master/arch/m68k/amiga/
H A Dplatform.c51 struct platform_device *pdev; local
58 pdev = platform_device_register_simple("amiga-zorro", -1,
60 return PTR_ERR_OR_ZERO(pdev);
136 struct platform_device *pdev; local
144 pdev = platform_device_register_simple("amiga-video", -1, NULL,
146 if (IS_ERR(pdev))
147 return PTR_ERR(pdev);
153 pdev = platform_device_register_simple("amiga-audio", -1, NULL,
155 if (IS_ERR(pdev))
156 return PTR_ERR(pdev);
[all...]
/linux-master/arch/mips/bcm63xx/
H A Ddev-enet.c213 struct platform_device *pdev; local
234 pdev = &bcm63xx_enet0_device;
242 pdev = &bcm63xx_enet1_device;
246 dpd = pdev->dev.platform_data;
284 ret = platform_device_register(pdev);
/linux-master/arch/mips/cobalt/
H A Dlcd.c20 struct platform_device *pdev; local
23 pdev = platform_device_alloc("cobalt-lcd", -1);
24 if (!pdev)
27 retval = platform_device_add_resources(pdev, &cobalt_lcd_resource, 1);
31 retval = platform_device_add(pdev);
38 platform_device_put(pdev);
H A Dled.c22 struct platform_device *pdev; local
27 pdev = platform_device_alloc("cobalt-qube-leds", -1);
29 pdev = platform_device_alloc("cobalt-raq-leds", -1);
31 if (!pdev)
34 retval = platform_device_add_resources(pdev, &cobalt_led_resource, 1);
38 retval = platform_device_add(pdev);
45 platform_device_put(pdev);
H A Drtc.c28 struct platform_device *pdev; local
31 pdev = platform_device_alloc("rtc_cmos", -1);
32 if (!pdev)
35 retval = platform_device_add_resources(pdev, cobalt_rtc_resource,
40 retval = platform_device_add(pdev);
47 platform_device_put(pdev);
H A Dserial.c42 struct platform_device *pdev; local
51 pdev = platform_device_alloc("serial8250", -1);
52 if (!pdev)
55 pdev->id = PLAT8250_DEV_PLATFORM;
56 pdev->dev.platform_data = cobalt_serial8250_port;
58 retval = platform_device_add_resources(pdev, cobalt_uart_resource, ARRAY_SIZE(cobalt_uart_resource));
62 retval = platform_device_add(pdev);
69 platform_device_put(pdev);
/linux-master/arch/mips/pci/
H A Dfixup-fuloong2e.c47 static void loongson2e_nec_fixup(struct pci_dev *pdev) argument
52 pci_read_config_dword(pdev, 0xe0, &val);
53 pci_write_config_dword(pdev, 0xe0, (val & ~7) | 0x4);
56 pci_write_config_dword(pdev, 0xe4, 1 << 5);
59 static void loongson2e_686b_func0_fixup(struct pci_dev *pdev) argument
63 sb_slot = PCI_SLOT(pdev->devfn);
68 pci_write_config_byte(pdev, 0x40, 0x08);
71 pci_write_config_byte(pdev, 0x41, 0x01);
74 pci_write_config_byte(pdev, 0x45, 0x00);
77 pci_write_config_byte(pdev,
134 loongson2e_686b_func1_fixup(struct pci_dev *pdev) argument
167 loongson2e_686b_func2_fixup(struct pci_dev *pdev) argument
173 loongson2e_686b_func3_fixup(struct pci_dev *pdev) argument
179 loongson2e_686b_func5_fixup(struct pci_dev *pdev) argument
[all...]
H A Dfixup-malta.c68 static void malta_piix_func0_fixup(struct pci_dev *pdev) argument
84 pci_read_config_byte(pdev, PIIX4_FUNC0_PIRQRC+i, &reg_val);
93 if (PCI_SLOT(pdev->devfn) == 10) {
98 pci_read_config_byte(pdev, PIIX4_FUNC0_TOM, &reg_val);
99 pci_write_config_byte(pdev, PIIX4_FUNC0_TOM, reg_val |
104 pci_read_config_dword(pdev, PIIX4_FUNC0_GENCFG, &reg_val32);
105 pci_write_config_dword(pdev, PIIX4_FUNC0_GENCFG,
109 pci_read_config_byte(pdev, PIIX4_FUNC0_SERIRQC, &reg_val);
111 pci_write_config_byte(pdev, PIIX4_FUNC0_SERIRQC, reg_val);
114 pci_read_config_word(pdev, PCI_COMMAN
122 malta_piix_func1_fixup(struct pci_dev *pdev) argument
[all...]
/linux-master/arch/mips/txx9/rbtx4927/
H A Dsetup.c330 struct platform_device *pdev = platform_device_alloc("leds-gpio", 0); local
332 if (!pdev)
334 pdev->dev.platform_data = &pdata;
335 if (platform_device_add(pdev))
336 platform_device_put(pdev);
/linux-master/arch/powerpc/platforms/ps3/
H A Dtime.c50 struct platform_device *pdev; local
55 pdev = platform_device_register_simple("rtc-ps3", -1, NULL, 0);
57 return PTR_ERR_OR_ZERO(pdev);
/linux-master/arch/sh/boards/mach-dreamcast/
H A Drtc.c88 struct platform_device *pdev; local
90 pdev = platform_device_register_data(NULL, "rtc-generic", -1,
94 return PTR_ERR_OR_ZERO(pdev);
/linux-master/arch/sh/boards/mach-highlander/
H A Dpsw.c18 struct platform_device *pdev = arg; local
19 struct push_switch *psw = platform_get_drvdata(pdev);
20 struct push_switch_platform_info *psw_info = pdev->dev.platform_data;
/linux-master/arch/sh/boards/mach-landisk/
H A Dpsw.c19 struct platform_device *pdev = arg; local
20 struct push_switch *psw = platform_get_drvdata(pdev);
21 struct push_switch_platform_info *psw_info = pdev->dev.platform_data;
/linux-master/arch/sh/drivers/pci/
H A Dfixups-landisk.c21 int pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin) argument
H A Dfixups-r7780rp.c15 int pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin) argument
H A Dfixups-rts7751r2d.c31 int pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin) argument
H A Dfixups-sdk7780.c37 int pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin) argument
H A Dfixups-snapgear.c20 int pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin) argument
H A Dfixups-titan.c28 int pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin) argument
/linux-master/arch/sh/include/asm/
H A Ddevice.h12 int platform_resource_setup_memory(struct platform_device *pdev,
H A Dpush-switch.h18 struct platform_device *pdev; member in struct:push_switch
/linux-master/arch/sparc/kernel/
H A Dtime_64.c529 struct platform_device *pdev = to_platform_device(dev); local
530 void __iomem *regs = (void __iomem *) pdev->resource[0].start;
537 struct platform_device *pdev = to_platform_device(dev); local
538 void __iomem *regs = (void __iomem *) pdev->resource[0].start;
/linux-master/arch/x86/include/asm/
H A Dprobe_roms.h6 extern void __iomem *pci_map_biosrom(struct pci_dev *pdev);
8 extern size_t pci_biosrom_size(struct pci_dev *pdev);

Completed in 352 milliseconds

1234567891011>>