Searched refs:spi_info (Results 1 – 3 of 3) sorted by relevance
32 struct spi_board_info *spi_info = info; in spidev_platform_data() local37 spi_info->mode = SPI_MODE_0; in spidev_platform_data()38 spi_info->controller_data = &spidev_spi_chip; in spidev_platform_data()
366 struct spi_board_info spi_info; in sfi_handle_spi_dev() local369 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 …]
73 static struct sh_spi_info spi_info = { variable92 .platform_data = &spi_info,