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()
256 static ssize_t aspeed_spi_write_user(struct aspeed_spi_chip *chip, in aspeed_spi_write_user()
299 struct aspeed_spi_chip *chip = &aspi->chips[mem->spi->chip_select]; in do_aspeed_spi_exec_op()
411 static int aspeed_spi_chip_set_default_window(struct aspeed_spi_chip *chip) in aspeed_spi_chip_set_default_window()
480 static int aspeed_spi_chip_adjust_window(struct aspeed_spi_chip *chip, in aspeed_spi_chip_adjust_window()
551 static int aspeed_spi_do_calibration(struct aspeed_spi_chip *chip);
556 struct aspeed_spi_chip *chip = &aspi->chips[desc->mem->spi->chip_select]; in aspeed_spi_dirmap_create()
623 struct aspeed_spi_chip *chip = &aspi->chips[desc->mem->spi->chip_select]; in aspeed_spi_dirmap_read()
674 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()