Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/watchdog/
Dgef_wdt.c76 static int gef_wdt_toggle_wdc(int enabled_predicate, int field_shift) in gef_wdt_toggle_wdc() argument
89 data = (1 << field_shift) | gef_wdt_count; in gef_wdt_toggle_wdc()
92 data = (2 << field_shift) | gef_wdt_count; in gef_wdt_toggle_wdc()
/linux-6.1.9/arch/arm64/kvm/vgic/
Dvgic-mmio.h222 u64 vgic_sanitise_field(u64 reg, u64 field_mask, int field_shift,
Dvgic-mmio-v3.c422 u64 vgic_sanitise_field(u64 reg, u64 field_mask, int field_shift, in vgic_sanitise_field() argument
425 u64 field = (reg & field_mask) >> field_shift; in vgic_sanitise_field()
427 field = sanitise_fn(field) << field_shift; in vgic_sanitise_field()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c9519 int field_shift; in t4_filter_field_shift() local
9524 for (sel = 1, field_shift = 0; sel < filter_sel; sel <<= 1) { in t4_filter_field_shift()
9527 field_shift += FT_FCOE_W; in t4_filter_field_shift()
9530 field_shift += FT_PORT_W; in t4_filter_field_shift()
9533 field_shift += FT_VNIC_ID_W; in t4_filter_field_shift()
9536 field_shift += FT_VLAN_W; in t4_filter_field_shift()
9539 field_shift += FT_TOS_W; in t4_filter_field_shift()
9542 field_shift += FT_PROTOCOL_W; in t4_filter_field_shift()
9545 field_shift += FT_ETHERTYPE_W; in t4_filter_field_shift()
9548 field_shift += FT_MACMATCH_W; in t4_filter_field_shift()
[all …]