Lines Matching refs:i2400m
34 int i2400m_radio_is(struct i2400m *i2400m, enum wimax_rf_state state) in i2400m_radio_is() argument
37 return i2400m->state == I2400M_SS_RF_OFF in i2400m_radio_is()
38 || i2400m->state == I2400M_SS_RF_SHUTDOWN; in i2400m_radio_is()
41 return i2400m->state != I2400M_SS_RF_OFF in i2400m_radio_is()
42 && i2400m->state != I2400M_SS_RF_SHUTDOWN; in i2400m_radio_is()
73 struct i2400m *i2400m = wimax_dev_to_i2400m(wimax_dev); in i2400m_op_rfkill_sw_toggle() local
74 struct device *dev = i2400m_dev(i2400m); in i2400m_op_rfkill_sw_toggle()
104 ack_skb = i2400m_msg_to_dev(i2400m, cmd, sizeof(*cmd)); in i2400m_op_rfkill_sw_toggle()
121 i2400m->state_wq, i2400m_radio_is(i2400m, state), in i2400m_op_rfkill_sw_toggle()
152 struct i2400m *i2400m, in i2400m_report_tlv_rf_switches_status() argument
155 struct device *dev = i2400m_dev(i2400m); in i2400m_report_tlv_rf_switches_status()
163 i2400m, rfss, hw, sw); in i2400m_report_tlv_rf_switches_status()
166 wimax_state = wimax_state_get(&i2400m->wimax_dev); in i2400m_report_tlv_rf_switches_status()
174 wimax_report_rfkill_sw(&i2400m->wimax_dev, WIMAX_RF_ON); in i2400m_report_tlv_rf_switches_status()
177 wimax_report_rfkill_sw(&i2400m->wimax_dev, WIMAX_RF_OFF); in i2400m_report_tlv_rf_switches_status()
185 wimax_report_rfkill_hw(&i2400m->wimax_dev, WIMAX_RF_ON); in i2400m_report_tlv_rf_switches_status()
188 wimax_report_rfkill_hw(&i2400m->wimax_dev, WIMAX_RF_OFF); in i2400m_report_tlv_rf_switches_status()
195 i2400m, rfss, hw, sw); in i2400m_report_tlv_rf_switches_status()