Home
last modified time | relevance | path

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

/arch/x86/platform/intel-mid/device_libs/
Dplatform_mrfld_spidev.c32 struct spi_board_info *spi_info = info; in spidev_platform_data() local
37 spi_info->mode = SPI_MODE_0; in spidev_platform_data()
38 spi_info->controller_data = &spidev_spi_chip; in spidev_platform_data()
/arch/x86/platform/intel-mid/
Dsfi.c366 struct spi_board_info spi_info; in sfi_handle_spi_dev() local
369 memset(&spi_info, 0, sizeof(spi_info)); in sfi_handle_spi_dev()
370 strncpy(spi_info.modalias, pentry->name, SFI_NAME_LEN); in sfi_handle_spi_dev()
371 spi_info.irq = ((pentry->irq == (u8)0xff) ? 0 : pentry->irq); in sfi_handle_spi_dev()
372 spi_info.bus_num = pentry->host_num; in sfi_handle_spi_dev()
373 spi_info.chip_select = pentry->addr; in sfi_handle_spi_dev()
374 spi_info.max_speed_hz = pentry->max_freq; in sfi_handle_spi_dev()
376 spi_info.bus_num, in sfi_handle_spi_dev()
377 spi_info.modalias, in sfi_handle_spi_dev()
378 spi_info.irq, in sfi_handle_spi_dev()
[all …]
/arch/sh/boards/mach-r2d/
Dsetup.c73 static struct sh_spi_info spi_info = { variable
92 .platform_data = &spi_info,