Lines Matching refs:aspeed_spi_chip
62 struct aspeed_spi_chip { struct
85 int (*calibrate)(struct aspeed_spi_chip *chip, u32 hdiv, argument
103 struct aspeed_spi_chip chips[ASPEED_SPI_MAX_NUM_CS];
120 static void aspeed_spi_set_io_mode(struct aspeed_spi_chip *chip, u32 io_mode) in aspeed_spi_set_io_mode()
131 static void aspeed_spi_start_user(struct aspeed_spi_chip *chip) in aspeed_spi_start_user()
142 static void aspeed_spi_stop_user(struct aspeed_spi_chip *chip) in aspeed_spi_stop_user()
181 static int aspeed_spi_send_cmd_addr(struct aspeed_spi_chip *chip, u8 addr_nbytes, in aspeed_spi_send_cmd_addr()
207 static int aspeed_spi_read_reg(struct aspeed_spi_chip *chip, in aspeed_spi_read_reg()
218 static int aspeed_spi_write_reg(struct aspeed_spi_chip *chip, in aspeed_spi_write_reg()
229 static ssize_t aspeed_spi_read_user(struct aspeed_spi_chip *chip, in aspeed_spi_read_user()
257 static ssize_t aspeed_spi_write_user(struct aspeed_spi_chip *chip, in aspeed_spi_write_user()
301 struct aspeed_spi_chip *chip = &aspi->chips[spi_get_chipselect(mem->spi, 0)]; in do_aspeed_spi_exec_op()
414 static int aspeed_spi_chip_set_default_window(struct aspeed_spi_chip *chip) in aspeed_spi_chip_set_default_window()
483 static int aspeed_spi_chip_adjust_window(struct aspeed_spi_chip *chip, in aspeed_spi_chip_adjust_window()
554 static int aspeed_spi_do_calibration(struct aspeed_spi_chip *chip);
559 struct aspeed_spi_chip *chip = &aspi->chips[spi_get_chipselect(desc->mem->spi, 0)]; in aspeed_spi_dirmap_create()
626 struct aspeed_spi_chip *chip = &aspi->chips[spi_get_chipselect(desc->mem->spi, 0)]; in aspeed_spi_dirmap_read()
677 struct aspeed_spi_chip *chip = &aspi->chips[cs]; in aspeed_spi_setup()
869 static bool aspeed_spi_check_reads(struct aspeed_spi_chip *chip, in aspeed_spi_check_reads()
892 static int aspeed_spi_calibrate(struct aspeed_spi_chip *chip, u32 hdiv, in aspeed_spi_calibrate()
974 static int aspeed_spi_do_calibration(struct aspeed_spi_chip *chip) in aspeed_spi_do_calibration()
1053 static int aspeed_spi_ast2600_calibrate(struct aspeed_spi_chip *chip, u32 hdiv, in aspeed_spi_ast2600_calibrate()