Home
last modified time | relevance | path

Searched full:wrapped (Results 1 – 25 of 606) sorted by relevance

12345678910>>...25

/kernel/linux/linux-6.6/tools/perf/arch/arm64/util/
Darm-spe.c36 bool *wrapped; member
308 bool *wrapped; in arm_spe_alloc_wrapped_array() local
318 * Make ptr->wrapped as big as idx. in arm_spe_alloc_wrapped_array()
325 wrapped = reallocarray(ptr->wrapped, new_cnt, sizeof(bool)); in arm_spe_alloc_wrapped_array()
326 if (!wrapped) in arm_spe_alloc_wrapped_array()
333 wrapped[i] = false; in arm_spe_alloc_wrapped_array()
336 ptr->wrapped = wrapped; in arm_spe_alloc_wrapped_array()
351 * wrapped around. Otherwise, continue to detect if head might have wrapped. in arm_spe_buffer_has_wrapped()
364 * head has numerically wrapped around. To find we need to check if we have data at the in arm_spe_buffer_has_wrapped()
383 * numerically wrapped around at least once. in arm_spe_buffer_has_wrapped()
[all …]
/kernel/linux/linux-5.10/tools/perf/arch/arm/util/
Dcs-etm.c42 bool *wrapped; member
695 bool *wrapped; in cs_etm_alloc_wrapped_array() local
698 /* Make @ptr->wrapped as big as @idx */ in cs_etm_alloc_wrapped_array()
707 wrapped = realloc(ptr->wrapped, cnt * sizeof(bool)); in cs_etm_alloc_wrapped_array()
708 if (!wrapped) in cs_etm_alloc_wrapped_array()
711 wrapped[cnt - 1] = false; in cs_etm_alloc_wrapped_array()
713 ptr->wrapped = wrapped; in cs_etm_alloc_wrapped_array()
733 * than the size of the ring buffer, it has wrapped around. in cs_etm_buffer_has_wrapped()
742 * wrapped around. To find we need to check if we have data at the very in cs_etm_buffer_has_wrapped()
760 * been there and has numerically wrapped around at least once. in cs_etm_buffer_has_wrapped()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_cmdq.c182 static void cmdq_prepare_wqe_ctrl(struct hinic_cmdq_wqe *wqe, int wrapped, in cmdq_prepare_wqe_ctrl() argument
221 HINIC_CMDQ_WQE_HEADER_SET(wrapped, TOGGLED_WRAPPED); in cmdq_prepare_wqe_ctrl()
251 struct hinic_cmdq_buf *buf_out, int wrapped, in cmdq_set_lcmd_wqe() argument
269 cmdq_prepare_wqe_ctrl(wqe, wrapped, ack_type, mod, cmd, in cmdq_set_lcmd_wqe()
279 struct hinic_cmdq_buf *buf_out, int wrapped, in cmdq_set_direct_wqe() argument
300 cmdq_prepare_wqe_ctrl(wqe, wrapped, ack_type, mod, cmd, prod_idx, in cmdq_set_direct_wqe()
347 int errcode, wrapped, num_wqebbs; in cmdq_sync_cmd_direct_resp() local
364 wrapped = cmdq->wrapped; in cmdq_sync_cmd_direct_resp()
369 cmdq->wrapped = !cmdq->wrapped; in cmdq_sync_cmd_direct_resp()
379 wrapped, HINIC_CMD_ACK_TYPE_CMDQ, mod, cmd, in cmdq_sync_cmd_direct_resp()
[all …]
Dhinic_hw_eqs.c201 HINIC_EQ_CI_CLEAR(val, WRAPPED) & in eq_update_ci()
206 HINIC_EQ_CI_SET(eq->wrapped, WRAPPED) | in eq_update_ci()
236 /* HW toggles the wrapped bit, when it adds eq element */ in aeq_irq_handler()
237 if (HINIC_EQ_ELEM_DESC_GET(aeqe_desc, WRAPPED) == eq->wrapped) in aeq_irq_handler()
272 eq->wrapped = !eq->wrapped; in aeq_irq_handler()
326 /* HW toggles the wrapped bit, when it adds eq element event */ in ceq_irq_handler()
327 if (HINIC_EQ_ELEM_DESC_GET(ceqe, WRAPPED) == eq->wrapped) in ceq_irq_handler()
336 eq->wrapped = !eq->wrapped; in ceq_irq_handler()
669 init_val = HINIC_EQ_ELEM_DESC_SET(eq->wrapped, WRAPPED); in alloc_eq_pages()
740 eq->wrapped = 0; in init_eq()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_cmdq.c177 static void cmdq_prepare_wqe_ctrl(struct hinic_cmdq_wqe *wqe, int wrapped, in cmdq_prepare_wqe_ctrl() argument
216 HINIC_CMDQ_WQE_HEADER_SET(wrapped, TOGGLED_WRAPPED); in cmdq_prepare_wqe_ctrl()
246 struct hinic_cmdq_buf *buf_out, int wrapped, in cmdq_set_lcmd_wqe() argument
264 cmdq_prepare_wqe_ctrl(wqe, wrapped, ack_type, mod, cmd, in cmdq_set_lcmd_wqe()
274 struct hinic_cmdq_buf *buf_out, int wrapped, in cmdq_set_direct_wqe() argument
295 cmdq_prepare_wqe_ctrl(wqe, wrapped, ack_type, mod, cmd, prod_idx, in cmdq_set_direct_wqe()
342 int errcode, wrapped, num_wqebbs; in cmdq_sync_cmd_direct_resp() local
359 wrapped = cmdq->wrapped; in cmdq_sync_cmd_direct_resp()
364 cmdq->wrapped = !cmdq->wrapped; in cmdq_sync_cmd_direct_resp()
374 wrapped, HINIC_CMD_ACK_TYPE_CMDQ, mod, cmd, in cmdq_sync_cmd_direct_resp()
[all …]
Dhinic_hw_eqs.c201 HINIC_EQ_CI_CLEAR(val, WRAPPED) & in eq_update_ci()
206 HINIC_EQ_CI_SET(eq->wrapped, WRAPPED) | in eq_update_ci()
236 /* HW toggles the wrapped bit, when it adds eq element */ in aeq_irq_handler()
237 if (HINIC_EQ_ELEM_DESC_GET(aeqe_desc, WRAPPED) == eq->wrapped) in aeq_irq_handler()
272 eq->wrapped = !eq->wrapped; in aeq_irq_handler()
326 /* HW toggles the wrapped bit, when it adds eq element event */ in ceq_irq_handler()
327 if (HINIC_EQ_ELEM_DESC_GET(ceqe, WRAPPED) == eq->wrapped) in ceq_irq_handler()
336 eq->wrapped = !eq->wrapped; in ceq_irq_handler()
669 init_val = HINIC_EQ_ELEM_DESC_SET(eq->wrapped, WRAPPED); in alloc_eq_pages()
740 eq->wrapped = 0; in init_eq()
[all …]
/kernel/linux/linux-5.10/tools/perf/arch/x86/util/
Dintel-bts.c36 bool wrapped; member
370 bool wrapped; in intel_bts_find_snapshot() local
382 wrapped = btsr->snapshot_refs[idx].wrapped; in intel_bts_find_snapshot()
383 if (!wrapped && intel_bts_first_wrap((u64 *)data, mm->len)) { in intel_bts_find_snapshot()
384 btsr->snapshot_refs[idx].wrapped = true; in intel_bts_find_snapshot()
385 wrapped = true; in intel_bts_find_snapshot()
394 if (wrapped) { in intel_bts_find_snapshot()
407 __func__, wrapped ? "" : "not ", (size_t)*old, (size_t)*head); in intel_bts_find_snapshot()
Dintel-pt.c45 bool wrapped; member
1085 bool wrapped; in intel_pt_wrapped() local
1087 wrapped = intel_pt_compare_ref(ref->ref_buf, ref->ref_offset, in intel_pt_wrapped()
1094 return wrapped; in intel_pt_wrapped()
1120 bool wrapped; in intel_pt_find_snapshot() local
1142 wrapped = intel_pt_wrapped(ptr, idx, mm, data, *head); in intel_pt_find_snapshot()
1144 wrapped = ptr->snapshot_refs[idx].wrapped; in intel_pt_find_snapshot()
1145 if (!wrapped && intel_pt_first_wrap((u64 *)data, mm->len)) { in intel_pt_find_snapshot()
1146 ptr->snapshot_refs[idx].wrapped = true; in intel_pt_find_snapshot()
1147 wrapped = true; in intel_pt_find_snapshot()
[all …]
/kernel/linux/linux-6.6/tools/perf/arch/x86/util/
Dintel-bts.c36 bool wrapped; member
371 bool wrapped; in intel_bts_find_snapshot() local
383 wrapped = btsr->snapshot_refs[idx].wrapped; in intel_bts_find_snapshot()
384 if (!wrapped && intel_bts_first_wrap((u64 *)data, mm->len)) { in intel_bts_find_snapshot()
385 btsr->snapshot_refs[idx].wrapped = true; in intel_bts_find_snapshot()
386 wrapped = true; in intel_bts_find_snapshot()
395 if (wrapped) { in intel_bts_find_snapshot()
408 __func__, wrapped ? "" : "not ", (size_t)*old, (size_t)*head); in intel_bts_find_snapshot()
Dintel-pt.c47 bool wrapped; member
1089 bool wrapped; in intel_pt_wrapped() local
1091 wrapped = intel_pt_compare_ref(ref->ref_buf, ref->ref_offset, in intel_pt_wrapped()
1098 return wrapped; in intel_pt_wrapped()
1124 bool wrapped; in intel_pt_find_snapshot() local
1146 wrapped = intel_pt_wrapped(ptr, idx, mm, data, *head); in intel_pt_find_snapshot()
1148 wrapped = ptr->snapshot_refs[idx].wrapped; in intel_pt_find_snapshot()
1149 if (!wrapped && intel_pt_first_wrap((u64 *)data, mm->len)) { in intel_pt_find_snapshot()
1150 ptr->snapshot_refs[idx].wrapped = true; in intel_pt_find_snapshot()
1151 wrapped = true; in intel_pt_find_snapshot()
[all …]
/kernel/linux/linux-6.6/tools/perf/util/intel-pt-decoder/
Dintel-pt-log.c31 bool wrapped; member
114 b->wrapped = true; in log_buf__write()
172 fflush(f); /* Could update b->head and b->wrapped */ in log_buf__dump()
174 if (b->wrapped) { in log_buf__dump()
182 b->wrapped = false; in log_buf__dump()
/kernel/linux/linux-6.6/include/linux/platform_data/x86/
Dnvidia-wmi-ec-backlight.h23 * enum wmi_brightness_mode - Operation mode for WMI-wrapped method
53 * struct wmi_brightness_args - arguments for the WMI-wrapped ACPI method
65 * wrapped by WMI. The value passed in to @val or returned by @ret will be a
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
Dpio_copy.c102 /* at this point we have wrapped if we are going to wrap */ in pio_copy()
333 /* at this point we have wrapped if we are going to wrap */ in seg_pio_copy_start()
446 * the else. If we have wrapped, we cannot still be within the in mid_copy_mix()
448 * we cannot have wrapped. We do the wrap check first as that in mid_copy_mix()
451 /* adjust if we have wrapped */ in mid_copy_mix()
619 * true, hence the else. If we have wrapped, we in seg_pio_copy_mid()
622 * cannot have wrapped. We do the wrap check first in seg_pio_copy_mid()
625 /* adjust if we've wrapped */ in seg_pio_copy_mid()
673 * else. If we have wrapped, we cannot still be within the first in seg_pio_copy_end()
675 * cannot have wrapped. We do the wrap check first as that is in seg_pio_copy_end()
[all …]
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/
Dhwt.c227 int wrapped ; in hwt_wait_time() local
248 wrapped = 0 ; in hwt_wait_time()
250 if (!wrapped) { in hwt_wait_time()
253 wrapped = 1 ; in hwt_wait_time()
258 wrapped = 0 ; in hwt_wait_time()
/kernel/linux/linux-6.6/drivers/net/fddi/skfp/
Dhwt.c223 int wrapped ; in hwt_wait_time() local
244 wrapped = 0 ; in hwt_wait_time()
246 if (!wrapped) { in hwt_wait_time()
249 wrapped = 1 ; in hwt_wait_time()
254 wrapped = 0 ; in hwt_wait_time()
/kernel/linux/linux-6.6/arch/x86/events/intel/
Dpt.h68 * @wrapped: buffer advance wrapped back to the first topa table
86 bool wrapped; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dpio_copy.c143 /* at this point we have wrapped if we are going to wrap */ in pio_copy()
374 /* at this point we have wrapped if we are going to wrap */ in seg_pio_copy_start()
487 * the else. If we have wrapped, we cannot still be within the in mid_copy_mix()
489 * we cannot have wrapped. We do the wrap check first as that in mid_copy_mix()
492 /* adjust if we have wrapped */ in mid_copy_mix()
660 * true, hence the else. If we have wrapped, we in seg_pio_copy_mid()
663 * cannot have wrapped. We do the wrap check first in seg_pio_copy_mid()
666 /* adjust if we've wrapped */ in seg_pio_copy_mid()
714 * else. If we have wrapped, we cannot still be within the first in seg_pio_copy_end()
716 * cannot have wrapped. We do the wrap check first as that is in seg_pio_copy_end()
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-driver-typec-displayport10 with the active one wrapped in square brackets.
32 listed as space separated list with the active one wrapped in
/kernel/linux/linux-5.10/crypto/asymmetric_keys/
Dsignature.c74 * params->key. The encrypted data is wrapped in an encoding if
95 * params->key. The decrypted data is wrapped in an encoding if
116 * The signature is wrapped in an encoding if params->encoding is specified
/kernel/linux/linux-5.10/sound/pci/cs46xx/
Ddsp_spos.h176 u8 wrapped; in _wrap_all_bits() local
179 wrapped = in _wrap_all_bits()
189 return wrapped; in _wrap_all_bits()
/kernel/linux/linux-6.6/crypto/asymmetric_keys/
Dsignature.c74 * params->key. The encrypted data is wrapped in an encoding if
95 * params->key. The decrypted data is wrapped in an encoding if
116 * The signature is wrapped in an encoding if params->encoding is specified
/kernel/linux/linux-6.6/sound/pci/cs46xx/
Ddsp_spos.h176 u8 wrapped; in _wrap_all_bits() local
179 wrapped = in _wrap_all_bits()
189 return wrapped; in _wrap_all_bits()
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
Dpanel.c158 * @panel: The drm_panel being wrapped. Must be non-NULL.
191 * @panel: The drm_panel being wrapped. Must be non-NULL.
264 * @panel: The drm_panel being wrapped. Must be non-NULL.
284 * @panel: The drm_panel being wrapped. Must be non-NULL.
/kernel/linux/linux-6.6/arch/hexagon/kernel/
Dirq_cpu.c56 * into different systems/platforms, it is typically wrapped by
63 * The first-level interrupt controller is wrapped by the VM, which
/kernel/linux/linux-5.10/arch/hexagon/kernel/
Dirq_cpu.c56 * into different systems/platforms, it is typically wrapped by
63 * The first-level interrupt controller is wrapped by the VM, which

12345678910>>...25