Home
last modified time | relevance | path

Searched refs:sw_bytes (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/x86/kernel/fpu/
H A Dsignal.c105 static inline void save_sw_bytes(struct _fpx_sw_bytes *sw_bytes, bool ia32_frame, in save_sw_bytes() argument
108 sw_bytes->magic1 = FP_XSTATE_MAGIC1; in save_sw_bytes()
109 sw_bytes->extended_size = fpstate->user_size + FP_XSTATE_MAGIC2_SIZE; in save_sw_bytes()
110 sw_bytes->xfeatures = fpstate->user_xfeatures; in save_sw_bytes()
111 sw_bytes->xstate_size = fpstate->user_size; in save_sw_bytes()
114 sw_bytes->extended_size += sizeof(struct fregs_state); in save_sw_bytes()
121 struct _fpx_sw_bytes sw_bytes = {}; in save_xstate_epilog() local
126 save_sw_bytes(&sw_bytes, ia32_frame, fpstate); in save_xstate_epilog()
127 err = __copy_to_user(&x->i387.sw_reserved, &sw_bytes, sizeof(sw_bytes)); in save_xstate_epilog()
/openbmc/linux/tools/testing/selftests/x86/
H A Damx.c261 struct _fpx_sw_bytes *sw_bytes; in handle_noperm() local
275 sw_bytes = get_fpx_sw_bytes(xbuf); in handle_noperm()
285 if (sw_bytes->xstate_size <= xtiledata.xbuf_offset) { in handle_noperm()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/
H A Ddml1_display_rq_dlg_calc.c1088 unsigned int sw_bytes; in dml1_rq_dlg_get_dlg_params() local
1382 sw_bytes = 0; in dml1_rq_dlg_get_dlg_params()
1395 sw_bytes = sw_bytes_ub_l + sw_bytes_ub_c; in dml1_rq_dlg_get_dlg_params()
1397 sw_bytes = sw_bytes_ub_l; in dml1_rq_dlg_get_dlg_params()
1401 DTRACE("DLG: %s: sw_bytes = %d", __func__, sw_bytes); in dml1_rq_dlg_get_dlg_params()
1406 prefetch_bw = (vm_bytes + 2 * dpte_row_bytes + 2 * meta_row_bytes + sw_bytes) / t_pre_us; in dml1_rq_dlg_get_dlg_params()