Home
last modified time | relevance | path

Searched refs:new_reg (Results 1 – 17 of 17) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/nouveau/
Dnouveau_bo0039.c48 struct ttm_resource *old_reg, struct ttm_resource *new_reg) in nv04_bo_move_m2mf() argument
53 u32 dst_ctxdma = nouveau_bo_mem_ctxdma(bo, chan, new_reg); in nv04_bo_move_m2mf()
54 u32 dst_offset = new_reg->start << PAGE_SHIFT; in nv04_bo_move_m2mf()
55 u32 page_count = new_reg->num_pages; in nv04_bo_move_m2mf()
65 page_count = new_reg->num_pages; in nv04_bo_move_m2mf()
Dnouveau_bo.c797 struct ttm_resource *new_reg) in nouveau_bo_move_m2mf() argument
810 ret = nouveau_bo_move_prep(drm, bo, new_reg); in nouveau_bo_move_m2mf()
821 ret = drm->ttm.move(chan, bo, bo->resource, new_reg); in nouveau_bo_move_m2mf()
837 new_reg); in nouveau_bo_move_m2mf()
916 struct ttm_resource *new_reg) in nouveau_bo_move_ntfy() argument
918 struct nouveau_mem *mem = new_reg ? nouveau_mem(new_reg) : NULL; in nouveau_bo_move_ntfy()
928 if (mem && new_reg->mem_type != TTM_PL_SYSTEM && in nouveau_bo_move_ntfy()
940 if (new_reg) in nouveau_bo_move_ntfy()
941 nvbo->offset = (new_reg->start << PAGE_SHIFT); in nouveau_bo_move_ntfy()
946 nouveau_bo_vm_bind(struct ttm_buffer_object *bo, struct ttm_resource *new_reg, in nouveau_bo_vm_bind() argument
[all …]
Dnouveau_bo90b5.c34 struct ttm_resource *old_reg, struct ttm_resource *new_reg) in nvc0_bo_move_copy() argument
40 u32 page_count = new_reg->num_pages; in nvc0_bo_move_copy()
43 page_count = new_reg->num_pages; in nvc0_bo_move_copy()
Dnouveau_bo85b5.c41 struct ttm_resource *old_reg, struct ttm_resource *new_reg) in nva3_bo_move_copy() argument
47 u32 page_count = new_reg->num_pages; in nva3_bo_move_copy()
50 page_count = new_reg->num_pages; in nva3_bo_move_copy()
Dnouveau_bo9039.c39 struct ttm_resource *old_reg, struct ttm_resource *new_reg) in nvc0_bo_move_m2mf() argument
45 u32 page_count = new_reg->num_pages; in nvc0_bo_move_m2mf()
48 page_count = new_reg->num_pages; in nvc0_bo_move_m2mf()
Dnouveau_bo74c1.c37 struct ttm_resource *old_reg, struct ttm_resource *new_reg) in nv84_bo_move_exec() argument
47 PUSH_NVSQ(push, NV74C1, 0x0304, new_reg->num_pages << PAGE_SHIFT, in nv84_bo_move_exec()
Dnouveau_bo5039.c40 struct ttm_resource *old_reg, struct ttm_resource *new_reg) in nv50_bo_move_m2mf() argument
44 u64 length = (new_reg->num_pages << PAGE_SHIFT); in nv50_bo_move_m2mf()
48 int dst_tiled = !!nouveau_mem(new_reg)->kind; in nv50_bo_move_m2mf()
Dnouveau_boa0b5.c39 struct ttm_resource *old_reg, struct ttm_resource *new_reg) in nve0_bo_move_copy() argument
61 LINE_COUNT, new_reg->num_pages); in nve0_bo_move_copy()
/Linux-v6.1/arch/mips/cavium-octeon/
Docteon-platform.c934 __be32 new_reg[6]; in octeon_prune_device_tree() local
994 new_reg[0] = cpu_to_be32(cs); in octeon_prune_device_tree()
995 new_reg[1] = cpu_to_be32(0); in octeon_prune_device_tree()
996 new_reg[2] = cpu_to_be32(0x10000); in octeon_prune_device_tree()
997 new_reg[3] = cpu_to_be32(cs + 1); in octeon_prune_device_tree()
998 new_reg[4] = cpu_to_be32(0); in octeon_prune_device_tree()
999 new_reg[5] = cpu_to_be32(0x10000); in octeon_prune_device_tree()
1001 "reg", new_reg, sizeof(new_reg)); in octeon_prune_device_tree()
1034 __be32 new_reg[6]; in octeon_prune_device_tree() local
1055 new_reg[0] = cpu_to_be32(cs); in octeon_prune_device_tree()
[all …]
/Linux-v6.1/sound/pci/oxygen/
Doxygen.c563 u16 old_reg, new_reg; in meridian_dig_source_put() local
568 new_reg = old_reg & ~GPIO_MERIDIAN_DIG_MASK; in meridian_dig_source_put()
570 new_reg |= GPIO_MERIDIAN_DIG_BOARD; in meridian_dig_source_put()
572 new_reg |= GPIO_MERIDIAN_DIG_EXT; in meridian_dig_source_put()
573 changed = new_reg != old_reg; in meridian_dig_source_put()
575 oxygen_write16(chip, OXYGEN_GPIO_DATA, new_reg); in meridian_dig_source_put()
584 u16 old_reg, new_reg; in claro_dig_source_put() local
589 new_reg = old_reg & ~GPIO_CLARO_DIG_COAX; in claro_dig_source_put()
591 new_reg |= GPIO_CLARO_DIG_COAX; in claro_dig_source_put()
592 changed = new_reg != old_reg; in claro_dig_source_put()
[all …]
/Linux-v6.1/tools/perf/arch/x86/util/
Dperf_regs.c196 char new_reg[SDT_REG_NAME_SIZE] = {0}; in arch_sdt_arg_parse_op() local
254 new_reg); in arch_sdt_arg_parse_op()
260 strlen(new_reg) + in arch_sdt_arg_parse_op()
272 strlen(new_reg), new_reg, in arch_sdt_arg_parse_op()
/Linux-v6.1/drivers/tty/serial/
Dip22zilog.c642 unsigned char new_reg; in ip22zilog_enable_ms() local
644 new_reg = up->curregs[R15] | (DCDIE | SYNCIE | CTSIE); in ip22zilog_enable_ms()
645 if (new_reg != up->curregs[R15]) { in ip22zilog_enable_ms()
646 up->curregs[R15] = new_reg; in ip22zilog_enable_ms()
659 unsigned char set_bits, clear_bits, new_reg; in ip22zilog_break_ctl() local
671 new_reg = (up->curregs[R5] | set_bits) & ~clear_bits; in ip22zilog_break_ctl()
672 if (new_reg != up->curregs[R5]) { in ip22zilog_break_ctl()
673 up->curregs[R5] = new_reg; in ip22zilog_break_ctl()
Dsunzilog.c742 unsigned char new_reg; in sunzilog_enable_ms() local
744 new_reg = up->curregs[R15] | (DCDIE | SYNCIE | CTSIE); in sunzilog_enable_ms()
745 if (new_reg != up->curregs[R15]) { in sunzilog_enable_ms()
746 up->curregs[R15] = new_reg; in sunzilog_enable_ms()
759 unsigned char set_bits, clear_bits, new_reg; in sunzilog_break_ctl() local
771 new_reg = (up->curregs[R5] | set_bits) & ~clear_bits; in sunzilog_break_ctl()
772 if (new_reg != up->curregs[R5]) { in sunzilog_break_ctl()
773 up->curregs[R5] = new_reg; in sunzilog_break_ctl()
Dpmac_zilog.c660 unsigned char new_reg; in pmz_enable_ms() local
664 new_reg = uap->curregs[R15] | (DCDIE | SYNCIE | CTSIE); in pmz_enable_ms()
665 if (new_reg != uap->curregs[R15]) { in pmz_enable_ms()
666 uap->curregs[R15] = new_reg; in pmz_enable_ms()
680 unsigned char set_bits, clear_bits, new_reg; in pmz_break_ctl() local
692 new_reg = (uap->curregs[R5] | set_bits) & ~clear_bits; in pmz_break_ctl()
693 if (new_reg != uap->curregs[R5]) { in pmz_break_ctl()
694 uap->curregs[R5] = new_reg; in pmz_break_ctl()
/Linux-v6.1/sound/soc/ux500/
Dux500_msp_i2s.c432 u32 old_reg, new_reg, mask; in ux500_msp_i2s_open() local
470 new_reg = (config->tx_clk_sel | config->rx_clk_sel | in ux500_msp_i2s_open()
479 new_reg |= old_reg; in ux500_msp_i2s_open()
480 writel(new_reg, msp->registers + MSP_GCR); in ux500_msp_i2s_open()
/Linux-v6.1/drivers/ata/
Dsata_nv.c674 u32 current_reg, new_reg, config_mask; in nv_adma_slave_config() local
717 new_reg = current_reg | config_mask; in nv_adma_slave_config()
720 new_reg = current_reg & ~config_mask; in nv_adma_slave_config()
724 if (current_reg != new_reg) in nv_adma_slave_config()
725 pci_write_config_dword(pdev, NV_MCP_SATA_CFG_20, new_reg); in nv_adma_slave_config()
/Linux-v6.1/drivers/target/
Dtarget_core_pr.c3156 int new_reg = 0, type, scope, matching_iname; in core_scsi3_emulate_pro_register_and_move() local
3463 new_reg = 1; in core_scsi3_emulate_pro_register_and_move()
3490 if (!new_reg) in core_scsi3_emulate_pro_register_and_move()