Home
last modified time | relevance | path

Searched refs:lk_data (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/dsa/
H A Drzn1_a5psw.c487 static int a5psw_lk_execute_lookup(struct a5psw *a5psw, union lk_data *lk_data, in a5psw_lk_execute_lookup() argument
493 a5psw_reg_writel(a5psw, A5PSW_LK_DATA_LO, lk_data->lo); in a5psw_lk_execute_lookup()
494 a5psw_reg_writel(a5psw, A5PSW_LK_DATA_HI, lk_data->hi); in a5psw_lk_execute_lookup()
511 union lk_data lk_data = {0}; in a5psw_port_fdb_add() local
517 ether_addr_copy(lk_data.entry.mac, addr); in a5psw_port_fdb_add()
518 lk_data.entry.port_mask = BIT(port); in a5psw_port_fdb_add()
523 ret = a5psw_lk_execute_lookup(a5psw, &lk_data, &entry); in a5psw_port_fdb_add()
527 lk_data.hi = a5psw_reg_readl(a5psw, A5PSW_LK_DATA_HI); in a5psw_port_fdb_add()
528 if (!lk_data.entry.valid) { in a5psw_port_fdb_add()
531 lk_data.entry.port_mask = 0; in a5psw_port_fdb_add()
[all …]
H A Drzn1_a5psw.h226 union lk_data { union