/arch/arm/mach-imx/ |
D | devices-imx31.h | 9 #define imx31_add_fsl_usb2_udc(pdata) \ argument 10 imx_add_fsl_usb2_udc(&imx31_fsl_usb2_udc_data, pdata) 17 #define imx31_add_imx_i2c(id, pdata) \ argument 18 imx_add_imx_i2c(&imx31_imx_i2c_data[id], pdata) 19 #define imx31_add_imx_i2c0(pdata) imx31_add_imx_i2c(0, pdata) argument 20 #define imx31_add_imx_i2c1(pdata) imx31_add_imx_i2c(1, pdata) argument 21 #define imx31_add_imx_i2c2(pdata) imx31_add_imx_i2c(2, pdata) argument 24 #define imx31_add_imx_keypad(pdata) \ argument 25 imx_add_imx_keypad(&imx31_imx_keypad_data, pdata) 28 #define imx31_add_imx_ssi(id, pdata) \ argument [all …]
|
D | devices-imx27.h | 9 #define imx27_add_fec(pdata) \ argument 10 imx_add_fec(&imx27_fec_data, pdata) 13 #define imx27_add_fsl_usb2_udc(pdata) \ argument 14 imx_add_fsl_usb2_udc(&imx27_fsl_usb2_udc_data, pdata) 25 #define imx27_add_imx_fb(pdata) \ argument 26 imx_add_imx_fb(&imx27_imx_fb_data, pdata) 29 #define imx27_add_imx_i2c(id, pdata) \ argument 30 imx_add_imx_i2c(&imx27_imx_i2c_data[id], pdata) 33 #define imx27_add_imx_keypad(pdata) \ argument 34 imx_add_imx_keypad(&imx27_imx_keypad_data, pdata) [all …]
|
D | devices-imx35.h | 9 #define imx35_add_fec(pdata) \ argument 10 imx_add_fec(&imx35_fec_data, pdata) 13 #define imx35_add_fsl_usb2_udc(pdata) \ argument 14 imx_add_fsl_usb2_udc(&imx35_fsl_usb2_udc_data, pdata) 27 #define imx35_add_imx_i2c(id, pdata) \ argument 28 imx_add_imx_i2c(&imx35_imx_i2c_data[id], pdata) 29 #define imx35_add_imx_i2c0(pdata) imx35_add_imx_i2c(0, pdata) argument 30 #define imx35_add_imx_i2c1(pdata) imx35_add_imx_i2c(1, pdata) argument 31 #define imx35_add_imx_i2c2(pdata) imx35_add_imx_i2c(2, pdata) argument 34 #define imx35_add_imx_keypad(pdata) \ argument [all …]
|
D | devices-imx21.h | 9 #define imx21_add_imx21_hcd(pdata) \ argument 10 imx_add_imx21_hcd(&imx21_imx21_hcd_data, pdata) 17 #define imx21_add_imx_fb(pdata) \ argument 18 imx_add_imx_fb(&imx21_imx_fb_data, pdata) 21 #define imx21_add_imx_i2c(pdata) \ argument 22 imx_add_imx_i2c(&imx21_imx_i2c_data, pdata) 25 #define imx21_add_imx_keypad(pdata) \ argument 26 imx_add_imx_keypad(&imx21_imx_keypad_data, pdata) 29 #define imx21_add_imx_ssi(id, pdata) \ argument 30 imx_add_imx_ssi(&imx21_imx_ssi_data[id], pdata) [all …]
|
/arch/arm/mach-imx/devices/ |
D | devices-common.h | 48 const struct fec_platform_data *pdata); 67 const struct fsl_usb2_platform_data *pdata); 71 const struct gpio_keys_platform_data *pdata); 80 const struct mx21_usbh_platform_data *pdata); 114 const struct imx_fb_platform_data *pdata); 126 const struct imxi2c_platform_data *pdata); 136 const struct matrix_keymap_data *pdata); 151 const struct imx_ssi_platform_data *pdata); 162 const struct imxuart_platform_data *pdata); 175 const struct mx3_camera_pdata *pdata); [all …]
|
D | platform-ipu-core.c | 60 const struct mx3_camera_pdata *pdata) in imx_alloc_mx3_camera() argument 90 if (pdata) { in imx_alloc_mx3_camera() 93 ret = platform_device_add_data(pdev, pdata, sizeof(*pdata)); in imx_alloc_mx3_camera() 109 struct mx3fb_platform_data *pdata) in imx_add_mx3_sdc_fb() argument 122 pdata->dma_dev = &imx_ipu_coredev->dev; in imx_add_mx3_sdc_fb() 125 res, ARRAY_SIZE(res), pdata, sizeof(*pdata), in imx_add_mx3_sdc_fb()
|
D | platform-sdhci-esdhc-imx.c | 40 const struct esdhc_platform_data *pdata) in imx_add_sdhci_esdhc_imx() argument 58 if (!pdata) in imx_add_sdhci_esdhc_imx() 59 pdata = &default_esdhc_pdata; in imx_add_sdhci_esdhc_imx() 62 ARRAY_SIZE(res), pdata, sizeof(*pdata), in imx_add_sdhci_esdhc_imx()
|
D | platform-gpio_keys.c | 11 const struct gpio_keys_platform_data *pdata) in imx_add_gpio_keys() argument 14 0, pdata, sizeof(*pdata)); in imx_add_gpio_keys()
|
D | platform-imx21-hcd.c | 22 const struct mx21_usbh_platform_data *pdata) in imx_add_imx21_hcd() argument 37 pdata, sizeof(*pdata), DMA_BIT_MASK(32)); in imx_add_imx21_hcd()
|
D | platform-fec.c | 32 const struct fec_platform_data *pdata) in imx_add_fec() argument 48 pdata, sizeof(*pdata), DMA_BIT_MASK(32)); in imx_add_fec()
|
/arch/x86/platform/intel-mid/device_libs/ |
D | platform_tc35876x.c | 16 static struct tc35876x_platform_data pdata; in tc35876x_platform_data() local 19 pdata.gpio_bridge_reset = get_gpio_by_name("LCMB_RXEN"); in tc35876x_platform_data() 20 pdata.gpio_panel_bl_en = get_gpio_by_name("6S6P_BL_EN"); in tc35876x_platform_data() 21 pdata.gpio_panel_vadd = get_gpio_by_name("EN_VREG_LCD_V3P3"); in tc35876x_platform_data() 23 return &pdata; in tc35876x_platform_data()
|
/arch/arm/mach-omap1/ |
D | timer.c | 62 struct dmtimer_platform_data *pdata; in omap1_dm_timer_init() local 135 pdata = kzalloc(sizeof(*pdata), GFP_KERNEL); in omap1_dm_timer_init() 136 if (!pdata) { in omap1_dm_timer_init() 141 pdata->set_timer_src = omap1_dm_timer_set_src; in omap1_dm_timer_init() 142 pdata->timer_capability = OMAP_TIMER_ALWON | in omap1_dm_timer_init() 145 ret = platform_device_add_data(pdev, pdata, sizeof(*pdata)); in omap1_dm_timer_init() 165 kfree(pdata); in omap1_dm_timer_init()
|
D | usb.c | 189 static inline void udc_device_init(struct omap_usb_config *pdata) in udc_device_init() argument 197 pdata->udc_device = &udc_device; in udc_device_init() 202 static inline void udc_device_init(struct omap_usb_config *pdata) in udc_device_init() argument 236 static inline void ohci_device_init(struct omap_usb_config *pdata) in ohci_device_init() argument 240 pdata->ohci_device = &ohci_device; in ohci_device_init() 241 pdata->ocpi_enable = &ocpi_enable; in ohci_device_init() 246 static inline void ohci_device_init(struct omap_usb_config *pdata) in ohci_device_init() argument 273 static inline void otg_device_init(struct omap_usb_config *pdata) in otg_device_init() argument 277 pdata->otg_device = &otg_device; in otg_device_init() 282 static inline void otg_device_init(struct omap_usb_config *pdata) in otg_device_init() argument [all …]
|
D | i2c.c | 35 int __init omap_i2c_add_bus(struct omap_i2c_bus_platform_data *pdata, in omap_i2c_add_bus() argument 59 pdata->rev = OMAP_I2C_IP_VERSION_1; in omap_i2c_add_bus() 62 pdata->flags = OMAP_I2C_FLAG_NO_FIFO | in omap_i2c_add_bus() 70 pdata->flags |= OMAP_I2C_FLAG_BUS_SHIFT_1; in omap_i2c_add_bus() 72 pdata->flags |= OMAP_I2C_FLAG_BUS_SHIFT_2; in omap_i2c_add_bus() 74 pdev->dev.platform_data = pdata; in omap_i2c_add_bus()
|
/arch/powerpc/platforms/83xx/ |
D | mpc832x_rdb.c | 54 struct fsl_spi_platform_data pdata = { in of_fsl_spi_probe() local 60 pdata.sysclk = sysclk; in of_fsl_spi_probe() 65 pdata.bus_num = *(u32 *)prop; in of_fsl_spi_probe() 73 pdata.flags = SPI_QE_CPU_MODE; in of_fsl_spi_probe() 76 if (board_infos[j].bus_num == pdata.bus_num) in of_fsl_spi_probe() 77 pdata.max_chipselect++; in of_fsl_spi_probe() 80 if (!pdata.max_chipselect) in of_fsl_spi_probe() 95 ret = platform_device_add_data(pdev, &pdata, sizeof(pdata)); in of_fsl_spi_probe()
|
/arch/arm/mach-pxa/ |
D | pxa3xx-ulpi.c | 208 static int pxa310_otg_init(struct pxa3xx_u2d_platform_data *pdata) in pxa310_otg_init() argument 212 if (pdata) { in pxa310_otg_init() 213 if (pdata->ulpi_mode & ULPI_SER_6PIN) in pxa310_otg_init() 215 else if (pdata->ulpi_mode & ULPI_SER_3PIN) in pxa310_otg_init() 241 static inline int pxa310_otg_init(struct pxa3xx_u2d_platform_data *pdata) in pxa310_otg_init() argument 282 struct pxa3xx_u2d_platform_data *pdata = pdev->dev.platform_data; in pxa3xx_u2d_probe() local 318 if (pdata->init) { in pxa3xx_u2d_probe() 319 err = pdata->init(&pdev->dev); in pxa3xx_u2d_probe() 326 err = pxa310_otg_init(pdata); in pxa3xx_u2d_probe() 336 if (pdata->exit) in pxa3xx_u2d_probe() [all …]
|
/arch/arm/mach-s3c64xx/ |
D | setup-sdhci-gpio.c | 22 struct s3c_sdhci_platdata *pdata = dev->dev.platform_data; in s3c64xx_setup_sdhci0_cfg_gpio() local 27 if (pdata->cd_type == S3C_SDHCI_CD_INTERNAL) { in s3c64xx_setup_sdhci0_cfg_gpio() 35 struct s3c_sdhci_platdata *pdata = dev->dev.platform_data; in s3c64xx_setup_sdhci1_cfg_gpio() local 40 if (pdata->cd_type == S3C_SDHCI_CD_INTERNAL) { in s3c64xx_setup_sdhci1_cfg_gpio()
|
/arch/arm/mach-omap2/ |
D | mcbsp.c | 46 struct omap_mcbsp_platform_data *pdata) in omap3_mcbsp_init_pdata_callback() argument 48 if (!pdata) in omap3_mcbsp_init_pdata_callback() 51 pdata->force_ick_on = omap3_mcbsp_force_ick_on; in omap3_mcbsp_init_pdata_callback()
|
/arch/arm/mach-davinci/ |
D | usb-da8xx.c | 128 int __init da8xx_register_usb11(struct da8xx_ohci_root_hub *pdata) in da8xx_register_usb11() argument 130 da8xx_usb11_device.dev.platform_data = pdata; in da8xx_register_usb11() 141 struct da8xx_cfgchip_clk_platform_data pdata; in da8xx_register_usb_phy_clocks() local 143 pdata.cfgchip = da8xx_get_cfgchip(); in da8xx_register_usb_phy_clocks() 144 da8xx_usb_phy_clks_device.dev.platform_data = &pdata; in da8xx_register_usb_phy_clocks()
|
D | cpuidle.c | 73 struct davinci_cpuidle_config *pdata = pdev->dev.platform_data; in davinci_cpuidle_probe() local 75 if (!pdata) { in davinci_cpuidle_probe() 80 ddr2_reg_base = pdata->ddr2_ctlr_base; in davinci_cpuidle_probe() 82 ddr2_pdown = pdata->ddr2_pdown; in davinci_cpuidle_probe()
|
D | davinci.h | 61 int davinci_gpio_register(struct resource *res, int size, void *pdata); 109 void dm365_init_ks(struct davinci_ks_platform_data *pdata); 131 void dm646x_init_mcasp0(struct snd_platform_data *pdata); 132 void dm646x_init_mcasp1(struct snd_platform_data *pdata);
|
/arch/mips/txx9/rbtx4938/ |
D | setup.c | 303 struct physmap_flash_data pdata = { in rbtx4938_mtd_init() local 310 txx9_physmap_flash_init(0, 0x1fc00000, 0x400000, &pdata); in rbtx4938_mtd_init() 312 txx9_physmap_flash_init(1, 0x1e000000, 0x1000000, &pdata); in rbtx4938_mtd_init() 316 txx9_physmap_flash_init(0, 0x1f000000, 0x1000000, &pdata); in rbtx4938_mtd_init() 318 txx9_physmap_flash_init(1, 0x1ec00000, 0x400000, &pdata); in rbtx4938_mtd_init() 322 txx9_physmap_flash_init(0, 0x1f000000, 0x1000000, &pdata); in rbtx4938_mtd_init() 324 txx9_physmap_flash_init(1, 0x1e000000, 0x1000000, &pdata); in rbtx4938_mtd_init() 326 txx9_physmap_flash_init(2, 0x1dc00000, 0x400000, &pdata); in rbtx4938_mtd_init() 330 txx9_physmap_flash_init(1, 0x1bc00000, 0x400000, &pdata); in rbtx4938_mtd_init() 332 txx9_physmap_flash_init(2, 0x1a000000, 0x1000000, &pdata); in rbtx4938_mtd_init()
|
/arch/arm/mach-davinci/include/mach/ |
D | da8xx.h | 102 int da8xx_register_i2c(int instance, struct davinci_i2c_platform_data *pdata); 107 int da8xx_register_usb11(struct da8xx_ohci_root_hub *pdata); 112 int da8xx_register_lcdc(struct da8xx_lcdc_platform_data *pdata); 115 void da8xx_register_mcasp(int id, struct snd_platform_data *pdata); 117 int da8xx_register_gpio(void *pdata);
|
/arch/x86/platform/intel-mid/ |
D | sfi.c | 328 void *pdata = NULL; in sfi_handle_ipc_dev() local 337 pdata = intel_mid_sfi_get_pdata(dev, pentry); in sfi_handle_ipc_dev() 338 if (IS_ERR(pdata)) in sfi_handle_ipc_dev() 356 pdev->dev.platform_data = pdata; in sfi_handle_ipc_dev() 367 void *pdata = NULL; in sfi_handle_spi_dev() local 382 pdata = intel_mid_sfi_get_pdata(dev, &spi_info); in sfi_handle_spi_dev() 383 if (IS_ERR(pdata)) in sfi_handle_spi_dev() 386 spi_info.platform_data = pdata; in sfi_handle_spi_dev() 397 void *pdata = NULL; in sfi_handle_i2c_dev() local 408 pdata = intel_mid_sfi_get_pdata(dev, &i2c_info); in sfi_handle_i2c_dev() [all …]
|
/arch/mips/ar7/ |
D | platform.c | 42 struct plat_vlynq_data *pdata = dev->dev.platform_data; in vlynq_on() local 44 ret = gpio_request(pdata->gpio_bit, "vlynq"); in vlynq_on() 48 ar7_device_reset(pdata->reset_bit); in vlynq_on() 50 ret = ar7_gpio_disable(pdata->gpio_bit); in vlynq_on() 54 ret = ar7_gpio_enable(pdata->gpio_bit); in vlynq_on() 58 ret = gpio_direction_output(pdata->gpio_bit, 0); in vlynq_on() 64 gpio_set_value(pdata->gpio_bit, 1); in vlynq_on() 71 ar7_gpio_disable(pdata->gpio_bit); in vlynq_on() 73 ar7_device_disable(pdata->reset_bit); in vlynq_on() 74 gpio_free(pdata->gpio_bit); in vlynq_on() [all …]
|