Lines Matching refs:sgpio_priv

110 	struct sgpio_priv *priv;
116 struct sgpio_priv { struct
135 static inline void sgpio_pin_to_addr(struct sgpio_priv *priv, int pin, in sgpio_pin_to_addr() argument
142 static inline int sgpio_addr_to_pin(struct sgpio_priv *priv, int port, int bit) in sgpio_addr_to_pin()
147 static inline u32 sgpio_get_addr(struct sgpio_priv *priv, u32 rno, u32 off) in sgpio_get_addr()
153 static u32 sgpio_readl(struct sgpio_priv *priv, u32 rno, u32 off) in sgpio_readl()
165 static void sgpio_writel(struct sgpio_priv *priv, in sgpio_writel()
175 static inline void sgpio_clrsetbits(struct sgpio_priv *priv, in sgpio_clrsetbits()
185 static inline void sgpio_configure_bitstream(struct sgpio_priv *priv) in sgpio_configure_bitstream()
212 static inline void sgpio_configure_clock(struct sgpio_priv *priv, u32 clkfrq) in sgpio_configure_clock()
235 static int sgpio_single_shot(struct sgpio_priv *priv) in sgpio_single_shot()
284 static int sgpio_output_set(struct sgpio_priv *priv, in sgpio_output_set()
325 static int sgpio_output_get(struct sgpio_priv *priv, in sgpio_output_get()
348 static int sgpio_input_get(struct sgpio_priv *priv, in sgpio_input_get()
359 struct sgpio_priv *priv = bank->priv; in sgpio_pinconf_get()
393 struct sgpio_priv *priv = bank->priv; in sgpio_pinconf_set()
468 struct sgpio_priv *priv = bank->priv; in sgpio_gpio_request_enable()
539 struct sgpio_priv *priv = bank->priv; in microchip_sgpio_direction_output()
567 struct sgpio_priv *priv = bank->priv; in microchip_sgpio_get_value()
580 struct sgpio_priv *priv = bank->priv; in microchip_sgpio_of_xlate()
602 static int microchip_sgpio_get_ports(struct sgpio_priv *priv) in microchip_sgpio_get_ports()
765 struct sgpio_priv *priv = bank->priv; in sgpio_irq_handler()
786 struct sgpio_priv *priv, in microchip_sgpio_register_bank()
910 struct sgpio_priv *priv; in microchip_sgpio_probe()