Lines Matching full:mdio
10 #include <zephyr/drivers/mdio.h>
47 #error "No known devicetree compatible match for MDIO shell"
53 * Scan the entire 5-bit address space of the MDIO bus
66 shell_error(sh, "MDIO: Device driver %s is not ready.", dev->name); in cmd_mdio_scan()
89 shell_print(sh, "Found MDIO device @ 0x%x", i); in cmd_mdio_scan()
100 /* mdio write <port_addr> <reg_addr> <data> */
110 shell_error(sh, "MDIO: Device driver %s is not ready.", dev->name); in cmd_mdio_write()
133 /* mdio read <port_addr> <reg_addr> */
143 shell_error(sh, "MDIO: Device driver %s is not ready.", dev->name); in cmd_mdio_read()
167 /* mdio write_c45 <port_addr> <dev_addr> <reg_addr> <value> */
178 shell_error(sh, "MDIO: Device driver %s is not ready.", dev->name); in cmd_mdio_write_45()
202 /* mdio read_c45 <port_addr> <dev_addr> <reg_addr> */
213 shell_error(sh, "MDIO: Device driver %s is not ready.", dev->name); in cmd_mdio_read_c45()
240 "Scan MDIO bus for devices: scan [<reg_addr>]",
243 "Read from MDIO device: read <phy_addr> <reg_addr>",
246 "Write to MDIO device: write <phy_addr> <reg_addr> <value>",
249 "Read from MDIO Clause 45 device: "
253 "Write to MDIO Clause 45 device: "
259 SHELL_CMD_REGISTER(mdio, &sub_mdio_cmds, "MDIO commands", NULL);