Lines Matching refs:realtek_smi
49 static inline void realtek_smi_clk_delay(struct realtek_smi *smi) in realtek_smi_clk_delay()
54 static void realtek_smi_start(struct realtek_smi *smi) in realtek_smi_start()
79 static void realtek_smi_stop(struct realtek_smi *smi) in realtek_smi_stop()
104 static void realtek_smi_write_bits(struct realtek_smi *smi, u32 data, u32 len) in realtek_smi_write_bits()
120 static void realtek_smi_read_bits(struct realtek_smi *smi, u32 len, u32 *data) in realtek_smi_read_bits()
141 static int realtek_smi_wait_for_ack(struct realtek_smi *smi) in realtek_smi_wait_for_ack()
162 static int realtek_smi_write_byte(struct realtek_smi *smi, u8 data) in realtek_smi_write_byte()
168 static int realtek_smi_write_byte_noack(struct realtek_smi *smi, u8 data) in realtek_smi_write_byte_noack()
174 static int realtek_smi_read_byte0(struct realtek_smi *smi, u8 *data) in realtek_smi_read_byte0()
188 static int realtek_smi_read_byte1(struct realtek_smi *smi, u8 *data) in realtek_smi_read_byte1()
202 static int realtek_smi_read_reg(struct realtek_smi *smi, u32 addr, u32 *data) in realtek_smi_read_reg()
244 static int realtek_smi_write_reg(struct realtek_smi *smi, in realtek_smi_write_reg()
295 int realtek_smi_write_reg_noack(struct realtek_smi *smi, u32 addr, in realtek_smi_write_reg_noack()
306 struct realtek_smi *smi = ctx; in realtek_smi_write()
313 struct realtek_smi *smi = ctx; in realtek_smi_read()
332 struct realtek_smi *smi = bus->priv; in realtek_smi_mdio_read()
340 struct realtek_smi *smi = bus->priv; in realtek_smi_mdio_write()
345 int realtek_smi_setup_mdio(struct realtek_smi *smi) in realtek_smi_setup_mdio()
390 struct realtek_smi *smi; in realtek_smi_probe()
467 struct realtek_smi *smi = dev_get_drvdata(&pdev->dev); in realtek_smi_remove()