Lines Matching refs:ctrl_ops

42 	if (!soc->ops->ctrl_ops ||  in cdp_is_target_ar900b()
43 !soc->ops->ctrl_ops->txrx_is_target_ar900b) in cdp_is_target_ar900b()
46 return soc->ops->ctrl_ops->txrx_is_target_ar900b(soc); in cdp_is_target_ar900b()
60 if (!soc->ops->ctrl_ops || in cdp_mempools_attach()
61 !soc->ops->ctrl_ops->txrx_mempools_attach) in cdp_mempools_attach()
64 return soc->ops->ctrl_ops->txrx_mempools_attach(soc); in cdp_mempools_attach()
155 if (!soc->ops->ctrl_ops || in cdp_record_vdev_mscs_params()
156 !soc->ops->ctrl_ops->txrx_record_mscs_params) in cdp_record_vdev_mscs_params()
158 return soc->ops->ctrl_ops->txrx_record_mscs_params in cdp_record_vdev_mscs_params()
183 if (!soc->ops->ctrl_ops || in cdp_set_pdev_reo_dest()
184 !soc->ops->ctrl_ops->txrx_set_pdev_reo_dest) in cdp_set_pdev_reo_dest()
187 return soc->ops->ctrl_ops->txrx_set_pdev_reo_dest in cdp_set_pdev_reo_dest()
207 if (!soc->ops->ctrl_ops || in cdp_get_pdev_reo_dest()
208 !soc->ops->ctrl_ops->txrx_get_pdev_reo_dest) in cdp_get_pdev_reo_dest()
211 return soc->ops->ctrl_ops->txrx_get_pdev_reo_dest(soc, pdev_id); in cdp_get_pdev_reo_dest()
239 if (!soc->ops->ctrl_ops || in cdp_peer_authorize()
240 !soc->ops->ctrl_ops->txrx_peer_authorize) in cdp_peer_authorize()
243 return soc->ops->ctrl_ops->txrx_peer_authorize in cdp_peer_authorize()
265 if (!soc->ops->ctrl_ops || in cdp_peer_get_authorize()
266 !soc->ops->ctrl_ops->txrx_peer_get_authorize) in cdp_peer_get_authorize()
269 return soc->ops->ctrl_ops->txrx_peer_get_authorize in cdp_peer_get_authorize()
282 if (!soc->ops->ctrl_ops || in cdp_tx_flush_buffers()
283 !soc->ops->ctrl_ops->tx_flush_buffers) in cdp_tx_flush_buffers()
286 soc->ops->ctrl_ops->tx_flush_buffers(soc, vdev_id); in cdp_tx_flush_buffers()
300 if (!soc->ops->ctrl_ops || in cdp_txrx_get_vdev_param()
301 !soc->ops->ctrl_ops->txrx_get_vdev_param) { in cdp_txrx_get_vdev_param()
306 return soc->ops->ctrl_ops->txrx_get_vdev_param(soc, vdev_id, in cdp_txrx_get_vdev_param()
321 if (!soc->ops->ctrl_ops || in cdp_txrx_set_vdev_param()
322 !soc->ops->ctrl_ops->txrx_set_vdev_param) { in cdp_txrx_set_vdev_param()
327 return soc->ops->ctrl_ops->txrx_set_vdev_param(soc, vdev_id, in cdp_txrx_set_vdev_param()
342 if (!soc->ops->ctrl_ops || in cdp_txrx_set_psoc_param()
343 !soc->ops->ctrl_ops->txrx_set_psoc_param) in cdp_txrx_set_psoc_param()
346 return soc->ops->ctrl_ops->txrx_set_psoc_param(soc, type, val); in cdp_txrx_set_psoc_param()
360 if (!soc->ops->ctrl_ops || in cdp_txrx_get_psoc_param()
361 !soc->ops->ctrl_ops->txrx_get_psoc_param) in cdp_txrx_get_psoc_param()
364 return soc->ops->ctrl_ops->txrx_get_psoc_param(soc, type, val); in cdp_txrx_get_psoc_param()
423 if (!soc->ops->ctrl_ops || in cdp_set_vdev_peer_protocol_count()
424 !soc->ops->ctrl_ops->txrx_enable_peer_protocol_count) in cdp_set_vdev_peer_protocol_count()
427 soc->ops->ctrl_ops->txrx_enable_peer_protocol_count(soc, vdev_id, in cdp_set_vdev_peer_protocol_count()
451 if (!soc->ops->ctrl_ops || in cdp_set_vdev_peer_protocol_drop_mask()
452 !soc->ops->ctrl_ops->txrx_set_peer_protocol_drop_mask) in cdp_set_vdev_peer_protocol_drop_mask()
455 soc->ops->ctrl_ops->txrx_set_peer_protocol_drop_mask(soc, vdev_id, in cdp_set_vdev_peer_protocol_drop_mask()
479 if (!soc->ops->ctrl_ops || in cdp_is_vdev_peer_protocol_count_enabled()
480 !soc->ops->ctrl_ops->txrx_is_peer_protocol_count_enabled) in cdp_is_vdev_peer_protocol_count_enabled()
483 return soc->ops->ctrl_ops->txrx_is_peer_protocol_count_enabled(soc, in cdp_is_vdev_peer_protocol_count_enabled()
505 if (!soc->ops->ctrl_ops || in cdp_get_peer_protocol_drop_mask()
506 !soc->ops->ctrl_ops->txrx_get_peer_protocol_drop_mask) in cdp_get_peer_protocol_drop_mask()
509 return soc->ops->ctrl_ops->txrx_get_peer_protocol_drop_mask(soc, in cdp_get_peer_protocol_drop_mask()
552 if (!soc->ops->ctrl_ops || in cdp_txrx_set_pdev_param()
553 !soc->ops->ctrl_ops->txrx_set_pdev_param) in cdp_txrx_set_pdev_param()
556 return soc->ops->ctrl_ops->txrx_set_pdev_param in cdp_txrx_set_pdev_param()
582 if (!soc->ops->ctrl_ops || in cdp_txrx_set_peer_param()
583 !soc->ops->ctrl_ops->txrx_set_peer_param) in cdp_txrx_set_peer_param()
586 return soc->ops->ctrl_ops->txrx_set_peer_param in cdp_txrx_set_peer_param()
612 if (!soc->ops->ctrl_ops || in cdp_txrx_get_peer_param()
613 !soc->ops->ctrl_ops->txrx_get_peer_param) in cdp_txrx_get_peer_param()
616 return soc->ops->ctrl_ops->txrx_get_peer_param in cdp_txrx_get_peer_param()
631 if (!soc->ops->ctrl_ops || in cdp_peer_set_vlan_id()
632 !soc->ops->ctrl_ops->txrx_peer_set_vlan_id) in cdp_peer_set_vlan_id()
635 soc->ops->ctrl_ops->txrx_peer_set_vlan_id(soc, vdev_id, peer_mac, in cdp_peer_set_vlan_id()
660 if (!soc->ops->ctrl_ops || in cdp_txrx_get_pdev_param()
661 !soc->ops->ctrl_ops->txrx_get_pdev_param) in cdp_txrx_get_pdev_param()
664 return soc->ops->ctrl_ops->txrx_get_pdev_param in cdp_txrx_get_pdev_param()
692 if (!soc->ops->ctrl_ops || in cdp_txrx_peer_protocol_cnt()
693 !soc->ops->ctrl_ops->txrx_peer_protocol_cnt) in cdp_txrx_peer_protocol_cnt()
696 soc->ops->ctrl_ops->txrx_peer_protocol_cnt(soc, vdev_id, nbuf, in cdp_txrx_peer_protocol_cnt()
728 if (!soc->ops->ctrl_ops || in cdp_enable_peer_based_pktlog()
729 !soc->ops->ctrl_ops->enable_peer_based_pktlog) in cdp_enable_peer_based_pktlog()
732 return soc->ops->ctrl_ops->enable_peer_based_pktlog in cdp_enable_peer_based_pktlog()
754 if (!soc->ops->ctrl_ops || in cdp_calculate_delay_stats()
755 !soc->ops->ctrl_ops->calculate_delay_stats) { in cdp_calculate_delay_stats()
760 return soc->ops->ctrl_ops->calculate_delay_stats(soc, vdev_id, nbuf); in cdp_calculate_delay_stats()
790 if (!soc->ops->ctrl_ops || in cdp_wdi_event_sub()
791 !soc->ops->ctrl_ops->txrx_wdi_event_sub) in cdp_wdi_event_sub()
794 return soc->ops->ctrl_ops->txrx_wdi_event_sub in cdp_wdi_event_sub()
824 if (!soc->ops->ctrl_ops || in cdp_wdi_event_unsub()
825 !soc->ops->ctrl_ops->txrx_wdi_event_unsub) in cdp_wdi_event_unsub()
828 return soc->ops->ctrl_ops->txrx_wdi_event_unsub in cdp_wdi_event_unsub()
855 if (!soc->ops->ctrl_ops || in cdp_get_sec_type()
856 !soc->ops->ctrl_ops->txrx_get_sec_type) in cdp_get_sec_type()
859 return soc->ops->ctrl_ops->txrx_get_sec_type in cdp_get_sec_type()
882 if (!soc->ops->ctrl_ops || in cdp_set_mgmt_tx_power()
883 !soc->ops->ctrl_ops->txrx_update_mgmt_txpow_vdev) in cdp_set_mgmt_tx_power()
886 return soc->ops->ctrl_ops->txrx_update_mgmt_txpow_vdev(soc, vdev_id, in cdp_set_mgmt_tx_power()
907 if (!soc->ops->ctrl_ops || !soc->ops->ctrl_ops->txrx_get_pldev) in cdp_get_pldev()
910 return soc->ops->ctrl_ops->txrx_get_pldev(soc, pdev_id); in cdp_get_pldev()
1061 if (!soc->ops->ctrl_ops || in cdp_update_peer_pkt_capture_params()
1062 !soc->ops->ctrl_ops->txrx_update_peer_pkt_capture_params) in cdp_update_peer_pkt_capture_params()
1065 return soc->ops->ctrl_ops->txrx_update_peer_pkt_capture_params in cdp_update_peer_pkt_capture_params()
1093 if (!soc->ops->ctrl_ops || in cdp_update_pdev_rx_protocol_tag()
1094 !soc->ops->ctrl_ops->txrx_update_pdev_rx_protocol_tag) in cdp_update_pdev_rx_protocol_tag()
1097 return soc->ops->ctrl_ops->txrx_update_pdev_rx_protocol_tag in cdp_update_pdev_rx_protocol_tag()
1122 if (!soc->ops->ctrl_ops || in cdp_dump_pdev_rx_protocol_tag_stats()
1123 !soc->ops->ctrl_ops->txrx_dump_pdev_rx_protocol_tag_stats) in cdp_dump_pdev_rx_protocol_tag_stats()
1126 soc->ops->ctrl_ops->txrx_dump_pdev_rx_protocol_tag_stats(soc, pdev_id, in cdp_dump_pdev_rx_protocol_tag_stats()
1215 if (!soc->ops->ctrl_ops || in cdp_set_rx_flow_tag()
1216 !soc->ops->ctrl_ops->txrx_set_rx_flow_tag) in cdp_set_rx_flow_tag()
1219 return soc->ops->ctrl_ops->txrx_set_rx_flow_tag(soc, pdev_id, in cdp_set_rx_flow_tag()
1242 if (!soc->ops->ctrl_ops || in cdp_dump_rx_flow_tag_stats()
1243 !soc->ops->ctrl_ops->txrx_dump_rx_flow_tag_stats) in cdp_dump_rx_flow_tag_stats()
1246 return soc->ops->ctrl_ops->txrx_dump_rx_flow_tag_stats(soc, in cdp_dump_rx_flow_tag_stats()
1272 if (!soc->ops->ctrl_ops || in cdp_txrx_peer_flush_frags()
1273 !soc->ops->ctrl_ops->txrx_peer_flush_frags) in cdp_txrx_peer_flush_frags()
1276 return soc->ops->ctrl_ops->txrx_peer_flush_frags(soc, vdev_id, in cdp_txrx_peer_flush_frags()
1298 if (!soc->ops->ctrl_ops || in cdp_set_delta_tsf()
1299 !soc->ops->ctrl_ops->txrx_set_delta_tsf) in cdp_set_delta_tsf()
1302 soc->ops->ctrl_ops->txrx_set_delta_tsf(soc, vdev_id, delta_tsf); in cdp_set_delta_tsf()
1324 if (!soc->ops->ctrl_ops || in cdp_set_tsf_ul_delay_report()
1325 !soc->ops->ctrl_ops->txrx_set_tsf_ul_delay_report) in cdp_set_tsf_ul_delay_report()
1328 return soc->ops->ctrl_ops->txrx_set_tsf_ul_delay_report(soc, vdev_id, in cdp_set_tsf_ul_delay_report()
1354 if (!soc->ops->ctrl_ops || in cdp_get_uplink_delay()
1355 !soc->ops->ctrl_ops->txrx_get_uplink_delay) in cdp_get_uplink_delay()
1358 return soc->ops->ctrl_ops->txrx_get_uplink_delay(soc, vdev_id, val); in cdp_get_uplink_delay()
1383 if (!soc->ops->ctrl_ops || in cdp_txrx_set_pdev_phyrx_error_mask()
1384 !soc->ops->ctrl_ops->txrx_set_pdev_phyrx_error_mask) in cdp_txrx_set_pdev_phyrx_error_mask()
1387 return soc->ops->ctrl_ops->txrx_set_pdev_phyrx_error_mask in cdp_txrx_set_pdev_phyrx_error_mask()
1402 if (!soc->ops->ctrl_ops || in cdp_txrx_get_pdev_phyrx_error_mask()
1403 !soc->ops->ctrl_ops->txrx_get_pdev_phyrx_error_mask) in cdp_txrx_get_pdev_phyrx_error_mask()
1406 return soc->ops->ctrl_ops->txrx_get_pdev_phyrx_error_mask in cdp_txrx_get_pdev_phyrx_error_mask()
1427 if (!soc->ops->ctrl_ops || in cdp_get_umac_reset_in_progress_state()
1428 !soc->ops->ctrl_ops->get_umac_reset_in_progress_state) in cdp_get_umac_reset_in_progress_state()
1431 return soc->ops->ctrl_ops->get_umac_reset_in_progress_state(soc); in cdp_get_umac_reset_in_progress_state()
1473 if (!soc->ops->ctrl_ops || !soc->ops->ctrl_ops->txrx_fisa_config) in cdp_txrx_fisa_config()
1476 return soc->ops->ctrl_ops->txrx_fisa_config(soc, pdev_id, config_id, in cdp_txrx_fisa_config()