/arch/arm/mach-ns9xxx/ |
D | plat-serial8250.c | 21 struct plat_serial8250_port *pdata; in ns9xxx_plat_serial8250_init() local 33 pdata = kzalloc(5 * sizeof(*pdata), GFP_KERNEL); in ns9xxx_plat_serial8250_init() 34 if (!pdata) in ns9xxx_plat_serial8250_init() 37 pdev->dev.platform_data = pdata; in ns9xxx_plat_serial8250_init() 39 pdata[0].iobase = FPGA_UARTA_BASE; in ns9xxx_plat_serial8250_init() 40 pdata[1].iobase = FPGA_UARTB_BASE; in ns9xxx_plat_serial8250_init() 41 pdata[2].iobase = FPGA_UARTC_BASE; in ns9xxx_plat_serial8250_init() 42 pdata[3].iobase = FPGA_UARTD_BASE; in ns9xxx_plat_serial8250_init() 45 pdata[i].membase = (void __iomem *)pdata[i].iobase; in ns9xxx_plat_serial8250_init() 46 pdata[i].mapbase = pdata[i].iobase; in ns9xxx_plat_serial8250_init() [all …]
|
/arch/powerpc/sysdev/ |
D | mv64x60_dev.c | 41 struct mpsc_shared_pdata pdata; in mv64x60_mpsc_register_shared_pdev() local 66 memset(&pdata, 0, sizeof(pdata)); in mv64x60_mpsc_register_shared_pdev() 76 err = platform_device_add_data(pdev, &pdata, sizeof(pdata)); in mv64x60_mpsc_register_shared_pdev() 95 struct mpsc_pdata pdata; in mv64x60_mpsc_device_setup() local 141 memset(&pdata, 0, sizeof(pdata)); in mv64x60_mpsc_device_setup() 143 pdata.cache_mgmt = 1; /* All current revs need this set */ in mv64x60_mpsc_device_setup() 145 pdata.max_idle = 40; /* default */ in mv64x60_mpsc_device_setup() 148 pdata.max_idle = *prop; in mv64x60_mpsc_device_setup() 152 pdata.default_baud = *prop; in mv64x60_mpsc_device_setup() 155 pdata.default_bits = 8; in mv64x60_mpsc_device_setup() [all …]
|
D | fsl_soc.c | 431 struct fsl_spi_platform_data pdata = { in of_fsl_spi_probe() local 438 pdata.sysclk = sysclk; in of_fsl_spi_probe() 443 pdata.bus_num = *(u32 *)prop; in of_fsl_spi_probe() 451 pdata.qe_mode = 1; in of_fsl_spi_probe() 454 if (board_infos[j].bus_num == pdata.bus_num) in of_fsl_spi_probe() 455 pdata.max_chipselect++; in of_fsl_spi_probe() 458 if (!pdata.max_chipselect) in of_fsl_spi_probe() 473 ret = platform_device_add_data(pdev, &pdata, sizeof(pdata)); in of_fsl_spi_probe()
|
/arch/blackfin/mach-common/ |
D | dpmc.c | 25 struct bfin_dpmc_platform_data *pdata; variable 49 if (!pdata) in bfin_get_vlev() 54 for (i = 0; i < pdata->tabsize; i++) in bfin_get_vlev() 55 if (freq <= (pdata->tuple_tab[i] & 0xFFFF)) in bfin_get_vlev() 56 return pdata->tuple_tab[i] >> 16; in bfin_get_vlev() 71 udelay(pdata->vr_settling_time); /* Wait until Volatge settled */ in vreg_cpufreq_notifier() 91 pdata = pdev->dev.platform_data; in bfin_dpmc_probe() 104 pdata = NULL; in bfin_dpmc_remove()
|
/arch/mips/txx9/rbtx4938/ |
D | setup.c | 308 struct physmap_flash_data pdata = { in rbtx4938_mtd_init() local 315 txx9_physmap_flash_init(0, 0x1fc00000, 0x400000, &pdata); in rbtx4938_mtd_init() 317 txx9_physmap_flash_init(1, 0x1e000000, 0x1000000, &pdata); in rbtx4938_mtd_init() 321 txx9_physmap_flash_init(0, 0x1f000000, 0x1000000, &pdata); in rbtx4938_mtd_init() 323 txx9_physmap_flash_init(1, 0x1ec00000, 0x400000, &pdata); in rbtx4938_mtd_init() 327 txx9_physmap_flash_init(0, 0x1f000000, 0x1000000, &pdata); in rbtx4938_mtd_init() 329 txx9_physmap_flash_init(1, 0x1e000000, 0x1000000, &pdata); in rbtx4938_mtd_init() 331 txx9_physmap_flash_init(2, 0x1dc00000, 0x400000, &pdata); in rbtx4938_mtd_init() 335 txx9_physmap_flash_init(1, 0x1bc00000, 0x400000, &pdata); in rbtx4938_mtd_init() 337 txx9_physmap_flash_init(2, 0x1a000000, 0x1000000, &pdata); in rbtx4938_mtd_init()
|
/arch/arm/plat-omap/ |
D | mcbsp.c | 226 if (mcbsp->pdata && mcbsp->pdata->ops && mcbsp->pdata->ops->request) in omap_mcbsp_request() 227 mcbsp->pdata->ops->request(id); in omap_mcbsp_request() 289 if (mcbsp->pdata && mcbsp->pdata->ops && mcbsp->pdata->ops->free) in omap_mcbsp_free() 290 mcbsp->pdata->ops->free(id); in omap_mcbsp_free() 876 struct omap_mcbsp_platform_data *pdata = pdev->dev.platform_data; in omap_mcbsp_probe() local 882 if (!pdata) { in omap_mcbsp_probe() 910 mcbsp->phys_base = pdata->phys_base; in omap_mcbsp_probe() 911 mcbsp->io_base = ioremap(pdata->phys_base, SZ_4K); in omap_mcbsp_probe() 919 mcbsp->tx_irq = pdata->tx_irq; in omap_mcbsp_probe() 920 mcbsp->rx_irq = pdata->rx_irq; in omap_mcbsp_probe() [all …]
|
/arch/arm/mach-davinci/ |
D | devices.c | 44 void __init davinci_init_i2c(struct davinci_i2c_platform_data *pdata) in davinci_init_i2c() argument 46 davinci_i2c_device.dev.platform_data = pdata; in davinci_init_i2c()
|
/arch/mips/txx9/generic/ |
D | setup.c | 656 const struct physmap_flash_data *pdata) in txx9_physmap_flash_init() argument 670 if (pdata->nr_parts == 0 && !pdata->parts && in txx9_physmap_flash_init() 679 pdata_part = *pdata; in txx9_physmap_flash_init() 682 pdata = &pdata_part; in txx9_physmap_flash_init() 688 platform_device_add_data(pdev, pdata, sizeof(*pdata)) || in txx9_physmap_flash_init() 703 struct gpio_led_platform_data pdata; member 780 iocled->pdata.num_leds = num; in txx9_iocled_init() 781 iocled->pdata.leds = iocled->leds; in txx9_iocled_init() 792 pdev->dev.platform_data = &iocled->pdata; in txx9_iocled_init()
|
D | setup_tx4938.c | 328 struct physmap_flash_data pdata = { in tx4938_mtd_init() local 336 txx9_physmap_flash_init(ch, start, size, &pdata); in tx4938_mtd_init() 351 struct tx4938ide_platform_info pdata = { in tx4938_ata_init() local 374 pdata.ebus_ch = i; in tx4938_ata_init() 380 platform_device_add_data(pdev, &pdata, sizeof(pdata)) || in tx4938_ata_init()
|
D | setup_tx3927.c | 128 struct physmap_flash_data pdata = { in tx3927_mtd_init() local 136 txx9_physmap_flash_init(ch, start, size, &pdata); in tx3927_mtd_init()
|
D | setup_tx4927.c | 245 struct physmap_flash_data pdata = { in tx4927_mtd_init() local 253 txx9_physmap_flash_init(ch, start, size, &pdata); in tx4927_mtd_init()
|
/arch/sparc/kernel/ |
D | time_32.c | 123 struct m48t59_plat_data *pdata = pdev->dev.platform_data; in mostek_read_byte() local 125 return readb(pdata->ioaddr + ofs); in mostek_read_byte() 131 struct m48t59_plat_data *pdata = pdev->dev.platform_data; in mostek_write_byte() local 133 writeb(val, pdata->ioaddr + ofs); in mostek_write_byte()
|
/arch/arm/plat-omap/include/mach/ |
D | lcd_mipid.h | 19 void (*shutdown)(struct mipid_platform_data *pdata);
|
D | eac.h | 93 extern void omap_init_eac(struct eac_platform_data *pdata);
|
/arch/arm/plat-mxc/include/mach/ |
D | imx-uart.h | 30 int __init imx_init_uart(int uart_no, struct imxuart_platform_data *pdata);
|
/arch/arm/mach-omap1/ |
D | board-nokia770.c | 101 static void mipid_shutdown(struct mipid_platform_data *pdata) in mipid_shutdown() argument 103 if (pdata->nreset_gpio != -1) { in mipid_shutdown() 105 gpio_set_value(pdata->nreset_gpio, 0); in mipid_shutdown()
|
/arch/powerpc/platforms/ps3/ |
D | spu.c | 128 return spu->pdata; in spu_pdata() 342 kfree(spu->pdata); in ps3_destroy_spu() 343 spu->pdata = NULL; in ps3_destroy_spu() 354 spu->pdata = kzalloc(sizeof(struct spu_pdata), in ps3_create_spu() 357 if (!spu->pdata) { in ps3_create_spu()
|
/arch/arm/mach-at91/ |
D | at91sam9rl_devices.c | 79 struct usba_platform_data pdata; member 87 .platform_data = &usba_udc_data.pdata, 100 usba_udc_data.pdata.vbus_pin = -EINVAL; in at91_add_device_usba() 101 usba_udc_data.pdata.num_ep = ARRAY_SIZE(usba_udc_ep); in at91_add_device_usba() 107 usba_udc_data.pdata.vbus_pin = data->vbus_pin; in at91_add_device_usba() 270 static struct i2c_gpio_platform_data pdata = { variable 281 .dev.platform_data = &pdata,
|
D | at91cap9_devices.c | 143 struct usba_platform_data pdata; member 151 .platform_data = &usba_udc_data.pdata, 172 usba_udc_data.pdata.vbus_pin = -EINVAL; in at91_add_device_usba() 173 usba_udc_data.pdata.num_ep = ARRAY_SIZE(usba_udc_ep); in at91_add_device_usba() 179 usba_udc_data.pdata.vbus_pin = data->vbus_pin; in at91_add_device_usba() 458 static struct i2c_gpio_platform_data pdata = { variable 469 .dev.platform_data = &pdata,
|
/arch/arm/mach-omap2/ |
D | devices.c | 263 void omap_init_eac(struct eac_platform_data *pdata) in omap_init_eac() argument 265 omap2_eac_device.dev.platform_data = pdata; in omap_init_eac() 270 void omap_init_eac(struct eac_platform_data *pdata) {} in omap_init_eac() argument
|
/arch/mips/txx9/rbtx4927/ |
D | setup.c | 321 static struct gpio_led_platform_data pdata = { in rbtx4927_gpioled_init() local 329 pdev->dev.platform_data = &pdata; in rbtx4927_gpioled_init()
|
/arch/mips/include/asm/txx9/ |
D | generic.h | 65 const struct physmap_flash_data *pdata);
|
/arch/arm/mach-pxa/ |
D | mioa701.c | 771 #define MIO_PARENT_DEV(var, strname, tparent, pdata) \ argument 776 .platform_data = pdata, \ 780 #define MIO_SIMPLE_DEV(var, strname, pdata) \ argument 781 MIO_PARENT_DEV(var, strname, NULL, pdata)
|
D | magician.c | 645 struct pxamci_platform_data *pdata = dev->platform_data; in magician_mci_setpower() local 647 gpio_set_value(EGPIO_MAGICIAN_SD_POWER, (1 << vdd) & pdata->ocr_mask); in magician_mci_setpower()
|
/arch/powerpc/include/asm/ |
D | smu.h | 513 u8 pdata[32]; member
|