Home
last modified time | relevance | path

Searched refs:field_shift (Results 1 – 3 of 3) sorted by relevance

/linux/arch/arm64/kvm/vgic/
H A Dvgic-mmio.h222 u64 vgic_sanitise_field(u64 reg, u64 field_mask, int field_shift,
H A Dvgic-mmio-v3.c404 u64 vgic_sanitise_field(u64 reg, u64 field_mask, int field_shift, in vgic_sanitise_field() argument
407 u64 field = (reg & field_mask) >> field_shift; in vgic_sanitise_field()
409 field = sanitise_fn(field) << field_shift; in vgic_sanitise_field()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c9521 int field_shift; in t4_filter_field_shift() local
9526 for (sel = 1, field_shift = 0; sel < filter_sel; sel <<= 1) { in t4_filter_field_shift()
9529 field_shift += FT_FCOE_W; in t4_filter_field_shift()
9532 field_shift += FT_PORT_W; in t4_filter_field_shift()
9535 field_shift += FT_VNIC_ID_W; in t4_filter_field_shift()
9538 field_shift += FT_VLAN_W; in t4_filter_field_shift()
9541 field_shift += FT_TOS_W; in t4_filter_field_shift()
9544 field_shift += FT_PROTOCOL_W; in t4_filter_field_shift()
9547 field_shift += FT_ETHERTYPE_W; in t4_filter_field_shift()
9550 field_shift += FT_MACMATCH_W; in t4_filter_field_shift()
[all …]