Home
last modified time | relevance | path

Searched refs:reg32 (Results 1 – 25 of 34) sorted by relevance

12

/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_radio.c85 u_int32_t freq, channel_sel, reg32; in ar9300_set_channel() local
213 reg32 = (b_mode << 29); in ar9300_set_channel()
214 OS_REG_WRITE(ah, AR_PHY_SYNTH_CONTROL, reg32); in ar9300_set_channel()
221 reg32 = in ar9300_set_channel()
227 reg32 += CHANSEL_5G_DOT5MHZ; in ar9300_set_channel()
229 OS_REG_WRITE(ah, AR_PHY_65NM_CH0_SYNTH7, reg32); in ar9300_set_channel()
232 reg32 |= load_synth_channel << 31; in ar9300_set_channel()
233 OS_REG_WRITE(ah, AR_PHY_65NM_CH0_SYNTH7, reg32); in ar9300_set_channel()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DRegisterInfos_i386.h152 #define DEFINE_GPR_PSEUDO_16(reg16, reg32) \ argument
155 GPR_OFFSET(reg32), eEncodingUint, eFormatHex, \
159 RegisterContextPOSIX_x86::g_contained_##reg32, \
160 RegisterContextPOSIX_x86::g_invalidate_##reg32, \
164 #define DEFINE_GPR_PSEUDO_8H(reg8, reg32) \ argument
167 GPR_OFFSET(reg32) + 1, eEncodingUint, eFormatHex, \
171 RegisterContextPOSIX_x86::g_contained_##reg32, \
172 RegisterContextPOSIX_x86::g_invalidate_##reg32, \
176 #define DEFINE_GPR_PSEUDO_8L(reg8, reg32) \ argument
179 GPR_OFFSET(reg32), eEncodingUint, eFormatHex, \
[all …]
H A DRegisterInfos_x86_64.h154 #define DEFINE_GPR_PSEUDO_32(reg32, reg64) \ argument
156 #reg32, nullptr, 4, \
160 lldb_##reg32##_x86_64 }, \
H A DRegisterInfos_x86_64_with_base.h148 #define DEFINE_GPR_PSEUDO_32(reg32, reg64) \
150 #reg32, nullptr, 4, GPR_OFFSET(reg64), eEncodingUint, eFormatHex, \
152 LLDB_INVALID_REGNUM, x86_64_with_base::lldb_##reg32}, \
157 DEFINE_GPR_PSEUDO_32(reg32,reg64) global() argument
/freebsd/sys/powerpc/include/
H A Dreg.h37 struct reg32 { struct
75 int fill_regs32(struct thread *, struct reg32 *);
76 int set_regs32(struct thread *, struct reg32 *);
/freebsd/sys/dev/ath/ath_hal/ar9002/
H A Dar9280.c76 uint32_t freq, ndiv, channelSel = 0, channelFrac = 0, reg32 = 0; in ar9280SetChannel() local
86 reg32 = OS_REG_READ(ah, AR_PHY_SYNTH_CONTROL); in ar9280SetChannel()
87 reg32 &= 0xc0000000; in ar9280SetChannel()
206 reg32 = reg32 | (bMode << 29) | (fracMode << 28) | in ar9280SetChannel()
209 OS_REG_WRITE(ah, AR_PHY_SYNTH_CONTROL, reg32); in ar9280SetChannel()
H A Dar9287.c76 uint32_t freq, ndiv, channelSel = 0, channelFrac = 0, reg32 = 0; in ar9287SetChannel() local
85 reg32 = OS_REG_READ(ah, AR_PHY_SYNTH_CONTROL); in ar9287SetChannel()
86 reg32 &= 0xc0000000; in ar9287SetChannel()
148 reg32 = reg32 | (bMode << 29) | (fracMode << 28) | in ar9287SetChannel()
151 OS_REG_WRITE(ah, AR_PHY_SYNTH_CONTROL, reg32); in ar9287SetChannel()
/freebsd/sys/dev/ath/ath_hal/ar5212/
H A Dar5111.c59 extern void ar5212ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32,
81 uint32_t refClk, reg32, data2111; in ar5111SetChannel() local
172 reg32 = ath_hal_reverseBits(chan5111 - 24, 8) & 0xff; in ar5111SetChannel()
175 reg32 = ath_hal_reverseBits(((chan5111 - 24)/2), 8) & 0xff; in ar5111SetChannel()
179 reg32 = (reg32 << 2) | (refClk << 1) | (1 << 10) | 0x1; in ar5111SetChannel()
180 OS_REG_WRITE(ah, AR_PHY(0x27), ((data2111 & 0xff) << 8) | (reg32 & 0xff)); in ar5111SetChannel()
181 reg32 >>= 8; in ar5111SetChannel()
182 OS_REG_WRITE(ah, AR_PHY(0x34), (data2111 & 0xff00) | (reg32 & 0xff)); in ar5111SetChannel()
H A Dar5212_rfgain.c94 uint32_t reg32 = 0, mask, arrayEntry, lastBit; in ar5212GetRfField() local
111 reg32 |= (((rfBuf[arrayEntry] & mask) >> (column * 8)) >> in ar5212GetRfField()
118 reg32 = ath_hal_reverseBits(reg32, numBits); in ar5212GetRfField()
119 return reg32; in ar5212GetRfField()
H A Dar2316.c64 extern void ar5212ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32,
97 uint32_t reg32 = 0; in ar2316SetChannel() local
147 reg32 = (channelSel << 4) | (aModeRefSel << 2) | (bModeSynth << 1) | in ar2316SetChannel()
149 OS_REG_WRITE(ah, AR_PHY(0x27), reg32 & 0xff); in ar2316SetChannel()
151 reg32 >>= 8; in ar2316SetChannel()
152 OS_REG_WRITE(ah, AR_PHY(0x36), reg32 & 0x7f); in ar2316SetChannel()
514 uint32_t reg32, regoffset; in ar2316SetPowerTable() local
589 reg32 = ((pdadcValues[4*i + 0] & 0xFF) << 0) | in ar2316SetPowerTable()
593 OS_REG_WRITE(ah, regoffset, reg32); in ar2316SetPowerTable()
H A Dar2317.c64 extern void ar5212ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32,
88 uint32_t reg32 = 0; in ar2317SetChannel() local
124 reg32 = (channelSel << 4) | (aModeRefSel << 2) | (bModeSynth << 1) | in ar2317SetChannel()
126 OS_REG_WRITE(ah, AR_PHY(0x27), reg32 & 0xff); in ar2317SetChannel()
128 reg32 >>= 8; in ar2317SetChannel()
129 OS_REG_WRITE(ah, AR_PHY(0x36), reg32 & 0x7f); in ar2317SetChannel()
492 uint32_t reg32, regoffset; in ar2317SetPowerTable() local
567 reg32 = ((pdadcValues[4*i + 0] & 0xFF) << 0) | in ar2317SetPowerTable()
571 OS_REG_WRITE(ah, regoffset, reg32); in ar2317SetPowerTable()
H A Dar2413.c60 extern void ar5212ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32,
84 uint32_t reg32 = 0; in ar2413SetChannel() local
139 reg32 = (channelSel << 4) | (aModeRefSel << 2) | (bModeSynth << 1) | in ar2413SetChannel()
141 OS_REG_WRITE(ah, AR_PHY(0x27), reg32 & 0xff); in ar2413SetChannel()
143 reg32 >>= 8; in ar2413SetChannel()
144 OS_REG_WRITE(ah, AR_PHY(0x36), reg32 & 0x7f); in ar2413SetChannel()
509 uint32_t reg32, regoffset; in ar2413SetPowerTable() local
584 reg32 = ((pdadcValues[4*i + 0] & 0xFF) << 0) | in ar2413SetPowerTable()
588 OS_REG_WRITE(ah, regoffset, reg32); in ar2413SetPowerTable()
H A Dar2425.c48 extern void ar5212ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32,
91 uint32_t reg32 = 0; in ar2425SetChannel() local
134 reg32 = (channelSel << 4) | (aModeRefSel << 2) | (bModeSynth << 1) | in ar2425SetChannel()
136 OS_REG_WRITE(ah, AR_PHY(0x27), reg32 & 0xff); in ar2425SetChannel()
138 reg32 >>= 8; in ar2425SetChannel()
139 OS_REG_WRITE(ah, AR_PHY(0x36), reg32 & 0x7f); in ar2425SetChannel()
508 uint32_t i, reg32, regoffset; in ar2425SetPowerTable() local
545 reg32 = ((pdadcValues[4*i + 0] & 0xFF) << 0) | in ar2425SetPowerTable()
549 OS_REG_WRITE(ah, regoffset, reg32); in ar2425SetPowerTable()
H A Dar5413.c60 extern void ar5212ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32,
84 uint32_t reg32 = 0; in ar5413SetChannel() local
139 reg32 = (channelSel << 4) | (aModeRefSel << 2) | (bModeSynth << 1) | in ar5413SetChannel()
141 OS_REG_WRITE(ah, AR_PHY(0x27), reg32 & 0xff); in ar5413SetChannel()
143 reg32 >>= 8; in ar5413SetChannel()
144 OS_REG_WRITE(ah, AR_PHY(0x36), reg32 & 0x7f); in ar5413SetChannel()
552 uint32_t reg32, regoffset; in ar5413SetPowerTable() local
627 reg32 = ((pdadcValues[4*i + 0] & 0xFF) << 0) | in ar5413SetPowerTable()
631 OS_REG_WRITE(ah, regoffset, reg32); in ar5413SetPowerTable()
H A Dar5112.c60 extern void ar5212ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32,
84 uint32_t reg32 = 0; in ar5112SetChannel() local
139 reg32 = (channelSel << 4) | (aModeRefSel << 2) | (bModeSynth << 1) | in ar5112SetChannel()
141 OS_REG_WRITE(ah, AR_PHY(0x27), reg32 & 0xff); in ar5112SetChannel()
143 reg32 >>= 8; in ar5112SetChannel()
144 OS_REG_WRITE(ah, AR_PHY(0x36), reg32 & 0x7f); in ar5112SetChannel()
/freebsd/sys/sys/
H A Dreg.h74 int fill_regs32(struct thread *, struct reg32 *);
75 int set_regs32(struct thread *, struct reg32 *);
H A Dptrace.h248 struct reg32;
251 int proc_read_regs32(struct thread *_td, struct reg32 *_reg32);
252 int proc_write_regs32(struct thread *_td, struct reg32 *_reg32);
H A Dprocfs.h103 struct reg32 pr_reg;
/freebsd/sys/dev/ath/ath_hal/ar5416/
H A Dar2133.c49 void ar5416ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32,
130 uint32_t reg32 = 0; in ar2133SetChannel() local
219 reg32 = (channelSel << 8) | (aModeRefSel << 2) | (bModeSynth << 1) | in ar2133SetChannel()
222 OS_REG_WRITE(ah, AR_PHY(0x37), reg32); in ar2133SetChannel()
/freebsd/sys/arm64/include/
H A Dreg.h48 struct reg32 { struct
/freebsd/sys/amd64/ia32/
H A Dia32_reg.c73 fill_regs32(struct thread *td, struct reg32 *regs) in fill_regs32()
107 set_regs32(struct thread *td, struct reg32 *regs) in set_regs32()
/freebsd/sys/fs/procfs/
H A Dprocfs_regs.c82 struct reg32 r32; in procfs_doprocregs()
/freebsd/sys/amd64/linux32/
H A Dlinux.h420 struct reg32;
422 void bsd_to_linux_regset32(const struct reg32 *b_reg,
/freebsd/sys/dev/ath/ath_hal/ar5211/
H A Dar5211_reset.c787 uint32_t refClk, reg32, data2111; in ar5211SetChannel() local
806 reg32 = ath_hal_reverseBits(chan5111 - 24, 8) & 0xFF; in ar5211SetChannel()
809 reg32 = ath_hal_reverseBits(((chan5111 - 24) / 2), 8) & 0xFF; in ar5211SetChannel()
813 reg32 = (reg32 << 2) | (refClk << 1) | (1 << 10) | 0x1; in ar5211SetChannel()
814 OS_REG_WRITE(ah, AR_PHY(0x27), ((data2111 & 0xff) << 8) | (reg32 & 0xff)); in ar5211SetChannel()
815 reg32 >>= 8; in ar5211SetChannel()
816 OS_REG_WRITE(ah, AR_PHY(0x34), (data2111 & 0xff00) | (reg32 & 0xff)); in ar5211SetChannel()
/freebsd/sys/x86/include/
H A Dreg.h88 #define __reg32 reg32

12