| /linux/arch/x86/events/intel/ |
| H A D | uncore.c | 134 struct uncore_event_desc *event = in uncore_event_show() local 150 u64 uncore_msr_read_counter(struct intel_uncore_box *box, struct perf_event *event) in uncore_msr_read_counter() 166 struct perf_event *event) in uncore_mmio_read_counter() 181 uncore_get_constraint(struct intel_uncore_box *box, struct perf_event *event) in uncore_get_constraint() 218 void uncore_put_constraint(struct intel_uncore_box *box, struct perf_event *event) in uncore_put_constraint() 255 struct perf_event *event, int idx) in uncore_assign_hw_event() 275 void uncore_perf_event_update(struct intel_uncore_box *box, struct perf_event *event) in uncore_perf_event_update() 308 struct perf_event *event; in uncore_pmu_hrtimer() local 346 static struct intel_uncore_box *uncore_alloc_box(struct intel_uncore_type *type, in uncore_alloc_box() 379 static bool is_box_event(struct intel_uncore_box *box, struct perf_event *event) in is_box_event() [all …]
|
| H A D | uncore_snbep.c | 579 static void snbep_uncore_pci_enable_event(struct intel_uncore_box *box, struct perf_event *event) in snbep_uncore_pci_enable_event() 587 static void snbep_uncore_pci_disable_event(struct intel_uncore_box *box, struct perf_event *event) in snbep_uncore_pci_disable_event() 595 static u64 snbep_uncore_pci_read_counter(struct intel_uncore_box *box, struct perf_event *event) in snbep_uncore_pci_read_counter() 641 static void snbep_uncore_msr_enable_event(struct intel_uncore_box *box, struct perf_event *event) in snbep_uncore_msr_enable_event() 653 struct perf_event *event) in snbep_uncore_msr_disable_event() 933 static void snbep_cbox_put_constraint(struct intel_uncore_box *box, struct perf_event *event) in snbep_cbox_put_constraint() 950 __snbep_cbox_get_constraint(struct intel_uncore_box *box, struct perf_event *event, in __snbep_cbox_get_constraint() 1013 snbep_cbox_get_constraint(struct intel_uncore_box *box, struct perf_event *event) in snbep_cbox_get_constraint() 1018 static int snbep_cbox_hw_config(struct intel_uncore_box *box, struct perf_event *event) in snbep_cbox_hw_config() 1062 static u64 snbep_pcu_alter_er(struct perf_event *event, int new_idx, bool modify) in snbep_pcu_alter_er() [all …]
|
| H A D | uncore_discovery.c | 82 struct intel_uncore_discovery_type *type; in add_uncore_discovery_type() local 107 struct intel_uncore_discovery_type *type; in get_uncore_discovery_type() local 227 struct intel_uncore_discovery_type *type; in uncore_insert_box_info() local 443 struct intel_uncore_discovery_type *type, *next; in intel_uncore_clear_discovery_tables() local 506 struct perf_event *event) in intel_generic_uncore_msr_enable_event() 514 struct perf_event *event) in intel_generic_uncore_msr_disable_event() 530 bool intel_generic_uncore_assign_hw_event(struct perf_event *event, in intel_generic_uncore_assign_hw_event() 593 struct perf_event *event) in intel_generic_uncore_pci_enable_event() 602 struct perf_event *event) in intel_generic_uncore_pci_disable_event() 611 struct perf_event *event) in intel_generic_uncore_pci_read_counter() [all …]
|
| H A D | uncore.h | 25 #define UNCORE_PCI_DEV_FULL_DATA(dev, func, type, idx) \ argument 27 #define UNCORE_PCI_DEV_DATA(type, idx) ((type << 8) | idx) argument 131 struct intel_uncore_type *type; member 379 struct perf_event *event) in uncore_freerunning_counter() 381 unsigned int type = uncore_freerunning_type(event->hw.config); in uncore_freerunning_counter() local 466 struct perf_event *event) in uncore_freerunning_bits() 468 unsigned int type = uncore_freerunning_type(event->hw.config); in uncore_freerunning_bits() local 474 struct perf_event *event) in uncore_num_freerunning() 476 unsigned int type = uncore_freerunning_type(event->hw.config); in uncore_num_freerunning() local 482 struct perf_event *event) in uncore_num_freerunning_types() [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/core/ |
| H A D | event.c | 26 nvkm_event_put(struct nvkm_event *event, u32 types, int index) in nvkm_event_put() 33 int type = __ffs(types); types &= ~(1 << type); in nvkm_event_put() local 43 nvkm_event_get(struct nvkm_event *event, u32 types, int index) in nvkm_event_get() 50 int type = __ffs(types); types &= ~(1 << type); in nvkm_event_get() local 62 struct nvkm_event *event = ntfy->event; in nvkm_event_ntfy_state() local 133 struct nvkm_event *event = ntfy->event; in nvkm_event_ntfy_del() local 146 nvkm_event_ntfy_add(struct nvkm_event *event, int id, u32 bits, bool wait, nvkm_event_func func, in nvkm_event_ntfy_add() 164 nvkm_event_ntfy_valid(struct nvkm_event *event, int id, u32 bits) in nvkm_event_ntfy_valid() 170 nvkm_event_ntfy(struct nvkm_event *event, int id, u32 bits) in nvkm_event_ntfy() 192 nvkm_event_fini(struct nvkm_event *event) in nvkm_event_fini() [all …]
|
| /linux/kernel/trace/ |
| H A D | trace_events_synth.c | 107 struct synth_event *event = to_synth_event(ev); in synth_event_is_busy() local 112 static bool synth_event_match(const char *system, const char *event, in synth_event_match() 130 struct synth_event *event = call->data; in synth_event_define_fields() local 132 char *name, *type; in synth_event_define_fields() local 162 static bool synth_field_signed(char *type) in synth_field_signed() 172 static int synth_field_is_string(char *type) in synth_field_is_string() 180 static int synth_field_is_stack(char *type) in synth_field_is_stack() 188 static int synth_field_string_size(char *type) in synth_field_string_size() 223 static int synth_field_size(char *type) in synth_field_size() 269 static const char *synth_field_fmt(char *type) in synth_field_fmt() [all …]
|
| /linux/drivers/perf/ |
| H A D | dwc_pcie_pmu.c | 70 #define DWC_PCIE_EVENT_ID(event) FIELD_GET(DWC_PCIE_CONFIG_EVENTID, (event)->attr.config) argument 71 #define DWC_PCIE_EVENT_TYPE(event) FIELD_GET(DWC_PCIE_CONFIG_TYPE, (event)->attr.config) argument 72 #define DWC_PCIE_EVENT_LANE(event) FIELD_GET(DWC_PCIE_CONFIG_LANE, (event)->attr.config) argument 157 enum dwc_pcie_event_type type; member 260 struct perf_event *event, in dwc_pcie_pmu_lane_event_enable() 293 static u64 dwc_pcie_pmu_read_lane_event_counter(struct perf_event *event) in dwc_pcie_pmu_read_lane_event_counter() 316 static u64 dwc_pcie_pmu_read_time_based_counter(struct perf_event *event) in dwc_pcie_pmu_read_time_based_counter() 357 static void dwc_pcie_pmu_event_update(struct perf_event *event) in dwc_pcie_pmu_event_update() 360 enum dwc_pcie_event_type type = DWC_PCIE_EVENT_TYPE(event); in dwc_pcie_pmu_event_update() local 380 static int dwc_pcie_pmu_validate_add_lane_event(struct perf_event *event, in dwc_pcie_pmu_validate_add_lane_event() [all …]
|
| H A D | arm-ccn.c | 132 u32 type; member 154 struct perf_event *event; member 212 static void arm_ccn_pmu_config_set(u64 *config, u32 node_xp, u32 type, u32 port) in arm_ccn_pmu_config_set() 258 u32 type; member 259 u32 event; member 318 struct arm_ccn_pmu_event *event = container_of(attr, in arm_ccn_pmu_event_show() local 363 struct arm_ccn_pmu_event *event = container_of(dev_attr, in arm_ccn_pmu_events_is_visible() local 622 static int arm_ccn_pmu_event_alloc(struct perf_event *event) in arm_ccn_pmu_event_alloc() 626 u32 node_xp, type, event_id; in arm_ccn_pmu_event_alloc() local 680 static void arm_ccn_pmu_event_release(struct perf_event *event) in arm_ccn_pmu_event_release() [all …]
|
| H A D | arm-cmn.c | 169 #define CMN_EVENT_TYPE(event) FIELD_GET(CMN_CONFIG_TYPE, (event)->attr.config) argument 170 #define CMN_EVENT_EVENTID(event) FIELD_GET(CMN_CONFIG_EVENTID, (event)->attr.config) argument 171 #define CMN_EVENT_OCCUPID(event) FIELD_GET(CMN_CONFIG_OCCUPID, (event)->attr.config) argument 172 #define CMN_EVENT_BYNODEID(event) FIELD_GET(CMN_CONFIG_BYNODEID, (event)->attr.config) argument 173 #define CMN_EVENT_NODEID(event) FIELD_GET(CMN_CONFIG_NODEID, (event)->attr.config) argument 183 #define CMN_EVENT_WP_COMBINE(event) FIELD_GET(CMN_CONFIG_WP_COMBINE, (event)->attr.config) argument 184 #define CMN_EVENT_WP_DEV_SEL(event) FIELD_GET(CMN_CONFIG_WP_DEV_SEL, (event)->attr.config) argument 185 #define CMN_EVENT_WP_CHN_SEL(event) FIELD_GET(CMN_CONFIG_WP_CHN_SEL, (event)->attr.config) argument 186 #define CMN_EVENT_WP_GRP(event) FIELD_GET(CMN_CONFIG_WP_GRP, (event)->attr.config) argument 187 #define CMN_EVENT_WP_EXCLUSIVE(event) FIELD_GET(CMN_CONFIG_WP_EXCLUSIVE, (event)->attr.config) argument [all …]
|
| H A D | arm-ni.c | 62 #define NI_EVENT_TYPE(event) FIELD_GET(NI_CONFIG_TYPE, (event)->attr.config) argument 63 #define NI_EVENT_NODEID(event) FIELD_GET(NI_CONFIG_NODEID, (event)->attr.config) argument 64 #define NI_EVENT_EVENTID(event) FIELD_GET(NI_CONFIG_EVENTID, (event)->attr.config) argument 86 enum ni_node_type type; member 93 enum ni_node_type type; member 98 u8 event[8]; member 138 enum ni_node_type type; member 292 static int arm_ni_validate_group(struct perf_event *event) in arm_ni_validate_group() 311 static int arm_ni_event_init(struct perf_event *event) in arm_ni_event_init() 351 static void arm_ni_event_read(struct perf_event *event) in arm_ni_event_read() [all …]
|
| /linux/sound/core/seq/ |
| H A D | seq_ump_convert.c | 72 #define make_raw_ump(port, type) \ argument 367 struct snd_seq_ump_event *event = (struct snd_seq_ump_event *)__event; in cvt_ump_midi1_to_midi2() local 437 struct snd_seq_ump_event *event = (struct snd_seq_ump_event *)__event; in cvt_ump_midi2_to_midi1() local 506 struct snd_seq_event *event, in cvt_ump_to_any() 507 unsigned char type, in cvt_ump_to_any() 585 struct snd_seq_event *event, in snd_seq_deliver_from_ump() 589 unsigned char type; in snd_seq_deliver_from_ump() local 628 static int note_ev_to_ump_midi1(const struct snd_seq_event *event, in note_ev_to_ump_midi1() 643 static int cc_ev_to_ump_midi1(const struct snd_seq_event *event, in cc_ev_to_ump_midi1() 656 static int ctrl_ev_to_ump_midi1(const struct snd_seq_event *event, in ctrl_ev_to_ump_midi1() [all …]
|
| /linux/drivers/net/netdevsim/ |
| H A D | hwstats.c | 11 enum netdev_offload_xstats_type type) in nsim_dev_hwstats_get_list_head() 23 enum netdev_offload_xstats_type type) in nsim_dev_hwstats_traffic_bump() 107 unsigned long event, void *ptr) in nsim_dev_hwstats_event_off_xstats() 154 enum netdev_offload_xstats_type type) in __nsim_dev_hwstats_event_unregister() 182 unsigned long event, void *ptr) in nsim_dev_hwstats_event() 200 unsigned long event, void *ptr) in nsim_dev_netdevice_event() 217 enum netdev_offload_xstats_type type, in nsim_dev_hwstats_enable_ifindex() 270 enum netdev_offload_xstats_type type, in nsim_dev_hwstats_disable_ifindex() 303 enum netdev_offload_xstats_type type, in nsim_dev_hwstats_fail_ifindex() 332 enum netdev_offload_xstats_type type; member [all …]
|
| /linux/net/802/ |
| H A D | garp.c | 139 const void *data, u8 len, u8 type) in garp_attr_cmp() 149 const void *data, u8 len, u8 type) in garp_attr_lookup() 169 const void *data, u8 len, u8 type) in garp_attr_create() 290 enum garp_attr_event event) in garp_pdu_append_attr() 325 struct garp_attr *attr, enum garp_event event) in garp_attr_event() 357 const void *data, u8 len, u8 type) in garp_request_join() 377 const void *data, u8 len, u8 type) in garp_request_leave() 394 static void garp_gid_event(struct garp_applicant *app, enum garp_event event) in garp_gid_event() 444 enum garp_event event; in garp_pdu_parse_attr() local
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/fault/ |
| H A D | base.c | 27 nvkm_fault_ntfy_fini(struct nvkm_event *event, int type, int index) in nvkm_fault_ntfy_fini() 34 nvkm_fault_ntfy_init(struct nvkm_event *event, int type, int index) in nvkm_fault_ntfy_init() 156 enum nvkm_subdev_type type, int inst, struct nvkm_fault **pfault) in nvkm_fault_new_()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_pmu.c | 43 unsigned int type; member 84 const unsigned int type; member 209 static int amdgpu_perf_event_init(struct perf_event *event) in amdgpu_perf_event_init() 225 static void amdgpu_perf_start(struct perf_event *event, int flags) in amdgpu_perf_start() 267 static void amdgpu_perf_read(struct perf_event *event) in amdgpu_perf_read() 297 static void amdgpu_perf_stop(struct perf_event *event, int flags) in amdgpu_perf_stop() 332 static int amdgpu_perf_add(struct perf_event *event, int flags) in amdgpu_perf_add() 383 static void amdgpu_perf_del(struct perf_event *event, int flags) in amdgpu_perf_del() 414 unsigned int type) in amdgpu_pmu_create_event_attrs_by_type()
|
| /linux/tools/perf/util/ |
| H A D | data-convert-bt.c | 102 static int value_set(struct bt_ctf_field_type *type, in value_set() 103 struct bt_ctf_event *event, in value_set() 163 value_set_string(struct ctf_writer *cw, struct bt_ctf_event *event, in value_set_string() 166 struct bt_ctf_field_type *type = cw->data.string; in value_set_string() local 295 struct bt_ctf_event *event, in add_tracepoint_field_value() 299 struct bt_ctf_field_type *type; in add_tracepoint_field_value() local 407 struct bt_ctf_event *event, in add_tracepoint_fields_values() 425 struct bt_ctf_event *event, in add_tracepoint_values() 445 struct bt_ctf_event *event, in add_bpf_output_values() 523 struct bt_ctf_event *event, in add_callchain_output_values() [all …]
|
| H A D | synthetic-events.c | 52 union perf_event *event, in perf_tool__process_synth_event() 154 static int perf_event__prepare_comm(union perf_event *event, pid_t pid, pid_t tid, in perf_event__prepare_comm() 192 union perf_event *event, pid_t pid, in perf_event__synthesize_comm() 223 union perf_event *event, in perf_event__synthesize_namespaces() 262 union perf_event *event, in perf_event__synthesize_fork() 367 static void perf_record_mmap2__read_build_id(struct perf_record_mmap2 *event, in perf_record_mmap2__read_build_id() 429 union perf_event *event, in perf_event__synthesize_mmap_events() 553 union perf_event *event, in perf_event__synthesize_cgroup() 593 union perf_event *event, in perf_event__walk_cgroup_tree() 644 union perf_event event; in perf_event__synthesize_cgroups() local [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
| H A D | g84.c | 162 g84_fifo_nonstall_block(struct nvkm_event *event, int type, int index) in g84_fifo_nonstall_block() 173 g84_fifo_nonstall_allow(struct nvkm_event *event, int type, int index) in g84_fifo_nonstall_allow() 227 g84_fifo_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, in g84_fifo_new()
|
| /linux/arch/sh/kernel/ |
| H A D | perf_event.c | 63 static void hw_perf_event_destroy(struct perf_event *event) in hw_perf_event_destroy() 75 unsigned long type, op, result; in hw_perf_cache_event() local 100 static int __hw_perf_event_init(struct perf_event *event) in __hw_perf_event_init() 158 static void sh_perf_event_update(struct perf_event *event, in sh_perf_event_update() 199 static void sh_pmu_stop(struct perf_event *event, int flags) in sh_pmu_stop() 217 static void sh_pmu_start(struct perf_event *event, int flags) in sh_pmu_start() 234 static void sh_pmu_del(struct perf_event *event, int flags) in sh_pmu_del() 244 static int sh_pmu_add(struct perf_event *event, int flags) in sh_pmu_add() 275 static void sh_pmu_read(struct perf_event *event) in sh_pmu_read() 280 static int sh_pmu_event_init(struct perf_event *event) in sh_pmu_event_init()
|
| /linux/drivers/md/ |
| H A D | dm-uevent.c | 20 enum dm_uevent_type type; member 39 static void dm_uevent_free(struct dm_uevent *event) in dm_uevent_free() 46 struct dm_uevent *event; in dm_uevent_alloc() local 65 struct dm_uevent *event; in dm_build_path_uevent() local 124 struct dm_uevent *event, *next; in dm_send_uevents() local 174 struct dm_uevent *event; in dm_path_uevent() local
|
| /linux/drivers/net/ethernet/brocade/bna/ |
| H A D | bna_tx_rx.c | 68 bna_rxf_sm_stopped(struct bna_rxf *rxf, enum bna_rxf_event event) in bna_rxf_sm_stopped() 102 bna_rxf_sm_cfg_wait(struct bna_rxf *rxf, enum bna_rxf_event event) in bna_rxf_sm_cfg_wait() 140 bna_rxf_sm_started(struct bna_rxf *rxf, enum bna_rxf_event event) in bna_rxf_sm_started() 164 bna_rxf_sm_last_resp_wait(struct bna_rxf *rxf, enum bna_rxf_event event) in bna_rxf_sm_last_resp_wait() 1332 enum bna_rx_event event) in bna_rx_sm_stopped() 1364 bna_rx_sm_stop_wait(struct bna_rx *rx, enum bna_rx_event event) in bna_rx_sm_stop_wait() 1384 enum bna_rx_event event) in bna_rx_sm_start_wait() 1417 bna_rx_sm_rxf_stop_wait(struct bna_rx *rx, enum bna_rx_event event) in bna_rx_sm_rxf_stop_wait() 1450 bna_rx_sm_start_stop_wait(struct bna_rx *rx, enum bna_rx_event event) in bna_rx_sm_start_stop_wait() 1481 bna_rx_sm_started(struct bna_rx *rx, enum bna_rx_event event) in bna_rx_sm_started() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | events.c | 70 static const char *eqe_type_str(u8 type) in eqe_type_str() 146 unsigned long type, void *data) in any_notifier() 174 static int temp_warn(struct notifier_block *nb, unsigned long type, void *data) in temp_warn() 249 static int port_module(struct notifier_block *nb, unsigned long type, void *data) in port_module() 338 static int pcie_core(struct notifier_block *nb, unsigned long type, void *data) in pcie_core() 363 static int forward_event(struct notifier_block *nb, unsigned long event, void *data) in forward_event() 443 int mlx5_notifier_call_chain(struct mlx5_events *events, unsigned int event, void *data) in mlx5_notifier_call_chain() 467 int mlx5_blocking_notifier_call_chain(struct mlx5_core_dev *dev, unsigned int event, in mlx5_blocking_notifier_call_chain()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
| H A D | base.c | 39 nvkm_disp_vblank_fini(struct nvkm_event *event, int type, int id) in nvkm_disp_vblank_fini() 48 nvkm_disp_vblank_init(struct nvkm_event *event, int type, int id) in nvkm_disp_vblank_init() 230 enum nvkm_subdev_type type, int inst, struct nvkm_disp **pdisp) in nvkm_disp_new_()
|
| /linux/drivers/platform/x86/dell/ |
| H A D | dell-wmi-aio.c | 27 u16 type; member 28 u16 event[]; member 61 struct dell_wmi_event *event = (struct dell_wmi_event *)buffer; in dell_wmi_aio_event_check() local 75 struct dell_wmi_event *event; in dell_wmi_aio_notify() local
|
| /linux/fs/notify/fanotify/ |
| H A D | fanotify.h | 32 u8 type; member 261 unsigned int type : FANOTIFY_EVENT_TYPE_BITS; member 267 static inline void fanotify_init_event(struct fanotify_event *event, in fanotify_init_event() 292 FANOTIFY_FE(struct fanotify_event *event) in FANOTIFY_FE() 304 FANOTIFY_NE(struct fanotify_event *event) in FANOTIFY_NE() 320 FANOTIFY_EE(struct fanotify_event *event) in FANOTIFY_EE() 325 static inline __kernel_fsid_t *fanotify_event_fsid(struct fanotify_event *event) in fanotify_event_fsid() 338 struct fanotify_event *event) in fanotify_event_object_fh() 351 struct fanotify_event *event) in fanotify_event_info() 359 static inline int fanotify_event_object_fh_len(struct fanotify_event *event) in fanotify_event_object_fh_len() [all …]
|