| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/bb/ |
| H A D | halbb_cmn_rpt.c | 367 u8 ofst = rate_i->idx; in halbb_rx_pkt_mu_cnt_rpt() local 386 ofst += (HE_VHT_NUM_MCS * (rate_i->ss - 1)); in halbb_rx_pkt_mu_cnt_rpt() 390 ofst = NOT_GREATER(ofst, VHT_RATE_NUM - 1); in halbb_rx_pkt_mu_cnt_rpt() 393 pkt_cnt->pkt_cnt_vht[ofst]++; in halbb_rx_pkt_mu_cnt_rpt() 398 ofst = NOT_GREATER(ofst, HE_RATE_NUM - 1); in halbb_rx_pkt_mu_cnt_rpt() 401 pkt_cnt->pkt_cnt_he[ofst]++; in halbb_rx_pkt_mu_cnt_rpt() 408 ofst = NOT_GREATER(ofst, LOW_BW_RATE_NUM - 1); in halbb_rx_pkt_mu_cnt_rpt() 411 pkt_cnt->pkt_cnt_sc20[ofst]++; in halbb_rx_pkt_mu_cnt_rpt() 414 pkt_cnt->pkt_cnt_sc40[ofst]++; in halbb_rx_pkt_mu_cnt_rpt() 842 u8 ofst = rate_i->idx; in halbb_rx_pkt_su_non_data_cnt_rpt() local [all …]
|
| H A D | halbb_ant_div.c | 1032 u8 ofst = rate_i->idx; in halbb_antdiv_get_rate_stat() local 1068 bb_rate_i->main_pkt_cnt_legacy[ofst]++; in halbb_antdiv_get_rate_stat() 1074 ofst += (HE_VHT_NUM_MCS * (rate_i->ss - 1)); in halbb_antdiv_get_rate_stat() 1078 ofst = NOT_GREATER(ofst, HT_RATE_NUM - 1); in halbb_antdiv_get_rate_stat() 1079 bb_rate_i->main_pkt_cnt_ht[ofst]++; in halbb_antdiv_get_rate_stat() 1081 ofst += ((ofst << 3) >> 2); in halbb_antdiv_get_rate_stat() 1083 bb_phy_rate_table[ofst + LEGACY_RATE_NUM]; in halbb_antdiv_get_rate_stat() 1086 ofst = NOT_GREATER(ofst, VHT_RATE_NUM - 1); in halbb_antdiv_get_rate_stat() 1087 bb_rate_i->main_pkt_cnt_vht[ofst]++; in halbb_antdiv_get_rate_stat() 1089 bb_phy_rate_table[ofst + LEGACY_RATE_NUM]; in halbb_antdiv_get_rate_stat() [all …]
|
| H A D | halbb_hw_cfg.c | 34 s8 ofst = 0; in halbb_cfg_bb_rpl_ofst() local 49 ofst = (s8)((data >> (8 * i)) & 0xff); in halbb_cfg_bb_rpl_ofst() 50 gain->rpl_ofst_40[band][path][rxsc] = ofst; in halbb_cfg_bb_rpl_ofst() 66 ofst = (s8)((data >> (8 * i)) & 0xff); in halbb_cfg_bb_rpl_ofst() 67 gain->rpl_ofst_80[band][path][rxsc] = ofst; in halbb_cfg_bb_rpl_ofst() 75 ofst = (s8)((data >> (8 * i)) & 0xff); in halbb_cfg_bb_rpl_ofst() 76 gain->rpl_ofst_80[band][path][rxsc] = ofst; in halbb_cfg_bb_rpl_ofst()
|
| H A D | halbb_interface.c | 62 u32 ofst = 0; in halbb_phy0_to_phy1_ofst() local 68 ofst = halbb_phy0_to_phy1_ofst_8852a(bb, addr); in halbb_phy0_to_phy1_ofst() 73 ofst = halbb_phy0_to_phy1_ofst_8852a_2(bb, addr); in halbb_phy0_to_phy1_ofst() 78 ofst = halbb_phy0_to_phy1_ofst_8852c(bb, addr); in halbb_phy0_to_phy1_ofst() 86 return ofst; in halbb_phy0_to_phy1_ofst()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/ |
| H A D | halbb_cmn_rpt.c | 367 u8 ofst = rate_i->idx; in halbb_rx_pkt_mu_cnt_rpt() local 386 ofst += (HE_VHT_NUM_MCS * (rate_i->ss - 1)); in halbb_rx_pkt_mu_cnt_rpt() 390 ofst = NOT_GREATER(ofst, VHT_RATE_NUM - 1); in halbb_rx_pkt_mu_cnt_rpt() 393 pkt_cnt->pkt_cnt_vht[ofst]++; in halbb_rx_pkt_mu_cnt_rpt() 398 ofst = NOT_GREATER(ofst, HE_RATE_NUM - 1); in halbb_rx_pkt_mu_cnt_rpt() 401 pkt_cnt->pkt_cnt_he[ofst]++; in halbb_rx_pkt_mu_cnt_rpt() 408 ofst = NOT_GREATER(ofst, LOW_BW_RATE_NUM - 1); in halbb_rx_pkt_mu_cnt_rpt() 411 pkt_cnt->pkt_cnt_sc20[ofst]++; in halbb_rx_pkt_mu_cnt_rpt() 414 pkt_cnt->pkt_cnt_sc40[ofst]++; in halbb_rx_pkt_mu_cnt_rpt() 842 u8 ofst = rate_i->idx; in halbb_rx_pkt_su_non_data_cnt_rpt() local [all …]
|
| H A D | halbb_ant_div.c | 1032 u8 ofst = rate_i->idx; in halbb_antdiv_get_rate_stat() local 1068 bb_rate_i->main_pkt_cnt_legacy[ofst]++; in halbb_antdiv_get_rate_stat() 1074 ofst += (HE_VHT_NUM_MCS * (rate_i->ss - 1)); in halbb_antdiv_get_rate_stat() 1078 ofst = NOT_GREATER(ofst, HT_RATE_NUM - 1); in halbb_antdiv_get_rate_stat() 1079 bb_rate_i->main_pkt_cnt_ht[ofst]++; in halbb_antdiv_get_rate_stat() 1081 ofst += ((ofst << 3) >> 2); in halbb_antdiv_get_rate_stat() 1083 bb_phy_rate_table[ofst + LEGACY_RATE_NUM]; in halbb_antdiv_get_rate_stat() 1086 ofst = NOT_GREATER(ofst, VHT_RATE_NUM - 1); in halbb_antdiv_get_rate_stat() 1087 bb_rate_i->main_pkt_cnt_vht[ofst]++; in halbb_antdiv_get_rate_stat() 1089 bb_phy_rate_table[ofst + LEGACY_RATE_NUM]; in halbb_antdiv_get_rate_stat() [all …]
|
| H A D | halbb_hw_cfg.c | 34 s8 ofst = 0; in halbb_cfg_bb_rpl_ofst() local 49 ofst = (s8)((data >> (8 * i)) & 0xff); in halbb_cfg_bb_rpl_ofst() 50 gain->rpl_ofst_40[band][path][rxsc] = ofst; in halbb_cfg_bb_rpl_ofst() 66 ofst = (s8)((data >> (8 * i)) & 0xff); in halbb_cfg_bb_rpl_ofst() 67 gain->rpl_ofst_80[band][path][rxsc] = ofst; in halbb_cfg_bb_rpl_ofst() 75 ofst = (s8)((data >> (8 * i)) & 0xff); in halbb_cfg_bb_rpl_ofst() 76 gain->rpl_ofst_80[band][path][rxsc] = ofst; in halbb_cfg_bb_rpl_ofst()
|
| H A D | halbb_interface.c | 62 u32 ofst = 0; in halbb_phy0_to_phy1_ofst() local 68 ofst = halbb_phy0_to_phy1_ofst_8852a(bb, addr); in halbb_phy0_to_phy1_ofst() 73 ofst = halbb_phy0_to_phy1_ofst_8852a_2(bb, addr); in halbb_phy0_to_phy1_ofst() 78 ofst = halbb_phy0_to_phy1_ofst_8852c(bb, addr); in halbb_phy0_to_phy1_ofst() 86 return ofst; in halbb_phy0_to_phy1_ofst()
|
| H A D | halbb_dig.c | 514 s8 ofst = 0; in halbb_dig_ofst_by_fa() local 518 ofst = -2; in halbb_dig_ofst_by_fa() 521 ofst = 0; in halbb_dig_ofst_by_fa() 524 ofst = 2; in halbb_dig_ofst_by_fa() 527 ofst = 4; in halbb_dig_ofst_by_fa() 530 ofst = 6; in halbb_dig_ofst_by_fa() 536 BB_DIG_DBG(bb, DIG_DBG_LV1, "fa=%d, ofst=%d\n", fa, ofst); in halbb_dig_ofst_by_fa() 538 return ofst; in halbb_dig_ofst_by_fa() 541 u8 halbb_dig_igi_by_ofst(struct bb_info *bb, u8 igi_pre, s8 ofst) in halbb_dig_igi_by_ofst() argument 552 igi_new = (u8)((s8)igi_pre + ofst); in halbb_dig_igi_by_ofst() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/fpga/ |
| H A D | dfl.c | 916 u32 ofst = FIELD_GET(DFH_NEXT_HDR_OFST, v); in feature_size() local 918 return ofst ? ofst : 4096; in feature_size() 939 resource_size_t ofst, u16 fid, in parse_feature_irqs() argument 942 void __iomem *base = binfo->ioaddr + ofst; in parse_feature_irqs() 1019 resource_size_t ofst, resource_size_t size, u16 fid) in create_feature_instance() argument 1026 size = size ? size : feature_size(binfo->ioaddr + ofst); in create_feature_instance() 1027 fid = fid ? fid : feature_id(binfo->ioaddr + ofst); in create_feature_instance() 1029 if (binfo->len - ofst < size) in create_feature_instance() 1032 ret = parse_feature_irqs(binfo, ofst, fid, &irq_base, &nr_irqs); in create_feature_instance() 1041 finfo->mmio_res.start = binfo->start + ofst; in create_feature_instance() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-uniphier/dram/ |
| H A D | cmd_ddrphy.c | 202 { int ofst = PHY_ ## x; void __iomem *reg = phy_base + ofst; \ 204 ofst >> PHY_REG_SHIFT, #x, \ 208 { int ofst = PHY_DX_BASE + PHY_DX_STRIDE * (dx) + \ 210 void __iomem *reg = phy_base + ofst; \ 212 ofst >> PHY_REG_SHIFT, (dx), #x, \
|
| H A D | cmd_ddrmphy.c | 228 { int ofst = MPHY_ ## x; void __iomem *reg = phy_base + ofst; \ 230 ofst >> MPHY_SHIFT, #x, reg, readl(reg)); } 233 { int ofst = MPHY_DX_BASE + MPHY_DX_STRIDE * (dx) + \ 235 void __iomem *reg = phy_base + ofst; \ 237 ofst >> MPHY_SHIFT, (dx), #x, reg, readl(reg)); }
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/halbb_8852b/ |
| H A D | halbb_reg_cfg_8852b.c | 46 u32 ofst = 0; in halbb_cfg_bb_phy_8852b() local 71 ofst = halbb_phy0_to_phy1_ofst(bb, addr); in halbb_cfg_bb_phy_8852b() 72 if (ofst == 0) in halbb_cfg_bb_phy_8852b() 74 addr += ofst; in halbb_cfg_bb_phy_8852b()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/bb/halbb_8852b/ |
| H A D | halbb_reg_cfg_8852b.c | 46 u32 ofst = 0; in halbb_cfg_bb_phy_8852b() local 71 ofst = halbb_phy0_to_phy1_ofst(bb, addr); in halbb_cfg_bb_phy_8852b() 72 if (ofst == 0) in halbb_cfg_bb_phy_8852b() 74 addr += ofst; in halbb_cfg_bb_phy_8852b()
|
| /OK3568_Linux_fs/kernel/drivers/irqchip/ |
| H A D | irq-mbigen.c | 82 unsigned int nid, irq_ofst, ofst; in get_mbigen_type_reg() local 89 ofst = irq_ofst / 32 * 4; in get_mbigen_type_reg() 91 *addr = ofst + nid * MBIGEN_NODE_OFFSET in get_mbigen_type_reg() 98 unsigned int ofst = (hwirq / 32) * 4; in get_mbigen_clear_reg() local 101 *addr = ofst + REG_MBIGEN_CLEAR_OFFSET; in get_mbigen_clear_reg()
|
| /OK3568_Linux_fs/kernel/drivers/nvme/target/ |
| H A D | trace.c | 126 u32 ofst = get_unaligned_le32(spc + 4); in nvmet_trace_fabrics_property_set() local 130 attrib, ofst, value); in nvmet_trace_fabrics_property_set() 156 u32 ofst = get_unaligned_le32(spc + 4); in nvmet_trace_fabrics_property_get() local 158 trace_seq_printf(p, "attrib=%u, ofst=0x%x", attrib, ofst); in nvmet_trace_fabrics_property_get()
|
| /OK3568_Linux_fs/kernel/drivers/nvme/host/ |
| H A D | trace.c | 186 u32 ofst = get_unaligned_le32(spc + 4); in nvme_trace_fabrics_property_set() local 190 attrib, ofst, value); in nvme_trace_fabrics_property_set() 214 u32 ofst = get_unaligned_le32(spc + 4); in nvme_trace_fabrics_property_get() local 216 trace_seq_printf(p, "attrib=%u, ofst=0x%x", attrib, ofst); in nvme_trace_fabrics_property_get()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/phydm/ |
| H A D | phydm_cck_pd.c | 248 u8 ofst = 0; 303 ofst = 0x2; 306 ofst = 0x1; 309 ofst = 0x0; 312 ofst = 0x3; 315 ofst = 0x4; 318 ((ofst_direc) ? "-" : "+"), ofst); 321 cs_ratio = cs_ratio + ofst; 323 cs_ratio = cs_ratio - ofst;
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/phydm/ |
| H A D | phydm_cck_pd.c | 233 u8 ofst = 0; 288 ofst = 0x2; 291 ofst = 0x1; 294 ofst = 0x0; 297 ofst = 0x3; 300 ofst = 0x4; 303 ((ofst_direc) ? "-" : "+"), ofst); 306 cs_ratio = cs_ratio + ofst; 308 cs_ratio = cs_ratio - ofst;
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/phydm/ |
| H A D | phydm_cck_pd.c | 233 u8 ofst = 0; 288 ofst = 0x2; 291 ofst = 0x1; 294 ofst = 0x0; 297 ofst = 0x3; 300 ofst = 0x4; 303 ((ofst_direc) ? "-" : "+"), ofst); 306 cs_ratio = cs_ratio + ofst; 308 cs_ratio = cs_ratio - ofst;
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/phydm/ |
| H A D | phydm_cck_pd.c | 234 u8 ofst = 0; 289 ofst = 0x2; 292 ofst = 0x1; 295 ofst = 0x0; 298 ofst = 0x3; 301 ofst = 0x4; 304 ((ofst_direc) ? "-" : "+"), ofst); 307 cs_ratio = cs_ratio + ofst; 309 cs_ratio = cs_ratio - ofst;
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/phydm/ |
| H A D | phydm_cck_pd.c | 253 u8 ofst = 0; 308 ofst = 0x2; 311 ofst = 0x1; 314 ofst = 0x0; 317 ofst = 0x3; 320 ofst = 0x4; 323 ((ofst_direc) ? "-" : "+"), ofst); 326 cs_ratio = cs_ratio + ofst; 328 cs_ratio = cs_ratio - ofst;
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/phydm/ |
| H A D | phydm_cck_pd.c | 253 u8 ofst = 0; 308 ofst = 0x2; 311 ofst = 0x1; 314 ofst = 0x0; 317 ofst = 0x3; 320 ofst = 0x4; 323 ((ofst_direc) ? "-" : "+"), ofst); 326 cs_ratio = cs_ratio + ofst; 328 cs_ratio = cs_ratio - ofst;
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/phydm/ |
| H A D | phydm_cck_pd.c | 233 u8 ofst = 0; 288 ofst = 0x2; 291 ofst = 0x1; 294 ofst = 0x0; 297 ofst = 0x3; 300 ofst = 0x4; 303 ((ofst_direc) ? "-" : "+"), ofst); 306 cs_ratio = cs_ratio + ofst; 308 cs_ratio = cs_ratio - ofst;
|
| /OK3568_Linux_fs/kernel/drivers/crypto/chelsio/ |
| H A D | chcr_algo.h | 121 #define FILL_SEC_CPL_OP_IVINSR(id, len, ofst) \ argument 129 CPL_TX_SEC_PDU_IVINSRTOFST_V((ofst)))
|