Lines Matching refs:ret32
483 uint32_t ret32; in vmxnet3_refresh_linkstate() local
486 ret32 = VMXNET3_BAR1_GET32(dp, VMXNET3_REG_CMD); in vmxnet3_refresh_linkstate()
487 if (ret32 & 1) { in vmxnet3_refresh_linkstate()
489 dp->linkSpeed = (ret32 >> 16) * 1000000ULL; in vmxnet3_refresh_linkstate()
510 uint32_t ret32; in vmxnet3_start() local
580 ret32 = VMXNET3_BAR1_GET32(dp, VMXNET3_REG_CMD); in vmxnet3_start()
581 if (ret32) { in vmxnet3_start()
582 VMXNET3_WARN(dp, "ACTIVATE_DEV failed: 0x%x\n", ret32); in vmxnet3_start()
1244 uint32_t ret32; in vmxnet3_attach() local
1335 ret32 = VMXNET3_BAR1_GET32(dp, VMXNET3_REG_MACL); in vmxnet3_attach()
1336 *((uint32_t *)(dp->macaddr + 0)) = ret32; in vmxnet3_attach()
1337 ret32 = VMXNET3_BAR1_GET32(dp, VMXNET3_REG_MACH); in vmxnet3_attach()
1338 *((uint16_t *)(dp->macaddr + 4)) = ret32; in vmxnet3_attach()
1373 ret32 = VMXNET3_BAR1_GET32(dp, VMXNET3_REG_CMD); in vmxnet3_attach()
1374 switch (ret32 & 0x3) { in vmxnet3_attach()
1404 dp->intrMaskMode = (ret32 >> 2) & 0x3; in vmxnet3_attach()