Lines Matching refs:mac

235 			u8 mac[ETH_ALEN];  member
260 } mac; member
290 u8 mac[ETH_ALEN]; member
322 } mac; member
391 u8 mac[ETH_ALEN]; member
555 u8 mac[ETH_ALEN]; member
566 u8 mac[ETH_ALEN]; member
677 u8 mac[ETH_ALEN]; member
732 u8 mac[ETH_ALEN]; member
739 u8 mac[ETH_ALEN]; member
869 evt->port_evt.data.mac.oper = hw_evt->param.mac.oper; in prestera_fw_parse_port_evt()
870 evt->port_evt.data.mac.mode = in prestera_fw_parse_port_evt()
871 __le32_to_cpu(hw_evt->param.mac.mode); in prestera_fw_parse_port_evt()
872 evt->port_evt.data.mac.speed = in prestera_fw_parse_port_evt()
873 __le32_to_cpu(hw_evt->param.mac.speed); in prestera_fw_parse_port_evt()
874 evt->port_evt.data.mac.duplex = hw_evt->param.mac.duplex; in prestera_fw_parse_port_evt()
875 evt->port_evt.data.mac.fc = hw_evt->param.mac.fc; in prestera_fw_parse_port_evt()
876 evt->port_evt.data.mac.fec = hw_evt->param.mac.fec; in prestera_fw_parse_port_evt()
903 ether_addr_copy(evt->fdb_evt.data.mac, hw_evt->param.mac); in prestera_fw_parse_fdb_evt()
1042 int prestera_hw_switch_mac_set(struct prestera_switch *sw, const char *mac) in prestera_hw_switch_mac_set() argument
1048 ether_addr_copy(req.param.mac, mac); in prestera_hw_switch_mac_set()
1120 *mode = __le32_to_cpu(resp.param.link_evt.mac.mode); in prestera_hw_port_mac_mode_get()
1123 *speed = __le32_to_cpu(resp.param.link_evt.mac.speed); in prestera_hw_port_mac_mode_get()
1126 *duplex = resp.param.link_evt.mac.duplex; in prestera_hw_port_mac_mode_get()
1129 *fec = resp.param.link_evt.mac.fec; in prestera_hw_port_mac_mode_get()
1144 .mac = { in prestera_hw_port_mac_mode_set()
1231 int prestera_hw_port_mac_set(const struct prestera_port *port, const char *mac) in prestera_hw_port_mac_set() argument
1239 ether_addr_copy(req.param.mac, mac); in prestera_hw_port_mac_set()
1786 int prestera_hw_fdb_add(struct prestera_port *port, const unsigned char *mac, in prestera_hw_fdb_add() argument
1798 ether_addr_copy(req.mac, mac); in prestera_hw_fdb_add()
1804 int prestera_hw_fdb_del(struct prestera_port *port, const unsigned char *mac, in prestera_hw_fdb_del() argument
1815 ether_addr_copy(req.mac, mac); in prestera_hw_fdb_del()
1822 const unsigned char *mac, u16 vid, bool dynamic) in prestera_hw_lag_fdb_add() argument
1833 ether_addr_copy(req.mac, mac); in prestera_hw_lag_fdb_add()
1840 const unsigned char *mac, u16 vid) in prestera_hw_lag_fdb_del() argument
1850 ether_addr_copy(req.mac, mac); in prestera_hw_lag_fdb_del()
2002 struct prestera_iface *iif, u8 *mac, u16 *rif_id) in prestera_hw_rif_create() argument
2008 memcpy(req.mac, mac, ETH_ALEN); in prestera_hw_rif_create()
2100 memcpy(&req.nh[i].mac, nhs[i].ha, ETH_ALEN); in prestera_hw_nh_entries_set()
2544 memcpy(req.mac, mdb->addr, ETH_ALEN); in prestera_hw_mdb_create()
2557 memcpy(req.mac, mdb->addr, ETH_ALEN); in prestera_hw_mdb_destroy()