Home
last modified time | relevance | path

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

/drivers/net/ethernet/mscc/
Docelot.c41 u32 macl = 0, mach = 0; in ocelot_mact_select() local
49 macl |= mac[2] << 24; in ocelot_mact_select()
50 macl |= mac[3] << 16; in ocelot_mact_select()
51 macl |= mac[4] << 8; in ocelot_mact_select()
52 macl |= mac[5] << 0; in ocelot_mact_select()
54 ocelot_write(ocelot, macl, ANA_TABLES_MACLDATA); in ocelot_mact_select()
695 u32 val, dst, macl, mach; in ocelot_mact_read() local
723 macl = ocelot_read(ocelot, ANA_TABLES_MACLDATA); in ocelot_mact_read()
728 mac[2] = (macl >> 24) & 0xff; in ocelot_mact_read()
729 mac[3] = (macl >> 16) & 0xff; in ocelot_mact_read()
[all …]
/drivers/net/ethernet/toshiba/
Dspider_net.c232 u32 macu, macl; in spider_net_set_promisc() local
245 memcpy(&macl, &netdev->dev_addr[2], sizeof(macl)); in spider_net_set_promisc()
249 spider_net_write_reg(card, SPIDER_NET_GMRUAFILnR + 0x04, macl); in spider_net_set_promisc()
1280 u32 macl, macu, regvalue; in spider_net_set_mac() local
1296 macl = (netdev->dev_addr[4]<<8) + (netdev->dev_addr[5]); in spider_net_set_mac()
1298 spider_net_write_reg(card, SPIDER_NET_GMACUNIMACL, macl); in spider_net_set_mac()