/src/sys/dev/ofw/ |
ofw_i2c_subr.c | 58 uint32_t reg32; local in function:of_copy_i2c_devs 81 } else if (cell_size == 4 && len >= sizeof(reg32)) { 82 if (OF_getprop(node, "reg", ®32, sizeof(reg32)) 83 < sizeof(reg32)) 85 addr = be32toh(reg32);
|
/src/sys/arch/mips/include/ |
reg.h | 49 struct reg32 { struct
|
/src/sys/dev/fdt/ |
pinctrl_single.c | 73 uint32_t reg32; member in union:pinctrl_single_pins_write::__anoncb5c97a4010a 94 u.reg32 = bus_space_read_4(sc->sc_bst, sc->sc_bsh, off); 95 u.reg32 &= ~sc->sc_funcmask; 96 u.reg32 |= val; 97 bus_space_write_4(sc->sc_bst, sc->sc_bsh, off, u.reg32);
|
/src/sys/external/isc/atheros_hal/dist/ar5212/ |
ar5212_rfgain.c | 94 uint32_t reg32 = 0, mask, arrayEntry, lastBit; local in function:ar5212GetRfField 111 reg32 |= (((rfBuf[arrayEntry] & mask) >> (column * 8)) >> 118 reg32 = ath_hal_reverseBits(reg32, numBits); 119 return reg32;
|
ar2316.c | 64 extern void ar5212ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32, 96 uint32_t reg32 = 0; local in function:ar2316SetChannel 146 reg32 = (channelSel << 4) | (aModeRefSel << 2) | (bModeSynth << 1) | 148 OS_REG_WRITE(ah, AR_PHY(0x27), reg32 & 0xff); 150 reg32 >>= 8; 151 OS_REG_WRITE(ah, AR_PHY(0x36), reg32 & 0x7f); 519 uint32_t reg32, regoffset; local in function:ar2316SetPowerTable 594 reg32 = ((pdadcValues[4*i + 0] & 0xFF) << 0) | 598 OS_REG_WRITE(ah, regoffset, reg32);
|
ar2317.c | 65 extern void ar5212ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32, 88 uint32_t reg32 = 0; local in function:ar2317SetChannel 124 reg32 = (channelSel << 4) | (aModeRefSel << 2) | (bModeSynth << 1) | 126 OS_REG_WRITE(ah, AR_PHY(0x27), reg32 & 0xff); 128 reg32 >>= 8; 129 OS_REG_WRITE(ah, AR_PHY(0x36), reg32 & 0x7f); 497 uint32_t reg32, regoffset; local in function:ar2317SetPowerTable 572 reg32 = ((pdadcValues[4*i + 0] & 0xFF) << 0) | 576 OS_REG_WRITE(ah, regoffset, reg32);
|
ar2413.c | 60 extern void ar5212ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32, 83 uint32_t reg32 = 0; local in function:ar2413SetChannel 139 reg32 = (channelSel << 4) | (aModeRefSel << 2) | (bModeSynth << 1) | 141 OS_REG_WRITE(ah, AR_PHY(0x27), reg32 & 0xff); 143 reg32 >>= 8; 144 OS_REG_WRITE(ah, AR_PHY(0x36), reg32 & 0x7f); 513 uint32_t reg32, regoffset; local in function:ar2413SetPowerTable 588 reg32 = ((pdadcValues[4*i + 0] & 0xFF) << 0) | 592 OS_REG_WRITE(ah, regoffset, reg32);
|
ar2425.c | 48 extern void ar5212ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32, 90 uint32_t reg32 = 0; local in function:ar2425SetChannel 134 reg32 = (channelSel << 4) | (aModeRefSel << 2) | (bModeSynth << 1) | 136 OS_REG_WRITE(ah, AR_PHY(0x27), reg32 & 0xff); 138 reg32 >>= 8; 139 OS_REG_WRITE(ah, AR_PHY(0x36), reg32 & 0x7f); 513 uint32_t i, reg32, regoffset; local in function:ar2425SetPowerTable 550 reg32 = ((pdadcValues[4*i + 0] & 0xFF) << 0) | 554 OS_REG_WRITE(ah, regoffset, reg32);
|
ar5413.c | 60 extern void ar5212ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32, 83 uint32_t reg32 = 0; local in function:ar5413SetChannel 139 reg32 = (channelSel << 4) | (aModeRefSel << 2) | (bModeSynth << 1) | 141 OS_REG_WRITE(ah, AR_PHY(0x27), reg32 & 0xff); 143 reg32 >>= 8; 144 OS_REG_WRITE(ah, AR_PHY(0x36), reg32 & 0x7f); 549 uint32_t reg32, regoffset; local in function:ar5413SetPowerTable 624 reg32 = ((pdadcValues[4*i + 0] & 0xFF) << 0) | 628 OS_REG_WRITE(ah, regoffset, reg32);
|
ar5111.c | 59 extern void ar5212ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32, 80 uint32_t refClk, reg32, data2111; local in function:ar5111SetChannel 171 reg32 = ath_hal_reverseBits(chan5111 - 24, 8) & 0xff; 174 reg32 = ath_hal_reverseBits(((chan5111 - 24)/2), 8) & 0xff; 178 reg32 = (reg32 << 2) | (refClk << 1) | (1 << 10) | 0x1; 179 OS_REG_WRITE(ah, AR_PHY(0x27), ((data2111 & 0xff) << 8) | (reg32 & 0xff)); 180 reg32 >>= 8; 181 OS_REG_WRITE(ah, AR_PHY(0x34), (data2111 & 0xff00) | (reg32 & 0xff));
|
ar5112.c | 60 extern void ar5212ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32, 83 uint32_t reg32 = 0; local in function:ar5112SetChannel 139 reg32 = (channelSel << 4) | (aModeRefSel << 2) | (bModeSynth << 1) | 141 OS_REG_WRITE(ah, AR_PHY(0x27), reg32 & 0xff); 143 reg32 >>= 8; 144 OS_REG_WRITE(ah, AR_PHY(0x36), reg32 & 0x7f);
|
/src/sys/external/isc/atheros_hal/dist/ar5416/ |
ar2133.c | 49 extern void ar5416ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32, 77 uint32_t reg32 = 0; local in function:ar2133SetChannel 134 reg32 = (channelSel << 8) | (aModeRefSel << 2) | (bModeSynth << 1) | 137 OS_REG_WRITE(ah, AR_PHY(0x37), reg32);
|
ar9280.c | 76 uint32_t freq, ndiv, channelSel = 0, channelFrac = 0, reg32 = 0; local in function:ar9280SetChannel 85 reg32 = OS_REG_READ(ah, AR_PHY_SYNTH_CONTROL); 86 reg32 &= 0xc0000000; 132 reg32 = reg32 | (bMode << 29) | (fracMode << 28) | 135 OS_REG_WRITE(ah, AR_PHY_SYNTH_CONTROL, reg32);
|
ar9285_reset.c | 563 uint32_t reg32, regOffset, regChainOffset; local in function:ar9285SetPowerCalTable 636 reg32 = ((pdadcValues[4*j + 0] & 0xFF) << 0) | 640 OS_REG_WRITE(ah, regOffset, reg32);
|
ar5416_reset.c | 1828 uint32_t reg32, regOffset, regChainOffset; local in function:ar5416SetPowerCalTable 1911 reg32 = ((pdadcValues[4*j + 0] & 0xFF) << 0) | 1915 OS_REG_WRITE(ah, regOffset, reg32);
|
/src/sys/arch/sparc64/include/ |
reg.h | 142 struct reg32 { struct 226 #define reg reg32
|
/src/sys/arch/riscv/include/ |
reg.h | 59 struct reg32 { // synced with register_t in <riscv/types.h> struct
|
/src/sys/arch/hpcmips/dev/ |
it8368.c | 547 txreg_t reg32; local in function:it8368_mode 553 reg32 = tx_conf_read(sc->sc_tc, TX39_MEMCONFIG3_REG); 557 reg32 |= TX39_MEMCONFIG3_PORT8SEL; 559 reg32 &= ~TX39_MEMCONFIG3_PORT8SEL; 564 reg32 |= TX39_MEMCONFIG3_CARD1IOEN; 566 reg32 &= ~TX39_MEMCONFIG3_CARD1IOEN; 568 tx_conf_write(sc->sc_tc, TX39_MEMCONFIG3_REG, reg32); 575 reg32 = tx_conf_read(sc->sc_tc, TX39_MEMCONFIG3_REG); 576 if (reg32 & TX39_MEMCONFIG3_CARD1IOEN) { 578 reg32 & TX39_MEMCONFIG3_PORT8SEL ? 8 : 16)) [all...] |
/src/sys/arch/aarch64/include/ |
netbsd32_machdep.h | 85 struct reg32 { struct 107 struct reg32 regs; 128 int netbsd32_process_read_regs(struct lwp *, struct reg32 *); 131 int netbsd32_process_write_regs(struct lwp *, const struct reg32 *);
|
/src/sys/arch/amd64/include/ |
netbsd32_machdep.h | 114 struct reg32 { struct 182 int netbsd32_process_read_regs(struct lwp *, struct reg32 *); 186 int netbsd32_process_write_regs(struct lwp *, const struct reg32 *);
|
/src/sys/external/bsd/drm2/linux/ |
linux_pci.c | 309 const int reg32 = (reg &~ 3); local in function:pci_rmw_config 315 value32 = pci_conf_read(pc, tag, reg32); 318 pci_conf_write(pc, tag, reg32, value32);
|
/src/sys/external/isc/atheros_hal/dist/ar5211/ |
ar5211_reset.c | 815 uint32_t refClk, reg32, data2111; local in function:ar5211SetChannel 834 reg32 = ath_hal_reverseBits(chan5111 - 24, 8) & 0xFF; 837 reg32 = ath_hal_reverseBits(((chan5111 - 24) / 2), 8) & 0xFF; 841 reg32 = (reg32 << 2) | (refClk << 1) | (1 << 10) | 0x1; 842 OS_REG_WRITE(ah, AR_PHY(0x27), ((data2111 & 0xff) << 8) | (reg32 & 0xff)); 843 reg32 >>= 8; 844 OS_REG_WRITE(ah, AR_PHY(0x34), (data2111 & 0xff00) | (reg32 & 0xff));
|