Home
last modified time | relevance | path

Searched refs:event_idx (Results 1 – 25 of 28) sorted by relevance

12

/OK3568_Linux_fs/kernel/arch/powerpc/perf/
H A Dhv-24x7.c713 size_t event_idx, in catalog_event_len_validate() argument
724 if (event_idx >= event_entry_count) { in catalog_event_len_validate()
732 event_idx); in catalog_event_len_validate()
740 event_idx, ev_len, event); in catalog_event_len_validate()
745 event_idx, ev_len, ev_end, end, in catalog_event_len_validate()
753 event_idx, event_data_bytes, event, end, in catalog_event_len_validate()
760 event_idx, event, ev_end, offset, calc_ev_end); in catalog_event_len_validate()
776 event_data_bytes, junk_events, event_idx, event_attr_ct, i, in create_events_from_catalog() local
881 for (junk_events = 0, event = event_data, event_idx = 0, attr_max = 0; in create_events_from_catalog()
883 event_idx++, event = (void *)event + ev_len) { in create_events_from_catalog()
[all …]
/OK3568_Linux_fs/external/mpp/test/
H A Dmpp_event_trigger.c43 int event_idx; member
79 e_curr = &ctx->ea->e[ctx->event_idx % ctx->ea->cnt]; in event_init()
80 e_next = &ctx->ea->e[(++ctx->event_idx) % ctx->ea->cnt]; in event_init()
181 curr - start_time, ctx->event_idx); in event_trigger_thread()
183 ctx->trigger(ctx->parent, ctx->ea->e[ctx->event_idx % ctx->ea->cnt].event); in event_trigger_thread()
210 ctx->event_idx = 0; in event_ctx_create()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dvirtio_ring.h162 static __inline__ int vring_need_event(__u16 event_idx, __u16 new_idx, __u16 old) in vring_need_event() argument
169 return (__u16)(new_idx - event_idx - 1) < (__u16)(new_idx - old); in vring_need_event()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dvirtio_ring.h162 static __inline__ int vring_need_event(__u16 event_idx, __u16 new_idx, __u16 old) in vring_need_event() argument
169 return (__u16)(new_idx - event_idx - 1) < (__u16)(new_idx - old); in vring_need_event()
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dvirtio_ring.h216 static inline int vring_need_event(__u16 event_idx, __u16 new_idx, __u16 old) in vring_need_event() argument
223 return (__u16)(new_idx - event_idx - 1) < (__u16)(new_idx - old); in vring_need_event()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/
H A Dhalbb.c810 enum halbb_event_idx_t event_idx = *((enum halbb_event_idx_t *)bb_cmd); in halbb_bb_cmd_notify() local
812 BB_DBG(bb, DBG_COMMON_FLOW, "[%s][phy_idx=%d] event_idx=%d\n", __func__, phy_idx, event_idx); in halbb_bb_cmd_notify()
814 if (event_idx == BB_EVENT_TIMER_DIG) { in halbb_bb_cmd_notify()
818 } else if (event_idx == BB_EVENT_TIMER_CFO) { in halbb_bb_cmd_notify()
822 } else if (event_idx == BB_EVENT_TIMER_ANTDIV) { in halbb_bb_cmd_notify()
826 } else if (event_idx == BB_EVENT_TIMER_TDMA_CR) { in halbb_bb_cmd_notify()
830 } else if (event_idx == BB_EVENT_TIMER_LA) { in halbb_bb_cmd_notify()
835 BB_WARNING("[%s] event_idx=%d\n", __func__, event_idx); in halbb_bb_cmd_notify()
H A Dhalbb_interface.h184 enum halbb_event_idx_t event_idx; member
H A Dhalbb_cfo_trk.c229 rtw_hal_cmd_notify(bb->phl_com, MSG_EVT_NOTIFY_BB, (void *)(&timer->event_idx), bb->bb_phy_idx); in halbb_cfo_acc_callback()
238 timer->event_idx = BB_EVENT_TIMER_CFO; in halbb_cfo_acc_timer_init()
H A Dhalbb_dbg.c95 rtw_hal_cmd_notify(bb->phl_com, MSG_EVT_NOTIFY_BB, (void *)(&timer->event_idx), bb->bb_phy_idx); in halbb_tdma_cr_sel_callback()
104 timer->event_idx = BB_EVENT_TIMER_TDMA_CR; in halbb_tdma_cr_timer_init()
H A Dhalbb_dig.c1457 rtw_hal_cmd_notify(bb->phl_com, MSG_EVT_NOTIFY_BB, (void *)(&timer->event_idx), bb->bb_phy_idx); in halbb_tdmadig_callback()
1466 timer->event_idx = BB_EVENT_TIMER_DIG; in halbb_dig_timer_init()
H A Dhalbb_la_mode.c1701 rtw_hal_cmd_notify(bb->phl_com, MSG_EVT_NOTIFY_BB, (void *)(&timer->event_idx), bb->bb_phy_idx); in halbb_la_callback()
1709 timer->event_idx = BB_EVENT_TIMER_LA; in halbb_la_timer_init()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/bb/
H A Dhalbb.c810 enum halbb_event_idx_t event_idx = *((enum halbb_event_idx_t *)bb_cmd); in halbb_bb_cmd_notify() local
812 BB_DBG(bb, DBG_COMMON_FLOW, "[%s][phy_idx=%d] event_idx=%d\n", __func__, phy_idx, event_idx); in halbb_bb_cmd_notify()
814 if (event_idx == BB_EVENT_TIMER_DIG) { in halbb_bb_cmd_notify()
818 } else if (event_idx == BB_EVENT_TIMER_CFO) { in halbb_bb_cmd_notify()
822 } else if (event_idx == BB_EVENT_TIMER_ANTDIV) { in halbb_bb_cmd_notify()
826 } else if (event_idx == BB_EVENT_TIMER_TDMA_CR) { in halbb_bb_cmd_notify()
830 } else if (event_idx == BB_EVENT_TIMER_LA) { in halbb_bb_cmd_notify()
835 BB_WARNING("[%s] event_idx=%d\n", __func__, event_idx); in halbb_bb_cmd_notify()
H A Dhalbb_interface.h184 enum halbb_event_idx_t event_idx; member
H A Dhalbb_cfo_trk.c229 rtw_hal_cmd_notify(bb->phl_com, MSG_EVT_NOTIFY_BB, (void *)(&timer->event_idx), bb->bb_phy_idx); in halbb_cfo_acc_callback()
238 timer->event_idx = BB_EVENT_TIMER_CFO; in halbb_cfo_acc_timer_init()
H A Dhalbb_dbg.c95 rtw_hal_cmd_notify(bb->phl_com, MSG_EVT_NOTIFY_BB, (void *)(&timer->event_idx), bb->bb_phy_idx); in halbb_tdma_cr_sel_callback()
104 timer->event_idx = BB_EVENT_TIMER_TDMA_CR; in halbb_tdma_cr_timer_init()
H A Dhalbb_la_mode.c1701 rtw_hal_cmd_notify(bb->phl_com, MSG_EVT_NOTIFY_BB, (void *)(&timer->event_idx), bb->bb_phy_idx); in halbb_la_callback()
1709 timer->event_idx = BB_EVENT_TIMER_LA; in halbb_la_timer_init()
H A Dhalbb_dig.c1457 rtw_hal_cmd_notify(bb->phl_com, MSG_EVT_NOTIFY_BB, (void *)(&timer->event_idx), bb->bb_phy_idx); in halbb_tdmadig_callback()
1466 timer->event_idx = BB_EVENT_TIMER_DIG; in halbb_dig_timer_init()
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dgdth_ioctl.h171 u16 event_idx; member
H A Dgdth.c2369 ebuffer[elastidx].event_idx == idx && in gdth_store_event()
2392 e->event_idx = idx; in gdth_store_event()
3392 gdth_store_event(ha, evt.event.event_source, evt.event.event_idx, in ioc_event()
/OK3568_Linux_fs/kernel/drivers/virtio/
H A Dvirtio_ring.c1245 u16 new, old, off_wrap, flags, wrap_counter, event_idx; in virtqueue_kick_prepare_packed() local
1281 event_idx = off_wrap & ~(1 << VRING_PACKED_EVENT_F_WRAP_CTR); in virtqueue_kick_prepare_packed()
1283 event_idx -= vq->packed.vring.num; in virtqueue_kick_prepare_packed()
1285 needs_kick = vring_need_event(event_idx, new, old); in virtqueue_kick_prepare_packed()
/OK3568_Linux_fs/kernel/arch/x86/events/intel/
H A Dp4.c731 static bool p4_event_match_cpu_model(unsigned int event_idx) in p4_event_match_cpu_model() argument
734 if (event_idx == P4_EVENT_INSTR_COMPLETED) { in p4_event_match_cpu_model()
/OK3568_Linux_fs/kernel/include/net/
H A Dcfg80211.h6696 int approxlen, int event_idx, gfp_t gfp) in cfg80211_vendor_event_alloc() argument
6700 0, event_idx, approxlen, gfp); in cfg80211_vendor_event_alloc()
6731 int event_idx, gfp_t gfp) in cfg80211_vendor_event_alloc_ucast() argument
6735 portid, event_idx, approxlen, gfp); in cfg80211_vendor_event_alloc_ucast()
/OK3568_Linux_fs/kernel/include/linux/
H A Dperf_event.h424 int (*event_idx) (struct perf_event *event); /*optional */ member
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/
H A Di915_pmu.c1139 pmu->base.event_idx = i915_pmu_event_event_idx; in i915_pmu_register()
/OK3568_Linux_fs/kernel/drivers/nvme/host/
H A Dpci.c331 static inline int nvme_dbbuf_need_event(u16 event_idx, u16 new_idx, u16 old) in nvme_dbbuf_need_event() argument
333 return (u16)(new_idx - event_idx - 1) < (u16)(new_idx - old); in nvme_dbbuf_need_event()

12