Lines Matching defs:data_hi
446 u32 data_hi, data_lo;
480 data_hi = (u32)(buf >> 32);
486 cnt |= (data_hi & masks[DYNAMIC_MAC_TABLE_ENTRIES]) >>
490 *fid = (data_hi & masks[DYNAMIC_MAC_TABLE_FID]) >>
492 *src_port = (data_hi & masks[DYNAMIC_MAC_TABLE_SRC_PORT]) >>
500 mac_addr[1] = (u8)data_hi;
501 mac_addr[0] = (u8)(data_hi >> 8);
512 u32 data_hi, data_lo;
525 data_hi = data >> 32;
528 if (!(data_hi & (masks[STATIC_MAC_TABLE_VALID] |
538 alu->mac[1] = (u8)data_hi;
539 alu->mac[0] = (u8)(data_hi >> 8);
541 (data_hi & masks[STATIC_MAC_TABLE_FWD_PORTS]) >>
543 alu->is_override = (data_hi & masks[STATIC_MAC_TABLE_OVERRIDE]) ? 1 : 0;
550 data_hi >>= 1;
552 alu->is_use_fid = (data_hi & masks[STATIC_MAC_TABLE_USE_FID]) ? 1 : 0;
553 alu->fid = (data_hi & masks[STATIC_MAC_TABLE_FID]) >>
564 u32 data_hi, data_lo;
575 data_hi = ((u32)alu->mac[0] << 8) | alu->mac[1];
576 data_hi |= (u32)alu->port_forward << shifts[STATIC_MAC_FWD_PORTS];
579 data_hi |= masks[STATIC_MAC_TABLE_OVERRIDE];
581 data_hi |= masks[STATIC_MAC_TABLE_USE_FID];
582 data_hi |= (u32)alu->fid << shifts[STATIC_MAC_FID];
585 data_hi |= masks[STATIC_MAC_TABLE_VALID];
587 data_hi &= ~masks[STATIC_MAC_TABLE_OVERRIDE];
589 data = (u64)data_hi << 32 | data_lo;