Home
last modified time | relevance | path

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

12

/freebsd-12-stable/sys/contrib/dev/ath/ath_hal/ar9300/
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-12-stable/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
DRegisterInfos_i386.h151 #define DEFINE_GPR_PSEUDO_16(reg16, reg32) \ argument
154 GPR_OFFSET(reg32), eEncodingUint, eFormatHex, \
158 RegisterContextPOSIX_x86::g_contained_##reg32, \
159 RegisterContextPOSIX_x86::g_invalidate_##reg32, nullptr, 0 \
162 #define DEFINE_GPR_PSEUDO_8H(reg8, reg32) \ argument
165 GPR_OFFSET(reg32) + 1, eEncodingUint, eFormatHex, \
169 RegisterContextPOSIX_x86::g_contained_##reg32, \
170 RegisterContextPOSIX_x86::g_invalidate_##reg32, nullptr, 0 \
173 #define DEFINE_GPR_PSEUDO_8L(reg8, reg32) \ argument
176 GPR_OFFSET(reg32), eEncodingUint, eFormatHex, \
[all …]
DRegisterInfos_x86_64.h153 #define DEFINE_GPR_PSEUDO_32(reg32, reg64) \ argument
155 #reg32, nullptr, 4, \
159 lldb_##reg32##_x86_64 }, \
/freebsd-12-stable/sys/arm64/include/
Dreg.h44 struct reg32 { struct
79 int fill_regs32(struct thread *, struct reg32 *);
80 int set_regs32(struct thread *, struct reg32 *);
/freebsd-12-stable/sys/mips/include/
Dreg.h73 struct reg32 { struct
100 int fill_regs32(struct thread *, struct reg32 *);
101 int set_regs32(struct thread *, struct reg32 *);
/freebsd-12-stable/sys/powerpc/include/
Dreg.h36 struct reg32 { struct
74 int fill_regs32(struct thread *, struct reg32 *);
75 int set_regs32(struct thread *, struct reg32 *);
/freebsd-12-stable/sys/dev/ath/ath_hal/ar9002/
Dar9287.c78 uint32_t freq, ndiv, channelSel = 0, channelFrac = 0, reg32 = 0; in ar9287SetChannel() local
87 reg32 = OS_REG_READ(ah, AR_PHY_SYNTH_CONTROL); in ar9287SetChannel()
88 reg32 &= 0xc0000000; in ar9287SetChannel()
150 reg32 = reg32 | (bMode << 29) | (fracMode << 28) | in ar9287SetChannel()
153 OS_REG_WRITE(ah, AR_PHY_SYNTH_CONTROL, reg32); in ar9287SetChannel()
Dar9280.c78 uint32_t freq, ndiv, channelSel = 0, channelFrac = 0, reg32 = 0; in ar9280SetChannel() local
88 reg32 = OS_REG_READ(ah, AR_PHY_SYNTH_CONTROL); in ar9280SetChannel()
89 reg32 &= 0xc0000000; in ar9280SetChannel()
208 reg32 = reg32 | (bMode << 29) | (fracMode << 28) | in ar9280SetChannel()
211 OS_REG_WRITE(ah, AR_PHY_SYNTH_CONTROL, reg32); in ar9280SetChannel()
/freebsd-12-stable/sys/dev/ath/ath_hal/ar5212/
Dar5111.c61 extern void ar5212ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32,
83 uint32_t refClk, reg32, data2111; in ar5111SetChannel() local
174 reg32 = ath_hal_reverseBits(chan5111 - 24, 8) & 0xff; in ar5111SetChannel()
177 reg32 = ath_hal_reverseBits(((chan5111 - 24)/2), 8) & 0xff; in ar5111SetChannel()
181 reg32 = (reg32 << 2) | (refClk << 1) | (1 << 10) | 0x1; in ar5111SetChannel()
182 OS_REG_WRITE(ah, AR_PHY(0x27), ((data2111 & 0xff) << 8) | (reg32 & 0xff)); in ar5111SetChannel()
183 reg32 >>= 8; in ar5111SetChannel()
184 OS_REG_WRITE(ah, AR_PHY(0x34), (data2111 & 0xff00) | (reg32 & 0xff)); in ar5111SetChannel()
Dar5212_rfgain.c96 uint32_t reg32 = 0, mask, arrayEntry, lastBit; in ar5212GetRfField() local
113 reg32 |= (((rfBuf[arrayEntry] & mask) >> (column * 8)) >> in ar5212GetRfField()
120 reg32 = ath_hal_reverseBits(reg32, numBits); in ar5212GetRfField()
121 return reg32; in ar5212GetRfField()
Dar2425.c50 extern void ar5212ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32,
93 uint32_t reg32 = 0; in ar2425SetChannel() local
136 reg32 = (channelSel << 4) | (aModeRefSel << 2) | (bModeSynth << 1) | in ar2425SetChannel()
138 OS_REG_WRITE(ah, AR_PHY(0x27), reg32 & 0xff); in ar2425SetChannel()
140 reg32 >>= 8; in ar2425SetChannel()
141 OS_REG_WRITE(ah, AR_PHY(0x36), reg32 & 0x7f); in ar2425SetChannel()
510 uint32_t i, reg32, regoffset; in ar2425SetPowerTable() local
547 reg32 = ((pdadcValues[4*i + 0] & 0xFF) << 0) | in ar2425SetPowerTable()
551 OS_REG_WRITE(ah, regoffset, reg32); in ar2425SetPowerTable()
Dar2316.c66 extern void ar5212ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32,
99 uint32_t reg32 = 0; in ar2316SetChannel() local
149 reg32 = (channelSel << 4) | (aModeRefSel << 2) | (bModeSynth << 1) | in ar2316SetChannel()
151 OS_REG_WRITE(ah, AR_PHY(0x27), reg32 & 0xff); in ar2316SetChannel()
153 reg32 >>= 8; in ar2316SetChannel()
154 OS_REG_WRITE(ah, AR_PHY(0x36), reg32 & 0x7f); in ar2316SetChannel()
516 uint32_t reg32, regoffset; in ar2316SetPowerTable() local
591 reg32 = ((pdadcValues[4*i + 0] & 0xFF) << 0) | in ar2316SetPowerTable()
595 OS_REG_WRITE(ah, regoffset, reg32); in ar2316SetPowerTable()
Dar2413.c62 extern void ar5212ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32,
86 uint32_t reg32 = 0; in ar2413SetChannel() local
141 reg32 = (channelSel << 4) | (aModeRefSel << 2) | (bModeSynth << 1) | in ar2413SetChannel()
143 OS_REG_WRITE(ah, AR_PHY(0x27), reg32 & 0xff); in ar2413SetChannel()
145 reg32 >>= 8; in ar2413SetChannel()
146 OS_REG_WRITE(ah, AR_PHY(0x36), reg32 & 0x7f); in ar2413SetChannel()
511 uint32_t reg32, regoffset; in ar2413SetPowerTable() local
586 reg32 = ((pdadcValues[4*i + 0] & 0xFF) << 0) | in ar2413SetPowerTable()
590 OS_REG_WRITE(ah, regoffset, reg32); in ar2413SetPowerTable()
Dar2317.c66 extern void ar5212ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32,
90 uint32_t reg32 = 0; in ar2317SetChannel() local
126 reg32 = (channelSel << 4) | (aModeRefSel << 2) | (bModeSynth << 1) | in ar2317SetChannel()
128 OS_REG_WRITE(ah, AR_PHY(0x27), reg32 & 0xff); in ar2317SetChannel()
130 reg32 >>= 8; in ar2317SetChannel()
131 OS_REG_WRITE(ah, AR_PHY(0x36), reg32 & 0x7f); in ar2317SetChannel()
494 uint32_t reg32, regoffset; in ar2317SetPowerTable() local
569 reg32 = ((pdadcValues[4*i + 0] & 0xFF) << 0) | in ar2317SetPowerTable()
573 OS_REG_WRITE(ah, regoffset, reg32); in ar2317SetPowerTable()
Dar5413.c62 extern void ar5212ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32,
86 uint32_t reg32 = 0; in ar5413SetChannel() local
141 reg32 = (channelSel << 4) | (aModeRefSel << 2) | (bModeSynth << 1) | in ar5413SetChannel()
143 OS_REG_WRITE(ah, AR_PHY(0x27), reg32 & 0xff); in ar5413SetChannel()
145 reg32 >>= 8; in ar5413SetChannel()
146 OS_REG_WRITE(ah, AR_PHY(0x36), reg32 & 0x7f); in ar5413SetChannel()
554 uint32_t reg32, regoffset; in ar5413SetPowerTable() local
629 reg32 = ((pdadcValues[4*i + 0] & 0xFF) << 0) | in ar5413SetPowerTable()
633 OS_REG_WRITE(ah, regoffset, reg32); in ar5413SetPowerTable()
Dar5112.c62 extern void ar5212ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32,
86 uint32_t reg32 = 0; in ar5112SetChannel() local
141 reg32 = (channelSel << 4) | (aModeRefSel << 2) | (bModeSynth << 1) | in ar5112SetChannel()
143 OS_REG_WRITE(ah, AR_PHY(0x27), reg32 & 0xff); in ar5112SetChannel()
145 reg32 >>= 8; in ar5112SetChannel()
146 OS_REG_WRITE(ah, AR_PHY(0x36), reg32 & 0x7f); in ar5112SetChannel()
/freebsd-12-stable/sys/sys/
Dptrace.h212 struct reg32;
215 int proc_read_regs32(struct thread *_td, struct reg32 *_reg32);
216 int proc_write_regs32(struct thread *_td, struct reg32 *_reg32);
Dprocfs.h105 struct reg32 pr_reg;
/freebsd-12-stable/sys/x86/include/
Dreg.h90 #define __reg32 reg32
260 int fill_regs32(struct thread *, struct reg32 *);
261 int set_regs32(struct thread *, struct reg32 *);
/freebsd-12-stable/sys/dev/ath/ath_hal/ar5416/
Dar2133.c51 void ar5416ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32,
132 uint32_t reg32 = 0; in ar2133SetChannel() local
221 reg32 = (channelSel << 8) | (aModeRefSel << 2) | (bModeSynth << 1) | in ar2133SetChannel()
224 OS_REG_WRITE(ah, AR_PHY(0x37), reg32); in ar2133SetChannel()
/freebsd-12-stable/sys/amd64/ia32/
Dia32_reg.c80 fill_regs32(struct thread *td, struct reg32 *regs) in fill_regs32()
114 set_regs32(struct thread *td, struct reg32 *regs) in set_regs32()
/freebsd-12-stable/sys/sparc64/include/
Dreg.h50 struct reg32 { struct
/freebsd-12-stable/sys/mips/mips/
Dfreebsd32_machdep.c148 set_regs32(struct thread *td, struct reg32 *regs) in set_regs32()
160 fill_regs32(struct thread *td, struct reg32 *regs) in fill_regs32()
375 struct reg32 regs; in freebsd32_sendsig()
/freebsd-12-stable/sys/fs/procfs/
Dprocfs_regs.c87 struct reg32 r32; in procfs_doprocregs()
/freebsd-12-stable/sys/dev/ath/ath_hal/ar5211/
Dar5211_reset.c789 uint32_t refClk, reg32, data2111; in ar5211SetChannel() local
808 reg32 = ath_hal_reverseBits(chan5111 - 24, 8) & 0xFF; in ar5211SetChannel()
811 reg32 = ath_hal_reverseBits(((chan5111 - 24) / 2), 8) & 0xFF; in ar5211SetChannel()
815 reg32 = (reg32 << 2) | (refClk << 1) | (1 << 10) | 0x1; in ar5211SetChannel()
816 OS_REG_WRITE(ah, AR_PHY(0x27), ((data2111 & 0xff) << 8) | (reg32 & 0xff)); in ar5211SetChannel()
817 reg32 >>= 8; in ar5211SetChannel()
818 OS_REG_WRITE(ah, AR_PHY(0x34), (data2111 & 0xff00) | (reg32 & 0xff)); in ar5211SetChannel()

12