Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/watchdog/
Dgef_wdt.c80 static int gef_wdt_toggle_wdc(int enabled_predicate, int field_shift) in gef_wdt_toggle_wdc() argument
93 data = (1 << field_shift) | gef_wdt_count; in gef_wdt_toggle_wdc()
96 data = (2 << field_shift) | gef_wdt_count; in gef_wdt_toggle_wdc()
Dmv64x60_wdt.c69 static int mv64x60_wdt_toggle_wdc(int enabled_predicate, int field_shift) in mv64x60_wdt_toggle_wdc() argument
82 data = (1 << field_shift) | mv64x60_wdt_count; in mv64x60_wdt_toggle_wdc()
85 data = (2 << field_shift) | mv64x60_wdt_count; in mv64x60_wdt_toggle_wdc()
/Linux-v4.19/virt/kvm/arm/vgic/
Dvgic-mmio-v3.c339 u64 vgic_sanitise_field(u64 reg, u64 field_mask, int field_shift, in vgic_sanitise_field() argument
342 u64 field = (reg & field_mask) >> field_shift; in vgic_sanitise_field()
344 field = sanitise_fn(field) << field_shift; in vgic_sanitise_field()
Dvgic-mmio.h216 u64 vgic_sanitise_field(u64 reg, u64 field_mask, int field_shift,
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c9282 int field_shift; in t4_filter_field_shift() local
9287 for (sel = 1, field_shift = 0; sel < filter_sel; sel <<= 1) { in t4_filter_field_shift()
9290 field_shift += FT_FCOE_W; in t4_filter_field_shift()
9293 field_shift += FT_PORT_W; in t4_filter_field_shift()
9296 field_shift += FT_VNIC_ID_W; in t4_filter_field_shift()
9299 field_shift += FT_VLAN_W; in t4_filter_field_shift()
9302 field_shift += FT_TOS_W; in t4_filter_field_shift()
9305 field_shift += FT_PROTOCOL_W; in t4_filter_field_shift()
9308 field_shift += FT_ETHERTYPE_W; in t4_filter_field_shift()
9311 field_shift += FT_MACMATCH_W; in t4_filter_field_shift()
[all …]