Home
last modified time | relevance | path

Searched defs:mac_driver (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_mac.h341 struct mac_driver { struct
343 void (*mac_init)(void *mac_drv);
345 void (*mac_free)(void *mac_drv);
347 void (*mac_enable)(void *mac_drv, enum mac_commom_mode mode);
349 void (*mac_disable)(void *mac_drv, enum mac_commom_mode mode);
351 void (*set_mac_addr)(void *mac_drv, const char *mac_addr);
353 int (*adjust_link)(void *mac_drv, enum mac_speed speed,
356 bool (*need_adjust_link)(void *mac_drv, enum mac_speed speed,
359 void (*set_an_mode)(void *mac_drv, u8 enable);
361 int (*config_loopback)(void *mac_drv, enum hnae_loop loop_mode,
[all …]
/drivers/net/ethernet/freescale/fman/
Dmac.c342 static struct platform_driver mac_driver = { variable