Home
last modified time | relevance | path

Searched refs:new_bits (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/drivers/cpufreq/
H A Dsparc-us3-cpufreq.c49 unsigned long reg, *new_bits = arg; in update_safari_cfg() local
53 reg |= *new_bits; in update_safari_cfg()
96 unsigned long new_bits, new_freq; in us3_freq_target() local
101 new_bits = SAFARI_CFG_DIV_1; in us3_freq_target()
105 new_bits = SAFARI_CFG_DIV_2; in us3_freq_target()
109 new_bits = SAFARI_CFG_DIV_32; in us3_freq_target()
117 return smp_call_function_single(cpu, update_safari_cfg, &new_bits, 1); in us3_freq_target()
H A Dsparc-us2e-cpufreq.c116 static void us2e_transition(unsigned long estar, unsigned long new_bits, in us2e_transition() argument
125 write_hbreg(HBIRD_ESTAR_MODE_ADDR, estar | new_bits); in us2e_transition()
129 write_hbreg(HBIRD_ESTAR_MODE_ADDR, estar | new_bits); in us2e_transition()
134 us2e_transition(estar, new_bits, clock_tick, in us2e_transition()
139 us2e_transition(estar, new_bits, clock_tick, in us2e_transition()
143 write_hbreg(HBIRD_ESTAR_MODE_ADDR, estar | new_bits); in us2e_transition()
145 write_hbreg(HBIRD_ESTAR_MODE_ADDR, estar | new_bits); in us2e_transition()
247 unsigned long new_bits, new_freq; in __us2e_freq_target() local
251 new_bits = index_to_estar_mode(*index); in __us2e_freq_target()
260 us2e_transition(estar, new_bits, clock_tick * 1000, in __us2e_freq_target()
/openbmc/linux/sound/pci/oxygen/
H A Dxonar_lib.c109 u16 old_bits, new_bits; in xonar_gpio_bit_switch_put() local
115 new_bits = old_bits | bit; in xonar_gpio_bit_switch_put()
117 new_bits = old_bits & ~bit; in xonar_gpio_bit_switch_put()
118 changed = new_bits != old_bits; in xonar_gpio_bit_switch_put()
120 oxygen_write16(chip, OXYGEN_GPIO_DATA, new_bits); in xonar_gpio_bit_switch_put()
H A Doxygen_mixer.c349 u32 new_bits; in spdif_default_put() local
352 new_bits = iec958_to_oxygen(value); in spdif_default_put()
354 changed = new_bits != chip->spdif_bits; in spdif_default_put()
356 chip->spdif_bits = new_bits; in spdif_default_put()
358 write_spdif_bits(chip, new_bits); in spdif_default_put()
389 u32 new_bits; in spdif_pcm_put() local
392 new_bits = iec958_to_oxygen(value); in spdif_pcm_put()
394 changed = new_bits != chip->spdif_pcm_bits; in spdif_pcm_put()
396 chip->spdif_pcm_bits = new_bits; in spdif_pcm_put()
398 write_spdif_bits(chip, new_bits); in spdif_pcm_put()
/openbmc/linux/arch/arm/probes/
H A Ddecode.c265 probes_opcode_t new_bits = INSN_NEW_BITS; in decode_regs() local
279 new_bits = INSN_SAMEAS16_BITS; in decode_regs()
321 insn |= new_bits & mask; in decode_regs()
/openbmc/linux/lib/
H A Ddynamic_debug.c606 unsigned long *new_bits, unsigned long *old_bits) in ddebug_apply_class_bitmap() argument
614 v2pr_info("apply: 0x%lx to: 0x%lx\n", *new_bits, *old_bits); in ddebug_apply_class_bitmap()
617 if (test_bit(bi, new_bits) == test_bit(bi, old_bits)) in ddebug_apply_class_bitmap()
621 test_bit(bi, new_bits) ? '+' : '-', dcp->flags); in ddebug_apply_class_bitmap()
627 ct, map->class_names[bi], *new_bits); in ddebug_apply_class_bitmap()
723 unsigned long inrep, new_bits, old_bits; in param_set_dyndbg_classes() local
768 new_bits = CLASSMAP_BITMASK(inrep); in param_set_dyndbg_classes()
769 v2pr_info("lvl:%ld bits:0x%lx > %s\n", inrep, new_bits, KP_NAME(kp)); in param_set_dyndbg_classes()
770 totct += ddebug_apply_class_bitmap(dcp, &new_bits, &old_bits); in param_set_dyndbg_classes()
/openbmc/linux/sound/pci/pcxhr/
H A Dpcxhr_mix22.c648 unsigned char new_bits = aes_bits; in hr222_iec958_update_byte() local
652 if ((old_bits & 0x01) != (new_bits & 0x01)) { in hr222_iec958_update_byte()
656 PCXHR_OUTPB(chip->mgr, PCXHR_XLX_CSUER, new_bits&0x01 ? in hr222_iec958_update_byte()
661 new_bits >>= 1; in hr222_iec958_update_byte()
H A Dpcxhr_mixer.c954 unsigned char new_bits = aes_bits; in pcxhr_iec958_update_byte() local
959 if ((old_bits & 0x01) != (new_bits & 0x01)) { in pcxhr_iec958_update_byte()
965 cmd |= (new_bits & 0x01) << 23; /* add bit value */ in pcxhr_iec958_update_byte()
978 new_bits >>= 1; in pcxhr_iec958_update_byte()
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_trace.h910 TP_PROTO(u32 new_bits, u32 pending_mask),
911 TP_ARGS(new_bits, pending_mask),
913 __field( u32, new_bits )
917 __entry->new_bits = new_bits;
920 TP_printk("new=%x existing=%x", __entry->new_bits,
/openbmc/linux/fs/ntfs3/
H A Dbitmap.c1334 int wnd_extend(struct wnd_bitmap *wnd, size_t new_bits) in wnd_extend() argument
1346 if (new_bits <= old_bits) in wnd_extend()
1350 new_wnd = bytes_to_block(sb, ntfs3_bitmap_size(new_bits)); in wnd_extend()
1351 new_last = new_bits & (wbits - 1); in wnd_extend()
1368 bits = new_bits - old_bits; in wnd_extend()
1407 wnd->nbits = new_bits; in wnd_extend()
1411 wnd_add_free_ext(wnd, old_bits, new_bits - old_bits, false); in wnd_extend()
H A Dntfs_fs.h847 int wnd_extend(struct wnd_bitmap *wnd, size_t new_bits);
/openbmc/linux/drivers/net/ethernet/microsoft/mana/
H A Dgdma_main.c395 u32 owner_bits, new_bits, old_bits; in mana_gd_process_eq_events() local
420 new_bits = (eq->head / num_eqe) & GDMA_EQE_OWNER_MASK; in mana_gd_process_eq_events()
421 if (owner_bits != new_bits) { in mana_gd_process_eq_events()
1167 u32 owner_bits, new_bits, old_bits; in mana_gd_read_cqe() local
1178 new_bits = (cq->head / num_cqe) & GDMA_CQE_OWNER_MASK; in mana_gd_read_cqe()
1180 if (WARN_ON_ONCE(owner_bits != new_bits)) in mana_gd_read_cqe()