Home
last modified time | relevance | path

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

12

/freebsd-9-stable/sys/compat/ia32/
Dia32_reg.h42 struct reg32 { struct
111 int fill_regs32(struct thread *, struct reg32 *);
112 int set_regs32(struct thread *, struct reg32 *);
/freebsd-9-stable/sys/powerpc/include/
Dreg.h33 struct reg32 { struct
65 int fill_regs32(struct thread *, struct reg32 *);
66 int set_regs32(struct thread *, struct reg32 *);
/freebsd-9-stable/sys/dev/ath/ath_hal/ar9002/
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()
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()
142 reg32 = reg32 | (bMode << 29) | (fracMode << 28) | in ar9280SetChannel()
145 OS_REG_WRITE(ah, AR_PHY_SYNTH_CONTROL, reg32); in ar9280SetChannel()
/freebsd-9-stable/sys/dev/ath/ath_hal/ar5212/
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()
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()
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()
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()
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()
509 uint32_t i, reg32, regoffset; in ar2425SetPowerTable() local
546 reg32 = ((pdadcValues[4*i + 0] & 0xFF) << 0) | in ar2425SetPowerTable()
550 OS_REG_WRITE(ah, regoffset, reg32); in ar2425SetPowerTable()
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()
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()
553 uint32_t reg32, regoffset; in ar5413SetPowerTable() local
628 reg32 = ((pdadcValues[4*i + 0] & 0xFF) << 0) | in ar5413SetPowerTable()
632 OS_REG_WRITE(ah, regoffset, reg32); in ar5413SetPowerTable()
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()
Dar5212_reset.c68 void ar5212ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32,
2525 ar5212ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32, uint32_t numBits, in ar5212ModifyRfBuffer() argument
2536 tmp32 = ath_hal_reverseBits(reg32, numBits); in ar5212ModifyRfBuffer()
/freebsd-9-stable/sys/sys/
Dptrace.h170 struct reg32;
173 int proc_read_regs32(struct thread *_td, struct reg32 *_reg32);
174 int proc_write_regs32(struct thread *_td, struct reg32 *_reg32);
/freebsd-9-stable/sys/ia64/ia32/
Dia32_reg.c38 fill_regs32(struct thread *td, struct reg32 *regs) in fill_regs32()
46 set_regs32(struct thread *td, struct reg32 *regs) in set_regs32()
/freebsd-9-stable/sys/dev/ath/ath_hal/ar5416/
Dar2133.c49 void ar5416ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32,
130 uint32_t reg32 = 0; in ar2133SetChannel() local
191 reg32 = (channelSel << 8) | (aModeRefSel << 2) | (bModeSynth << 1) | in ar2133SetChannel()
194 OS_REG_WRITE(ah, AR_PHY(0x37), reg32); in ar2133SetChannel()
Dar5416_reset.c2227 int reg32; in ar5416WritePdadcValues() local
2233 reg32 = ((pdadcValues[4*j + 0] & 0xFF) << 0) | in ar5416WritePdadcValues()
2237 OS_REG_WRITE(ah, regOffset, reg32); in ar5416WritePdadcValues()
/freebsd-9-stable/sys/amd64/ia32/
Dia32_reg.c81 fill_regs32(struct thread *td, struct reg32 *regs) in fill_regs32()
115 set_regs32(struct thread *td, struct reg32 *regs) in set_regs32()
/freebsd-9-stable/sys/sparc64/include/
Dreg.h48 struct reg32 { struct
/freebsd-9-stable/sys/fs/procfs/
Dprocfs_regs.c87 struct reg32 r32; in procfs_doprocregs()
/freebsd-9-stable/sys/dev/ath/ath_hal/ar5211/
Dar5211_reset.c788 uint32_t refClk, reg32, data2111; in ar5211SetChannel() local
807 reg32 = ath_hal_reverseBits(chan5111 - 24, 8) & 0xFF; in ar5211SetChannel()
810 reg32 = ath_hal_reverseBits(((chan5111 - 24) / 2), 8) & 0xFF; in ar5211SetChannel()
814 reg32 = (reg32 << 2) | (refClk << 1) | (1 << 10) | 0x1; in ar5211SetChannel()
815 OS_REG_WRITE(ah, AR_PHY(0x27), ((data2111 & 0xff) << 8) | (reg32 & 0xff)); in ar5211SetChannel()
816 reg32 >>= 8; in ar5211SetChannel()
817 OS_REG_WRITE(ah, AR_PHY(0x34), (data2111 & 0xff00) | (reg32 & 0xff)); in ar5211SetChannel()
/freebsd-9-stable/sys/kern/
Dsys_process.c192 proc_read_regs32(struct thread *td, struct reg32 *regs32) in proc_read_regs32()
199 proc_write_regs32(struct thread *td, struct reg32 *regs32) in proc_write_regs32()
543 struct reg32 reg32; in sys_ptrace() member
Dimgact_elf.c1625 typedef struct reg32 elf_gregset_t;
/freebsd-9-stable/sys/compat/freebsd32/
Dfreebsd32.h248 struct reg32 pr_reg;
/freebsd-9-stable/sys/powerpc/powerpc/
Dexec_machdep.c673 set_regs32(struct thread *td, struct reg32 *regs) in set_regs32()
691 fill_regs32(struct thread *td, struct reg32 *regs) in fill_regs32()

12