Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/nouveau/
Dnouveau_bo.c752 struct ttm_mem_reg *old_reg, struct ttm_mem_reg *new_reg) in nve0_bo_move_copy() argument
765 OUT_RING (chan, new_reg->num_pages); in nve0_bo_move_copy()
784 struct ttm_mem_reg *old_reg, struct ttm_mem_reg *new_reg) in nvc0_bo_move_copy() argument
789 u32 page_count = new_reg->num_pages; in nvc0_bo_move_copy()
792 page_count = new_reg->num_pages; in nvc0_bo_move_copy()
822 struct ttm_mem_reg *old_reg, struct ttm_mem_reg *new_reg) in nvc0_bo_move_m2mf() argument
827 u32 page_count = new_reg->num_pages; in nvc0_bo_move_m2mf()
830 page_count = new_reg->num_pages; in nvc0_bo_move_m2mf()
861 struct ttm_mem_reg *old_reg, struct ttm_mem_reg *new_reg) in nva3_bo_move_copy() argument
866 u32 page_count = new_reg->num_pages; in nva3_bo_move_copy()
[all …]
/Linux-v5.4/arch/mips/cavium-octeon/
Docteon-platform.c931 __be32 new_reg[6]; in octeon_prune_device_tree() local
991 new_reg[0] = cpu_to_be32(cs); in octeon_prune_device_tree()
992 new_reg[1] = cpu_to_be32(0); in octeon_prune_device_tree()
993 new_reg[2] = cpu_to_be32(0x10000); in octeon_prune_device_tree()
994 new_reg[3] = cpu_to_be32(cs + 1); in octeon_prune_device_tree()
995 new_reg[4] = cpu_to_be32(0); in octeon_prune_device_tree()
996 new_reg[5] = cpu_to_be32(0x10000); in octeon_prune_device_tree()
998 "reg", new_reg, sizeof(new_reg)); in octeon_prune_device_tree()
1031 __be32 new_reg[6]; in octeon_prune_device_tree() local
1052 new_reg[0] = cpu_to_be32(cs); in octeon_prune_device_tree()
[all …]
/Linux-v5.4/tools/perf/arch/x86/util/
Dperf_regs.c194 char new_reg[SDT_REG_NAME_SIZE] = {0}; in arch_sdt_arg_parse_op() local
252 new_reg); in arch_sdt_arg_parse_op()
258 strlen(new_reg) + in arch_sdt_arg_parse_op()
270 strlen(new_reg), new_reg, in arch_sdt_arg_parse_op()
/Linux-v5.4/sound/pci/oxygen/
Doxygen.c566 u16 old_reg, new_reg; in meridian_dig_source_put() local
571 new_reg = old_reg & ~GPIO_MERIDIAN_DIG_MASK; in meridian_dig_source_put()
573 new_reg |= GPIO_MERIDIAN_DIG_BOARD; in meridian_dig_source_put()
575 new_reg |= GPIO_MERIDIAN_DIG_EXT; in meridian_dig_source_put()
576 changed = new_reg != old_reg; in meridian_dig_source_put()
578 oxygen_write16(chip, OXYGEN_GPIO_DATA, new_reg); in meridian_dig_source_put()
587 u16 old_reg, new_reg; in claro_dig_source_put() local
592 new_reg = old_reg & ~GPIO_CLARO_DIG_COAX; in claro_dig_source_put()
594 new_reg |= GPIO_CLARO_DIG_COAX; in claro_dig_source_put()
595 changed = new_reg != old_reg; in claro_dig_source_put()
[all …]
/Linux-v5.4/drivers/tty/serial/
Dip22zilog.c646 unsigned char new_reg; in ip22zilog_enable_ms() local
648 new_reg = up->curregs[R15] | (DCDIE | SYNCIE | CTSIE); in ip22zilog_enable_ms()
649 if (new_reg != up->curregs[R15]) { in ip22zilog_enable_ms()
650 up->curregs[R15] = new_reg; in ip22zilog_enable_ms()
663 unsigned char set_bits, clear_bits, new_reg; in ip22zilog_break_ctl() local
675 new_reg = (up->curregs[R5] | set_bits) & ~clear_bits; in ip22zilog_break_ctl()
676 if (new_reg != up->curregs[R5]) { in ip22zilog_break_ctl()
677 up->curregs[R5] = new_reg; in ip22zilog_break_ctl()
Dsunzilog.c746 unsigned char new_reg; in sunzilog_enable_ms() local
748 new_reg = up->curregs[R15] | (DCDIE | SYNCIE | CTSIE); in sunzilog_enable_ms()
749 if (new_reg != up->curregs[R15]) { in sunzilog_enable_ms()
750 up->curregs[R15] = new_reg; in sunzilog_enable_ms()
763 unsigned char set_bits, clear_bits, new_reg; in sunzilog_break_ctl() local
775 new_reg = (up->curregs[R5] | set_bits) & ~clear_bits; in sunzilog_break_ctl()
776 if (new_reg != up->curregs[R5]) { in sunzilog_break_ctl()
777 up->curregs[R5] = new_reg; in sunzilog_break_ctl()
Dpmac_zilog.c681 unsigned char new_reg; in pmz_enable_ms() local
685 new_reg = uap->curregs[R15] | (DCDIE | SYNCIE | CTSIE); in pmz_enable_ms()
686 if (new_reg != uap->curregs[R15]) { in pmz_enable_ms()
687 uap->curregs[R15] = new_reg; in pmz_enable_ms()
701 unsigned char set_bits, clear_bits, new_reg; in pmz_break_ctl() local
713 new_reg = (uap->curregs[R5] | set_bits) & ~clear_bits; in pmz_break_ctl()
714 if (new_reg != uap->curregs[R5]) { in pmz_break_ctl()
715 uap->curregs[R5] = new_reg; in pmz_break_ctl()
/Linux-v5.4/sound/soc/ux500/
Dux500_msp_i2s.c434 u32 old_reg, new_reg, mask; in ux500_msp_i2s_open() local
472 new_reg = (config->tx_clk_sel | config->rx_clk_sel | in ux500_msp_i2s_open()
481 new_reg |= old_reg; in ux500_msp_i2s_open()
482 writel(new_reg, msp->registers + MSP_GCR); in ux500_msp_i2s_open()
/Linux-v5.4/drivers/ata/
Dsata_nv.c667 u32 current_reg, new_reg, config_mask; in nv_adma_slave_config() local
710 new_reg = current_reg | config_mask; in nv_adma_slave_config()
713 new_reg = current_reg & ~config_mask; in nv_adma_slave_config()
717 if (current_reg != new_reg) in nv_adma_slave_config()
718 pci_write_config_dword(pdev, NV_MCP_SATA_CFG_20, new_reg); in nv_adma_slave_config()
/Linux-v5.4/drivers/target/
Dtarget_core_pr.c3155 int new_reg = 0, type, scope, matching_iname; in core_scsi3_emulate_pro_register_and_move() local
3466 new_reg = 1; in core_scsi3_emulate_pro_register_and_move()
3487 if (!new_reg) in core_scsi3_emulate_pro_register_and_move()