Home
last modified time | relevance | path

Searched refs:val16 (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/contrib/alpine-hal/
H A Dal_hal_serdes_25g.c1500 uint16_t val16, sign; in al_serdes_25g_tx_diag_info_get() local
1516 &val16); in al_serdes_25g_tx_diag_info_get()
1523 abs = val16 & AL_SERDES_25G_TX_DIAG_GCFSM2_DCD_TRIM_MASK; in al_serdes_25g_tx_diag_info_get()
1524 sign = (val16 & AL_BIT(AL_SERDES_25G_TX_DIAG_GCFSM2_DCD_TRIM_SIGN_SHIFT)) >> in al_serdes_25g_tx_diag_info_get()
1535 &val16); in al_serdes_25g_tx_diag_info_get()
1541 info->clk_delay = val16 & AL_SERDES_25G_TX_DIAG_GCFSM2_CLK_DELAY_MASK; in al_serdes_25g_tx_diag_info_get()
1632 uint16_t val16; in al_serdes_25g_rx_diag_info_get() local
1657 &val16); in al_serdes_25g_rx_diag_info_get()
1663 val8 = (uint8_t)val16; in al_serdes_25g_rx_diag_info_get()
1671 &val16); in al_serdes_25g_rx_diag_info_get()
[all …]
/freebsd/sys/dev/bwi/
H A Dbwimac.c1189 uint16_t val16; in bwi_mac_fw_load_iv() local
1191 if (iv_img_size < sizeof(iv->iv_val.val16)) { in bwi_mac_fw_load_iv()
1196 iv_img_size -= sizeof(iv->iv_val.val16); in bwi_mac_fw_load_iv()
1197 sz += sizeof(iv->iv_val.val16); in bwi_mac_fw_load_iv()
1199 val16 = be16toh(iv->iv_val.val16); in bwi_mac_fw_load_iv()
1200 CSR_WRITE_2(sc, ofs, val16); in bwi_mac_fw_load_iv()
H A Dif_bwivar.h306 uint16_t val16; member
/freebsd/sys/contrib/dev/rtw89/
H A Ddebug.c2468 u16 val16; in rtw89_debug_mac_dbg_port_sel()
2474 val16 = rtw89_read16(rtwdev, R_AX_PTCL_DBG); in rtw89_debug_mac_dbg_port_sel()
2475 val16 |= B_AX_PTCL_DBG_EN; in rtw89_debug_mac_dbg_port_sel()
2476 rtw89_write16(rtwdev, R_AX_PTCL_DBG, val16); in rtw89_debug_mac_dbg_port_sel()
2481 val16 = rtw89_read16(rtwdev, R_AX_PTCL_DBG_C1); in rtw89_debug_mac_dbg_port_sel()
2482 val16 |= B_AX_PTCL_DBG_EN; in rtw89_debug_mac_dbg_port_sel()
2483 rtw89_write16(rtwdev, R_AX_PTCL_DBG_C1, val16); in rtw89_debug_mac_dbg_port_sel()
3021 val16 = rtw89_read16(rtwdev, R_AX_PCIE_DBG_CTRL); in rtw89_hex2bin_user()
3022 val16 = u16_replace_bits(val16, PCIE_MISC2_DBG_SE in rtw89_hex2bin_user()
2213 u16 val16; rtw89_debug_mac_dbg_port_sel() local
2815 u16 val16; rtw89_debug_mac_dbg_port_dump() local
[all...]
H A Dpci.c2261 u16 val16, mgn_set, div_set, tar; in rtw89_pci_autoload_hang()
2302 ret = rtw89_read16_mdio(rtwdev, RAC_CTRL_PPR_V1, phy_rate, &val16); in rtw89_pci_set_sic()
2308 if (val16 & B_AX_CALIB_EN) { in rtw89_pci_set_sic()
2310 val16 & ~B_AX_CALIB_EN, phy_rate);
2354 ret = rtw89_read16_mdio(rtwdev, RAC_CTRL_PPR_V1, phy_rate, &val16); in rtw89_pci_set_io_rcy()
2360 val16 |= u16_encode_bits(div_set, B_AX_DIV); in rtw89_pci_set_dbg()
2362 ret = rtw89_write16_mdio(rtwdev, RAC_CTRL_PPR_V1, val16, phy_rate); in rtw89_pci_set_dbg()
3829 u16 val16, filter_out_val; in rtw89_pci_suspend()
3849 val16 = rtw89_read16(rtwdev, phy_offset + RAC_ANA10 * RAC_MULT); in rtw89_pci_resume()
3851 val16 | B_PCIE_BIT_PINOUT_DI in rtw89_pci_resume()
2003 u16 val16, mgn_set, div_set, tar; rtw89_pci_auto_refclk_cal() local
3434 u16 val16, filter_out_val; rtw89_pci_filter_out() local
[all...]
H A Dmac.c5530 u16 val16; in rtw89_mac_get_tx_retry_limit()
5543 val16 = rtw89_read16(rtwdev, R_AX_CCA_CFG_0); in rtw89_mac_get_tx_retry_limit()
5544 val16 = (val16 | B_AX_BTCCA_EN) & ~B_AX_BTCCA_BRK_TXOP_EN; in rtw89_mac_get_tx_retry_limit()
5545 rtw89_write16(rtwdev, R_AX_CCA_CFG_0, val16); in rtw89_mac_get_tx_retry_limit()
5580 val16 = rtw89_read16(rtwdev, R_AX_CSR_MODE); in rtw89_mac_write_xtal_si()
5581 val16 &= ~B_AX_BT_PRI_DETECT_TO_MASK; in rtw89_mac_write_xtal_si()
5582 val16 |= FIELD_PREP(B_AX_BT_PRI_DETECT_TO_MASK, MAC_AX_CSR_PRI_TO); in rtw89_mac_write_xtal_si()
5583 val16 &= ~B_AX_BT_TRX_INIT_DETECT_MASK; in rtw89_mac_write_xtal_si()
5584 val16 | in rtw89_mac_write_xtal_si()
4843 u16 val16; rtw89_mac_coex_init() local
[all...]
H A Dfw.c918 u16 val16; rtw89_fw_dl_fail_dump() local
/freebsd/sys/dev/bxe/
H A Dbxe_elink.c4719 uint16_t val16, i, lane; in elink_warpcore_set_10G_KR() local
4743 MDIO_WC_REG_XGXSBLK1_LANECTRL0, &val16); in elink_warpcore_set_10G_KR()
4744 val16 &= ~(0x0011 << lane); in elink_warpcore_set_10G_KR()
4746 MDIO_WC_REG_XGXSBLK1_LANECTRL0, val16); in elink_warpcore_set_10G_KR()
4749 MDIO_WC_REG_XGXSBLK1_LANECTRL1, &val16); in elink_warpcore_set_10G_KR()
4750 val16 |= (0x0303 << (lane << 1)); in elink_warpcore_set_10G_KR()
4752 MDIO_WC_REG_XGXSBLK1_LANECTRL1, val16); in elink_warpcore_set_10G_KR()
5030 uint16_t val16, digctrl_kx1, digctrl_kx2; in elink_warpcore_set_sgmii_speed() local
5046 MDIO_WC_REG_COMBO_IEEE0_MIICTRL, &val16); in elink_warpcore_set_sgmii_speed()
5047 val16 &= 0xcebf; in elink_warpcore_set_sgmii_speed()
[all …]
/freebsd/sys/netgraph/
H A Dng_parse.c432 int16_t val16; in ng_int16_parse() local
440 val16 = (int16_t)val; in ng_int16_parse()
441 bcopy(&val16, buf, sizeof(int16_t)); in ng_int16_parse()
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_sa.c1262 ib_net16_t val16; in osm_sa_db_file_load() local
1308 PARSE_AHEAD(p, net16, " pkey_ix=0x", &val16); in osm_sa_db_file_load()
1309 rep_addr.addr_type.gsi.pkey_ix = cl_ntoh16(val16); in osm_sa_db_file_load()
/freebsd/sys/dev/sdhci/
H A Dsdhci.c2357 uint16_t val16; local
2410 val16 = RD2(slot, SDHCI_ACMD12_ERR);
2412 sdhci_acmd_irq(slot, val16);