Searched refs:cfg_gpio (Results 1 - 23 of 23) sorted by relevance

/linux-4.1.27/include/linux/platform_data/
H A Dspi-s3c64xx.h36 * @cfg_gpio: Configure pins for this SPI controller.
41 int (*cfg_gpio)(void); member in struct:s3c64xx_spi_info
48 * @cfg_gpio: Pointer to gpio setup function.
55 extern void s3c64xx_spi0_set_platdata(int (*cfg_gpio)(void), int src_clk_nr,
57 extern void s3c64xx_spi1_set_platdata(int (*cfg_gpio)(void), int src_clk_nr,
59 extern void s3c64xx_spi2_set_platdata(int (*cfg_gpio)(void), int src_clk_nr,
H A Dfsa9480.h17 void (*cfg_gpio) (void); member in struct:fsa9480_platform_data
H A Dtouchscreen-s3c2410.h16 void (*cfg_gpio)(struct platform_device *dev); member in struct:s3c2410_ts_mach_info
H A Dasoc-s3c.h38 * @cfg_gpio: Callback function to setup mux'ed pins in I2S/PCM/AC97 mode
41 int (*cfg_gpio)(struct platform_device *); member in struct:s3c_audio_pdata
H A Di2c-s3c2410.h29 * @cfg_gpio: A callback to configure the pins for I2C operation.
38 void (*cfg_gpio)(struct platform_device *dev); member in struct:s3c2410_platform_i2c
49 * This call will set cfg_gpio if is null to the default platform
H A Dmmc-sdhci-s3c.h32 * @cfg_gpio: Configure the GPIO for a specific card bit-width
52 void (*cfg_gpio)(struct platform_device *dev, int width); member in struct:s3c_sdhci_platdata
/linux-4.1.27/arch/arm/plat-samsung/include/plat/
H A Dsdhci.h67 s3c_hsmmc0_def_platdata.cfg_gpio = s3c2416_setup_sdhci0_cfg_gpio; s3c2416_default_sdhci0()
74 s3c_hsmmc1_def_platdata.cfg_gpio = s3c2416_setup_sdhci1_cfg_gpio; s3c2416_default_sdhci1()
90 s3c_hsmmc0_def_platdata.cfg_gpio = s3c64xx_setup_sdhci0_cfg_gpio; s3c6400_default_sdhci0()
97 s3c_hsmmc1_def_platdata.cfg_gpio = s3c64xx_setup_sdhci1_cfg_gpio; s3c6400_default_sdhci1()
104 s3c_hsmmc2_def_platdata.cfg_gpio = s3c64xx_setup_sdhci2_cfg_gpio; s3c6400_default_sdhci2()
111 s3c_hsmmc0_def_platdata.cfg_gpio = s3c64xx_setup_sdhci0_cfg_gpio; s3c6410_default_sdhci0()
118 s3c_hsmmc1_def_platdata.cfg_gpio = s3c64xx_setup_sdhci1_cfg_gpio; s3c6410_default_sdhci1()
125 s3c_hsmmc2_def_platdata.cfg_gpio = s3c64xx_setup_sdhci2_cfg_gpio; s3c6410_default_sdhci2()
/linux-4.1.27/arch/arm/mach-s3c64xx/
H A Ddev-audio.c62 .cfg_gpio = s3c64xx_i2s_cfg_gpio,
100 .cfg_gpio = s3c64xx_i2s_cfg_gpio,
150 .cfg_gpio = s3c64xx_pcm_cfg_gpio,
171 .cfg_gpio = s3c64xx_pcm_cfg_gpio,
225 s3c_ac97_pdata.cfg_gpio = s3c64xx_ac97_cfg_gpd; s3c64xx_ac97_setup_gpio()
227 s3c_ac97_pdata.cfg_gpio = s3c64xx_ac97_cfg_gpe; s3c64xx_ac97_setup_gpio()
H A Dmach-crag6410.c760 .cfg_gpio = crag6410_cfg_sdhci0,
/linux-4.1.27/include/linux/input/
H A Dsamsung-keypad.h28 * @cfg_gpio: configure the GPIO.
40 void (*cfg_gpio)(unsigned int rows, unsigned int cols); member in struct:samsung_keypad_platdata
/linux-4.1.27/arch/arm/plat-samsung/
H A Dplatformdata.c52 if (pd->cfg_gpio) s3c_sdhci_set_platdata()
53 set->cfg_gpio = pd->cfg_gpio; s3c_sdhci_set_platdata()
H A Ddevs.c348 if (!npd->cfg_gpio) s3c_i2c0_set_platdata()
349 npd->cfg_gpio = s3c_i2c0_cfg_gpio; s3c_i2c0_set_platdata()
377 if (!npd->cfg_gpio) s3c_i2c1_set_platdata()
378 npd->cfg_gpio = s3c_i2c1_cfg_gpio; s3c_i2c1_set_platdata()
407 if (!npd->cfg_gpio) s3c_i2c2_set_platdata()
408 npd->cfg_gpio = s3c_i2c2_cfg_gpio; s3c_i2c2_set_platdata()
437 if (!npd->cfg_gpio) s3c_i2c3_set_platdata()
438 npd->cfg_gpio = s3c_i2c3_cfg_gpio; s3c_i2c3_set_platdata()
467 if (!npd->cfg_gpio) s3c_i2c4_set_platdata()
468 npd->cfg_gpio = s3c_i2c4_cfg_gpio; s3c_i2c4_set_platdata()
497 if (!npd->cfg_gpio) s3c_i2c5_set_platdata()
498 npd->cfg_gpio = s3c_i2c5_cfg_gpio; s3c_i2c5_set_platdata()
527 if (!npd->cfg_gpio) s3c_i2c6_set_platdata()
528 npd->cfg_gpio = s3c_i2c6_cfg_gpio; s3c_i2c6_set_platdata()
557 if (!npd->cfg_gpio) s3c_i2c7_set_platdata()
558 npd->cfg_gpio = s3c_i2c7_cfg_gpio; s3c_i2c7_set_platdata()
624 if (!npd->cfg_gpio) samsung_keypad_set_platdata()
625 npd->cfg_gpio = samsung_keypad_cfg_gpio; samsung_keypad_set_platdata()
1119 void __init s3c64xx_spi0_set_platdata(int (*cfg_gpio)(void), int src_clk_nr, s3c64xx_spi0_set_platdata() argument
1132 pd.cfg_gpio = (cfg_gpio) ? cfg_gpio : s3c64xx_spi0_cfg_gpio; s3c64xx_spi0_set_platdata()
1164 void __init s3c64xx_spi1_set_platdata(int (*cfg_gpio)(void), int src_clk_nr, s3c64xx_spi1_set_platdata() argument
1177 pd.cfg_gpio = (cfg_gpio) ? cfg_gpio : s3c64xx_spi1_cfg_gpio; s3c64xx_spi1_set_platdata()
1207 void __init s3c64xx_spi2_set_platdata(int (*cfg_gpio)(void), int src_clk_nr, s3c64xx_spi2_set_platdata() argument
1220 pd.cfg_gpio = (cfg_gpio) ? cfg_gpio : s3c64xx_spi2_cfg_gpio; s3c64xx_spi2_set_platdata()
/linux-4.1.27/sound/soc/samsung/
H A Dac97.c332 if (!ac97_pdata || !ac97_pdata->cfg_gpio) { s3c_ac97_probe()
333 dev_err(&pdev->dev, "cfg_gpio callback not provided!\n"); s3c_ac97_probe()
385 if (ac97_pdata->cfg_gpio(pdev)) { s3c_ac97_probe()
H A Dspdif.c382 if (spdif_pdata && spdif_pdata->cfg_gpio spdif_probe()
383 && spdif_pdata->cfg_gpio(pdev)) { spdif_probe()
H A Dpcm.c520 if (pcm_pdata && pcm_pdata->cfg_gpio && pcm_pdata->cfg_gpio(pdev)) { s3c_pcm_dev_probe()
H A Di2s.c1359 if (i2s_pdata && i2s_pdata->cfg_gpio && i2s_pdata->cfg_gpio(pdev)) { samsung_i2s_probe()
/linux-4.1.27/drivers/misc/
H A Dfsa9480.c390 if (pdata && pdata->cfg_gpio) fsa9480_irq_init()
391 pdata->cfg_gpio(); fsa9480_irq_init()
/linux-4.1.27/drivers/input/touchscreen/
H A Ds3c2410_ts.c291 if (info->cfg_gpio) s3c2410ts_probe()
292 info->cfg_gpio(to_platform_device(ts.dev)); s3c2410ts_probe()
/linux-4.1.27/drivers/input/keyboard/
H A Dsamsung-keypad.c348 if (pdata->cfg_gpio) samsung_keypad_probe()
349 pdata->cfg_gpio(pdata->rows, pdata->cols); samsung_keypad_probe()
/linux-4.1.27/drivers/spi/
H A Dspi-s3c64xx.c1130 if (sci->cfg_gpio && sci->cfg_gpio()) { s3c64xx_spi_probe()
1252 if (sci->cfg_gpio) s3c64xx_spi_resume()
1253 sci->cfg_gpio(); s3c64xx_spi_resume()
/linux-4.1.27/drivers/mmc/host/
H A Dsdhci-s3c.c536 if (pdata->cfg_gpio) sdhci_s3c_probe()
537 pdata->cfg_gpio(pdev, pdata->max_width); sdhci_s3c_probe()
/linux-4.1.27/arch/arm/mach-s3c24xx/
H A Dmach-h1940.c183 .cfg_gpio = s3c24xx_ts_cfg_gpio,
/linux-4.1.27/drivers/i2c/busses/
H A Di2c-s3c2410.c1193 if (i2c->pdata->cfg_gpio) { s3c24xx_i2c_probe()
1194 i2c->pdata->cfg_gpio(to_platform_device(i2c->dev)); s3c24xx_i2c_probe()

Completed in 573 milliseconds