Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/marvell/prestera/
Dprestera_hw.c864 struct prestera_msg_event_port *hw_evt; in prestera_fw_parse_port_evt() local
866 hw_evt = (struct prestera_msg_event_port *)msg; in prestera_fw_parse_port_evt()
868 evt->port_evt.port_id = __le32_to_cpu(hw_evt->port_id); in prestera_fw_parse_port_evt()
871 evt->port_evt.data.mac.oper = hw_evt->param.mac.oper; in prestera_fw_parse_port_evt()
873 __le32_to_cpu(hw_evt->param.mac.mode); in prestera_fw_parse_port_evt()
875 __le32_to_cpu(hw_evt->param.mac.speed); in prestera_fw_parse_port_evt()
876 evt->port_evt.data.mac.duplex = hw_evt->param.mac.duplex; in prestera_fw_parse_port_evt()
877 evt->port_evt.data.mac.fc = hw_evt->param.mac.fc; in prestera_fw_parse_port_evt()
878 evt->port_evt.data.mac.fec = hw_evt->param.mac.fec; in prestera_fw_parse_port_evt()
888 struct prestera_msg_event_fdb *hw_evt = msg; in prestera_fw_parse_fdb_evt() local
[all …]
/linux-6.12.1/drivers/perf/
Driscv_pmu_sbi.c953 struct hw_perf_event *hw_evt; in pmu_sbi_ovf_handler() local
1029 hw_evt = &event->hw; in pmu_sbi_ovf_handler()
1031 hw_evt->state |= PERF_HES_STOPPED; in pmu_sbi_ovf_handler()
1033 hw_evt->state |= PERF_HES_UPTODATE; in pmu_sbi_ovf_handler()
1034 perf_sample_data_init(&data, 0, hw_evt->last_period); in pmu_sbi_ovf_handler()
1047 hw_evt->state = 0; in pmu_sbi_ovf_handler()