Lines Matching refs:s8
466 static const s8 lcnphy_gain_table[] = {
506 static const s8 lcnphy_gain_index_offset_for_rssi[] = {
971 ((u8)(-(s8)(((val) & 0xf0) >> 4) + (s8)((val) & 0x0f)))
1534 s8 wlc_lcnphy_get_current_tx_pwr_idx(struct brcms_phy *pi) in wlc_lcnphy_get_current_tx_pwr_idx()
1536 s8 index; in wlc_lcnphy_get_current_tx_pwr_idx()
1542 index = (s8) (wlc_lcnphy_get_current_tx_pwr_idx_if_pwrctrl_on( in wlc_lcnphy_get_current_tx_pwr_idx()
2333 static void wlc_lcnphy_set_tx_pwr_soft_ctrl(struct brcms_phy *pi, s8 index) in wlc_lcnphy_set_tx_pwr_soft_ctrl()
2386 static s8 wlc_lcnphy_tempcompensated_txpwrctrl(struct brcms_phy *pi) in wlc_lcnphy_tempcompensated_txpwrctrl()
2388 s8 index, delta_brd, delta_temp, new_index, tempcorrx; in wlc_lcnphy_tempcompensated_txpwrctrl()
2417 delta_temp = (s8) wlc_lcnphy_qdiv_roundup((u32) (temp_diff * 192), in wlc_lcnphy_tempcompensated_txpwrctrl()
2428 tempcorrx = (s8) (pi_lcn->lcnphy_tempcorrx - 64); in wlc_lcnphy_tempcompensated_txpwrctrl()
2430 tempcorrx = (s8) pi_lcn->lcnphy_tempcorrx; in wlc_lcnphy_tempcompensated_txpwrctrl()
2462 s8 index; in wlc_lcnphy_set_tx_pwr_ctrl()
2504 pi_lcn->lcnphy_current_index = (s8) in wlc_lcnphy_set_tx_pwr_ctrl()
2948 s8 index; in wlc_lcnphy_vbat_temp_sense_setup()
3212 pi_lcn->lcnphy_tx_power_idx_override = (s8) index; in wlc_lcnphy_set_tx_pwr_by_index()
3958 if ((abs((s8) fi0) == 15) && (abs((s8) fq0) == 15)) { in wlc_lcnphy_txpwrtbl_iqlo_cal()
4126 s8 wlc_lcnphy_tempsense_degree(struct brcms_phy *pi, bool mode) in wlc_lcnphy_tempsense_degree()
4133 return (s8) degree; in wlc_lcnphy_tempsense_degree()
4136 s8 wlc_lcnphy_vbatsense(struct brcms_phy *pi, bool mode) in wlc_lcnphy_vbatsense()
4165 return (s8) avg; in wlc_lcnphy_vbatsense()
4189 s8 index; in wlc_lcnphy_glacial_timer_based_cal()
4217 s8 index; in wlc_lcnphy_periodic_cal()
4319 void wlc_lcnphy_get_tssi(struct brcms_phy *pi, s8 *ofdm_pwr, s8 *cck_pwr) in wlc_lcnphy_get_tssi()
4321 s8 cck_offset; in wlc_lcnphy_get_tssi()
4326 *ofdm_pwr = (s8) (((read_phy_reg(pi, 0x4ab) & (0x1ff << 0)) in wlc_lcnphy_get_tssi()
4349 s8 index; in wlc_lcnphy_tx_power_adjustment()
4361 (s8)((read_phy_reg(pi, 0x4a9) & 0xFF) / 2); in wlc_lcnphy_tx_power_adjustment()
4808 pi_lcn->lcnphy_input_pwr_offset_db = (s8) temp; in wlc_lcnphy_agc_temp_init()
4889 s8 txpwr = 0; in wlc_phy_txpwr_srom_read_lcnphy()