Home
last modified time | relevance | path

Searched refs:adin (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/drivers/mdio/
Dmdio_adin2111.c33 const struct device *adin; member
44 ret = eth_adin2111_reg_read(cfg->adin, reg, out); in mdio_adin2111_wait_ready()
72 ret = eth_adin2111_reg_write(cfg->adin, ADIN2111_MDIOACC0, cmd); in mdio_adin2111_read_c45()
80 ret = eth_adin2111_reg_write(cfg->adin, ADIN2111_MDIOACC1, cmd); in mdio_adin2111_read_c45()
91 ret = eth_adin2111_reg_read(cfg->adin, ADIN2111_MDIOACC1, &cmd); in mdio_adin2111_read_c45()
113 ret = eth_adin2111_reg_write(cfg->adin, ADIN2111_MDIOACC0, cmd); in mdio_adin2111_write_c45()
122 ret = eth_adin2111_reg_write(cfg->adin, ADIN2111_MDIOACC1, cmd); in mdio_adin2111_write_c45()
145 ret = eth_adin2111_reg_write(cfg->adin, ADIN2111_MDIOACC0, cmd); in mdio_adin2111_read()
168 ret = eth_adin2111_reg_write(cfg->adin, ADIN2111_MDIOACC0, cmd); in mdio_adin2111_write()
180 eth_adin2111_lock(cfg->adin, K_FOREVER); in mdio_adin2111_bus_enable()
[all …]
/Zephyr-latest/drivers/ethernet/
Deth_adin2111.c806 const struct device *adin = cfg->adin; in adin2111_port_send() local
807 struct adin2111_data *ctx = cfg->adin->data; in adin2111_port_send()
815 eth_adin2111_lock(adin, K_FOREVER); in adin2111_port_send()
824 ret = eth_adin2111_reg_read(adin, ADIN2111_BUFSTS, &val); in adin2111_port_send()
831 eth_adin2111_unlock(adin); in adin2111_port_send()
834 eth_adin2111_lock(adin, K_FOREVER); in adin2111_port_send()
837 ret = eth_adin2111_send_oa_frame(cfg->adin, pkt, htons(cfg->port_idx)); in adin2111_port_send()
843 ret = adin2111_read_tx_space(adin, &tx_space); in adin2111_port_send()
907 ret = eth_adin2111_reg_write(adin, ADIN2111_TX_FSIZE, padded_size); in adin2111_port_send()
921 ret = spi_write_dt(&((const struct adin2111_config *) adin->config)->spi, in adin2111_port_send()
[all …]
Deth_adin2111_priv.h260 const struct device *adin; member