Home
last modified time | relevance | path

Searched refs:spi_info (Results 1 – 5 of 5) sorted by relevance

/arch/x86/platform/intel-mid/device_libs/
Dplatform_max3111.c19 struct spi_board_info *spi_info = info; in max3111_platform_data() local
22 spi_info->mode = SPI_MODE_0; in max3111_platform_data()
25 spi_info->irq = intr + INTEL_MID_IRQ_OFFSET; in max3111_platform_data()
/arch/x86/platform/intel-mid/
Dsfi.c360 struct spi_board_info spi_info; in sfi_handle_spi_dev() local
363 memset(&spi_info, 0, sizeof(spi_info)); in sfi_handle_spi_dev()
364 strncpy(spi_info.modalias, pentry->name, SFI_NAME_LEN); in sfi_handle_spi_dev()
365 spi_info.irq = ((pentry->irq == (u8)0xff) ? 0 : pentry->irq); in sfi_handle_spi_dev()
366 spi_info.bus_num = pentry->host_num; in sfi_handle_spi_dev()
367 spi_info.chip_select = pentry->addr; in sfi_handle_spi_dev()
368 spi_info.max_speed_hz = pentry->max_freq; in sfi_handle_spi_dev()
370 spi_info.bus_num, in sfi_handle_spi_dev()
371 spi_info.modalias, in sfi_handle_spi_dev()
372 spi_info.irq, in sfi_handle_spi_dev()
[all …]
/arch/sh/boards/mach-r2d/
Dsetup.c76 static struct sh_spi_info spi_info = { variable
95 .platform_data = &spi_info,
/arch/arm/mach-shmobile/
Dboard-koelsch.c215 static const struct spi_board_info spi_info[] __initconst = { variable
448 spi_register_board_info(spi_info, ARRAY_SIZE(spi_info)); in koelsch_add_standard_devices()
Dboard-lager.c327 static const struct spi_board_info spi_info[] __initconst = { variable
813 spi_register_board_info(spi_info, ARRAY_SIZE(spi_info)); in lager_add_standard_devices()