Lines Matching refs:lo
221 struct b43_txpower_lo_control *lo = gphy->lo_control; in b43_set_txpower_g() local
227 tx_bias = lo->tx_bias; in b43_set_txpower_g()
228 tx_magn = lo->tx_magn; in b43_set_txpower_g()
286 struct b43_txpower_lo_control *lo = gphy->lo_control; in b43_gphy_gain_lt_init() local
291 for (rf = 0; rf < lo->rfatt_list.len; rf++) { in b43_gphy_gain_lt_init()
292 for (bb = 0; bb < lo->bbatt_list.len; bb++) { in b43_gphy_gain_lt_init()
295 tmp = lo->bbatt_list.list[bb].att; in b43_gphy_gain_lt_init()
301 tmp |= lo->rfatt_list.list[rf].att; in b43_gphy_gain_lt_init()
2420 struct b43_txpower_lo_control *lo; in b43_gphy_op_allocate() local
2430 lo = kzalloc(sizeof(*lo), GFP_KERNEL); in b43_gphy_op_allocate()
2431 if (!lo) { in b43_gphy_op_allocate()
2435 gphy->lo_control = lo; in b43_gphy_op_allocate()
2444 kfree(lo); in b43_gphy_op_allocate()
2457 struct b43_txpower_lo_control *lo; in b43_gphy_op_prepare_structs() local
2465 lo = gphy->lo_control; in b43_gphy_op_prepare_structs()
2473 gphy->lo_control = lo; in b43_gphy_op_prepare_structs()
2494 lo->tx_bias = 0xFF; in b43_gphy_op_prepare_structs()
2495 INIT_LIST_HEAD(&lo->calib_list); in b43_gphy_op_prepare_structs()
2518 struct b43_txpower_lo_control *lo = gphy->lo_control; in b43_gphy_op_prepare_hardware() local
2525 generate_rfatt_list(dev, &lo->rfatt_list); in b43_gphy_op_prepare_hardware()
2526 generate_bbatt_list(dev, &lo->bbatt_list); in b43_gphy_op_prepare_hardware()
2768 struct b43_txpower_lo_control *lo = dev->phy.g->lo_control; in b43_put_attenuation_into_ranges() local
2774 const int rf_min = lo->rfatt_list.min_val; in b43_put_attenuation_into_ranges()
2775 const int rf_max = lo->rfatt_list.max_val; in b43_put_attenuation_into_ranges()
2776 const int bb_min = lo->bbatt_list.min_val; in b43_put_attenuation_into_ranges()
2777 const int bb_max = lo->bbatt_list.max_val; in b43_put_attenuation_into_ranges()