Searched refs:spi_board (Results 1 – 1 of 1) sorted by relevance
442 struct spi_board_info spi_board = { {0} }; in gb_spi_setup_device() local458 strlcpy(spi_board.modalias, "spidev", in gb_spi_setup_device()459 sizeof(spi_board.modalias)); in gb_spi_setup_device()461 strlcpy(spi_board.modalias, "spi-nor", in gb_spi_setup_device()462 sizeof(spi_board.modalias)); in gb_spi_setup_device()464 memcpy(spi_board.modalias, response.name, in gb_spi_setup_device()465 sizeof(spi_board.modalias)); in gb_spi_setup_device()469 spi_board.mode = le16_to_cpu(response.mode); in gb_spi_setup_device()470 spi_board.bus_num = master->bus_num; in gb_spi_setup_device()471 spi_board.chip_select = cs; in gb_spi_setup_device()[all …]