Lines Matching refs:realtek_priv

47 static inline void realtek_smi_clk_delay(struct realtek_priv *priv)  in realtek_smi_clk_delay()
52 static void realtek_smi_start(struct realtek_priv *priv) in realtek_smi_start()
77 static void realtek_smi_stop(struct realtek_priv *priv) in realtek_smi_stop()
102 static void realtek_smi_write_bits(struct realtek_priv *priv, u32 data, u32 len) in realtek_smi_write_bits()
118 static void realtek_smi_read_bits(struct realtek_priv *priv, u32 len, u32 *data) in realtek_smi_read_bits()
139 static int realtek_smi_wait_for_ack(struct realtek_priv *priv) in realtek_smi_wait_for_ack()
160 static int realtek_smi_write_byte(struct realtek_priv *priv, u8 data) in realtek_smi_write_byte()
166 static int realtek_smi_write_byte_noack(struct realtek_priv *priv, u8 data) in realtek_smi_write_byte_noack()
172 static int realtek_smi_read_byte0(struct realtek_priv *priv, u8 *data) in realtek_smi_read_byte0()
186 static int realtek_smi_read_byte1(struct realtek_priv *priv, u8 *data) in realtek_smi_read_byte1()
200 static int realtek_smi_read_reg(struct realtek_priv *priv, u32 addr, u32 *data) in realtek_smi_read_reg()
242 static int realtek_smi_write_reg(struct realtek_priv *priv, in realtek_smi_write_reg()
302 struct realtek_priv *priv = ctx; in realtek_smi_write()
309 struct realtek_priv *priv = ctx; in realtek_smi_read()
334 struct realtek_priv *priv; in realtek_smi_probe()
378 struct realtek_priv *priv = platform_get_drvdata(pdev); in realtek_smi_remove()
401 struct realtek_priv *priv = platform_get_drvdata(pdev); in realtek_smi_shutdown()