Lines Matching refs:rssi
477 u64 cpi_base, cpi, rssi_base, rssi; in nic_config_cpi() local
505 rssi = rssi_base; in nic_config_cpi()
506 for (; rssi < (rssi_base + cfg->rq_cnt); rssi++) { in nic_config_cpi()
507 nic_reg_write(nic, NIC_PF_RSSI_0_4097_RQ | (rssi << 3), in nic_config_cpi()
512 rssi = 0; in nic_config_cpi()
525 (rssi_base + rssi)); in nic_config_cpi()
532 (vnic << 24) | (rssi_base + rssi)); in nic_config_cpi()
535 if ((rssi + 1) >= cfg->rq_cnt) in nic_config_cpi()
539 rssi++; in nic_config_cpi()
541 rssi = ((cpi - cpi_base) & 0xe) >> 1; in nic_config_cpi()
543 rssi = ((cpi - cpi_base) & 0x38) >> 3; in nic_config_cpi()
568 u64 cpi_cfg, cpi_base, rssi_base, rssi; in nic_config_rss() local
573 rssi = rssi_base; in nic_config_rss()
575 for (; rssi < (rssi_base + cfg->tbl_len); rssi++) { in nic_config_rss()
582 nic_reg_write(nic, NIC_PF_RSSI_0_4097_RQ | (rssi << 3), in nic_config_rss()