Searched refs:mac_lo (Results 1 – 2 of 2) sorted by relevance
/linux-2.6.39/drivers/net/netxen/ |
D | netxen_nic_hw.c | 441 u32 mac_hi, mac_lo; in netxen_p2_nic_set_mac_addr() local 449 mac_lo = ((u32)addr[0] << 16) | ((u32)addr[1] << 24); in netxen_p2_nic_set_mac_addr() 457 if (NXWR32(adapter, reg_lo, mac_lo) || NXWR32(adapter, reg_hi, mac_hi)) in netxen_p2_nic_set_mac_addr() 459 if (NXWR32(adapter, reg_lo, mac_lo) || NXWR32(adapter, reg_hi, mac_hi)) in netxen_p2_nic_set_mac_addr() 1065 uint32_t crbaddr, mac_hi, mac_lo; in netxen_p3_get_mac_addr() local 1071 mac_lo = NXRD32(adapter, crbaddr); in netxen_p3_get_mac_addr() 1075 *mac = le64_to_cpu((mac_lo >> 16) | ((u64)mac_hi << 16)); in netxen_p3_get_mac_addr() 1077 *mac = le64_to_cpu((u64)mac_lo | ((u64)mac_hi << 32)); in netxen_p3_get_mac_addr()
|
/linux-2.6.39/drivers/net/bnx2x/ |
D | bnx2x_main.c | 8426 static void __devinit bnx2x_set_mac_buf(u8 *mac_buf, u32 mac_lo, u16 mac_hi) in bnx2x_set_mac_buf() argument 8429 mac_lo = cpu_to_be32(mac_lo); in bnx2x_set_mac_buf() 8431 memcpy(mac_buf + sizeof(mac_hi), &mac_lo, sizeof(mac_lo)); in bnx2x_set_mac_buf()
|