bits32
bits32 aSig, bSig, zSig;
bits32 aSig, bSig, zSig;
INLINE bits32 extractFloat32Frac( float32 a )
bits32 aSig, bSig;
bits32 zSig;
bits32 aSig, bSig, zSig;
bits32 aSig, bSig;
bits32 q;
bits32 alternateASig;
bits32 aSig, zSig;
return ( a == b ) || ( (bits32) ( ( a | b )<<1 ) == 0 );
if ( aSign != bSign ) return aSign || ( (bits32) ( ( a | b )<<1 ) == 0 );
normalizeFloat32Subnormal( bits32 aSig, int16 *zExpPtr, bits32 *zSigPtr )
if ( aSign != bSign ) return aSign && ( (bits32) ( ( a | b )<<1 ) != 0 );
return ( a == b ) || ( (bits32) ( ( a | b )<<1 ) == 0 );
if ( aSign != bSign ) return aSign || ( (bits32) ( ( a | b )<<1 ) == 0 );
if ( aSign != bSign ) return aSign && ( (bits32) ( ( a | b )<<1 ) != 0 );
INLINE float32 packFloat32( flag zSign, int16 zExp, bits32 zSig )
bits32 zSig;
return ( ( (bits32) zSign )<<31 ) + ( ( (bits32) zExp )<<23 ) + zSig;
static float32 roundAndPackFloat32( struct roundingData *roundData, flag zSign, int16 zExp, bits32 zSig )
normalizeRoundAndPackFloat32( struct roundingData *roundData, flag zSign, int16 zExp, bits32 zSig )
if ( 0x7FFD <= (bits32) ( zExp - 1 ) ) {
if ( 0x7FFD <= (bits32) ( zExp - 1 ) ) {
bits32 aSig;
bits32 aSig;
if ( (bits32) ( aSig<<( shiftCount & 31 ) ) ) {
bits32 aSig;
bits32 aSig;
bits32 lastBitMask, roundBitsMask;
if ( (bits32) ( a<<1 ) == 0 ) return a;
return (a == b) || ((bits32) ((a | b) << 1) == 0);
return aSign && ((bits32) ((a | b) << 1) != 0);
static float32 roundAndPackFloat32(flag zSign, int16 zExp, bits32 zSig);
bits32 zSig);
static void normalizeFloat32Subnormal(bits32 aSig, int16 * zExpPtr,
bits32 * zSigPtr);
bits32 extractFloat32Frac(float32 a)
static int8 countLeadingZeros32(bits32 a)
float32 packFloat32(flag zSign, int16 zExp, bits32 zSig)
return (((bits32) zSign) << 31) + (((bits32) zExp) << 23) + zSig;
void shift32RightJamming(bits32 a, int16 count, bits32 * zPtr)
bits32 z;
static float32 roundAndPackFloat32(flag zSign, int16 zExp, bits32 zSig)
static float32 normalizeRoundAndPackFloat32(flag zSign, int16 zExp, bits32 zSig)
bits32 aSig, bSig, zSig;
bits32 aSig, bSig, zSig;
bits32 aHigh, aLow, bHigh, bLow;
static void normalizeFloat32Subnormal(bits32 aSig, int16 * zExpPtr,
bits32 * zSigPtr)
bits32 extractFloat32Frac(float32 a);
bits32 aSig, bSig;
float32 packFloat32(flag zSign, int16 zExp, bits32 zSig);
void shift32RightJamming(bits32 a, int16 count, bits32 * zPtr);
return roundAndPackFloat32(zSign, zExp, (bits32)zSig);
bits32 zSig;
static int8 countLeadingZeros32(bits32 a);
txd->word0.bits32 = buflen;
txd->word1.bits32 = word1;
txd->word3.bits32 = word3;
rw.bits32 = readl(ptr_reg);
rw.bits32 = readl(ptr_reg);
if (word3.bits32 & SOF_BIT) {
if (word3.bits32 & EOF_BIT)
if (word3.bits32 & EOF_BIT) {
dma_ctrl.bits32 = readl(dma_ctrl_reg);
writel(dma_ctrl.bits32, dma_ctrl_reg);
dma_ctrl.bits32 = readl(dma_ctrl_reg);
writel(dma_ctrl.bits32, dma_ctrl_reg);
writel(filter.bits32, port->gmac_base + GMAC_RX_FLTR);
config0.bits32 = readl(port->gmac_base + GMAC_CONFIG0);
status.bits32 = readl(port->gmac_base + GMAC_STATUS);
old_status.bits32 = status.bits32;
if (old_status.bits32 == status.bits32)
writel(status.bits32, port->gmac_base + GMAC_STATUS);
union gmac_status status = { .bits32 = 0 };
writel(status.bits32, port->gmac_base + GMAC_STATUS);
tmp.bits32 = readl(port->gmac_base + GMAC_CONFIG0);
writel(config0.bits32, port->gmac_base + GMAC_CONFIG0);
writel(config1.bits32, port->gmac_base + GMAC_CONFIG1);
writel(config2.bits32, port->gmac_base + GMAC_CONFIG2);
writel(config3.bits32, port->gmac_base + GMAC_CONFIG3);
writel(ahb_weight.bits32, port->dma_base + GMAC_AHB_WEIGHT_REG);
writel(hw_weigh.bits32,
writel(sw_weigh.bits32,
word3 = txd->word3.bits32;
if (word1.bits32 & TSS_CHECKUM_ENABLE)
rw.bits32 = readl(ptr_reg);
rw.bits32 = readl(geth->base + GLOBAL_SWFQ_RWPTR_REG);
qt.bits32 = readl(geth->base + GLOBAL_QUEUE_THRESHOLD_REG);
writel(qt.bits32, geth->base + GLOBAL_QUEUE_THRESHOLD_REG);
writel(skbsz.bits32, geth->base + GLOBAL_DMA_SKB_SIZE_REG);
unsigned int bits32;
unsigned int bits32;
unsigned int bits32;
unsigned int bits32;
unsigned int bits32;
unsigned int bits32;
unsigned int bits32;
unsigned int bits32;
unsigned int bits32;
unsigned int bits32;
unsigned int bits32;
unsigned int bits32;
unsigned int bits32;
unsigned int bits32;
unsigned int bits32;
unsigned int bits32;
unsigned int bits32;
unsigned int bits32;
unsigned int bits32;
unsigned int bits32;
unsigned int bits32;
unsigned int bits32;
unsigned int bits32;
unsigned int bits32;
__le32 bits32;
priv->io_dmabuf->bits32 = cpu_to_le32(val);
&priv->io_dmabuf->bits32, sizeof(val), 500);
&priv->io_dmabuf->bits32, sizeof(val), 500);
val = priv->io_dmabuf->bits32;