Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/cpufreq/
Dsparc-us2e-cpufreq.c118 static void us2e_transition(unsigned long estar, unsigned long new_bits, in us2e_transition() argument
127 write_hbreg(HBIRD_ESTAR_MODE_ADDR, estar | new_bits); in us2e_transition()
131 write_hbreg(HBIRD_ESTAR_MODE_ADDR, estar | new_bits); in us2e_transition()
136 us2e_transition(estar, new_bits, clock_tick, in us2e_transition()
141 us2e_transition(estar, new_bits, clock_tick, in us2e_transition()
145 write_hbreg(HBIRD_ESTAR_MODE_ADDR, estar | new_bits); in us2e_transition()
147 write_hbreg(HBIRD_ESTAR_MODE_ADDR, estar | new_bits); in us2e_transition()
249 unsigned long new_bits, new_freq; in __us2e_freq_target() local
253 new_bits = index_to_estar_mode(*index); in __us2e_freq_target()
262 us2e_transition(estar, new_bits, clock_tick * 1000, in __us2e_freq_target()
Dsparc-us3-cpufreq.c51 unsigned long reg, *new_bits = arg; in update_safari_cfg() local
55 reg |= *new_bits; in update_safari_cfg()
98 unsigned long new_bits, new_freq; in us3_freq_target() local
103 new_bits = SAFARI_CFG_DIV_1; in us3_freq_target()
107 new_bits = SAFARI_CFG_DIV_2; in us3_freq_target()
111 new_bits = SAFARI_CFG_DIV_32; in us3_freq_target()
119 return smp_call_function_single(cpu, update_safari_cfg, &new_bits, 1); in us3_freq_target()
/Linux-v6.1/sound/pci/oxygen/
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()
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()
/Linux-v6.1/lib/
Ddynamic_debug.c601 unsigned long *new_bits, unsigned long *old_bits) in ddebug_apply_class_bitmap() argument
609 v2pr_info("apply: 0x%lx to: 0x%lx\n", *new_bits, *old_bits); in ddebug_apply_class_bitmap()
612 if (test_bit(bi, new_bits) == test_bit(bi, old_bits)) in ddebug_apply_class_bitmap()
616 test_bit(bi, new_bits) ? '+' : '-', dcp->flags); in ddebug_apply_class_bitmap()
622 ct, map->class_names[bi], *new_bits); in ddebug_apply_class_bitmap()
718 unsigned long inrep, new_bits, old_bits; in param_set_dyndbg_classes() local
763 new_bits = CLASSMAP_BITMASK(inrep); in param_set_dyndbg_classes()
764 v2pr_info("lvl:%ld bits:0x%lx > %s\n", inrep, new_bits, KP_NAME(kp)); in param_set_dyndbg_classes()
765 totct += ddebug_apply_class_bitmap(dcp, &new_bits, &old_bits); in param_set_dyndbg_classes()
/Linux-v6.1/arch/arm/probes/
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()
/Linux-v6.1/sound/pci/pcxhr/
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()
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()
/Linux-v6.1/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_trace.h920 TP_PROTO(u32 new_bits, u32 pending_mask),
921 TP_ARGS(new_bits, pending_mask),
923 __field( u32, new_bits )
927 __entry->new_bits = new_bits;
930 TP_printk("new=%x existing=%x", __entry->new_bits,
/Linux-v6.1/fs/ntfs3/
Dbitmap.c1305 int wnd_extend(struct wnd_bitmap *wnd, size_t new_bits) in wnd_extend() argument
1317 if (new_bits <= old_bits) in wnd_extend()
1321 new_wnd = bytes_to_block(sb, bitmap_size(new_bits)); in wnd_extend()
1322 new_last = new_bits & (wbits - 1); in wnd_extend()
1339 bits = new_bits - old_bits; in wnd_extend()
1380 wnd->nbits = new_bits; in wnd_extend()
1384 wnd_add_free_ext(wnd, old_bits, new_bits - old_bits, false); in wnd_extend()
Dntfs_fs.h833 int wnd_extend(struct wnd_bitmap *wnd, size_t new_bits);
/Linux-v6.1/drivers/net/ethernet/microsoft/mana/
Dgdma_main.c369 u32 owner_bits, new_bits, old_bits; in mana_gd_process_eq_events() local
394 new_bits = (eq->head / num_eqe) & GDMA_EQE_OWNER_MASK; in mana_gd_process_eq_events()
395 if (owner_bits != new_bits) { in mana_gd_process_eq_events()
1126 u32 owner_bits, new_bits, old_bits; in mana_gd_read_cqe() local
1137 new_bits = (cq->head / num_cqe) & GDMA_CQE_OWNER_MASK; in mana_gd_read_cqe()
1139 if (WARN_ON_ONCE(owner_bits != new_bits)) in mana_gd_read_cqe()