Home
last modified time | relevance | path

Searched refs:from_type (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/x86/events/intel/
H A Duncore_snbep.c6382 struct intel_uncore_type *from_type) in uncore_type_customized_copy() argument
6384 if (!to_type || !from_type) in uncore_type_customized_copy()
6387 if (from_type->name) in uncore_type_customized_copy()
6388 to_type->name = from_type->name; in uncore_type_customized_copy()
6389 if (from_type->fixed_ctr_bits) in uncore_type_customized_copy()
6390 to_type->fixed_ctr_bits = from_type->fixed_ctr_bits; in uncore_type_customized_copy()
6391 if (from_type->event_mask) in uncore_type_customized_copy()
6392 to_type->event_mask = from_type->event_mask; in uncore_type_customized_copy()
6393 if (from_type->event_mask_ext) in uncore_type_customized_copy()
6394 to_type->event_mask_ext = from_type->event_mask_ext; in uncore_type_customized_copy()
[all …]
/openbmc/qemu/target/ppc/
H A Dint_helper.c438 #define SATCVT(from, to, from_type, to_type, min, max) \ argument
439 static inline to_type cvt##from##to(from_type x, int *sat) \
443 if (x < (from_type)min) { \
446 } else if (x > (from_type)max) { \
454 #define SATCVTU(from, to, from_type, to_type, min, max) \ argument
455 static inline to_type cvt##from##to(from_type x, int *sat) \
459 if (x > (from_type)max) { \