Lines Matching defs:box
261 static inline bool uncore_mmio_is_valid_offset(struct intel_uncore_box *box, in uncore_mmio_is_valid_offset()
274 unsigned int uncore_mmio_box_ctl(struct intel_uncore_box *box) in uncore_mmio_box_ctl()
280 static inline unsigned uncore_pci_box_ctl(struct intel_uncore_box *box) in uncore_pci_box_ctl()
285 static inline unsigned uncore_pci_fixed_ctl(struct intel_uncore_box *box) in uncore_pci_fixed_ctl()
290 static inline unsigned uncore_pci_fixed_ctr(struct intel_uncore_box *box) in uncore_pci_fixed_ctr()
296 unsigned uncore_pci_event_ctl(struct intel_uncore_box *box, int idx) in uncore_pci_event_ctl()
305 unsigned uncore_pci_perf_ctr(struct intel_uncore_box *box, int idx) in uncore_pci_perf_ctr()
310 static inline unsigned uncore_msr_box_offset(struct intel_uncore_box *box) in uncore_msr_box_offset()
318 static inline unsigned uncore_msr_box_ctl(struct intel_uncore_box *box) in uncore_msr_box_ctl()
325 static inline unsigned uncore_msr_fixed_ctl(struct intel_uncore_box *box) in uncore_msr_fixed_ctl()
332 static inline unsigned uncore_msr_fixed_ctr(struct intel_uncore_box *box) in uncore_msr_fixed_ctr()
379 unsigned int uncore_freerunning_counter(struct intel_uncore_box *box, in uncore_freerunning_counter()
394 unsigned uncore_msr_event_ctl(struct intel_uncore_box *box, int idx) in uncore_msr_event_ctl()
407 unsigned uncore_msr_perf_ctr(struct intel_uncore_box *box, int idx) in uncore_msr_perf_ctr()
420 unsigned uncore_fixed_ctl(struct intel_uncore_box *box) in uncore_fixed_ctl()
429 unsigned uncore_fixed_ctr(struct intel_uncore_box *box) in uncore_fixed_ctr()
438 unsigned uncore_event_ctl(struct intel_uncore_box *box, int idx) in uncore_event_ctl()
447 unsigned uncore_perf_ctr(struct intel_uncore_box *box, int idx) in uncore_perf_ctr()
455 static inline int uncore_perf_ctr_bits(struct intel_uncore_box *box) in uncore_perf_ctr_bits()
460 static inline int uncore_fixed_ctr_bits(struct intel_uncore_box *box) in uncore_fixed_ctr_bits()
466 unsigned int uncore_freerunning_bits(struct intel_uncore_box *box, in uncore_freerunning_bits()
474 static inline int uncore_num_freerunning(struct intel_uncore_box *box, in uncore_num_freerunning()
482 static inline int uncore_num_freerunning_types(struct intel_uncore_box *box, in uncore_num_freerunning_types()
488 static inline bool check_valid_freerunning_event(struct intel_uncore_box *box, in check_valid_freerunning_event()
498 static inline int uncore_num_counters(struct intel_uncore_box *box) in uncore_num_counters()
512 static inline int uncore_freerunning_hw_config(struct intel_uncore_box *box, in uncore_freerunning_hw_config()
521 static inline void uncore_disable_event(struct intel_uncore_box *box, in uncore_disable_event()
527 static inline void uncore_enable_event(struct intel_uncore_box *box, in uncore_enable_event()
533 static inline u64 uncore_read_counter(struct intel_uncore_box *box, in uncore_read_counter()
539 static inline void uncore_box_init(struct intel_uncore_box *box) in uncore_box_init()
547 static inline void uncore_box_exit(struct intel_uncore_box *box) in uncore_box_exit()
555 static inline bool uncore_box_is_fake(struct intel_uncore_box *box) in uncore_box_is_fake()