Home
last modified time | relevance | path

Searched defs:emac (Results 1 – 7 of 7) sorted by relevance

/hal_espressif-3.4.0/components/esp_eth/src/
Desp_eth_mac_dm9051.c54 static inline bool dm9051_lock(emac_dm9051_t *emac) in dm9051_lock()
59 static inline bool dm9051_unlock(emac_dm9051_t *emac) in dm9051_unlock()
67 static esp_err_t dm9051_register_write(emac_dm9051_t *emac, uint8_t reg_addr, uint8_t value) in dm9051_register_write()
92 static esp_err_t dm9051_register_read(emac_dm9051_t *emac, uint8_t reg_addr, uint8_t *value) in dm9051_register_read()
118 static esp_err_t dm9051_memory_write(emac_dm9051_t *emac, uint8_t *buffer, uint32_t len) in dm9051_memory_write()
142 static esp_err_t dm9051_memory_read(emac_dm9051_t *emac, uint8_t *buffer, uint32_t len) in dm9051_memory_read()
166 static esp_err_t dm9051_memory_peek(emac_dm9051_t *emac, uint8_t *buffer, uint32_t len) in dm9051_memory_peek()
190 static esp_err_t dm9051_get_mac_addr(emac_dm9051_t *emac) in dm9051_get_mac_addr()
204 static esp_err_t dm9051_set_mac_addr(emac_dm9051_t *emac) in dm9051_set_mac_addr()
218 static esp_err_t dm9051_clear_multicast_table(emac_dm9051_t *emac) in dm9051_clear_multicast_table()
[all …]
Desp_eth_mac_w5500.c52 static inline bool w5500_lock(emac_w5500_t *emac) in w5500_lock()
57 static inline bool w5500_unlock(emac_w5500_t *emac) in w5500_unlock()
62 static esp_err_t w5500_write(emac_w5500_t *emac, uint32_t address, const void *value, uint32_t len) in w5500_write()
84 static esp_err_t w5500_read(emac_w5500_t *emac, uint32_t address, void *value, uint32_t len) in w5500_read()
110 static esp_err_t w5500_send_command(emac_w5500_t *emac, uint8_t command, uint32_t timeout_ms) in w5500_send_command()
129 static esp_err_t w5500_get_tx_free_size(emac_w5500_t *emac, uint16_t *size) in w5500_get_tx_free_size()
146 static esp_err_t w5500_get_rx_received_size(emac_w5500_t *emac, uint16_t *size) in w5500_get_rx_received_size()
160 static esp_err_t w5500_write_buffer(emac_w5500_t *emac, const void *buffer, uint32_t len, uint16_t … in w5500_write_buffer()
179 static esp_err_t w5500_read_buffer(emac_w5500_t *emac, void *buffer, uint32_t len, uint16_t offset) in w5500_read_buffer()
198 static esp_err_t w5500_set_mac_addr(emac_w5500_t *emac) in w5500_set_mac_addr()
[all …]
Desp_eth_mac_ksz8851snl.c61 emac_ksz8851snl_t *emac = (emac_ksz8851snl_t *)arg; in ksz8851_isr_handler() local
69 static inline bool ksz8851_mutex_lock(emac_ksz8851snl_t *emac) in ksz8851_mutex_lock()
74 static inline bool ksz8851_mutex_unlock(emac_ksz8851snl_t *emac) in ksz8851_mutex_unlock()
79 static esp_err_t ksz8851_read_reg(emac_ksz8851snl_t *emac, uint32_t address, uint16_t *value) in ksz8851_read_reg()
113 static esp_err_t ksz8851_write_reg(emac_ksz8851snl_t *emac, uint32_t address, uint16_t value) in ksz8851_write_reg()
147 static esp_err_t ksz8851_set_bits(emac_ksz8851snl_t *emac, uint32_t address, uint16_t value) in ksz8851_set_bits()
158 static esp_err_t ksz8851_clear_bits(emac_ksz8851snl_t *emac, uint32_t address, uint16_t value) in ksz8851_clear_bits()
173 emac_ksz8851snl_t *emac = __containerof(mac, emac_ksz8851snl_t, parent); in emac_ksz8851_set_mediator() local
180 static esp_err_t init_soft_reset(emac_ksz8851snl_t *emac) in init_soft_reset()
195 static esp_err_t init_verify_chipid(emac_ksz8851snl_t *emac) in init_verify_chipid()
[all …]
Desp_eth_mac_esp.c74 emac_esp32_t *emac = __containerof(mac, emac_esp32_t, parent); in emac_esp32_set_mediator() local
84 emac_esp32_t *emac = __containerof(mac, emac_esp32_t, parent); in emac_esp32_write_phy_reg() local
106 emac_esp32_t *emac = __containerof(mac, emac_esp32_t, parent); in emac_esp32_read_phy_reg() local
129 emac_esp32_t *emac = __containerof(mac, emac_esp32_t, parent); in emac_esp32_set_addr() local
141 emac_esp32_t *emac = __containerof(mac, emac_esp32_t, parent); in emac_esp32_get_addr() local
151 emac_esp32_t *emac = __containerof(mac, emac_esp32_t, parent); in emac_esp32_set_link() local
173 emac_esp32_t *emac = __containerof(mac, emac_esp32_t, parent); in emac_esp32_set_speed() local
185 emac_esp32_t *emac = __containerof(mac, emac_esp32_t, parent); in emac_esp32_set_duplex() local
196 emac_esp32_t *emac = __containerof(mac, emac_esp32_t, parent); in emac_esp32_set_promiscuous() local
203 emac_esp32_t *emac = __containerof(mac, emac_esp32_t, parent); in emac_esp32_enable_flow_ctrl() local
[all …]
Desp_eth_mac_openeth.c60 emac_opencores_t *emac = (emac_opencores_t *) args; in emac_opencores_isr_handler() local
83 emac_opencores_t *emac = (emac_opencores_t *)arg; in emac_opencores_rx_task() local
117 emac_opencores_t *emac = __containerof(mac, emac_opencores_t, parent); in emac_opencores_set_mediator() local
153 emac_opencores_t *emac = __containerof(mac, emac_opencores_t, parent); in emac_opencores_set_addr() local
172 emac_opencores_t *emac = __containerof(mac, emac_opencores_t, parent); in emac_opencores_get_addr() local
183 emac_opencores_t *emac = __containerof(mac, emac_opencores_t, parent); in emac_opencores_set_link() local
239 emac_opencores_t *emac = __containerof(mac, emac_opencores_t, parent); in emac_opencores_transmit() local
270 emac_opencores_t *emac = __containerof(mac, emac_opencores_t, parent); in emac_opencores_receive() local
295 emac_opencores_t *emac = __containerof(mac, emac_opencores_t, parent); in emac_opencores_init() local
319 emac_opencores_t *emac = __containerof(mac, emac_opencores_t, parent); in emac_opencores_deinit() local
[all …]
/hal_espressif-3.4.0/examples/ethernet/enc28j60/components/eth_enc28j60/
Desp_eth_mac_enc28j60.c131 static inline bool enc28j60_spi_lock(emac_enc28j60_t *emac) in enc28j60_spi_lock()
136 static inline bool enc28j60_spi_unlock(emac_enc28j60_t *emac) in enc28j60_spi_unlock()
141 static inline bool enc28j60_reg_trans_lock(emac_enc28j60_t *emac) in enc28j60_reg_trans_lock()
146 static inline bool enc28j60_reg_trans_unlock(emac_enc28j60_t *emac) in enc28j60_reg_trans_unlock()
182 static esp_err_t enc28j60_do_register_write(emac_enc28j60_t *emac, uint8_t reg_addr, uint8_t value) in enc28j60_do_register_write()
209 static esp_err_t enc28j60_do_register_read(emac_enc28j60_t *emac, bool is_eth_reg, uint8_t reg_addr… in enc28j60_do_register_read()
236 static esp_err_t enc28j60_do_bitwise_set(emac_enc28j60_t *emac, uint8_t reg_addr, uint8_t mask) in enc28j60_do_bitwise_set()
264 static esp_err_t enc28j60_do_bitwise_clr(emac_enc28j60_t *emac, uint8_t reg_addr, uint8_t mask) in enc28j60_do_bitwise_clr()
291 static esp_err_t enc28j60_do_memory_write(emac_enc28j60_t *emac, uint8_t *buffer, uint32_t len) in enc28j60_do_memory_write()
315 static esp_err_t enc28j60_do_memory_read(emac_enc28j60_t *emac, uint8_t *buffer, uint32_t len) in enc28j60_do_memory_read()
[all …]
/hal_espressif-3.4.0/components/esp_eth/include/
Desp_eth.h136 #define ETH_DEFAULT_CONFIG(emac, ephy) \ argument