Searched refs:eth_mac_handle_t (Results 1 – 6 of 6) sorted by relevance
| /bsp/xuantie/libraries/xuantie_libraries/csi/csi2/include/drv/ |
| A D | eth_mac.h | 28 typedef void *eth_mac_handle_t; typedef 163 csi_drv_version_t csi_eth_mac_get_version(eth_mac_handle_t handle); 178 eth_mac_handle_t csi_eth_mac_initialize(int32_t idx, eth_event_cb_t cb_event); 185 int32_t csi_eth_mac_uninitialize(eth_mac_handle_t handle); 200 int32_t csi_eth_mac_power_control(eth_mac_handle_t handle, eth_power_state_t state); 208 int32_t csi_eth_mac_get_macaddr(eth_mac_handle_t handle, eth_mac_addr_t *mac); 216 int32_t csi_eth_mac_set_macaddr(eth_mac_handle_t handle, const eth_mac_addr_t *mac); 258 int32_t csi_eth_mac_request_frame(eth_mac_handle_t handle, uint8_t **frame); 267 int32_t csi_eth_mac_release_frame(eth_mac_handle_t handle); 274 int32_t csi_eth_mac_get_rx_framesize(eth_mac_handle_t handle); [all …]
|
| /bsp/ck802/libraries/include/ |
| A D | drv_eth_mac.h | 26 typedef void *eth_mac_handle_t; typedef 182 csi_drv_version_t csi_eth_mac_get_version(eth_mac_handle_t handle); 189 eth_capabilities_t csi_eth_mac_get_capabilities(eth_mac_handle_t handle); 196 eth_mac_handle_t csi_eth_mac_initialize(eth_event_cb_t cb); 203 int32_t csi_eth_mac_uninitialize(eth_mac_handle_t handle); 211 int32_t csi_eth_mac_power_control(eth_mac_handle_t handle, eth_power_state_t state); 219 int32_t csi_eth_mac_get_macaddr(eth_mac_handle_t handle, eth_mac_addr_t *mac); 227 int32_t csi_eth_mac_set_macaddr(eth_mac_handle_t handle, const eth_mac_addr_t *mac); 264 int32_t csi_eth_mac_get_rx_framesize(eth_mac_handle_t handle); 272 int32_t csi_eth_mac_get_rx_frametime(eth_mac_handle_t handle, eth_mac_time_t *time); [all …]
|
| /bsp/cvitek/drivers/libraries/eth/ |
| A D | dw_eth_mac.c | 36 static int32_t designware_read_hwaddr(eth_mac_handle_t handle) in designware_read_hwaddr() 58 static int32_t designware_write_hwaddr(eth_mac_handle_t handle) in designware_write_hwaddr() 76 static void tx_descs_init(eth_mac_handle_t handle) in tx_descs_init() 130 static void rx_descs_init(eth_mac_handle_t handle) in rx_descs_init() 217 static int32_t designware_eth_init(eth_mac_handle_t handle) in designware_eth_init() 316 static int32_t designware_eth_start(eth_mac_handle_t handle) in designware_eth_start() 327 void designware_eth_stop(eth_mac_handle_t handle) in designware_eth_stop() 446 static int32_t designware_free_pkt(eth_mac_handle_t handle) in designware_free_pkt() 719 eth_mac_handle_t cvi_eth_mac_init(rt_ubase_t base) in cvi_eth_mac_init() 741 return (eth_mac_handle_t)mac_dev; in cvi_eth_mac_init() [all …]
|
| A D | dw_eth_mac.h | 29 typedef void *eth_mac_handle_t; typedef 348 int32_t dw_eth_mac_phy_write(eth_mac_handle_t handle, uint8_t phy_addr, uint8_t reg_addr, uint16_t … 357 int32_t cvi_eth_mac_control(eth_mac_handle_t handle, uint32_t control, uint32_t arg); 364 int32_t cvi_eth_mac_get_macaddr(eth_mac_handle_t handle, eth_mac_addr_t *mac); 372 int32_t cvi_eth_mac_set_macaddr(eth_mac_handle_t handle, const eth_mac_addr_t *mac); 379 void dw_eth_mac_connect_phy(eth_mac_handle_t handle_mac, eth_phy_handle_t handle_phy); 389 int32_t dw_eth_mac_phy_read(eth_mac_handle_t handle, uint8_t phy_addr, uint8_t reg_addr, uint16_t *… 398 int32_t cvi_eth_mac_send_frame(eth_mac_handle_t handle, const uint8_t *frame, uint32_t len); 409 int32_t cvi_eth_mac_read_frame(eth_mac_handle_t handle, uint8_t *frame, uint32_t len); 417 eth_mac_handle_t cvi_eth_mac_init(rt_ubase_t base);
|
| /bsp/ck802/libraries/common/eth/ |
| A D | ethernet_enc28j60.c | 159 eth_priv->cb_event((eth_mac_handle_t)eth_priv, CSI_ETH_MAC_EVENT_RX_FRAME); in enc28j60_int_handle() 169 eth_priv->cb_event((eth_mac_handle_t)eth_priv, CSI_ETH_MAC_EVENT_LINK_CHANGE); in enc28j60_int_handle() 690 return (eth_mac_handle_t)phy_priv; in csi_eth_phy_initialize() 825 eth_mac_handle_t csi_eth_mac_initialize(eth_event_cb_t cb) in csi_eth_mac_initialize() 874 return (eth_mac_handle_t)eth_priv; in csi_eth_mac_initialize() 881 int32_t csi_eth_mac_uninitialize(eth_mac_handle_t handle) in csi_eth_mac_uninitialize() 890 csi_drv_version_t csi_eth_mac_get_version(eth_mac_handle_t handle) in csi_eth_mac_get_version() 929 int32_t csi_eth_mac_get_macaddr(eth_mac_handle_t handle, eth_mac_addr_t *mac) in csi_eth_mac_get_macaddr() 962 int32_t csi_eth_mac_get_rx_framesize(eth_mac_handle_t handle) in csi_eth_mac_get_rx_framesize() 1172 eth_capabilities_t csi_eth_mac_get_capabilities(eth_mac_handle_t handle) in csi_eth_mac_get_capabilities() [all …]
|
| /bsp/cvitek/drivers/ |
| A D | drv_eth.c | 49 static eth_mac_handle_t g_mac_handle;
|
Completed in 15 milliseconds