Home
last modified time | relevance | path

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

/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/
Drtw_p2p.c524 u16 val16 = 0; in build_beacon_wfd_ie() local
562 val16 = pwfd_info->wfd_device_type | WFD_DEVINFO_WSD; in build_beacon_wfd_ie()
563 RTW_PUT_BE16(wfdie + wfdielen, val16); in build_beacon_wfd_ie()
566 val16 = pwfd_info->wfd_device_type | WFD_DEVINFO_SESSION_AVAIL | WFD_DEVINFO_WSD; in build_beacon_wfd_ie()
567 RTW_PUT_BE16(wfdie + wfdielen, val16); in build_beacon_wfd_ie()
572 val16 = pwfd_info->wfd_device_type | WFD_DEVINFO_SESSION_AVAIL | WFD_DEVINFO_WSD; in build_beacon_wfd_ie()
573 RTW_PUT_BE16(wfdie + wfdielen, val16); in build_beacon_wfd_ie()
638 u16 val16 = 0; in build_probe_req_wfd_ie() local
675 val16 = pwfd_info->wfd_device_type | in build_probe_req_wfd_ie()
679 RTW_PUT_BE16(wfdie + wfdielen, val16); in build_probe_req_wfd_ie()
[all …]
Drtw_rm.c1273 u16 val16; in rm_gen_bcn_rep_ie() local
1289 val16 = prm->meas_end_time - prm->meas_start_time; in rm_gen_bcn_rep_ie()
1290 val16 = cpu_to_le16(val16); in rm_gen_bcn_rep_ie()
1291 pframe = rtw_set_fixed_ie(pframe, 2, (u8*)&val16, &my_len); in rm_gen_bcn_rep_ie()
1991 u16 val16; in issue_radio_meas_req() local
2013 val16 = cpu_to_le16(prm->q.rpt); in issue_radio_meas_req()
2015 (unsigned char *)&(val16), &pattr->pktlen); in issue_radio_meas_req()
2023 val16 = cpu_to_le16(prm->q.rand_intvl); /* TU */ in issue_radio_meas_req()
2024 pframe = rtw_set_fixed_ie(pframe, 2, (u8 *)&val16, &my_len); in issue_radio_meas_req()
2027 val16 = cpu_to_le16(prm->q.meas_dur); in issue_radio_meas_req()
[all …]
Drtw_mlme_ext.c9126 unsigned short val16; in issue_auth() local
9168 val16 = (u16)psta->authalg; in issue_auth()
9171 val16 = 0; in issue_auth()
9173 if (val16) { in issue_auth()
9174 val16 = cpu_to_le16(val16); in issue_auth()
9178 pframe = rtw_set_fixed_ie(pframe, _AUTH_ALGM_NUM_, (unsigned char *)&val16, &(pattrib->pktlen)); in issue_auth()
9181 val16 = (u16)psta->auth_seq; in issue_auth()
9182 val16 = cpu_to_le16(val16); in issue_auth()
9183 pframe = rtw_set_fixed_ie(pframe, _AUTH_SEQ_NUM_, (unsigned char *)&val16, &(pattrib->pktlen)); in issue_auth()
9186 val16 = status; in issue_auth()
[all …]
Drtw_beamforming.c35 u16 val16; in _get_txvector_parameter() local
56 val16 = ((bssid[5] & 0xF0) >> 4) ^ (bssid[5] & 0xF); in _get_txvector_parameter()
58 *p_aid = (aid + (val16 << 5)) & 0x1FF; in _get_txvector_parameter()
1073 u16 val16; in _bfer_add_entry() local
1258 u16 val16; in _bfee_add_entry() local
Drtw_ieee80211.c729 u16 val16; in rtw_get_wpa_ie() local
745 _rtw_memcpy((u8 *)&val16, (pbuf + 6), sizeof(val16)); in rtw_get_wpa_ie()
747 val16 = le16_to_cpu(val16); in rtw_get_wpa_ie()
748 if (val16 != 0x0001) in rtw_get_wpa_ie()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Dbcmutils.c1090 uint16 idx, val16; in id16_map_init() local
1118 val16 = start_val16; in id16_map_init()
1120 for (idx = 0; idx < total_ids; idx++, val16++) { in id16_map_init()
1122 id16_map->stack[id16_map->stack_idx] = val16; in id16_map_init()
1174 uint16 idx, val16; in id16_map_clear() local
1197 val16 = start_val16; in id16_map_clear()
1199 for (idx = 0; idx < total_ids; idx++, val16++) { in id16_map_clear()
1201 id16_map->stack[id16_map->stack_idx] = val16; in id16_map_clear()
1222 uint16 val16; in id16_map_alloc() local
1238 val16 = id16_map->stack[id16_map->stack_idx]; in id16_map_alloc()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Dbcmutils.c3307 uint16 idx, val16; in id16_map_init() local
3335 val16 = start_val16; in id16_map_init()
3337 for (idx = 0; idx < total_ids; idx++, val16++) { in id16_map_init()
3339 id16_map->stack[id16_map->stack_idx] = val16; in id16_map_init()
3391 uint16 idx, val16; in id16_map_clear() local
3414 val16 = start_val16; in id16_map_clear()
3416 for (idx = 0; idx < total_ids; idx++, val16++) { in id16_map_clear()
3418 id16_map->stack[id16_map->stack_idx] = val16; in id16_map_clear()
3439 uint16 val16; in id16_map_alloc() local
3453 val16 = id16_map->stack[id16_map->stack_idx]; in id16_map_alloc()
[all …]
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Dbcmutils.c1076 uint16 idx, val16; in id16_map_init() local
1104 val16 = start_val16; in id16_map_init()
1106 for (idx = 0; idx < total_ids; idx++, val16++) { in id16_map_init()
1108 id16_map->stack[id16_map->stack_idx] = val16; in id16_map_init()
1160 uint16 idx, val16; in id16_map_clear() local
1183 val16 = start_val16; in id16_map_clear()
1185 for (idx = 0; idx < total_ids; idx++, val16++) { in id16_map_clear()
1187 id16_map->stack[id16_map->stack_idx] = val16; in id16_map_clear()
1208 uint16 val16; in id16_map_alloc() local
1224 val16 = id16_map->stack[id16_map->stack_idx]; in id16_map_alloc()
[all …]
/device/soc/rockchip/rk3588/kernel/drivers/net/ethernet/realtek/r8168/
Dr8168_dash.h243 #define RTL_CMAC_W16(tp, reg, val16) writew ((val16), tp->cmac_ioaddr + (reg)) argument
Dr8168.h448 #define RTL_W16(tp, reg, val16) writew((val16), tp->mmio_addr + (reg)) argument
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/rtl8822c/
Drtl8822c_phy.c1635 u16 val16; in _config_beamformer_mu() local
1692 u16 val16; in _config_beamformee_su() local
1758 u16 val16; in _config_beamformee_mu() local
1839 val16 = rtw_read16(adapter, mu_reg[idx]); in _config_beamformee_mu()
1840 val16 &= 0xFE00; /* Clear PAID */ in _config_beamformee_mu()
1841 val16 |= BIT(9); /* Enable MU BFee */ in _config_beamformee_mu()
1842 val16 |= bfee->p_aid; in _config_beamformee_mu()
1843 rtw_write16(adapter, mu_reg[idx], val16); in _config_beamformee_mu()
1845 __FUNCTION__, mu_reg[idx], val16); in _config_beamformee_mu()
2246 u16 val16; in rtl8822c_phy_bf_sounding_status() local
[all …]
Drtl8822c_ops.c915 u16 val16; in InitBeaconParameters() local
920 val16 = val8 | (val8 << 8); /* port0 and port1 */ in InitBeaconParameters()
924 val16 |= EN_BCN_FUNCTION; in InitBeaconParameters()
926 rtw_write16(adapter, REG_BCN_CTRL_8822C, val16); in InitBeaconParameters()
1196 u16 val16; in set_opmode_port0() local
1281 val16 = rtw_read16(adapter, REG_RXFLTMAP1_8822C); in set_opmode_port0()
1282 val16 |= BIT_CTRLFLT10EN_8822C; in set_opmode_port0()
1283 rtw_write16(adapter, REG_RXFLTMAP1_8822C, val16); in set_opmode_port0()
1712 u16 val16; in hw_var_set_mlme_join() local
1784 val16 = BIT_LRL_8822C(RetryLimit) | BIT_SRL_8822C(RetryLimit); in hw_var_set_mlme_join()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/wlan/
Dfwio.c561 u16 val16 = 0; in xradio_load_firmware() local
636 ret = xradio_reg_read_16(hw_priv, HIF_CONTROL_REG_ID, &val16); in xradio_load_firmware()
642 if (val16 & HIF_CTRL_RDY_BIT) { in xradio_load_firmware()
647 if ((val16 & HIF_CTRL_RDY_BIT) == 0) { in xradio_load_firmware()
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Dbcmutils.c2115 uint16 idx, val16; in id16_map_init() local
2143 val16 = start_val16; in id16_map_init()
2145 for (idx = 0; idx < total_ids; idx++, val16++) { in id16_map_init()
2147 id16_map->stack[id16_map->stack_idx] = val16; in id16_map_init()
2198 uint16 idx, val16; in id16_map_clear() local
2221 val16 = start_val16; in id16_map_clear()
2223 for (idx = 0; idx < total_ids; idx++, val16++) { in id16_map_clear()
2225 id16_map->stack[id16_map->stack_idx] = val16; in id16_map_clear()
2246 uint16 val16; in BCMFASTPATH() local
2260 val16 = id16_map->stack[id16_map->stack_idx]; in BCMFASTPATH()
[all …]
Dsiutils.c6409 uint16 val16; in si_pci_fixcfg() local
6437 val16 = R_REG(sii->osh, reg16); in si_pci_fixcfg()
6438 if (((val16 & SRSH_PI_MASK) >> SRSH_PI_SHIFT) != (uint16)pciidx) { in si_pci_fixcfg()
6440 val16 = (uint16)(pciidx << SRSH_PI_SHIFT) | (val16 & ~SRSH_PI_MASK); in si_pci_fixcfg()
6441 W_REG(sii->osh, reg16, val16); in si_pci_fixcfg()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/
Dhal_com.c5608 u16 val16 = 0; in rtw_hal_update_tx_iv() local
5620 val16 = ((u16)(paoac_rpt->iv[2]) << 0) + in rtw_hal_update_tx_iv()
5627 val16 = ((u16)(paoac_rpt->iv[0]) << 0) + in rtw_hal_update_tx_iv()
5636 txiv = val16 + ((u64)val32 << 16); in rtw_hal_update_tx_iv()
12667 u16 val16, val16_ori; in hw_var_set_bcn_func() local
12669 val16_ori = val16 = rtw_read16(adapter, REG_WLAN_ACT_MASK_CTRL_1); in hw_var_set_bcn_func()
12674 val16 |= EN_PORT_1_FUNCTION; in hw_var_set_bcn_func()
12676 val16 &= ~EN_PORT_1_FUNCTION; in hw_var_set_bcn_func()
12681 val16 |= EN_PORT_0_FUNCTION; in hw_var_set_bcn_func()
12683 val16 &= ~EN_PORT_0_FUNCTION; in hw_var_set_bcn_func()
[all …]
Dhal_halmac.c881 u16 val16; in _read_register() local
912 val16 = cpu_to_le16(rtw_read16(a, addr+i)); in _read_register()
913 _rtw_memcpy(&buf[i], &val16, 2); in _read_register()
1002 u16 val16 = 0; in rtw_halmac_iread16() local
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/include/
Dbcmutils.h1043 extern void id16_map_free(void *id16_map_hndl, uint16 val16);
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
Dbcmutils.h1066 extern void id16_map_free(void * id16_map_hndl, uint16 val16);
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/include/
Dbcmutils.h1105 extern void id16_map_free(void * id16_map_hndl, uint16 val16);
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/include/
Dbcmutils.h1261 extern void id16_map_free(void * id16_map_hndl, uint16 val16);