Lines Matching refs:data_hi
414 u32 data_hi, data_lo;
443 data_hi = (u32)(buf >> 32);
449 cnt |= (data_hi & masks[DYNAMIC_MAC_TABLE_ENTRIES]) >>
453 *fid = (data_hi & masks[DYNAMIC_MAC_TABLE_FID]) >>
455 *src_port = (data_hi & masks[DYNAMIC_MAC_TABLE_SRC_PORT]) >>
457 *timestamp = (data_hi & masks[DYNAMIC_MAC_TABLE_TIMESTAMP]) >>
465 mac_addr[1] = (u8)data_hi;
466 mac_addr[0] = (u8)(data_hi >> 8);
477 u32 data_hi, data_lo;
490 data_hi = data >> 32;
493 if (!(data_hi & (masks[STATIC_MAC_TABLE_VALID] |
503 alu->mac[1] = (u8)data_hi;
504 alu->mac[0] = (u8)(data_hi >> 8);
506 (data_hi & masks[STATIC_MAC_TABLE_FWD_PORTS]) >>
508 alu->is_override = (data_hi & masks[STATIC_MAC_TABLE_OVERRIDE]) ? 1 : 0;
515 data_hi >>= 1;
517 alu->is_use_fid = (data_hi & masks[STATIC_MAC_TABLE_USE_FID]) ? 1 : 0;
518 alu->fid = (data_hi & masks[STATIC_MAC_TABLE_FID]) >>
529 u32 data_hi, data_lo;
540 data_hi = ((u32)alu->mac[0] << 8) | alu->mac[1];
541 data_hi |= (u32)alu->port_forward << shifts[STATIC_MAC_FWD_PORTS];
544 data_hi |= masks[STATIC_MAC_TABLE_OVERRIDE];
546 data_hi |= masks[STATIC_MAC_TABLE_USE_FID];
547 data_hi |= (u32)alu->fid << shifts[STATIC_MAC_FID];
550 data_hi |= masks[STATIC_MAC_TABLE_VALID];
552 data_hi &= ~masks[STATIC_MAC_TABLE_OVERRIDE];
554 data = (u64)data_hi << 32 | data_lo;