Searched refs:spi_board (Results 1 – 1 of 1) sorted by relevance
446 struct spi_board_info spi_board = { {0} }; in gb_spi_setup_device() local462 strscpy(spi_board.modalias, "spidev", in gb_spi_setup_device()463 sizeof(spi_board.modalias)); in gb_spi_setup_device()465 strscpy(spi_board.modalias, "spi-nor", in gb_spi_setup_device()466 sizeof(spi_board.modalias)); in gb_spi_setup_device()468 memcpy(spi_board.modalias, response.name, in gb_spi_setup_device()469 sizeof(spi_board.modalias)); in gb_spi_setup_device()473 spi_board.mode = le16_to_cpu(response.mode); in gb_spi_setup_device()474 spi_board.bus_num = master->bus_num; in gb_spi_setup_device()475 spi_board.chip_select = cs; in gb_spi_setup_device()[all …]