Home
last modified time | relevance | path

Searched refs:old_reg (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/arch/x86/include/asm/
Dmach_traps.h28 int old_reg = -1; in reassert_nmi() local
31 old_reg = current_lock_cmos_reg(); in reassert_nmi()
38 if (old_reg >= 0) in reassert_nmi()
39 outb(old_reg, 0x70); in reassert_nmi()
/linux-6.6.21/drivers/gpu/drm/nouveau/
Dnouveau_bo0039.c48 struct ttm_resource *old_reg, struct ttm_resource *new_reg) in nv04_bo_move_m2mf() argument
51 u32 src_ctxdma = nouveau_bo_mem_ctxdma(bo, chan, old_reg); in nv04_bo_move_m2mf()
52 u32 src_offset = old_reg->start << PAGE_SHIFT; in nv04_bo_move_m2mf()
Dnouveau_bo74c1.c37 struct ttm_resource *old_reg, struct ttm_resource *new_reg) in nv84_bo_move_exec() argument
39 struct nouveau_mem *mem = nouveau_mem(old_reg); in nv84_bo_move_exec()
Dnouveau_bo85b5.c41 struct ttm_resource *old_reg, struct ttm_resource *new_reg) in nva3_bo_move_copy() argument
43 struct nouveau_mem *mem = nouveau_mem(old_reg); in nva3_bo_move_copy()
Dnouveau_bo90b5.c34 struct ttm_resource *old_reg, struct ttm_resource *new_reg) in nvc0_bo_move_copy() argument
36 struct nouveau_mem *mem = nouveau_mem(old_reg); in nvc0_bo_move_copy()
Dnouveau_bo9039.c39 struct ttm_resource *old_reg, struct ttm_resource *new_reg) in nvc0_bo_move_m2mf() argument
42 struct nouveau_mem *mem = nouveau_mem(old_reg); in nvc0_bo_move_m2mf()
Dnouveau_boa0b5.c39 struct ttm_resource *old_reg, struct ttm_resource *new_reg) in nve0_bo_move_copy() argument
41 struct nouveau_mem *mem = nouveau_mem(old_reg); in nve0_bo_move_copy()
Dnouveau_bo5039.c40 struct ttm_resource *old_reg, struct ttm_resource *new_reg) in nv50_bo_move_m2mf() argument
42 struct nouveau_mem *mem = nouveau_mem(old_reg); in nv50_bo_move_m2mf()
Dnouveau_bo.c1058 struct ttm_resource *old_reg = bo->resource; in nouveau_bo_move() local
1081 if (!old_reg || (old_reg->mem_type == TTM_PL_SYSTEM && in nouveau_bo_move()
1087 if (old_reg->mem_type == TTM_PL_SYSTEM && in nouveau_bo_move()
1093 if (old_reg->mem_type == TTM_PL_TT && in nouveau_bo_move()
1103 if ((old_reg->mem_type == TTM_PL_SYSTEM && in nouveau_bo_move()
1105 (old_reg->mem_type == TTM_PL_VRAM && in nouveau_bo_move()
/linux-6.6.21/sound/pci/oxygen/
Doxygen.c563 u16 old_reg, new_reg; in meridian_dig_source_put() local
567 old_reg = oxygen_read16(chip, OXYGEN_GPIO_DATA); in meridian_dig_source_put()
568 new_reg = old_reg & ~GPIO_MERIDIAN_DIG_MASK; in meridian_dig_source_put()
573 changed = new_reg != old_reg; in meridian_dig_source_put()
584 u16 old_reg, new_reg; in claro_dig_source_put() local
588 old_reg = oxygen_read16(chip, OXYGEN_GPIO_DATA); in claro_dig_source_put()
589 new_reg = old_reg & ~GPIO_CLARO_DIG_COAX; in claro_dig_source_put()
592 changed = new_reg != old_reg; in claro_dig_source_put()
/linux-6.6.21/sound/soc/ux500/
Dux500_msp_i2s.c417 u32 old_reg, new_reg, mask; in ux500_msp_i2s_open() local
462 old_reg = readl(msp->registers + MSP_GCR); in ux500_msp_i2s_open()
463 old_reg &= ~mask; in ux500_msp_i2s_open()
464 new_reg |= old_reg; in ux500_msp_i2s_open()
/linux-6.6.21/sound/pci/ymfpci/
Dymfpci_main.c1403 u16 reg, old_reg; in snd_ymfpci_drec_source_put() local
1406 old_reg = snd_ymfpci_readw(chip, YDSXGR_GLOBALCTRL); in snd_ymfpci_drec_source_put()
1408 reg = old_reg & ~0x100; in snd_ymfpci_drec_source_put()
1410 reg = (old_reg & ~0x300) | 0x100 | ((value->value.enumerated.item[0] == 2) << 9); in snd_ymfpci_drec_source_put()
1413 return reg != old_reg; in snd_ymfpci_drec_source_put()
/linux-6.6.21/kernel/bpf/
Dverifier.c16096 struct bpf_reg_state *old_reg, *cur_reg; in stacksafe() local
16159 old_reg = &old->stack[spi].spilled_ptr; in stacksafe()
16161 if (old_reg->dynptr.type != cur_reg->dynptr.type || in stacksafe()
16162 old_reg->dynptr.first_slot != cur_reg->dynptr.first_slot || in stacksafe()
16163 !check_ids(old_reg->ref_obj_id, cur_reg->ref_obj_id, idmap)) in stacksafe()
16167 old_reg = &old->stack[spi].spilled_ptr; in stacksafe()
16175 if (old_reg->iter.btf != cur_reg->iter.btf || in stacksafe()
16176 old_reg->iter.btf_id != cur_reg->iter.btf_id || in stacksafe()
16177 old_reg->iter.state != cur_reg->iter.state || in stacksafe()
16179 !check_ids(old_reg->ref_obj_id, cur_reg->ref_obj_id, idmap)) in stacksafe()