Searched refs:pdev (Results 226 - 250 of 7443) sorted by relevance

1234567891011>>

/linux-master/drivers/misc/
H A Datmel-ssc.c33 if (ssc->pdev->dev.of_node) {
34 if (of_alias_get_id(ssc->pdev->dev.of_node, "ssc")
36 ssc->pdev->id = ssc_num;
40 } else if (ssc->pdev->id == ssc_num) {
54 dev_dbg(&ssc->pdev->dev, "module busy\n");
75 dev_dbg(&ssc->pdev->dev, "device already free\n");
133 atmel_ssc_get_driver_data(struct platform_device *pdev) argument
135 if (pdev->dev.of_node) {
137 match = of_match_node(atmel_ssc_dt_ids, pdev->dev.of_node);
144 platform_get_device_id(pdev)
190 ssc_probe(struct platform_device *pdev) argument
254 ssc_remove(struct platform_device *pdev) argument
[all...]
/linux-master/drivers/input/misc/
H A Drk805-pwrkey.c38 static int rk805_pwrkey_probe(struct platform_device *pdev) argument
44 pwr = devm_input_allocate_device(&pdev->dev);
46 dev_err(&pdev->dev, "Can't allocate power button\n");
55 fall_irq = platform_get_irq(pdev, 0);
59 rise_irq = platform_get_irq(pdev, 1);
68 dev_err(&pdev->dev, "Can't register fall irq: %d\n", err);
77 dev_err(&pdev->dev, "Can't register rise irq: %d\n", err);
83 dev_err(&pdev->dev, "Can't register power button: %d\n", err);
87 platform_set_drvdata(pdev, pwr);
88 device_init_wakeup(&pdev
[all...]
/linux-master/drivers/ata/
H A Dpata_artop.c58 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
61 if ((pdev->device & 1) &&
62 !pci_test_config_bits(pdev, &artop_enable_bits[ap->port_no]))
77 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
79 pci_read_config_byte(pdev, 0x49, &tmp);
101 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
109 pci_write_config_word(pdev, 0x40 + 2 * dn, timing[clock][pio]);
128 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
135 pci_read_config_byte(pdev, 0x54, &ultra);
137 pci_write_config_byte(pdev,
155 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
182 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
207 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
247 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
316 atp8xx_fixup(struct pci_dev *pdev) argument
362 artop_init_one(struct pci_dev *pdev, const struct pci_device_id *id) argument
434 atp8xx_reinit_one(struct pci_dev *pdev) argument
[all...]
H A Dpata_sis.c102 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
107 pci_read_config_dword(pdev, 0x54, &reg54);
124 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
128 pci_read_config_word(pdev, 0x50 + 2 * ap->port_no, &tmp);
129 if ((tmp & 0x8000) && !sis_short_ata40(pdev))
144 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
148 pci_read_config_byte(pdev, 0x48, &tmp);
150 if ((tmp & 0x10) && !sis_short_ata40(pdev))
172 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
174 if (!pci_test_config_bits(pdev,
196 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
228 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
265 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
290 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
338 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
377 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
416 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
450 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
483 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
531 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
654 sis_fixup(struct pci_dev *pdev, struct sis_chipset *sis) argument
723 sis_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) argument
874 sis_reinit_one(struct pci_dev *pdev) argument
[all...]
H A Dpata_ali.c68 static int ali_cable_override(struct pci_dev *pdev) argument
71 if (pdev->subsystem_vendor == 0x10CF && pdev->subsystem_device == 0x10AF)
74 if (pdev->subsystem_vendor == 0x1071 && pdev->subsystem_device == 0x8317)
91 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
97 if (ali_cable_override(pdev))
102 pci_read_config_byte(pdev, 0x4A, &ata66);
143 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
152 pci_read_config_byte(pdev, pio_fif
172 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
247 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
431 ali_init_chipset(struct pci_dev *pdev) argument
492 ali_init_one(struct pci_dev *pdev, const struct pci_device_id *id) argument
594 ali_reinit_one(struct pci_dev *pdev) argument
[all...]
/linux-master/drivers/regulator/
H A Dstw481x-vmmc.c55 static int stw481x_vmmc_regulator_probe(struct platform_device *pdev) argument
57 struct stw481x *stw481x = dev_get_platdata(&pdev->dev);
66 dev_err(&pdev->dev, "could not disable external VMMC\n");
71 config.dev = &pdev->dev;
74 config.of_node = pdev->dev.of_node;
75 config.init_data = of_get_regulator_init_data(&pdev->dev,
76 pdev->dev.of_node,
79 rdev = devm_regulator_register(&pdev->dev, &vmmc_regulator, &config);
81 dev_err(&pdev->dev,
86 dev_info(&pdev
[all...]
/linux-master/drivers/spi/
H A Dspi-cavium-octeon.c19 static int octeon_spi_probe(struct platform_device *pdev) argument
26 host = spi_alloc_host(&pdev->dev, sizeof(struct octeon_spi));
30 platform_set_drvdata(pdev, host);
32 reg_base = devm_platform_ioremap_resource(pdev, 0);
57 host->dev.of_node = pdev->dev.of_node;
58 err = devm_spi_register_controller(&pdev->dev, host);
60 dev_err(&pdev->dev, "register host failed: %d\n", err);
64 dev_info(&pdev->dev, "OCTEON SPI bus driver\n");
72 static void octeon_spi_remove(struct platform_device *pdev) argument
74 struct spi_controller *host = platform_get_drvdata(pdev);
[all...]
H A Dspi-dw-mmio.c96 static int dw_spi_mscc_init(struct platform_device *pdev, argument
102 dwsmscc = devm_kzalloc(&pdev->dev, sizeof(*dwsmscc), GFP_KERNEL);
106 dwsmscc->spi_mst = devm_platform_ioremap_resource(pdev, 1);
108 dev_err(&pdev->dev, "SPI_MST region map failed\n");
130 static int dw_spi_mscc_ocelot_init(struct platform_device *pdev, argument
133 return dw_spi_mscc_init(pdev, dwsmmio, "mscc,ocelot-cpu-syscon",
137 static int dw_spi_mscc_jaguar2_init(struct platform_device *pdev, argument
140 return dw_spi_mscc_init(pdev, dwsmmio, "mscc,jaguar2-cpu-syscon",
176 static int dw_spi_mscc_sparx5_init(struct platform_device *pdev, argument
180 struct device *dev = &pdev
205 dw_spi_alpine_init(struct platform_device *pdev, struct dw_spi_mmio *dwsmmio) argument
213 dw_spi_pssi_init(struct platform_device *pdev, struct dw_spi_mmio *dwsmmio) argument
221 dw_spi_hssi_init(struct platform_device *pdev, struct dw_spi_mmio *dwsmmio) argument
231 dw_spi_intel_init(struct platform_device *pdev, struct dw_spi_mmio *dwsmmio) argument
242 dw_spi_mountevans_imc_init(struct platform_device *pdev, struct dw_spi_mmio *dwsmmio) argument
257 dw_spi_canaan_k210_init(struct platform_device *pdev, struct dw_spi_mmio *dwsmmio) argument
298 dw_spi_elba_init(struct platform_device *pdev, struct dw_spi_mmio *dwsmmio) argument
315 dw_spi_mmio_probe(struct platform_device *pdev) argument
397 dw_spi_mmio_remove(struct platform_device *pdev) argument
[all...]
H A Dspi-altera-platform.c36 static int altera_spi_probe(struct platform_device *pdev) argument
38 const struct platform_device_id *platid = platform_get_device_id(pdev);
39 struct altera_spi_platform_data *pdata = dev_get_platdata(&pdev->dev);
46 host = spi_alloc_host(&pdev->dev, sizeof(struct altera_spi));
55 dev_err(&pdev->dev,
71 host->dev.of_node = pdev->dev.of_node;
74 hw->dev = &pdev->dev;
83 hw->regmap = dev_get_regmap(pdev->dev.parent, NULL);
85 dev_err(&pdev->dev, "get regmap failed\n");
89 regoff = platform_get_resource(pdev, IORESOURCE_RE
[all...]
/linux-master/drivers/mfd/
H A Dhi6421-pmic-core.c51 static int hi6421_pmic_probe(struct platform_device *pdev) argument
59 type = (uintptr_t)device_get_match_data(&pdev->dev);
61 pmic = devm_kzalloc(&pdev->dev, sizeof(*pmic), GFP_KERNEL);
65 base = devm_platform_get_and_ioremap_resource(pdev, 0, NULL);
69 pmic->regmap = devm_regmap_init_mmio_clk(&pdev->dev, NULL, base,
72 dev_err(&pdev->dev, "Failed to initialise Regmap: %ld\n",
77 platform_set_drvdata(pdev, pmic);
97 dev_err(&pdev->dev, "Unknown device type %d\n",
102 ret = devm_mfd_add_devices(&pdev->dev, PLATFORM_DEVID_NONE,
105 dev_err(&pdev
[all...]
H A Dfsl-imx25-tsadc.c64 static int mx25_tsadc_setup_irq(struct platform_device *pdev, argument
67 struct device *dev = &pdev->dev;
71 irq = platform_get_irq(pdev, 0);
87 static int mx25_tsadc_unset_irq(struct platform_device *pdev) argument
89 struct mx25_tsadc *tsadc = platform_get_drvdata(pdev);
90 int irq = platform_get_irq(pdev, 0);
100 static void mx25_tsadc_setup_clk(struct platform_device *pdev, argument
112 dev_dbg(&pdev->dev, "Found master clock at %lu Hz\n",
116 dev_dbg(&pdev->dev, "Setting up ADC clock divider to %u\n", clk_div);
128 dev_dbg(&pdev
136 mx25_tsadc_probe(struct platform_device *pdev) argument
197 mx25_tsadc_remove(struct platform_device *pdev) argument
[all...]
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_vga.c29 struct pci_dev *pdev = to_pci_dev(dev_priv->drm.dev); local
37 vga_get_uninterruptible(pdev, VGA_RSRC_LEGACY_IO);
41 vga_put(pdev, VGA_RSRC_LEGACY_IO);
83 struct pci_dev *pdev = to_pci_dev(i915->drm.dev); local
95 vga_get_uninterruptible(pdev, VGA_RSRC_LEGACY_IO);
97 vga_put(pdev, VGA_RSRC_LEGACY_IO);
103 struct pci_dev *pdev = to_pci_dev(i915->drm.dev); local
114 ret = vga_client_register(pdev, intel_gmch_vga_set_decode);
123 struct pci_dev *pdev = to_pci_dev(i915->drm.dev); local
125 vga_client_unregister(pdev);
[all...]
/linux-master/drivers/base/
H A Dplatform.c90 * @pdev: platform device to use both for memory resource lookup as well as
99 devm_platform_get_and_ioremap_resource(struct platform_device *pdev, argument
104 r = platform_get_resource(pdev, IORESOURCE_MEM, index);
107 return devm_ioremap_resource(&pdev->dev, r);
115 * @pdev: platform device to use both for memory resource lookup as well as
122 void __iomem *devm_platform_ioremap_resource(struct platform_device *pdev, argument
125 return devm_platform_get_and_ioremap_resource(pdev, index, NULL);
134 * @pdev: platform device to use both for memory resource lookup as well as
142 devm_platform_ioremap_resource_byname(struct platform_device *pdev, argument
147 res = platform_get_resource_byname(pdev, IORESOURCE_ME
298 platform_disable_acpi_irq(struct platform_device *pdev, int index) argument
522 struct platform_device pdev; member in struct:platform_object
530 setup_pdev_dma_masks(struct platform_device *pdev) argument
549 platform_device_put(struct platform_device *pdev) argument
605 platform_device_add_resources(struct platform_device *pdev, const struct resource *res, unsigned int num) argument
633 platform_device_add_data(struct platform_device *pdev, const void *data, size_t size) argument
657 platform_device_add(struct platform_device *pdev) argument
746 platform_device_del(struct platform_device *pdev) argument
775 platform_device_register(struct platform_device *pdev) argument
791 platform_device_unregister(struct platform_device *pdev) argument
810 struct platform_device *pdev; local
881 platform_probe_fail(struct platform_device *pdev) argument
982 struct platform_device *pdev; local
1079 platform_match_id( const struct platform_device_id *id, struct platform_device *pdev) argument
1098 struct platform_device *pdev = to_platform_device(dev); local
1110 struct platform_device *pdev = to_platform_device(dev); local
1246 struct platform_device *pdev = to_platform_device(dev); local
1271 struct platform_device *pdev = to_platform_device(dev); local
1285 struct platform_device *pdev = to_platform_device(dev); local
1337 struct platform_device *pdev = to_platform_device(dev); local
1362 const struct platform_device *pdev = to_platform_device(dev); local
[all...]
/linux-master/drivers/platform/surface/
H A Dsurface_hotplug.c82 static void shps_dsm_notify_irq(struct platform_device *pdev, enum shps_irq_type type) argument
84 struct shps_device *sdev = platform_get_drvdata(pdev);
85 acpi_handle handle = ACPI_HANDLE(&pdev->dev);
95 dev_err(&pdev->dev, "failed to get gpio: %d (irq=%d)\n", type, value);
99 dev_dbg(&pdev->dev, "IRQ notification via DSM (irq=%d, value=%d)\n", type, value);
107 dev_err(&pdev->dev, "IRQ notification via DSM failed (irq=%d, gpio=%d)\n",
111 dev_err(&pdev->dev,
123 struct platform_device *pdev = data; local
124 struct shps_device *sdev = platform_get_drvdata(pdev);
137 shps_dsm_notify_irq(pdev, typ
141 shps_setup_irq(struct platform_device *pdev, enum shps_irq_type type) argument
186 surface_hotplug_remove(struct platform_device *pdev) argument
200 surface_hotplug_probe(struct platform_device *pdev) argument
[all...]
/linux-master/drivers/pci/
H A Dof_property.c54 static void of_pci_set_address(struct pci_dev *pdev, u32 *prop, u64 addr, argument
57 prop[0] = FIELD_PREP(OF_PCI_ADDR_FIELD_BUS, pdev->bus->number) |
58 FIELD_PREP(OF_PCI_ADDR_FIELD_DEV, PCI_SLOT(pdev->devfn)) |
59 FIELD_PREP(OF_PCI_ADDR_FIELD_FUNC, PCI_FUNC(pdev->devfn));
90 static int of_pci_prop_bus_range(struct pci_dev *pdev, argument
94 u32 bus_range[] = { pdev->subordinate->busn_res.start,
95 pdev->subordinate->busn_res.end };
101 static int of_pci_prop_ranges(struct pci_dev *pdev, struct of_changeset *ocs, argument
110 if (pci_is_bridge(pdev)) {
112 res = &pdev
157 of_pci_prop_reg(struct pci_dev *pdev, struct of_changeset *ocs, struct device_node *np) argument
169 of_pci_prop_interrupts(struct pci_dev *pdev, struct of_changeset *ocs, struct device_node *np) argument
186 of_pci_prop_intr_map(struct pci_dev *pdev, struct of_changeset *ocs, struct device_node *np) argument
293 of_pci_prop_compatible(struct pci_dev *pdev, struct of_changeset *ocs, struct device_node *np) argument
315 of_pci_add_properties(struct pci_dev *pdev, struct of_changeset *ocs, struct device_node *np) argument
[all...]
/linux-master/drivers/input/keyboard/
H A Dsh_keysc.c83 struct platform_device *pdev = dev_id; local
84 struct sh_keysc_priv *priv = platform_get_drvdata(pdev);
94 dev_dbg(&pdev->dev, "isr!\n");
129 sh_keysc_map_dbg(&pdev->dev, keys, "keys");
133 sh_keysc_map_dbg(&pdev->dev, priv->last_keys, "last_keys");
134 sh_keysc_map_dbg(&pdev->dev, keys0, "keys0");
135 sh_keysc_map_dbg(&pdev->dev, keys1, "keys1");
161 static int sh_keysc_probe(struct platform_device *pdev) argument
170 if (!dev_get_platdata(&pdev->dev)) {
171 dev_err(&pdev
268 sh_keysc_remove(struct platform_device *pdev) argument
286 struct platform_device *pdev = to_platform_device(dev); local
306 struct platform_device *pdev = to_platform_device(dev); local
[all...]
/linux-master/drivers/gpu/drm/ast/
H A Dast_drv.c133 static int ast_detect_chip(struct pci_dev *pdev, argument
138 struct device *dev = &pdev->dev;
155 } else if (pdev->device == PCI_CHIP_AST2000) { // Not all families have a P2A bridge
170 if ((pdev->revision & 0xf0) == 0x40) {
204 if (pdev->revision >= 0x50) {
207 } else if (pdev->revision >= 0x40) {
218 } else if (pdev->revision >= 0x30) {
229 } else if (pdev->revision >= 0x20) {
240 } else if (pdev->revision >= 0x10) {
270 static int ast_pci_probe(struct pci_dev *pdev, cons argument
367 ast_pci_remove(struct pci_dev *pdev) argument
375 ast_pci_shutdown(struct pci_dev *pdev) argument
408 struct pci_dev *pdev = to_pci_dev(dev); local
423 struct pci_dev *pdev = to_pci_dev(dev); local
430 struct pci_dev *pdev = to_pci_dev(dev); local
437 struct pci_dev *pdev = to_pci_dev(dev); local
444 struct pci_dev *pdev = to_pci_dev(dev); local
[all...]
/linux-master/drivers/scsi/
H A Dam53c974.c285 static void dc390_eeprom_prepare_read(struct pci_dev *pdev, u8 cmd) argument
292 pci_write_config_byte(pdev, 0x80, 0x40);
298 pci_write_config_byte(pdev, 0x80, bval);
300 pci_write_config_byte(pdev, 0x80, 0);
308 static u16 dc390_eeprom_get_data(struct pci_dev *pdev) argument
317 pci_write_config_byte(pdev, 0x80, 0x80);
319 pci_write_config_byte(pdev, 0x80, 0x40);
321 pci_read_config_byte(pdev, 0x00, &bval);
330 static void dc390_read_eeprom(struct pci_dev *pdev, u16 *ptr) argument
335 pci_write_config_byte(pdev,
349 struct pci_dev *pdev = to_pci_dev(esp->dev); local
371 pci_esp_probe_one(struct pci_dev *pdev, const struct pci_device_id *id) argument
498 pci_esp_remove_one(struct pci_dev *pdev) argument
[all...]
/linux-master/drivers/mcb/
H A Dmcb-lpc.c22 static int mcb_lpc_probe(struct platform_device *pdev) argument
28 priv = devm_kzalloc(&pdev->dev, sizeof(*priv), GFP_KERNEL);
32 priv->mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
34 dev_err(&pdev->dev, "No Memory resource\n");
38 res = devm_request_mem_region(&pdev->dev, priv->mem->start,
42 dev_err(&pdev->dev, "Failed to request IO memory\n");
46 priv->base = devm_ioremap(&pdev->dev, priv->mem->start,
49 dev_err(&pdev->dev, "Cannot ioremap\n");
53 platform_set_drvdata(pdev, priv);
55 priv->bus = mcb_alloc_bus(&pdev
100 mcb_lpc_remove(struct platform_device *pdev) argument
[all...]
/linux-master/drivers/usb/c67x00/
H A Dc67x00-drv.c97 dev_warn(&c67x00->pdev->dev, "Not all interrupts handled! "
105 static int c67x00_drv_probe(struct platform_device *pdev) argument
112 res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
116 res2 = platform_get_resource(pdev, IORESOURCE_IRQ, 0);
120 pdata = dev_get_platdata(&pdev->dev);
129 pdev->name)) {
130 dev_err(&pdev->dev, "Memory region busy\n");
136 dev_err(&pdev->dev, "Unable to map HPI registers\n");
143 c67x00->pdata = dev_get_platdata(&pdev->dev);
144 c67x00->pdev
180 c67x00_drv_remove(struct platform_device *pdev) argument
[all...]
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-loongson1.c49 static int ls1b_dwmac_syscon_init(struct platform_device *pdev, void *priv) argument
57 res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
59 dev_err(&pdev->dev, "Could not get IO_MEM resources\n");
77 dev_err(&pdev->dev, "Unsupported PHY mode %u\n",
101 dev_err(&pdev->dev, "Unsupported PHY mode %u\n",
108 dev_err(&pdev->dev, "Invalid Ethernet MAC base address %lx",
116 static int ls1c_dwmac_syscon_init(struct platform_device *pdev, void *priv) argument
132 dev_err(&pdev->dev, "Unsupported PHY-mode %u\n",
142 static int ls1x_dwmac_probe(struct platform_device *pdev) argument
148 int (*init)(struct platform_device *pdev, voi
[all...]
/linux-master/drivers/char/hw_random/
H A Dnpcm-rng.c88 static int npcm_rng_probe(struct platform_device *pdev) argument
93 priv = devm_kzalloc(&pdev->dev, sizeof(*priv), GFP_KERNEL);
97 priv->base = devm_platform_ioremap_resource(pdev, 0);
101 dev_set_drvdata(&pdev->dev, priv);
102 pm_runtime_set_autosuspend_delay(&pdev->dev, 100);
103 pm_runtime_use_autosuspend(&pdev->dev);
104 pm_runtime_enable(&pdev->dev);
110 priv->rng.name = pdev->name;
112 priv->rng.priv = (unsigned long)&pdev->dev;
113 priv->clkp = (u32)(uintptr_t)of_device_get_match_data(&pdev
129 npcm_rng_remove(struct platform_device *pdev) argument
[all...]
/linux-master/drivers/gpu/drm/vgem/
H A Dvgem_drv.c132 struct platform_device *pdev; local
134 pdev = platform_device_register_simple("vgem", -1, NULL, 0);
135 if (IS_ERR(pdev))
136 return PTR_ERR(pdev);
138 if (!devres_open_group(&pdev->dev, NULL, GFP_KERNEL)) {
143 dma_coerce_mask_and_coherent(&pdev->dev,
146 vgem_device = devm_drm_dev_alloc(&pdev->dev, &vgem_driver,
152 vgem_device->platform = pdev;
162 devres_release_group(&pdev->dev, NULL);
164 platform_device_unregister(pdev);
170 struct platform_device *pdev = vgem_device->platform; local
[all...]
/linux-master/drivers/net/ethernet/freescale/enetc/
H A Denetc_pci_mdio.c12 static int enetc_pci_mdio_probe(struct pci_dev *pdev, argument
16 struct device *dev = &pdev->dev;
22 port_regs = pci_iomap(pdev, 0, 0);
52 pcie_flr(pdev);
53 err = pci_enable_device_mem(pdev);
59 err = pci_request_region(pdev, 0, KBUILD_MODNAME);
69 pci_set_drvdata(pdev, bus);
74 pci_release_region(pdev, 0);
76 pci_disable_device(pdev);
85 static void enetc_pci_mdio_remove(struct pci_dev *pdev) argument
[all...]
/linux-master/arch/arm/mach-omap1/
H A Dtimer.c38 static int omap1_dm_timer_set_src(struct platform_device *pdev, argument
41 int n = (pdev->id - 1) << 1;
56 struct platform_device *pdev; local
106 pdev = platform_device_alloc("omap_timer", i);
107 if (!pdev) {
120 ret = platform_device_add_resources(pdev, res,
123 dev_err(&pdev->dev, "%s: Failed to add resources.\n",
138 ret = platform_device_add_data(pdev, pdata, sizeof(*pdata));
140 dev_err(&pdev->dev, "%s: Failed to add platform data.\n",
145 ret = platform_device_add(pdev);
[all...]

Completed in 222 milliseconds

1234567891011>>