Lines Matching defs:dev
44 rt_inline uint32_t smc911x_reg_read(struct eth_device_smc911x *dev, uint32_t offset) in smc911x_reg_read()
49 rt_inline void smc911x_reg_write(struct eth_device_smc911x *dev, uint32_t offset, uint32_t val) in smc911x_reg_write()
55 rt_inline uint32_t smc911x_reg_read(struct eth_device_smc911x *dev, uint32_t offset) in smc911x_reg_read()
61 rt_inline void smc911x_reg_write(struct eth_device_smc911x *dev, uint32_t offset, uint32_t val) in smc911x_reg_write()
93 static uint32_t smc911x_get_mac_csr(struct eth_device_smc911x *dev, uint8_t reg) in smc911x_get_mac_csr()
104 static void smc911x_set_mac_csr(struct eth_device_smc911x *dev, uint8_t reg, uint32_t data) in smc911x_set_mac_csr()
114 static int smc911x_detect_chip(struct eth_device_smc911x *dev) in smc911x_detect_chip()
145 static void smc911x_reset(struct eth_device_smc911x *dev) in smc911x_reset()
193 static void smc911x_handle_mac_address(struct eth_device_smc911x *dev) in smc911x_handle_mac_address()
205 static int smc911x_eth_phy_read(struct eth_device_smc911x *dev, in smc911x_eth_phy_read()
219 static int smc911x_eth_phy_write(struct eth_device_smc911x *dev, in smc911x_eth_phy_write()
234 static int smc911x_phy_reset(struct eth_device_smc911x *dev) in smc911x_phy_reset()
248 static void smc911x_phy_configure(struct eth_device_smc911x *dev) in smc911x_phy_configure()
278 static void smc911x_enable(struct eth_device_smc911x *dev) in smc911x_enable()
300 struct eth_device_smc911x *dev = eth_get_dev_by_name(bus->name); in smc911x_miiphy_read() local
315 struct eth_device_smc911x *dev = eth_get_dev_by_name(bus->name); in smc911x_miiphy_write() local
340 static rt_err_t smc911x_emac_init(rt_device_t dev) in smc911x_emac_init()
370 static rt_err_t smc911x_emac_control(rt_device_t dev, int cmd, void *args) in smc911x_emac_control()
393 rt_err_t smc911x_emac_tx(rt_device_t dev, struct pbuf *p) in smc911x_emac_tx()
444 struct pbuf *smc911x_emac_rx(rt_device_t dev) in smc911x_emac_rx()