• Home
  • Raw
  • Download

Lines Matching refs:lo

40 static struct b43_lo_calib *b43_find_lo_calib(struct b43_txpower_lo_control *lo,  in b43_find_lo_calib()  argument
46 list_for_each_entry(c, &lo->calib_list, list) { in b43_find_lo_calib()
179 struct b43_txpower_lo_control *lo = gphy->lo_control; in lo_measure_txctl_values() local
252 lo->tx_bias = tx_bias; in lo_measure_txctl_values()
253 lo->tx_magn = tx_magn; in lo_measure_txctl_values()
256 if (lo->tx_bias == 0) in lo_measure_txctl_values()
261 & 0xFF00) | lo->tx_bias | lo-> in lo_measure_txctl_values()
265 lo->tx_magn = 0; in lo_measure_txctl_values()
266 lo->tx_bias = 0; in lo_measure_txctl_values()
269 lo->txctl_measured_time = jiffies; in lo_measure_txctl_values()
276 struct b43_txpower_lo_control *lo = gphy->lo_control; in lo_read_power_vector() local
288 lo->power_vector = power_vector; in lo_read_power_vector()
289 lo->pwr_vec_read_time = jiffies; in lo_read_power_vector()
391 struct b43_txpower_lo_control *lo = gphy->lo_control; in lo_measure_setup() local
486 if (time_before(lo->txctl_measured_time, in lo_measure_setup()
803 struct b43_txpower_lo_control *lo = dev->phy.g->lo_control; in b43_get_calib_lo_settings() local
806 c = b43_find_lo_calib(lo, bbatt, rfatt); in b43_get_calib_lo_settings()
814 list_add(&c->list, &lo->calib_list); in b43_get_calib_lo_settings()
823 struct b43_txpower_lo_control *lo = gphy->lo_control; in b43_gphy_dc_lt_init() local
832 B43_WARN_ON(lo->rfatt_list.len * lo->bbatt_list.len > 64); in b43_gphy_dc_lt_init()
834 power_vector = lo->power_vector; in b43_gphy_dc_lt_init()
851 bb_offset = i / lo->rfatt_list.len; in b43_gphy_dc_lt_init()
852 rf_offset = i % lo->rfatt_list.len; in b43_gphy_dc_lt_init()
853 bbatt = &(lo->bbatt_list.list[bb_offset]); in b43_gphy_dc_lt_init()
854 rfatt = &(lo->rfatt_list.list[rf_offset]); in b43_gphy_dc_lt_init()
872 lo->dc_lt[idx] = (lo->dc_lt[idx] & 0x00FF) in b43_gphy_dc_lt_init()
876 lo->dc_lt[idx] = (lo->dc_lt[idx] & 0xFF00) in b43_gphy_dc_lt_init()
884 b43_phy_write(dev, 0x3A0 + i, lo->dc_lt[i]); in b43_gphy_dc_lt_init()
937 struct b43_txpower_lo_control *lo = gphy->lo_control; in b43_lo_g_maintenance_work() local
944 if (!lo) in b43_lo_g_maintenance_work()
952 if (time_before(lo->pwr_vec_read_time, expire)) { in b43_lo_g_maintenance_work()
964 list_for_each_entry_safe(cal, tmp, &lo->calib_list, list) { in b43_lo_g_maintenance_work()
983 if (current_item_expired || unlikely(list_empty(&lo->calib_list))) { in b43_lo_g_maintenance_work()
989 list_add(&cal->list, &lo->calib_list); in b43_lo_g_maintenance_work()
998 struct b43_txpower_lo_control *lo = dev->phy.g->lo_control; in b43_lo_g_cleanup() local
1001 if (!lo) in b43_lo_g_cleanup()
1003 list_for_each_entry_safe(cal, tmp, &lo->calib_list, list) { in b43_lo_g_cleanup()