Lines Matching refs:cpi_base
57 u16 cpi_base[MAX_NUM_VFS_SUPPORTED]; member
477 u64 cpi_base, cpi, rssi_base, rssi; in nic_config_cpi() local
485 cpi_base = vnic * NIC_MAX_CPI_PER_LMAC; in nic_config_cpi()
492 ((u64)cfg->cpi_alg << 62) | (cpi_base << 48)); in nic_config_cpi()
513 cpi = cpi_base; in nic_config_cpi()
514 for (; cpi < (cpi_base + cpi_count); cpi++) { 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()
545 nic->cpi_base[cfg->vf_id] = cpi_base; in nic_config_cpi()
568 u64 cpi_cfg, cpi_base, rssi_base, rssi; in nic_config_rss() local
587 cpi_base = nic->cpi_base[cfg->vf_id]; in nic_config_rss()
592 cpi_cfg = nic_reg_read(nic, idx_addr | (cpi_base << 3)); in nic_config_rss()
595 nic_reg_write(nic, idx_addr | (cpi_base << 3), cpi_cfg); in nic_config_rss()