Lines Matching refs:windows
390 struct aspeed_spi_window windows[ASPEED_SPI_MAX_NUM_CS]) in aspeed_spi_get_windows()
398 windows[cs].cs = cs; in aspeed_spi_get_windows()
399 windows[cs].size = data->segment_end(aspi, reg_val) - in aspeed_spi_get_windows()
401 windows[cs].offset = data->segment_start(aspi, reg_val) - aspi->ahb_base_phy; in aspeed_spi_get_windows()
403 windows[cs].offset, windows[cs].size); in aspeed_spi_get_windows()
414 struct aspeed_spi_window windows[ASPEED_SPI_MAX_NUM_CS] = { 0 }; in aspeed_spi_chip_set_default_window() local
415 struct aspeed_spi_window *win = &windows[chip->cs]; in aspeed_spi_chip_set_default_window()
422 aspeed_spi_get_windows(aspi, windows); in aspeed_spi_chip_set_default_window()
484 struct aspeed_spi_window windows[ASPEED_SPI_MAX_NUM_CS] = { 0 }; in aspeed_spi_chip_adjust_window() local
485 struct aspeed_spi_window *win = &windows[chip->cs]; in aspeed_spi_chip_adjust_window()
513 aspeed_spi_get_windows(aspi, windows); in aspeed_spi_chip_adjust_window()
537 struct aspeed_spi_window *next = &windows[chip->cs + 1]; in aspeed_spi_chip_adjust_window()