Lines Matching refs:realtek_priv
46 static inline void realtek_smi_clk_delay(struct realtek_priv *priv) in realtek_smi_clk_delay()
51 static void realtek_smi_start(struct realtek_priv *priv) in realtek_smi_start()
76 static void realtek_smi_stop(struct realtek_priv *priv) in realtek_smi_stop()
101 static void realtek_smi_write_bits(struct realtek_priv *priv, u32 data, u32 len) in realtek_smi_write_bits()
117 static void realtek_smi_read_bits(struct realtek_priv *priv, u32 len, u32 *data) in realtek_smi_read_bits()
138 static int realtek_smi_wait_for_ack(struct realtek_priv *priv) in realtek_smi_wait_for_ack()
159 static int realtek_smi_write_byte(struct realtek_priv *priv, u8 data) in realtek_smi_write_byte()
165 static int realtek_smi_write_byte_noack(struct realtek_priv *priv, u8 data) in realtek_smi_write_byte_noack()
171 static int realtek_smi_read_byte0(struct realtek_priv *priv, u8 *data) in realtek_smi_read_byte0()
185 static int realtek_smi_read_byte1(struct realtek_priv *priv, u8 *data) in realtek_smi_read_byte1()
199 static int realtek_smi_read_reg(struct realtek_priv *priv, u32 addr, u32 *data) in realtek_smi_read_reg()
241 static int realtek_smi_write_reg(struct realtek_priv *priv, in realtek_smi_write_reg()
301 struct realtek_priv *priv = ctx; in realtek_smi_write()
308 struct realtek_priv *priv = ctx; in realtek_smi_read()
315 struct realtek_priv *priv = ctx; in realtek_smi_lock()
322 struct realtek_priv *priv = ctx; in realtek_smi_unlock()
356 struct realtek_priv *priv = bus->priv; in realtek_smi_mdio_read()
364 struct realtek_priv *priv = bus->priv; in realtek_smi_mdio_write()
371 struct realtek_priv *priv = ds->priv; in realtek_smi_setup_mdio()
415 struct realtek_priv *priv; in realtek_smi_probe()
511 struct realtek_priv *priv = platform_get_drvdata(pdev); in realtek_smi_remove()
529 struct realtek_priv *priv = platform_get_drvdata(pdev); in realtek_smi_shutdown()