Lines Matching defs:shifts
415 const u8 *shifts;
422 shifts = dev->info->shifts;
448 cnt <<= shifts[DYNAMIC_MAC_ENTRIES_H];
450 shifts[DYNAMIC_MAC_ENTRIES];
454 shifts[DYNAMIC_MAC_FID];
456 shifts[DYNAMIC_MAC_SRC_PORT];
458 shifts[DYNAMIC_MAC_TIMESTAMP];
478 const u8 *shifts;
483 shifts = dev->info->shifts;
507 shifts[STATIC_MAC_FWD_PORTS];
519 shifts[STATIC_MAC_FID];
530 const u8 *shifts;
534 shifts = dev->info->shifts;
541 data_hi |= (u32)alu->port_forward << shifts[STATIC_MAC_FWD_PORTS];
547 data_hi |= (u32)alu->fid << shifts[STATIC_MAC_FID];
562 const u8 *shifts;
565 shifts = dev->info->shifts;
570 shifts[VLAN_TABLE_MEMBERSHIP_S];
577 const u8 *shifts;
580 shifts = dev->info->shifts;
584 *vlan |= (u16)member << shifts[VLAN_TABLE_MEMBERSHIP_S];
591 const u8 *shifts;
595 shifts = dev->info->shifts;
601 data >>= shifts[VLAN_TABLE];