Home
last modified time | relevance | path

Searched refs:event_bitmap (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.1/drivers/net/ipa/
Dgsi.c1447 if (gsi->event_bitmap == ~0U) { in gsi_evt_ring_id_alloc()
1452 evt_ring_id = ffz(gsi->event_bitmap); in gsi_evt_ring_id_alloc()
1453 gsi->event_bitmap |= BIT(evt_ring_id); in gsi_evt_ring_id_alloc()
1461 gsi->event_bitmap &= ~BIT(evt_ring_id); in gsi_evt_ring_id_free()
1576 u32 event_bitmap = GENMASK(BITS_PER_LONG - 1, evt_ring_max); in gsi_event_bitmap_init() local
1578 event_bitmap |= GENMASK(GSI_MHI_EVENT_ID_END, GSI_MHI_EVENT_ID_START); in gsi_event_bitmap_init()
1580 return event_bitmap; in gsi_event_bitmap_init()
2153 gsi->event_bitmap = gsi_event_bitmap_init(GSI_EVT_RING_COUNT_MAX); in gsi_channel_init()
Dgsi.h148 u32 event_bitmap; /* allocated event rings */ member
/Linux-v6.1/drivers/perf/
Dmarvell_cn10k_ddr_pmu.c269 static int ddr_perf_get_event_bitmap(int eventid, u64 *event_bitmap) in ddr_perf_get_event_bitmap() argument
274 *event_bitmap = (1ULL << (eventid - 1)); in ddr_perf_get_event_bitmap()
279 *event_bitmap = (0xFULL << (eventid - 1)); in ddr_perf_get_event_bitmap()
/Linux-v6.1/drivers/gpu/drm/etnaviv/
Detnaviv_gpu.c838 bitmap_zero(gpu->event_bitmap, ETNA_NR_EVENTS); in etnaviv_gpu_init()
1063 for_each_set_bit(i, gpu->event_bitmap, ETNA_NR_EVENTS) in etnaviv_gpu_recover_hang()
1065 bitmap_zero(gpu->event_bitmap, ETNA_NR_EVENTS); in etnaviv_gpu_recover_hang()
1175 int event = find_first_zero_bit(gpu->event_bitmap, ETNA_NR_EVENTS); in event_alloc()
1179 set_bit(event, gpu->event_bitmap); in event_alloc()
1195 if (!test_bit(event, gpu->event_bitmap)) { in event_free()
1199 clear_bit(event, gpu->event_bitmap); in event_free()
Detnaviv_gpu.h111 DECLARE_BITMAP(event_bitmap, ETNA_NR_EVENTS);
/Linux-v6.1/drivers/net/wireless/marvell/mwifiex/
Dsta_cmd.c1284 u16 event_bitmap; in mwifiex_cmd_802_11_subsc_evt() local
1301 event_bitmap = subsc_evt_cfg->events; in mwifiex_cmd_802_11_subsc_evt()
1303 event_bitmap); in mwifiex_cmd_802_11_subsc_evt()
1307 (event_bitmap == 0)) { in mwifiex_cmd_802_11_subsc_evt()
1325 if (event_bitmap & BITMASK_BCN_RSSI_LOW) { in mwifiex_cmd_802_11_subsc_evt()
1347 if (event_bitmap & BITMASK_BCN_RSSI_HIGH) { in mwifiex_cmd_802_11_subsc_evt()
/Linux-v6.1/drivers/net/wireless/ath/ath10k/
Dwmi-tlv.h2201 __le32 event_bitmap; member
Dwmi-tlv.c3688 cmd->event_bitmap = __cpu_to_le32(1 << event); in ath10k_wmi_tlv_op_gen_wow_add_wakeup_event()
/Linux-v6.1/drivers/net/wireless/ath/ath11k/
Dwmi.h5607 u32 event_bitmap; member
Dwmi.c8543 cmd->event_bitmap = (1 << event); in ath11k_wmi_wow_add_wakeup_event()