Lines Matching refs:chip0_size
167 size_t chip0_size; member
454 return (spi_get_chipselect(mem->spi, 0) == 1) ? ispi->chip0_size : 0; in intel_spi_chip_addr()
1304 ispi->chip0_size = SZ_512K; in intel_spi_read_desc()
1307 ispi->chip0_size = SZ_1M; in intel_spi_read_desc()
1310 ispi->chip0_size = SZ_2M; in intel_spi_read_desc()
1313 ispi->chip0_size = SZ_4M; in intel_spi_read_desc()
1316 ispi->chip0_size = SZ_8M; in intel_spi_read_desc()
1319 ispi->chip0_size = SZ_16M; in intel_spi_read_desc()
1322 ispi->chip0_size = SZ_32M; in intel_spi_read_desc()
1325 ispi->chip0_size = SZ_64M; in intel_spi_read_desc()
1331 dev_dbg(ispi->dev, "chip0 size %zd KB\n", ispi->chip0_size / SZ_1K); in intel_spi_read_desc()