Home
last modified time | relevance | path

Searched refs:val32 (Results 1 – 17 of 17) sorted by relevance

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_dhcpv6.c590 uint32_t val32; in show_options() local
640 if (olen < sizeof (val32)) in show_options()
642 (void) memcpy(&val32, data, sizeof (val32)); in show_options()
643 data += sizeof (val32); in show_options()
644 olen -= sizeof (val32); in show_options()
645 timevalue = ntohl(val32) + DUID_TIME_BASE; in show_options()
648 " Time = %lu (%.24s)", ntohl(val32), in show_options()
652 if (olen < sizeof (val32)) in show_options()
654 (void) memcpy(&val32, data, sizeof (val32)); in show_options()
655 data += sizeof (val32); in show_options()
[all …]
/titanic_41/usr/src/uts/common/io/rge/
H A Drge_chip.c195 uint32_t val32; in rge_mii_get16() local
206 val32 = rge_reg_get32(rgep, PHY_ACCESS_REG); in rge_mii_get16()
207 if (val32 & PHY_ACCESS_WR_FLAG) in rge_mii_get16()
208 return ((uint16_t)(val32 & 0xffff)); in rge_mii_get16()
211 RGE_REPORT((rgep, "rge_mii_get16(0x%x) fail, val = %x", mii, val32)); in rge_mii_get16()
222 uint32_t val32; in rge_mii_put16() local
235 val32 = rge_reg_get32(rgep, PHY_ACCESS_REG); in rge_mii_put16()
236 if (!(val32 & PHY_ACCESS_WR_FLAG)) in rge_mii_put16()
250 uint32_t val32; in rge_ephy_put16() local
263 val32 = rge_reg_get32(rgep, EPHY_ACCESS_REG); in rge_ephy_put16()
[all …]
/titanic_41/usr/src/uts/common/io/rtls/
H A Drtls.c802 uint32_t val32 = rtls_reg_get32(rtlsp, RX_CONFIG_REG); in rtls_m_promisc() local
804 val32 |= RX_ACCEPT_ALL_PACKET; in rtls_m_promisc()
806 val32 &= ~RX_ACCEPT_ALL_PACKET; in rtls_m_promisc()
808 rtls_reg_set32(rtlsp, RX_CONFIG_REG, val32); in rtls_m_promisc()
1399 uint32_t val32; in rtls_intr() local
1443 val32 = rtls_reg_get32(rtlsp, TX_CONFIG_REG); in rtls_intr()
1444 val32 |= TX_CLEAR_ABORT; in rtls_intr()
1445 rtls_reg_set32(rtlsp, TX_CONFIG_REG, val32); in rtls_intr()
1700 uint32_t val32; in rtls_chip_init() local
1735 val32 = rtls_reg_get32(rtlsp, TX_CONFIG_REG); in rtls_chip_init()
[all …]
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/
H A Dbcm_utils.h72 static __inline u32_t SWAP_BYTES32(u32_t val32) in SWAP_BYTES32() argument
74 return ((SWAP_BYTES16(val32 & 0x0000ffff) << 16) | in SWAP_BYTES32()
75 (SWAP_BYTES16((val32 & 0xffff0000) >> 16))); in SWAP_BYTES32()
/titanic_41/usr/src/uts/common/io/chxge/com/
H A Dpm3393.c216 u32 val32; in pm3393_interrupt_clear() local
221 (void) pmread(cmac, SUNI1x10GEXP_REG_SERDES_3125_INTERRUPT_STATUS, &val32); in pm3393_interrupt_clear()
222 (void) pmread(cmac, SUNI1x10GEXP_REG_XRF_INTERRUPT_STATUS, &val32); in pm3393_interrupt_clear()
223 (void) pmread(cmac, SUNI1x10GEXP_REG_XRF_DIAG_INTERRUPT_STATUS, &val32); in pm3393_interrupt_clear()
224 (void) pmread(cmac, SUNI1x10GEXP_REG_RXOAM_INTERRUPT_STATUS, &val32); in pm3393_interrupt_clear()
225 (void) pmread(cmac, SUNI1x10GEXP_REG_PL4ODP_INTERRUPT, &val32); in pm3393_interrupt_clear()
226 (void) pmread(cmac, SUNI1x10GEXP_REG_XTEF_INTERRUPT_STATUS, &val32); in pm3393_interrupt_clear()
227 (void) pmread(cmac, SUNI1x10GEXP_REG_IFLX_FIFO_OVERFLOW_INTERRUPT, &val32); in pm3393_interrupt_clear()
228 (void) pmread(cmac, SUNI1x10GEXP_REG_TXOAM_INTERRUPT_STATUS, &val32); in pm3393_interrupt_clear()
229 (void) pmread(cmac, SUNI1x10GEXP_REG_RXXG_INTERRUPT, &val32); in pm3393_interrupt_clear()
[all …]
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge_gld.c221 uint32_t val32; in ql_m_getstat() local
359 &val32); in ql_m_getstat()
360 val = val32; in ql_m_getstat()
380 &val32); in ql_m_getstat()
381 val += val32; in ql_m_getstat()
382 (void) ql_read_xgmac_reg(qlge, REG_XGMAC_MAC_FCS_ERR, &val32); in ql_m_getstat()
383 val += val32; in ql_m_getstat()
385 &val32); in ql_m_getstat()
386 val += val32; in ql_m_getstat()
388 &val32); in ql_m_getstat()
[all …]
H A Dqlge.c6126 uint32_t val32; in ql_kstats_get_reg_and_dev_stats() local
6148 (void) ql_read_xgmac_reg(qlge, REG_XGMAC_FLOW_CONTROL, &val32); in ql_kstats_get_reg_and_dev_stats()
6149 (knp++)->value.ui32 = val32; in ql_kstats_get_reg_and_dev_stats()
6151 (void) ql_read_xgmac_reg(qlge, REG_XGMAC_MAC_TX_PAUSE_PKTS, &val32); in ql_kstats_get_reg_and_dev_stats()
6152 (knp++)->value.ui32 = val32; in ql_kstats_get_reg_and_dev_stats()
6154 (void) ql_read_xgmac_reg(qlge, REG_XGMAC_MAC_RX_PAUSE_PKTS, &val32); in ql_kstats_get_reg_and_dev_stats()
6155 (knp++)->value.ui32 = val32; in ql_kstats_get_reg_and_dev_stats()
6157 (void) ql_read_xgmac_reg(qlge, REG_XGMAC_MAC_RX_FIFO_DROPS, &val32); in ql_kstats_get_reg_and_dev_stats()
6158 (knp++)->value.ui32 = val32; in ql_kstats_get_reg_and_dev_stats()
6184 val32 += rx_ring->rx_packets_dropped_no_buffer; in ql_kstats_get_reg_and_dev_stats()
[all …]
/titanic_41/usr/src/uts/common/io/fibre-channel/impl/
H A Dfp.c7289 fc_port_dev32_t *val32; in fp_fciocmd() local
7296 if (fcio->fcio_olen != sizeof (*val32) || in fp_fciocmd()
7336 val32 = kmem_zalloc(sizeof (*val32), KM_SLEEP); in fp_fciocmd()
7338 val32->dev_did = val->dev_did; in fp_fciocmd()
7339 val32->dev_hard_addr = val->dev_hard_addr; in fp_fciocmd()
7340 val32->dev_pwwn = val->dev_pwwn; in fp_fciocmd()
7341 val32->dev_nwwn = val->dev_nwwn; in fp_fciocmd()
7342 val32->dev_state = val->dev_state; in fp_fciocmd()
7343 val32->dev_did.priv_lilp_posit = in fp_fciocmd()
7346 bcopy(val->dev_type, val32->dev_type, in fp_fciocmd()
[all …]
/titanic_41/usr/src/uts/common/io/cardbus/
H A Dcardbus.c1008 int32_t val32; in cardbus_ctlops() local
1021 val32 = ddi_getprop(DDI_DEV_T_ANY, rdip, in cardbus_ctlops()
1024 if (val32 != -1) { in cardbus_ctlops()
1026 val32); in cardbus_ctlops()
1029 val32 = ddi_getprop(DDI_DEV_T_ANY, rdip, in cardbus_ctlops()
1032 if (val32 != -1) { in cardbus_ctlops()
1034 val32); in cardbus_ctlops()
1037 val32 = ddi_getprop(DDI_DEV_T_ANY, rdip, in cardbus_ctlops()
1040 if (val32 != -1) { in cardbus_ctlops()
1049 " Class 0x%x", val32 >> 8); in cardbus_ctlops()
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_recv.c41 u32_t val32 = 0; in lm_rx_set_prods() local
62 val32 = ((u32_t)(val16_hi << 16) | val16_lo); in lm_rx_set_prods()
67 val64 = (((u64_t)lm_bd_chain_prod_idx(rx_chain_sge))<<32) | val32 ; in lm_rx_set_prods()
78 val32, in lm_rx_set_prods()
/titanic_41/usr/src/grub/grub-0.97/netboot/
H A Dr8169.c123 #define RTL_W32(reg, val32) writel ((val32), ioaddr + (reg)) argument
/titanic_41/usr/src/uts/common/io/
H A Dpm.c1803 int32_t val32; /* int32 value to be copied out */ in pm_ioctl() local
1838 val32 = cp->pmc_comp.pmc_numlevels - 1; in pm_ioctl()
1839 vaddr = (caddr_t)&val32; in pm_ioctl()
1861 val32 = thp[j + 1]; in pm_ioctl()
1862 vaddr = (caddr_t)&val32; in pm_ioctl()
1887 val32 = 0; in pm_ioctl()
1888 vaddr = (caddr_t)&val32; in pm_ioctl()
/titanic_41/usr/src/uts/common/io/bge/
H A Dbge_chip2.c803 uint32_t val32; in bge_mbx_get() local
812 val32 = ddi_get32(bgep->io_handle, PIO_ADDR(bgep, regno+4)); in bge_mbx_get()
814 val32 = ddi_get32(bgep->io_handle, PIO_ADDR(bgep, regno)); in bge_mbx_get()
819 (void *)bgep, regno, val32)); in bge_mbx_get()
821 return (val32); in bge_mbx_get()
3184 uint32_t val32; in bge_chip_reset_engine() local
3220 val32 = bge_reg_get32(bgep, in bge_chip_reset_engine()
3222 if (val32 == (PHY_PCIE_SCRAM_MODE | in bge_chip_reset_engine()
3227 val32 = pci_config_get32 in bge_chip_reset_engine()
3230 val32 |= CLKCTL_PCIE_A0_FIX; in bge_chip_reset_engine()
[all …]
/titanic_41/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-device.c6560 u32 val32; in xge_hal_mask_msix() local
6564 val32 = xge_os_pio_mem_read32(hldev->pdev, hldev->regh2, &bar2[msi_id*4+3]); in xge_hal_mask_msix()
6565 val32 |= 1; in xge_hal_mask_msix()
6566 xge_os_pio_mem_write32(hldev->pdev, hldev->regh2, val32, &bar2[msi_id*4+3]); in xge_hal_mask_msix()
6590 u32 val32; in xge_hal_unmask_msix() local
6594 val32 = xge_os_pio_mem_read32(hldev->pdev, hldev->regh2, &bar2[msi_id*4+3]); in xge_hal_unmask_msix()
6595 val32 &= ~1; in xge_hal_unmask_msix()
6596 xge_os_pio_mem_write32(hldev->pdev, hldev->regh2, val32, &bar2[msi_id*4+3]); in xge_hal_unmask_msix()
/titanic_41/usr/src/uts/common/fs/doorfs/
H A Ddoor_sys.c1065 size32_t val32 = (size32_t)val; in door_getparam() local
1067 if (val != val32) in door_getparam()
1070 if (copyout(&val32, out, sizeof (val32))) in door_getparam()
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4sp.c716 u32_t val32; in _lm_set_ofld_params_ustorm_toe() local
725 val32 = lm_time_resolution(pdev, l4_params->push_ticks, 1000, 1000); in _lm_set_ofld_params_ustorm_toe()
728 … LM_INTMEM_WRITE32(pdev, USTORM_TOE_TCP_PUSH_TIMER_TICKS_OFFSET(func), val32, BAR_USTRORM_INTMEM); in _lm_set_ofld_params_ustorm_toe()
970 u32_t val32, max_reg, tmr_reg, delayed_ack_ticks; in _lm_set_ofld_params_xstorm_common() local
1009 val32 = lm_time_resolution(pdev, l4_params->sws_prevention_ticks, 1000 , TIMERS_TICKS_PER_SEC); in _lm_set_ofld_params_xstorm_common()
1012 LM_INTMEM_WRITE32(pdev, XSTORM_TCP_TX_SWS_TIMER_VAL_OFFSET(func), val32, BAR_XSTRORM_INTMEM); in _lm_set_ofld_params_xstorm_common()
/titanic_41/usr/src/cmd/zfs/
H A Dzfs_main.c2561 uint32_t val32; in print_us_node() local
2574 (void) nvpair_value_uint32(nvp, &val32); in print_us_node()
2588 strval = (char *)us_type2str(val32); in print_us_node()