Home
last modified time | relevance | path

Searched refs:cur_ctl (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/wireless/ath/wcn36xx/
H A Ddxe.c72 struct wcn36xx_dxe_ctl *cur_ctl = NULL; in wcn36xx_dxe_allocate_ctl_block() local
77 cur_ctl = kzalloc_obj(*cur_ctl); in wcn36xx_dxe_allocate_ctl_block()
78 if (!cur_ctl) in wcn36xx_dxe_allocate_ctl_block()
81 cur_ctl->ctl_blk_order = i; in wcn36xx_dxe_allocate_ctl_block()
83 ch->head_blk_ctl = cur_ctl; in wcn36xx_dxe_allocate_ctl_block()
84 ch->tail_blk_ctl = cur_ctl; in wcn36xx_dxe_allocate_ctl_block()
86 prev_ctl->next = cur_ctl; in wcn36xx_dxe_allocate_ctl_block()
87 cur_ctl->next = ch->head_blk_ctl; in wcn36xx_dxe_allocate_ctl_block()
89 prev_ctl->next = cur_ctl; in wcn36xx_dxe_allocate_ctl_block()
91 prev_ctl = cur_ctl; in wcn36xx_dxe_allocate_ctl_block()
[all …]
/linux/drivers/resctrl/
H A Dmpam_devices.c1138 static inline void clean_msmon_ctl_val(u32 *cur_ctl) in clean_msmon_ctl_val() argument
1140 *cur_ctl &= ~MSMON_CFG_x_CTL_OFLOW_STATUS; in clean_msmon_ctl_val()
1142 if (FIELD_GET(MSMON_CFG_x_CTL_TYPE, *cur_ctl) == MSMON_CFG_MBWU_CTL_TYPE_MBWU) in clean_msmon_ctl_val()
1143 *cur_ctl &= ~MSMON_CFG_MBWU_CTL_OFLOW_STATUS_L; in clean_msmon_ctl_val()
1217 u32 mon_sel, ctl_val, flt_val, cur_ctl, cur_flt; in __ris_msmon_read() local
1245 read_msmon_ctl_flt_vals(m, &cur_ctl, &cur_flt); in __ris_msmon_read()
1248 overflow = cur_ctl & MSMON_CFG_x_CTL_OFLOW_STATUS; in __ris_msmon_read()
1251 overflow = cur_ctl & MSMON_CFG_MBWU_CTL_OFLOW_STATUS_L; in __ris_msmon_read()
1253 clean_msmon_ctl_val(&cur_ctl); in __ris_msmon_read()
1256 cur_ctl != (ctl_val | MSMON_CFG_x_CTL_EN); in __ris_msmon_read()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn60/
H A Ddcn60_hwseq.c811 p->CURSOR0_0_CURSOR_CONTROL__CURSOR_ENABLE = hubp->pos.cur_ctl.bits.cur_enable; in dcn60_update_cursor_offload_pipe()
812 p->CURSOR0_0_CURSOR_CONTROL__CURSOR_MODE = hubp->att.cur_ctl.bits.mode; in dcn60_update_cursor_offload_pipe()
813 p->CURSOR0_0_CURSOR_CONTROL__CURSOR_2X_MAGNIFY = hubp->pos.cur_ctl.bits.cur_2x_magnify; in dcn60_update_cursor_offload_pipe()
814 p->CURSOR0_0_CURSOR_CONTROL__CURSOR_PITCH = hubp->att.cur_ctl.bits.pitch; in dcn60_update_cursor_offload_pipe()
815 p->CURSOR0_0_CURSOR_CONTROL__CURSOR_LINES_PER_CHUNK = hubp->att.cur_ctl.bits.line_per_chunk; in dcn60_update_cursor_offload_pipe()
/linux/arch/x86/kvm/vmx/
H A Dvmx.c7840 u32 cur_ctl = secondary_exec_controls_get(vmx); in vmcs_set_secondary_exec_control() local
7842 secondary_exec_controls_set(vmx, (new_ctl & ~mask) | (cur_ctl & mask)); in vmcs_set_secondary_exec_control()