Searched refs:new_reg (Results 1 – 8 of 8) sorted by relevance
/linux-4.1.27/arch/mips/cavium-octeon/ |
D | octeon-platform.c | 778 __be32 new_reg[6]; in octeon_prune_device_tree() local 836 new_reg[0] = cpu_to_be32(cs); in octeon_prune_device_tree() 837 new_reg[1] = cpu_to_be32(0); in octeon_prune_device_tree() 838 new_reg[2] = cpu_to_be32(0x10000); in octeon_prune_device_tree() 839 new_reg[3] = cpu_to_be32(cs + 1); in octeon_prune_device_tree() 840 new_reg[4] = cpu_to_be32(0); in octeon_prune_device_tree() 841 new_reg[5] = cpu_to_be32(0x10000); in octeon_prune_device_tree() 843 "reg", new_reg, sizeof(new_reg)); in octeon_prune_device_tree() 876 __be32 new_reg[6]; in octeon_prune_device_tree() local 897 new_reg[0] = cpu_to_be32(cs); in octeon_prune_device_tree() [all …]
|
/linux-4.1.27/sound/pci/oxygen/ |
D | oxygen.c | 578 u16 old_reg, new_reg; in meridian_dig_source_put() local 583 new_reg = old_reg & ~GPIO_MERIDIAN_DIG_MASK; in meridian_dig_source_put() 585 new_reg |= GPIO_MERIDIAN_DIG_BOARD; in meridian_dig_source_put() 587 new_reg |= GPIO_MERIDIAN_DIG_EXT; in meridian_dig_source_put() 588 changed = new_reg != old_reg; in meridian_dig_source_put() 590 oxygen_write16(chip, OXYGEN_GPIO_DATA, new_reg); in meridian_dig_source_put() 599 u16 old_reg, new_reg; in claro_dig_source_put() local 604 new_reg = old_reg & ~GPIO_CLARO_DIG_COAX; in claro_dig_source_put() 606 new_reg |= GPIO_CLARO_DIG_COAX; in claro_dig_source_put() 607 changed = new_reg != old_reg; in claro_dig_source_put() [all …]
|
/linux-4.1.27/drivers/tty/serial/ |
D | ip22zilog.c | 645 unsigned char new_reg; in ip22zilog_enable_ms() local 647 new_reg = up->curregs[R15] | (DCDIE | SYNCIE | CTSIE); in ip22zilog_enable_ms() 648 if (new_reg != up->curregs[R15]) { in ip22zilog_enable_ms() 649 up->curregs[R15] = new_reg; in ip22zilog_enable_ms() 662 unsigned char set_bits, clear_bits, new_reg; in ip22zilog_break_ctl() local 674 new_reg = (up->curregs[R5] | set_bits) & ~clear_bits; in ip22zilog_break_ctl() 675 if (new_reg != up->curregs[R5]) { in ip22zilog_break_ctl() 676 up->curregs[R5] = new_reg; in ip22zilog_break_ctl()
|
D | sunzilog.c | 745 unsigned char new_reg; in sunzilog_enable_ms() local 747 new_reg = up->curregs[R15] | (DCDIE | SYNCIE | CTSIE); in sunzilog_enable_ms() 748 if (new_reg != up->curregs[R15]) { in sunzilog_enable_ms() 749 up->curregs[R15] = new_reg; in sunzilog_enable_ms() 762 unsigned char set_bits, clear_bits, new_reg; in sunzilog_break_ctl() local 774 new_reg = (up->curregs[R5] | set_bits) & ~clear_bits; in sunzilog_break_ctl() 775 if (new_reg != up->curregs[R5]) { in sunzilog_break_ctl() 776 up->curregs[R5] = new_reg; in sunzilog_break_ctl()
|
D | pmac_zilog.c | 696 unsigned char new_reg; in pmz_enable_ms() local 700 new_reg = uap->curregs[R15] | (DCDIE | SYNCIE | CTSIE); in pmz_enable_ms() 701 if (new_reg != uap->curregs[R15]) { in pmz_enable_ms() 702 uap->curregs[R15] = new_reg; in pmz_enable_ms() 716 unsigned char set_bits, clear_bits, new_reg; in pmz_break_ctl() local 728 new_reg = (uap->curregs[R5] | set_bits) & ~clear_bits; in pmz_break_ctl() 729 if (new_reg != uap->curregs[R5]) { in pmz_break_ctl() 730 uap->curregs[R5] = new_reg; in pmz_break_ctl()
|
/linux-4.1.27/sound/soc/ux500/ |
D | ux500_msp_i2s.c | 437 u32 old_reg, new_reg, mask; in ux500_msp_i2s_open() local 475 new_reg = (config->tx_clk_sel | config->rx_clk_sel | in ux500_msp_i2s_open() 484 new_reg |= old_reg; in ux500_msp_i2s_open() 485 writel(new_reg, msp->registers + MSP_GCR); in ux500_msp_i2s_open()
|
/linux-4.1.27/drivers/ata/ |
D | sata_nv.c | 684 u32 current_reg, new_reg, config_mask; in nv_adma_slave_config() local 727 new_reg = current_reg | config_mask; in nv_adma_slave_config() 730 new_reg = current_reg & ~config_mask; in nv_adma_slave_config() 734 if (current_reg != new_reg) in nv_adma_slave_config() 735 pci_write_config_dword(pdev, NV_MCP_SATA_CFG_20, new_reg); in nv_adma_slave_config()
|
/linux-4.1.27/drivers/target/ |
D | target_core_pr.c | 3116 int new_reg = 0, type, scope, matching_iname; in core_scsi3_emulate_pro_register_and_move() local 3436 new_reg = 1; in core_scsi3_emulate_pro_register_and_move() 3457 if (!new_reg) in core_scsi3_emulate_pro_register_and_move()
|