Lines Matching refs:ich_spi_priv
28 static u8 ich_readb(struct ich_spi_priv *priv, int reg) in ich_readb()
37 static u16 ich_readw(struct ich_spi_priv *priv, int reg) in ich_readw()
46 static u32 ich_readl(struct ich_spi_priv *priv, int reg) in ich_readl()
55 static void ich_writeb(struct ich_spi_priv *priv, u8 value, int reg) in ich_writeb()
61 static void ich_writew(struct ich_spi_priv *priv, u16 value, int reg) in ich_writew()
67 static void ich_writel(struct ich_spi_priv *priv, u32 value, int reg) in ich_writel()
73 static void write_reg(struct ich_spi_priv *priv, const void *value, in write_reg()
79 static void read_reg(struct ich_spi_priv *priv, int src_reg, void *value, in read_reg()
85 static void ich_set_bbar(struct ich_spi_priv *ctlr, uint32_t minaddr) in ich_set_bbar()
115 struct ich_spi_priv *ctlr) in ich_init_controller()
249 static int spi_setup_opcode(struct ich_spi_priv *ctlr, struct spi_trans *trans, in spi_setup_opcode()
330 static int ich_status_poll(struct ich_spi_priv *ctlr, u16 bitmask, in ich_status_poll()
355 struct ich_spi_priv *ctlr = dev_get_priv(dev); in ich_spi_config_opcode()
373 struct ich_spi_priv *ctlr = dev_get_priv(bus); in ich_spi_xfer()
587 struct ich_spi_priv *priv = dev_get_priv(dev); in ich_spi_probe()
631 struct ich_spi_priv *priv = dev_get_priv(bus); in ich_spi_set_speed()
649 struct ich_spi_priv *priv = dev_get_priv(bus); in ich_spi_child_pre_probe()
712 .priv_auto_alloc_size = sizeof(struct ich_spi_priv),