/openbmc/qemu/util/ |
H A D | reserved-region.c | 26 ReservedRegion *resv_iter, *new_reg; in resv_region_list_insert() local 71 new_reg = g_new0(ReservedRegion, 1); in resv_region_list_insert() 72 new_reg->type = resv_iter->type; in resv_region_list_insert() 73 range_set_bounds(&new_reg->range, in resv_region_list_insert() 75 list = g_list_insert_before(list, l, new_reg); in resv_region_list_insert()
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bo0039.c | 48 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 = PFN_UP(new_reg->size); in nv04_bo_move_m2mf() 65 page_count = PFN_UP(new_reg->size); in nv04_bo_move_m2mf()
|
H A D | nouveau_bo85b5.c | 41 struct ttm_resource *old_reg, struct ttm_resource *new_reg) in nva3_bo_move_copy() argument 47 u32 page_count = PFN_UP(new_reg->size); in nva3_bo_move_copy() 50 page_count = PFN_UP(new_reg->size); in nva3_bo_move_copy()
|
H A D | nouveau_bo90b5.c | 34 struct ttm_resource *old_reg, struct ttm_resource *new_reg) in nvc0_bo_move_copy() argument 40 u32 page_count = PFN_UP(new_reg->size); in nvc0_bo_move_copy() 43 page_count = PFN_UP(new_reg->size); in nvc0_bo_move_copy()
|
H A D | nouveau_bo.c | 842 struct ttm_resource *new_reg) in nouveau_bo_move_m2mf() argument 887 new_reg); in nouveau_bo_move_m2mf() 968 struct ttm_resource *new_reg) in nouveau_bo_move_ntfy() argument 970 struct nouveau_mem *mem = new_reg ? nouveau_mem(new_reg) : NULL; in nouveau_bo_move_ntfy() 998 if (new_reg) in nouveau_bo_move_ntfy() 1047 struct ttm_resource *new_reg, in nouveau_bo_move() argument 1063 nouveau_bo_move_ntfy(bo, new_reg); in nouveau_bo_move() 1077 ttm_bo_move_null(bo, new_reg); in nouveau_bo_move() 1083 ttm_bo_move_null(bo, new_reg); in nouveau_bo_move() 1091 ttm_bo_assign_mem(bo, new_reg); in nouveau_bo_move() [all …]
|
H A D | nouveau_bo9039.c | 39 struct ttm_resource *old_reg, struct ttm_resource *new_reg) in nvc0_bo_move_m2mf() argument 45 u32 page_count = PFN_UP(new_reg->size); in nvc0_bo_move_m2mf() 48 page_count = PFN_UP(new_reg->size); in nvc0_bo_move_m2mf()
|
H A D | nouveau_bo74c1.c | 37 struct ttm_resource *old_reg, struct ttm_resource *new_reg) in nv84_bo_move_exec() argument 47 PUSH_NVSQ(push, NV74C1, 0x0304, new_reg->size, in nv84_bo_move_exec()
|
H A D | nouveau_bo5039.c | 40 struct ttm_resource *old_reg, struct ttm_resource *new_reg) in nv50_bo_move_m2mf() argument 44 u64 length = new_reg->size; in nv50_bo_move_m2mf() 48 int dst_tiled = !!nouveau_mem(new_reg)->kind; in nv50_bo_move_m2mf()
|
H A D | nouveau_boa0b5.c | 39 struct ttm_resource *old_reg, struct ttm_resource *new_reg) in nve0_bo_move_copy() argument 61 LINE_COUNT, PFN_UP(new_reg->size)); in nve0_bo_move_copy()
|
/openbmc/qemu/hw/misc/macio/ |
H A D | gpio.c | 40 uint8_t new_reg; in macio_set_gpio() local 49 new_reg = s->gpio_regs[gpio] & ~2; in macio_set_gpio() 51 new_reg |= 2; in macio_set_gpio() 54 if (new_reg == s->gpio_regs[gpio]) { in macio_set_gpio() 58 s->gpio_regs[gpio] = new_reg; in macio_set_gpio()
|
/openbmc/linux/arch/mips/cavium-octeon/ |
H A D | octeon-platform.c | 935 __be32 new_reg[6]; in octeon_prune_device_tree() local 995 new_reg[0] = cpu_to_be32(cs); in octeon_prune_device_tree() 996 new_reg[1] = cpu_to_be32(0); in octeon_prune_device_tree() 999 new_reg[4] = cpu_to_be32(0); in octeon_prune_device_tree() 1002 "reg", new_reg, sizeof(new_reg)); in octeon_prune_device_tree() 1035 __be32 new_reg[6]; in octeon_prune_device_tree() local 1056 new_reg[0] = cpu_to_be32(cs); in octeon_prune_device_tree() 1057 new_reg[1] = cpu_to_be32(0x20); in octeon_prune_device_tree() 1059 new_reg[3] = cpu_to_be32(cs); in octeon_prune_device_tree() 1060 new_reg[4] = cpu_to_be32(0); in octeon_prune_device_tree() [all …]
|
/openbmc/linux/tools/perf/arch/x86/util/ |
H A D | perf_regs.c | 197 char new_reg[SDT_REG_NAME_SIZE] = {0}; in arch_sdt_arg_parse_op() local 255 new_reg); in arch_sdt_arg_parse_op() 261 strlen(new_reg) + in arch_sdt_arg_parse_op() 273 strlen(new_reg), new_reg, in arch_sdt_arg_parse_op()
|
/openbmc/linux/sound/pci/oxygen/ |
H A D | oxygen.c | 563 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 …]
|
/openbmc/linux/drivers/tty/serial/ |
H A D | ip22zilog.c | 640 unsigned char new_reg; in ip22zilog_enable_ms() local 642 new_reg = up->curregs[R15] | (DCDIE | SYNCIE | CTSIE); in ip22zilog_enable_ms() 643 if (new_reg != up->curregs[R15]) { in ip22zilog_enable_ms() 644 up->curregs[R15] = new_reg; in ip22zilog_enable_ms() 657 unsigned char set_bits, clear_bits, new_reg; in ip22zilog_break_ctl() local 669 new_reg = (up->curregs[R5] | set_bits) & ~clear_bits; in ip22zilog_break_ctl() 670 if (new_reg != up->curregs[R5]) { in ip22zilog_break_ctl() 671 up->curregs[R5] = new_reg; in ip22zilog_break_ctl()
|
H A D | sunzilog.c | 740 unsigned char new_reg; in sunzilog_enable_ms() local 742 new_reg = up->curregs[R15] | (DCDIE | SYNCIE | CTSIE); in sunzilog_enable_ms() 743 if (new_reg != up->curregs[R15]) { in sunzilog_enable_ms() 744 up->curregs[R15] = new_reg; in sunzilog_enable_ms() 757 unsigned char set_bits, clear_bits, new_reg; in sunzilog_break_ctl() local 769 new_reg = (up->curregs[R5] | set_bits) & ~clear_bits; in sunzilog_break_ctl() 770 if (new_reg != up->curregs[R5]) { in sunzilog_break_ctl() 771 up->curregs[R5] = new_reg; in sunzilog_break_ctl()
|
H A D | pmac_zilog.c | 644 unsigned char new_reg; in pmz_enable_ms() local 648 new_reg = uap->curregs[R15] | (DCDIE | SYNCIE | CTSIE); in pmz_enable_ms() 649 if (new_reg != uap->curregs[R15]) { in pmz_enable_ms() 650 uap->curregs[R15] = new_reg; in pmz_enable_ms() 664 unsigned char set_bits, clear_bits, new_reg; in pmz_break_ctl() local 676 new_reg = (uap->curregs[R5] | set_bits) & ~clear_bits; in pmz_break_ctl() 677 if (new_reg != uap->curregs[R5]) { in pmz_break_ctl() 678 uap->curregs[R5] = new_reg; in pmz_break_ctl()
|
/openbmc/linux/sound/soc/ux500/ |
H A D | ux500_msp_i2s.c | 417 u32 old_reg, new_reg, mask; in ux500_msp_i2s_open() local 455 new_reg = (config->tx_clk_sel | config->rx_clk_sel | in ux500_msp_i2s_open() 464 new_reg |= old_reg; in ux500_msp_i2s_open() 465 writel(new_reg, msp->registers + MSP_GCR); in ux500_msp_i2s_open()
|
/openbmc/linux/drivers/ata/ |
H A D | sata_nv.c | 674 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()
|
/openbmc/qemu/target/arm/ |
H A D | helper.c | 6945 new_reg->name = a->new_name; in define_arm_vh_e2h_redirects_aliases() 6946 new_reg->type |= ARM_CP_ALIAS; in define_arm_vh_e2h_redirects_aliases() 6948 new_reg->access &= PL2_RW | PL3_RW; in define_arm_vh_e2h_redirects_aliases() 6960 new_reg->opaque = src_reg; in define_arm_vh_e2h_redirects_aliases() 6964 if (!new_reg->raw_readfn) { in define_arm_vh_e2h_redirects_aliases() 6965 new_reg->raw_readfn = raw_read; in define_arm_vh_e2h_redirects_aliases() 6967 if (!new_reg->raw_writefn) { in define_arm_vh_e2h_redirects_aliases() 6968 new_reg->raw_writefn = raw_write; in define_arm_vh_e2h_redirects_aliases() 6970 new_reg->readfn = el2_e2h_e12_read; in define_arm_vh_e2h_redirects_aliases() 6971 new_reg->writefn = el2_e2h_e12_write; in define_arm_vh_e2h_redirects_aliases() [all …]
|
/openbmc/linux/drivers/target/ |
H A D | target_core_pr.c | 3156 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()
|