Lines Matching refs:aspeed_spi_priv
262 struct aspeed_spi_priv { struct
277 int (*spi_exec_op_cmd)(struct aspeed_spi_priv *priv, argument
288 struct aspeed_spi_priv *priv = dev_get_priv(dev->parent); in aspeed_spi_get_flash()
299 static u32 aspeed_g6_spi_hclk_divisor(struct aspeed_spi_priv *priv, u32 max_hz) in aspeed_g6_spi_hclk_divisor()
334 static u32 aspeed_spi_hclk_divisor(struct aspeed_spi_priv *priv, u32 max_hz) in aspeed_spi_hclk_divisor()
359 static u32 aspeed_spi_fmc_checksum(struct aspeed_spi_priv *priv, in aspeed_spi_fmc_checksum()
393 static u32 aspeed_g6_spi_fmc_checksum(struct aspeed_spi_priv *priv, in aspeed_g6_spi_fmc_checksum()
431 static u32 aspeed_spi_read_checksum(struct aspeed_spi_priv *priv, in aspeed_spi_read_checksum()
501 static int aspeed_spi_timing_calibration(struct aspeed_spi_priv *priv, in aspeed_spi_timing_calibration()
675 static int aspeed_spi_controller_init(struct aspeed_spi_priv *priv) in aspeed_spi_controller_init()
768 static void aspeed_spi_start_user(struct aspeed_spi_priv *priv, in aspeed_spi_start_user()
780 static void aspeed_spi_stop_user(struct aspeed_spi_priv *priv, in aspeed_spi_stop_user()
790 static int aspeed_spi_read_reg(struct aspeed_spi_priv *priv, in aspeed_spi_read_reg()
814 static int aspeed_spi_write_reg(struct aspeed_spi_priv *priv, in aspeed_spi_write_reg()
868 static void aspeed_spi_send_cmd_addr(struct aspeed_spi_priv *priv, in aspeed_spi_send_cmd_addr()
887 static ssize_t aspeed_spi_read_user(struct aspeed_spi_priv *priv, in aspeed_spi_read_user()
929 static ssize_t aspeed_spi_read_sfdp(struct aspeed_spi_priv *priv, in aspeed_spi_read_sfdp()
965 static ssize_t aspeed_spi_write_user(struct aspeed_spi_priv *priv, in aspeed_spi_write_user()
1017 static ssize_t aspeed_spi_read(struct aspeed_spi_priv *priv, in aspeed_spi_read()
1059 int aspeed_spi_exec_op_cmd_mode(struct aspeed_spi_priv *priv, in aspeed_spi_exec_op_cmd_mode()
1161 struct aspeed_spi_priv *priv = dev_get_priv(bus); in aspeed_spi_xfer()
1243 static void aspeed_spi_fill_FQCD(struct aspeed_spi_priv *priv, u8 cmd) in aspeed_spi_fill_FQCD()
1287 static void aspeed_spi_fill_AQCD(struct aspeed_spi_priv *priv, u8 cmd, u8 addr_width) in aspeed_spi_fill_AQCD()
1330 static void aspeed_spi_cmd_filter_config(struct aspeed_spi_priv *priv, in aspeed_spi_cmd_filter_config()
1345 static int aspeed_spi_write_addr_ftr_sanity(struct aspeed_spi_priv *priv, in aspeed_spi_write_addr_ftr_sanity()
1371 static int aspeed_add_write_addr_ftr(struct aspeed_spi_priv *priv, in aspeed_add_write_addr_ftr()
1426 static int aspeed_remove_write_addr_ftr(struct aspeed_spi_priv *priv, in aspeed_remove_write_addr_ftr()
1483 struct aspeed_spi_priv *priv = dev_get_priv(bus); in aspeed_spi_mem_wlock()
1521 struct aspeed_spi_priv *priv = dev_get_priv(bus); in aspeed_spi_mem_wunlock()
1575 static int aspeed_spi_flash_set_segment(struct aspeed_spi_priv *priv, in aspeed_spi_flash_set_segment()
1636 static int aspeed_spi_flash_init(struct aspeed_spi_priv *priv, in aspeed_spi_flash_init()
1765 struct aspeed_spi_priv *priv = dev_get_priv(bus); in aspeed_spi_claim_bus()
1852 struct aspeed_spi_priv *priv = dev_get_priv(bus); in aspeed_spi_probe()
1947 .priv_auto_alloc_size = sizeof(struct aspeed_spi_priv),