Lines Matching refs:ops

59 	if (lhw->ops->start == NULL) {  in lkpi_80211_mo_start()
70 error = lhw->ops->start(hw); in lkpi_80211_mo_start()
84 if (lhw->ops->stop == NULL) in lkpi_80211_mo_stop()
88 lhw->ops->stop(hw, suspend); in lkpi_80211_mo_stop()
99 if (lhw->ops->get_antenna == NULL) { in lkpi_80211_mo_get_antenna()
106 error = lhw->ops->get_antenna(hw, 0, txs, rxs); in lkpi_80211_mo_get_antenna()
119 if (lhw->ops->set_frag_threshold == NULL) { in lkpi_80211_mo_set_frag_threshold()
126 error = lhw->ops->set_frag_threshold(hw, 0, frag_th); in lkpi_80211_mo_set_frag_threshold()
139 if (lhw->ops->set_rts_threshold == NULL) { in lkpi_80211_mo_set_rts_threshold()
146 error = lhw->ops->set_rts_threshold(hw, 0, rts_th); in lkpi_80211_mo_set_rts_threshold()
161 if (lhw->ops->add_interface == NULL) { in lkpi_80211_mo_add_interface()
177 error = lhw->ops->add_interface(hw, vif); in lkpi_80211_mo_add_interface()
195 if (lhw->ops->remove_interface == NULL) in lkpi_80211_mo_remove_interface()
207 lhw->ops->remove_interface(hw, vif); in lkpi_80211_mo_remove_interface()
228 if (lhw->ops->hw_scan == NULL) { in lkpi_80211_mo_hw_scan()
235 error = lhw->ops->hw_scan(hw, vif, sr); in lkpi_80211_mo_hw_scan()
248 if (lhw->ops->cancel_hw_scan == NULL) in lkpi_80211_mo_cancel_hw_scan()
252 lhw->ops->cancel_hw_scan(hw, vif); in lkpi_80211_mo_cancel_hw_scan()
261 if (lhw->ops->sw_scan_complete == NULL) in lkpi_80211_mo_sw_scan_complete()
265 lhw->ops->sw_scan_complete(hw, vif); in lkpi_80211_mo_sw_scan_complete()
276 if (lhw->ops->sw_scan_start == NULL) in lkpi_80211_mo_sw_scan_start()
280 lhw->ops->sw_scan_start(hw, vif, addr); in lkpi_80211_mo_sw_scan_start()
295 if (lhw->ops->prepare_multicast == NULL) in lkpi_80211_mo_prepare_multicast()
299 ptr = lhw->ops->prepare_multicast(hw, mc_list); in lkpi_80211_mo_prepare_multicast()
310 if (lhw->ops->configure_filter == NULL) in lkpi_80211_mo_configure_filter()
314 lhw->ops->configure_filter(hw, changed_flags, total_flags, mc_ptr); in lkpi_80211_mo_configure_filter()
332 if (lhw->ops->sta_add == NULL) { in lkpi_80211_mo_sta_add()
344 error = lhw->ops->sta_add(hw, vif, sta); in lkpi_80211_mo_sta_add()
361 if (lhw->ops->sta_remove == NULL) { in lkpi_80211_mo_sta_remove()
374 error = lhw->ops->sta_remove(hw, vif, sta); in lkpi_80211_mo_sta_remove()
392 if (lhw->ops->sta_state != NULL) { in lkpi_80211_mo_sta_state()
394 error = lhw->ops->sta_state(hw, vif, sta, lsta->state, nstate); in lkpi_80211_mo_sta_state()
433 if (lhw->ops->config == NULL) { in lkpi_80211_mo_config()
440 error = lhw->ops->config(hw, 0, changed); in lkpi_80211_mo_config()
455 if (lhw->ops->assign_vif_chanctx == NULL) { in lkpi_80211_mo_assign_vif_chanctx()
462 error = lhw->ops->assign_vif_chanctx(hw, vif, conf, chanctx_conf); in lkpi_80211_mo_assign_vif_chanctx()
480 if (lhw->ops->unassign_vif_chanctx == NULL) in lkpi_80211_mo_unassign_vif_chanctx()
488 lhw->ops->unassign_vif_chanctx(hw, vif, conf, chanctx_conf); in lkpi_80211_mo_unassign_vif_chanctx()
501 if (lhw->ops->add_chanctx == NULL) { in lkpi_80211_mo_add_chanctx()
507 error = lhw->ops->add_chanctx(hw, chanctx_conf); in lkpi_80211_mo_add_chanctx()
524 if (lhw->ops->change_chanctx == NULL) in lkpi_80211_mo_change_chanctx()
528 lhw->ops->change_chanctx(hw, chanctx_conf, changed); in lkpi_80211_mo_change_chanctx()
539 if (lhw->ops->remove_chanctx == NULL) in lkpi_80211_mo_remove_chanctx()
543 lhw->ops->remove_chanctx(hw, chanctx_conf); in lkpi_80211_mo_remove_chanctx()
555 if (lhw->ops->link_info_changed == NULL && in lkpi_80211_mo_bss_info_changed()
556 lhw->ops->bss_info_changed == NULL) in lkpi_80211_mo_bss_info_changed()
563 if (lhw->ops->link_info_changed != NULL) in lkpi_80211_mo_bss_info_changed()
564 lhw->ops->link_info_changed(hw, vif, conf, changed); in lkpi_80211_mo_bss_info_changed()
566 lhw->ops->bss_info_changed(hw, vif, conf, changed); in lkpi_80211_mo_bss_info_changed()
577 if (lhw->ops->conf_tx == NULL) { in lkpi_80211_mo_conf_tx()
584 error = lhw->ops->conf_tx(hw, vif, link_id, ac, txqp); in lkpi_80211_mo_conf_tx()
597 if (lhw->ops->flush == NULL) in lkpi_80211_mo_flush()
601 lhw->ops->flush(hw, vif, nqueues, drop); in lkpi_80211_mo_flush()
611 if (lhw->ops->mgd_prepare_tx == NULL) in lkpi_80211_mo_mgd_prepare_tx()
615 lhw->ops->mgd_prepare_tx(hw, vif, txinfo); in lkpi_80211_mo_mgd_prepare_tx()
625 if (lhw->ops->mgd_complete_tx == NULL) in lkpi_80211_mo_mgd_complete_tx()
629 lhw->ops->mgd_complete_tx(hw, vif, txinfo); in lkpi_80211_mo_mgd_complete_tx()
639 if (lhw->ops->tx == NULL) in lkpi_80211_mo_tx()
643 lhw->ops->tx(hw, txctrl, skb); in lkpi_80211_mo_tx()
652 if (lhw->ops->wake_tx_queue == NULL) in lkpi_80211_mo_wake_tx_queue()
656 lhw->ops->wake_tx_queue(hw, txq); in lkpi_80211_mo_wake_tx_queue()
665 if (lhw->ops->sync_rx_queues == NULL) in lkpi_80211_mo_sync_rx_queues()
669 lhw->ops->sync_rx_queues(hw); in lkpi_80211_mo_sync_rx_queues()
679 if (lhw->ops->sta_pre_rcu_remove == NULL) in lkpi_80211_mo_sta_pre_rcu_remove()
683 lhw->ops->sta_pre_rcu_remove(hw, vif, sta); in lkpi_80211_mo_sta_pre_rcu_remove()
697 if (lhw->ops->set_key == NULL) { in lkpi_80211_mo_set_key()
703 error = lhw->ops->set_key(hw, cmd, vif, sta, kc); in lkpi_80211_mo_set_key()
717 if (lhw->ops->ampdu_action == NULL) { in lkpi_80211_mo_ampdu_action()
725 error = lhw->ops->ampdu_action(hw, vif, params); in lkpi_80211_mo_ampdu_action()
740 if (lhw->ops->sta_statistics == NULL) { in lkpi_80211_mo_sta_statistics()
754 lhw->ops->sta_statistics(hw, vif, sta, sinfo); in lkpi_80211_mo_sta_statistics()