Lines Matching refs:ops

260 	if (!soc || !soc->ops) {  in cdp_soc_attach_target()
266 if (!soc->ops->cmn_drv_ops || in cdp_soc_attach_target()
267 !soc->ops->cmn_drv_ops->txrx_soc_attach_target) in cdp_soc_attach_target()
270 return soc->ops->cmn_drv_ops->txrx_soc_attach_target(soc); in cdp_soc_attach_target()
278 if (!soc || !soc->ops) { in cdp_vdev_attach()
284 if (!soc->ops->cmn_drv_ops || in cdp_vdev_attach()
285 !soc->ops->cmn_drv_ops->txrx_vdev_attach) in cdp_vdev_attach()
288 return soc->ops->cmn_drv_ops->txrx_vdev_attach(soc, pdev_id, vdev_info); in cdp_vdev_attach()
305 if (!soc || !soc->ops) { in cdp_flow_pool_map()
311 if (!soc->ops->flowctl_ops || in cdp_flow_pool_map()
312 !soc->ops->flowctl_ops->flow_pool_map_handler) in cdp_flow_pool_map()
315 return soc->ops->flowctl_ops->flow_pool_map_handler(soc, pdev_id, in cdp_flow_pool_map()
332 if (!soc || !soc->ops) { in cdp_flow_pool_unmap()
338 if (!soc->ops->flowctl_ops || in cdp_flow_pool_unmap()
339 !soc->ops->flowctl_ops->flow_pool_unmap_handler) in cdp_flow_pool_unmap()
342 return soc->ops->flowctl_ops->flow_pool_unmap_handler(soc, pdev_id, in cdp_flow_pool_unmap()
351 if (!soc || !soc->ops) { in cdp_vdev_detach()
357 if (!soc->ops->cmn_drv_ops || in cdp_vdev_detach()
358 !soc->ops->cmn_drv_ops->txrx_vdev_detach) in cdp_vdev_detach()
361 return soc->ops->cmn_drv_ops->txrx_vdev_detach(soc, vdev_id, in cdp_vdev_detach()
371 if (!soc || !soc->ops) { in cdp_vdev_recovery_flush_peers()
377 if (!soc->ops->cmn_drv_ops || in cdp_vdev_recovery_flush_peers()
378 !soc->ops->cmn_drv_ops->txrx_recovery_vdev_flush_peers) in cdp_vdev_recovery_flush_peers()
381 soc->ops->cmn_drv_ops->txrx_recovery_vdev_flush_peers(soc, in cdp_vdev_recovery_flush_peers()
390 if (!soc || !soc->ops) { in cdp_pdev_attach_target()
396 if (!soc->ops->cmn_drv_ops || in cdp_pdev_attach_target()
397 !soc->ops->cmn_drv_ops->txrx_pdev_attach_target) in cdp_pdev_attach_target()
400 return soc->ops->cmn_drv_ops->txrx_pdev_attach_target(soc, pdev_id); in cdp_pdev_attach_target()
406 if (!soc || !soc->ops) { in cdp_pdev_attach()
412 if (!soc->ops->cmn_drv_ops || in cdp_pdev_attach()
413 !soc->ops->cmn_drv_ops->txrx_pdev_attach) in cdp_pdev_attach()
416 return soc->ops->cmn_drv_ops->txrx_pdev_attach(soc, params); in cdp_pdev_attach()
431 if (!soc || !soc->ops) { in cdp_pdev_post_attach()
437 if (!soc->ops->cmn_drv_ops || in cdp_pdev_post_attach()
438 !soc->ops->cmn_drv_ops->txrx_pdev_post_attach) in cdp_pdev_post_attach()
441 return soc->ops->cmn_drv_ops->txrx_pdev_post_attach(soc, pdev_id); in cdp_pdev_post_attach()
460 if (!soc || !soc->ops) { in cdp_pdev_pre_detach()
466 if (!soc->ops->cmn_drv_ops || in cdp_pdev_pre_detach()
467 !soc->ops->cmn_drv_ops->txrx_pdev_pre_detach) in cdp_pdev_pre_detach()
470 soc->ops->cmn_drv_ops->txrx_pdev_pre_detach(soc, pdev_id, force); in cdp_pdev_pre_detach()
476 if (!soc || !soc->ops) { in cdp_pdev_detach()
482 if (!soc->ops->cmn_drv_ops || in cdp_pdev_detach()
483 !soc->ops->cmn_drv_ops->txrx_pdev_detach) in cdp_pdev_detach()
486 return soc->ops->cmn_drv_ops->txrx_pdev_detach(soc, pdev_id, force); in cdp_pdev_detach()
492 if (!soc || !soc->ops) { in cdp_pdev_deinit()
498 if (!soc->ops->cmn_drv_ops || in cdp_pdev_deinit()
499 !soc->ops->cmn_drv_ops->txrx_pdev_deinit) in cdp_pdev_deinit()
502 soc->ops->cmn_drv_ops->txrx_pdev_deinit(soc, pdev_id, force); in cdp_pdev_deinit()
509 if (!soc || !soc->ops) { in cdp_peer_create()
515 if (!soc->ops->cmn_drv_ops || in cdp_peer_create()
516 !soc->ops->cmn_drv_ops->txrx_peer_create) in cdp_peer_create()
519 return soc->ops->cmn_drv_ops->txrx_peer_create(soc, vdev_id, in cdp_peer_create()
527 if (!soc || !soc->ops) { in cdp_peer_setup()
533 if (!soc->ops->cmn_drv_ops || in cdp_peer_setup()
534 !soc->ops->cmn_drv_ops->txrx_peer_setup) in cdp_peer_setup()
537 return soc->ops->cmn_drv_ops->txrx_peer_setup(soc, vdev_id, in cdp_peer_setup()
554 if (!soc || !soc->ops) { in cdp_cp_peer_del_response()
560 if (!soc->ops->cmn_drv_ops || in cdp_cp_peer_del_response()
561 !soc->ops->cmn_drv_ops->txrx_cp_peer_del_response) in cdp_cp_peer_del_response()
564 return soc->ops->cmn_drv_ops->txrx_cp_peer_del_response(soc, in cdp_cp_peer_del_response()
585 if (!soc || !soc->ops) { in cdp_peer_get_ast_info_by_soc()
591 if (!soc->ops->cmn_drv_ops || in cdp_peer_get_ast_info_by_soc()
592 !soc->ops->cmn_drv_ops->txrx_peer_get_ast_info_by_soc) in cdp_peer_get_ast_info_by_soc()
595 return soc->ops->cmn_drv_ops->txrx_peer_get_ast_info_by_soc in cdp_peer_get_ast_info_by_soc()
618 if (!soc || !soc->ops) { in cdp_peer_get_ast_info_by_pdev()
624 if (!soc->ops->cmn_drv_ops || in cdp_peer_get_ast_info_by_pdev()
625 !soc->ops->cmn_drv_ops->txrx_peer_get_ast_info_by_pdev) in cdp_peer_get_ast_info_by_pdev()
628 return soc->ops->cmn_drv_ops->txrx_peer_get_ast_info_by_pdev in cdp_peer_get_ast_info_by_pdev()
653 if (!soc || !soc->ops) { in cdp_peer_ast_delete_by_soc()
659 if (!soc->ops->cmn_drv_ops || in cdp_peer_ast_delete_by_soc()
660 !soc->ops->cmn_drv_ops->txrx_peer_ast_delete_by_soc) in cdp_peer_ast_delete_by_soc()
663 return soc->ops->cmn_drv_ops->txrx_peer_ast_delete_by_soc in cdp_peer_ast_delete_by_soc()
689 if (!soc || !soc->ops) { in cdp_peer_ast_delete_by_pdev()
695 if (!soc->ops->cmn_drv_ops || in cdp_peer_ast_delete_by_pdev()
696 !soc->ops->cmn_drv_ops->txrx_peer_ast_delete_by_pdev) in cdp_peer_ast_delete_by_pdev()
699 return soc->ops->cmn_drv_ops->txrx_peer_ast_delete_by_pdev in cdp_peer_ast_delete_by_pdev()
725 if (!soc || !soc->ops) { in cdp_peer_HMWDS_ast_delete()
731 if (!soc->ops->cmn_drv_ops || in cdp_peer_HMWDS_ast_delete()
732 !soc->ops->cmn_drv_ops->txrx_peer_HMWDS_ast_delete) in cdp_peer_HMWDS_ast_delete()
735 return soc->ops->cmn_drv_ops->txrx_peer_HMWDS_ast_delete in cdp_peer_HMWDS_ast_delete()
748 if (!soc || !soc->ops) { in cdp_peer_add_ast()
754 if (!soc->ops->cmn_drv_ops || in cdp_peer_add_ast()
755 !soc->ops->cmn_drv_ops->txrx_peer_add_ast) in cdp_peer_add_ast()
758 return soc->ops->cmn_drv_ops->txrx_peer_add_ast(soc, in cdp_peer_add_ast()
771 if (!soc || !soc->ops) { in cdp_peer_reset_ast()
776 if (!soc->ops->cmn_drv_ops || in cdp_peer_reset_ast()
777 !soc->ops->cmn_drv_ops->txrx_peer_reset_ast) in cdp_peer_reset_ast()
780 return soc->ops->cmn_drv_ops->txrx_peer_reset_ast(soc, wds_macaddr, in cdp_peer_reset_ast()
787 if (!soc || !soc->ops) { in cdp_peer_reset_ast_table()
793 if (!soc->ops->cmn_drv_ops || in cdp_peer_reset_ast_table()
794 !soc->ops->cmn_drv_ops->txrx_peer_reset_ast_table) in cdp_peer_reset_ast_table()
797 return soc->ops->cmn_drv_ops->txrx_peer_reset_ast_table(soc, vdev_id); in cdp_peer_reset_ast_table()
803 if (!soc || !soc->ops) { in cdp_peer_flush_ast_table()
809 if (!soc->ops->cmn_drv_ops || in cdp_peer_flush_ast_table()
810 !soc->ops->cmn_drv_ops->txrx_peer_flush_ast_table) in cdp_peer_flush_ast_table()
813 soc->ops->cmn_drv_ops->txrx_peer_flush_ast_table(soc); in cdp_peer_flush_ast_table()
820 if (!soc || !soc->ops) { in cdp_peer_update_ast()
826 if (!soc->ops->cmn_drv_ops || in cdp_peer_update_ast()
827 !soc->ops->cmn_drv_ops->txrx_peer_update_ast) in cdp_peer_update_ast()
831 return soc->ops->cmn_drv_ops->txrx_peer_update_ast(soc, in cdp_peer_update_ast()
841 if (!soc || !soc->ops) { in cdp_peer_teardown()
847 if (!soc->ops->cmn_drv_ops || in cdp_peer_teardown()
848 !soc->ops->cmn_drv_ops->txrx_peer_teardown) in cdp_peer_teardown()
851 soc->ops->cmn_drv_ops->txrx_peer_teardown(soc, vdev_id, peer_mac); in cdp_peer_teardown()
858 if (!soc || !soc->ops) { in cdp_peer_delete()
864 if (!soc->ops->cmn_drv_ops || in cdp_peer_delete()
865 !soc->ops->cmn_drv_ops->txrx_peer_delete) in cdp_peer_delete()
868 soc->ops->cmn_drv_ops->txrx_peer_delete(soc, vdev_id, peer_mac, in cdp_peer_delete()
877 if (!soc || !soc->ops) { in cdp_update_roaming_peer_in_vdev()
884 if (!soc->ops->cmn_drv_ops || in cdp_update_roaming_peer_in_vdev()
885 !soc->ops->cmn_drv_ops->txrx_update_roaming_peer) in cdp_update_roaming_peer_in_vdev()
888 soc->ops->cmn_drv_ops->txrx_update_roaming_peer(soc, vdev_id, in cdp_update_roaming_peer_in_vdev()
916 if (!soc || !soc->ops) { in cdp_peer_delete_sync()
922 if (!soc->ops->cmn_drv_ops || in cdp_peer_delete_sync()
923 !soc->ops->cmn_drv_ops->txrx_peer_delete_sync) in cdp_peer_delete_sync()
926 soc->ops->cmn_drv_ops->txrx_peer_delete_sync(soc, vdev_id, peer_mac, in cdp_peer_delete_sync()
935 if (!soc || !soc->ops) { in cdp_set_monitor_mode()
941 if (!soc->ops->cmn_drv_ops || in cdp_set_monitor_mode()
942 !soc->ops->cmn_drv_ops->txrx_set_monitor_mode) in cdp_set_monitor_mode()
945 return soc->ops->cmn_drv_ops->txrx_set_monitor_mode(soc, vdev_id, in cdp_set_monitor_mode()
954 if (!soc || !soc->ops) { in cdp_set_curchan()
960 if (!soc->ops->cmn_drv_ops || in cdp_set_curchan()
961 !soc->ops->cmn_drv_ops->txrx_set_curchan) in cdp_set_curchan()
964 return soc->ops->cmn_drv_ops->txrx_set_curchan(soc, pdev_id, chan_mhz); in cdp_set_curchan()
971 if (!soc || !soc->ops) { in cdp_set_privacy_filters()
977 if (!soc->ops->cmn_drv_ops || in cdp_set_privacy_filters()
978 !soc->ops->cmn_drv_ops->txrx_set_privacy_filters) in cdp_set_privacy_filters()
981 return soc->ops->cmn_drv_ops->txrx_set_privacy_filters(soc, vdev_id, in cdp_set_privacy_filters()
989 if (soc->ops->mon_ops->txrx_set_advance_monitor_filter) in cdp_set_monitor_filter()
990 return soc->ops->mon_ops->txrx_set_advance_monitor_filter(soc, in cdp_set_monitor_filter()
1005 if (!soc || !soc->ops) { in cdp_vdev_register()
1011 if (!soc->ops->cmn_drv_ops || in cdp_vdev_register()
1012 !soc->ops->cmn_drv_ops->txrx_vdev_register) in cdp_vdev_register()
1015 soc->ops->cmn_drv_ops->txrx_vdev_register(soc, vdev_id, in cdp_vdev_register()
1023 if (!soc || !soc->ops) { in cdp_mgmt_send()
1029 if (!soc->ops->cmn_drv_ops || in cdp_mgmt_send()
1030 !soc->ops->cmn_drv_ops->txrx_mgmt_send) in cdp_mgmt_send()
1033 return soc->ops->cmn_drv_ops->txrx_mgmt_send(soc, vdev_id, in cdp_mgmt_send()
1042 if (!soc || !soc->ops) { in cdp_mgmt_send_ext()
1048 if (!soc->ops->cmn_drv_ops || in cdp_mgmt_send_ext()
1049 !soc->ops->cmn_drv_ops->txrx_mgmt_send_ext) in cdp_mgmt_send_ext()
1052 return soc->ops->cmn_drv_ops->txrx_mgmt_send_ext in cdp_mgmt_send_ext()
1062 if (!soc || !soc->ops) { in cdp_mgmt_tx_cb_set()
1068 if (!soc->ops->cmn_drv_ops || in cdp_mgmt_tx_cb_set()
1069 !soc->ops->cmn_drv_ops->txrx_mgmt_tx_cb_set) in cdp_mgmt_tx_cb_set()
1072 return soc->ops->cmn_drv_ops->txrx_mgmt_tx_cb_set in cdp_mgmt_tx_cb_set()
1092 if (!soc || !soc->ops) { in cdp_peer_unmap_sync_cb_set()
1098 if (!soc->ops->cmn_drv_ops || in cdp_peer_unmap_sync_cb_set()
1099 !soc->ops->cmn_drv_ops->txrx_peer_unmap_sync_cb_set) in cdp_peer_unmap_sync_cb_set()
1102 soc->ops->cmn_drv_ops->txrx_peer_unmap_sync_cb_set(soc, pdev_id, in cdp_peer_unmap_sync_cb_set()
1118 if (!soc || !soc->ops) { in cdp_data_tx_cb_set()
1124 if (!soc->ops->cmn_drv_ops || in cdp_data_tx_cb_set()
1125 !soc->ops->cmn_drv_ops->txrx_data_tx_cb_set) in cdp_data_tx_cb_set()
1128 soc->ops->cmn_drv_ops->txrx_data_tx_cb_set(soc, vdev_id, in cdp_data_tx_cb_set()
1158 if (!soc || !soc->ops) { in cdp_aggr_cfg()
1164 if (!soc->ops->cmn_drv_ops || in cdp_aggr_cfg()
1165 !soc->ops->cmn_drv_ops->txrx_aggr_cfg) in cdp_aggr_cfg()
1168 return soc->ops->cmn_drv_ops->txrx_aggr_cfg(soc, vdev_id, in cdp_aggr_cfg()
1177 if (!soc || !soc->ops) { in cdp_fw_stats_get()
1183 if (!soc->ops->cmn_drv_ops || in cdp_fw_stats_get()
1184 !soc->ops->cmn_drv_ops->txrx_fw_stats_get) in cdp_fw_stats_get()
1187 return soc->ops->cmn_drv_ops->txrx_fw_stats_get(soc, vdev_id, req, in cdp_fw_stats_get()
1194 if (!soc || !soc->ops) { in cdp_debug()
1200 if (!soc->ops->cmn_drv_ops || in cdp_debug()
1201 !soc->ops->cmn_drv_ops->txrx_debug) in cdp_debug()
1204 return soc->ops->cmn_drv_ops->txrx_debug(soc, vdev_id, debug_specs); in cdp_debug()
1211 if (!soc || !soc->ops) { in cdp_fw_stats_cfg()
1217 if (!soc->ops->cmn_drv_ops || in cdp_fw_stats_cfg()
1218 !soc->ops->cmn_drv_ops->txrx_fw_stats_cfg) in cdp_fw_stats_cfg()
1221 return soc->ops->cmn_drv_ops->txrx_fw_stats_cfg(soc, vdev_id, in cdp_fw_stats_cfg()
1227 if (!soc || !soc->ops) { in cdp_print_level_set()
1233 if (!soc->ops->cmn_drv_ops || in cdp_print_level_set()
1234 !soc->ops->cmn_drv_ops->txrx_print_level_set) in cdp_print_level_set()
1237 soc->ops->cmn_drv_ops->txrx_print_level_set(level); in cdp_print_level_set()
1251 if (!soc || !soc->ops) { in cdp_get_vdev_mac_addr()
1257 if (!soc->ops->cmn_drv_ops || in cdp_get_vdev_mac_addr()
1258 !soc->ops->cmn_drv_ops->txrx_get_vdev_mac_addr) in cdp_get_vdev_mac_addr()
1261 return soc->ops->cmn_drv_ops->txrx_get_vdev_mac_addr(soc, vdev_id); in cdp_get_vdev_mac_addr()
1280 if (!soc || !soc->ops) { in cdp_get_os_rx_handles_from_vdev()
1286 if (!soc->ops->cmn_drv_ops || in cdp_get_os_rx_handles_from_vdev()
1287 !soc->ops->cmn_drv_ops->txrx_get_os_rx_handles_from_vdev) in cdp_get_os_rx_handles_from_vdev()
1290 soc->ops->cmn_drv_ops->txrx_get_os_rx_handles_from_vdev(soc, vdev_id, in cdp_get_os_rx_handles_from_vdev()
1305 if (!soc || !soc->ops) { in cdp_get_ctrl_pdev_from_vdev()
1311 if (!soc->ops->cmn_drv_ops || in cdp_get_ctrl_pdev_from_vdev()
1312 !soc->ops->cmn_drv_ops->txrx_get_ctrl_pdev_from_vdev) in cdp_get_ctrl_pdev_from_vdev()
1315 return soc->ops->cmn_drv_ops->txrx_get_ctrl_pdev_from_vdev(soc, in cdp_get_ctrl_pdev_from_vdev()
1329 if (!soc || !soc->ops) { in cdp_get_mon_vdev_from_pdev()
1335 if (!soc->ops->cmn_drv_ops || in cdp_get_mon_vdev_from_pdev()
1336 !soc->ops->cmn_drv_ops->txrx_get_mon_vdev_from_pdev) in cdp_get_mon_vdev_from_pdev()
1339 return soc->ops->cmn_drv_ops->txrx_get_mon_vdev_from_pdev(soc, pdev_id); in cdp_get_mon_vdev_from_pdev()
1345 if (!soc || !soc->ops) { in cdp_soc_detach()
1351 if (!soc->ops->cmn_drv_ops || in cdp_soc_detach()
1352 !soc->ops->cmn_drv_ops->txrx_soc_detach) in cdp_soc_detach()
1355 soc->ops->cmn_drv_ops->txrx_soc_detach(soc); in cdp_soc_detach()
1377 if (!soc || !soc->ops) { in cdp_soc_init()
1383 if (!soc->ops->cmn_drv_ops || in cdp_soc_init()
1384 !soc->ops->cmn_drv_ops->txrx_soc_init) in cdp_soc_init()
1387 return soc->ops->cmn_drv_ops->txrx_soc_init(soc, psoc, in cdp_soc_init()
1407 if (!soc || !soc->ops) { in cdp_pdev_init()
1413 if (!soc->ops->cmn_drv_ops || in cdp_pdev_init()
1414 !soc->ops->cmn_drv_ops->txrx_pdev_init) in cdp_pdev_init()
1417 return soc->ops->cmn_drv_ops->txrx_pdev_init(soc, in cdp_pdev_init()
1431 if (!soc || !soc->ops) { in cdp_soc_deinit()
1437 if (!soc->ops->cmn_drv_ops || in cdp_soc_deinit()
1438 !soc->ops->cmn_drv_ops->txrx_soc_deinit) in cdp_soc_deinit()
1441 soc->ops->cmn_drv_ops->txrx_soc_deinit(soc); in cdp_soc_deinit()
1456 if (!soc || !soc->ops) { in cdp_tso_soc_attach()
1462 if (!soc->ops->cmn_drv_ops || in cdp_tso_soc_attach()
1463 !soc->ops->cmn_drv_ops->txrx_tso_soc_attach) in cdp_tso_soc_attach()
1466 return soc->ops->cmn_drv_ops->txrx_tso_soc_attach(soc); in cdp_tso_soc_attach()
1481 if (!soc || !soc->ops) { in cdp_tso_soc_detach()
1487 if (!soc->ops->cmn_drv_ops || in cdp_tso_soc_detach()
1488 !soc->ops->cmn_drv_ops->txrx_tso_soc_detach) in cdp_tso_soc_detach()
1491 return soc->ops->cmn_drv_ops->txrx_tso_soc_detach(soc); in cdp_tso_soc_detach()
1509 if (!soc || !soc->ops) { in cdp_tid_update_ba_win_size()
1515 if (!soc->ops->cmn_drv_ops || in cdp_tid_update_ba_win_size()
1516 !soc->ops->cmn_drv_ops->tid_update_ba_win_size) in cdp_tid_update_ba_win_size()
1519 return soc->ops->cmn_drv_ops->tid_update_ba_win_size(soc, peer_mac, in cdp_tid_update_ba_win_size()
1540 if (!soc || !soc->ops) { in cdp_addba_resp_tx_completion()
1546 if (!soc->ops->cmn_drv_ops || in cdp_addba_resp_tx_completion()
1547 !soc->ops->cmn_drv_ops->addba_resp_tx_completion) in cdp_addba_resp_tx_completion()
1550 return soc->ops->cmn_drv_ops->addba_resp_tx_completion(soc, peer_mac, in cdp_addba_resp_tx_completion()
1558 if (!soc || !soc->ops) { in cdp_addba_requestprocess()
1564 if (!soc->ops->cmn_drv_ops || in cdp_addba_requestprocess()
1565 !soc->ops->cmn_drv_ops->addba_requestprocess) in cdp_addba_requestprocess()
1568 return soc->ops->cmn_drv_ops->addba_requestprocess(soc, peer_mac, in cdp_addba_requestprocess()
1580 if (!soc || !soc->ops) { in cdp_addba_responsesetup()
1586 if (!soc->ops->cmn_drv_ops || in cdp_addba_responsesetup()
1587 !soc->ops->cmn_drv_ops->addba_responsesetup) in cdp_addba_responsesetup()
1590 return soc->ops->cmn_drv_ops->addba_responsesetup(soc, peer_mac, in cdp_addba_responsesetup()
1599 if (!soc || !soc->ops) { in cdp_delba_process()
1605 if (!soc->ops->cmn_drv_ops || in cdp_delba_process()
1606 !soc->ops->cmn_drv_ops->delba_process) in cdp_delba_process()
1609 return soc->ops->cmn_drv_ops->delba_process(soc, peer_mac, in cdp_delba_process()
1630 if (!soc || !soc->ops) { in cdp_delba_tx_completion()
1636 if (!soc->ops->cmn_drv_ops || in cdp_delba_tx_completion()
1637 !soc->ops->cmn_drv_ops->delba_tx_completion) in cdp_delba_tx_completion()
1640 return soc->ops->cmn_drv_ops->delba_tx_completion(soc, peer_mac, in cdp_delba_tx_completion()
1650 if (!soc || !soc->ops) { in cdp_set_addbaresponse()
1656 if (!soc->ops->cmn_drv_ops || in cdp_set_addbaresponse()
1657 !soc->ops->cmn_drv_ops->set_addba_response) in cdp_set_addbaresponse()
1660 return soc->ops->cmn_drv_ops->set_addba_response(soc, peer_mac, vdev_id, in cdp_set_addbaresponse()
1676 if (!soc || !soc->ops) { in cdp_set_vdev_dscp_tid_map()
1682 if (!soc->ops->cmn_drv_ops || in cdp_set_vdev_dscp_tid_map()
1683 !soc->ops->cmn_drv_ops->set_vdev_dscp_tid_map) in cdp_set_vdev_dscp_tid_map()
1686 return soc->ops->cmn_drv_ops->set_vdev_dscp_tid_map(soc, vdev_id, in cdp_set_vdev_dscp_tid_map()
1704 if (!soc || !soc->ops) { in cdp_set_vlan_groupkey()
1710 if (!soc->ops->cmn_drv_ops || in cdp_set_vlan_groupkey()
1711 !soc->ops->cmn_drv_ops->set_vlan_groupkey) in cdp_set_vlan_groupkey()
1714 return soc->ops->cmn_drv_ops->set_vlan_groupkey(soc, vdev_id, vlan_id, in cdp_set_vlan_groupkey()
1729 if (!soc || !soc->ops) { in cdp_ath_get_total_per()
1735 if (!soc->ops->cmn_drv_ops || in cdp_ath_get_total_per()
1736 !soc->ops->cmn_drv_ops->txrx_get_total_per) in cdp_ath_get_total_per()
1739 return soc->ops->cmn_drv_ops->txrx_get_total_per(soc, pdev_id); in cdp_ath_get_total_per()
1755 if (!soc || !soc->ops) { in cdp_set_pdev_dscp_tid_map()
1761 if (!soc->ops->cmn_drv_ops || in cdp_set_pdev_dscp_tid_map()
1762 !soc->ops->cmn_drv_ops->set_pdev_dscp_tid_map) in cdp_set_pdev_dscp_tid_map()
1765 soc->ops->cmn_drv_ops->set_pdev_dscp_tid_map(soc, pdev_id, in cdp_set_pdev_dscp_tid_map()
1777 if (!soc || !soc->ops) { in cdp_flush_cache_rx_queue()
1783 if (!soc->ops->cmn_drv_ops || in cdp_flush_cache_rx_queue()
1784 !soc->ops->cmn_drv_ops->flush_cache_rx_queue) in cdp_flush_cache_rx_queue()
1786 soc->ops->cmn_drv_ops->flush_cache_rx_queue(); in cdp_flush_cache_rx_queue()
1801 if (!soc || !soc->ops || !soc->ops->cmn_drv_ops || !req) { in cdp_txrx_stats_request()
1807 if (soc->ops->cmn_drv_ops->txrx_stats_request) in cdp_txrx_stats_request()
1808 return soc->ops->cmn_drv_ops->txrx_stats_request(soc, vdev_id, in cdp_txrx_stats_request()
1820 if (!soc || !soc->ops) { in cdp_txrx_intr_attach()
1826 if (!soc->ops->cmn_drv_ops || in cdp_txrx_intr_attach()
1827 !soc->ops->cmn_drv_ops->txrx_intr_attach) in cdp_txrx_intr_attach()
1830 return soc->ops->cmn_drv_ops->txrx_intr_attach(soc); in cdp_txrx_intr_attach()
1839 if (!soc || !soc->ops) { in cdp_txrx_intr_detach()
1845 if (!soc->ops->cmn_drv_ops || in cdp_txrx_intr_detach()
1846 !soc->ops->cmn_drv_ops->txrx_intr_detach) in cdp_txrx_intr_detach()
1849 soc->ops->cmn_drv_ops->txrx_intr_detach(soc); in cdp_txrx_intr_detach()
1858 if (!soc || !soc->ops) { in cdp_txrx_ppeds_stop()
1864 if (!soc->ops->cmn_drv_ops || in cdp_txrx_ppeds_stop()
1865 !soc->ops->cmn_drv_ops->txrx_ppeds_stop) in cdp_txrx_ppeds_stop()
1868 soc->ops->cmn_drv_ops->txrx_ppeds_stop(soc); in cdp_txrx_ppeds_stop()
1877 if (!soc || !soc->ops) { in cdp_txrx_umac_reset_init()
1883 if (!soc->ops->cmn_drv_ops || in cdp_txrx_umac_reset_init()
1884 !soc->ops->cmn_drv_ops->txrx_umac_reset_init) in cdp_txrx_umac_reset_init()
1887 soc->ops->cmn_drv_ops->txrx_umac_reset_init(soc); in cdp_txrx_umac_reset_init()
1896 if (!soc || !soc->ops) { in cdp_txrx_umac_reset_deinit()
1902 if (!soc->ops->cmn_drv_ops || in cdp_txrx_umac_reset_deinit()
1903 !soc->ops->cmn_drv_ops->txrx_umac_reset_deinit) in cdp_txrx_umac_reset_deinit()
1906 soc->ops->cmn_drv_ops->txrx_umac_reset_deinit(soc); in cdp_txrx_umac_reset_deinit()
1918 if (!soc || !soc->ops) { in cdp_notify_asserted_soc()
1924 if (!soc->ops->cmn_drv_ops || in cdp_notify_asserted_soc()
1925 !soc->ops->cmn_drv_ops->notify_asserted_soc) in cdp_notify_asserted_soc()
1928 return soc->ops->cmn_drv_ops->notify_asserted_soc(soc); in cdp_notify_asserted_soc()
1941 if (!soc || !soc->ops) { in cdp_display_stats()
1947 if (!soc->ops->cmn_drv_ops || in cdp_display_stats()
1948 !soc->ops->cmn_drv_ops->display_stats) in cdp_display_stats()
1951 return soc->ops->cmn_drv_ops->display_stats(soc, value, level); in cdp_display_stats()
1967 if (!soc || !soc->ops) { in cdp_set_pn_check()
1973 if (!soc->ops->cmn_drv_ops || in cdp_set_pn_check()
1974 !soc->ops->cmn_drv_ops->set_pn_check) in cdp_set_pn_check()
1977 soc->ops->cmn_drv_ops->set_pn_check(soc, vdev_id, peer_mac, in cdp_set_pn_check()
1996 if (!soc || !soc->ops) { in cdp_set_key_sec_type()
2002 if (!soc->ops->cmn_drv_ops || in cdp_set_key_sec_type()
2003 !soc->ops->cmn_drv_ops->set_key_sec_type) in cdp_set_key_sec_type()
2006 soc->ops->cmn_drv_ops->set_key_sec_type(soc, vdev_id, in cdp_set_key_sec_type()
2017 if (!soc || !soc->ops) { in cdp_set_key()
2023 if (!soc->ops->ctrl_ops || in cdp_set_key()
2024 !soc->ops->ctrl_ops->set_key) in cdp_set_key()
2027 return soc->ops->ctrl_ops->set_key(soc, vdev_id, mac, in cdp_set_key()
2045 if (!soc || !soc->ops) { in cdp_update_config_parameters()
2051 if (!soc->ops->cmn_drv_ops || in cdp_update_config_parameters()
2052 !soc->ops->cmn_drv_ops->update_config_parameters) in cdp_update_config_parameters()
2055 return soc->ops->cmn_drv_ops->update_config_parameters(psoc, in cdp_update_config_parameters()
2069 if (!soc || !soc->ops) { in cdp_pdev_get_dp_txrx_handle()
2075 if (soc->ops->cmn_drv_ops->get_dp_txrx_handle) in cdp_pdev_get_dp_txrx_handle()
2076 return soc->ops->cmn_drv_ops->get_dp_txrx_handle(soc, pdev_id); in cdp_pdev_get_dp_txrx_handle()
2093 if (!soc || !soc->ops) { in cdp_pdev_set_dp_txrx_handle()
2099 if (!soc->ops->cmn_drv_ops || in cdp_pdev_set_dp_txrx_handle()
2100 !soc->ops->cmn_drv_ops->set_dp_txrx_handle) in cdp_pdev_set_dp_txrx_handle()
2103 soc->ops->cmn_drv_ops->set_dp_txrx_handle(soc, pdev_id, dp_hdl); in cdp_pdev_set_dp_txrx_handle()
2116 if (!soc || !soc->ops) { in cdp_vdev_get_dp_ext_txrx_handle()
2122 if (soc->ops->cmn_drv_ops->get_vdev_dp_ext_txrx_handle) in cdp_vdev_get_dp_ext_txrx_handle()
2123 return soc->ops->cmn_drv_ops->get_vdev_dp_ext_txrx_handle( in cdp_vdev_get_dp_ext_txrx_handle()
2141 if (!soc || !soc->ops) { in cdp_vdev_set_dp_ext_txrx_handle()
2147 if (!soc->ops->cmn_drv_ops || in cdp_vdev_set_dp_ext_txrx_handle()
2148 !soc->ops->cmn_drv_ops->set_vdev_dp_ext_txrx_handle) in cdp_vdev_set_dp_ext_txrx_handle()
2151 return soc->ops->cmn_drv_ops->set_vdev_dp_ext_txrx_handle(soc, in cdp_vdev_set_dp_ext_txrx_handle()
2165 if (!soc || !soc->ops) { in cdp_soc_get_dp_txrx_handle()
2171 if (soc->ops->cmn_drv_ops->get_soc_dp_txrx_handle) in cdp_soc_get_dp_txrx_handle()
2172 return soc->ops->cmn_drv_ops->get_soc_dp_txrx_handle( in cdp_soc_get_dp_txrx_handle()
2188 if (!soc || !soc->ops) { in cdp_soc_set_dp_txrx_handle()
2194 if (!soc->ops->cmn_drv_ops || in cdp_soc_set_dp_txrx_handle()
2195 !soc->ops->cmn_drv_ops->set_soc_dp_txrx_handle) in cdp_soc_set_dp_txrx_handle()
2198 soc->ops->cmn_drv_ops->set_soc_dp_txrx_handle((struct cdp_soc *)soc, in cdp_soc_set_dp_txrx_handle()
2214 if (!soc || !soc->ops) { in cdp_soc_handle_mode_change()
2220 if (!soc->ops->cmn_drv_ops || in cdp_soc_handle_mode_change()
2221 !soc->ops->cmn_drv_ops->handle_mode_change) in cdp_soc_handle_mode_change()
2224 return soc->ops->cmn_drv_ops->handle_mode_change(soc, pdev_id, in cdp_soc_handle_mode_change()
2239 if (!soc || !soc->ops) { in cdp_soc_map_pdev_to_lmac()
2245 if (!soc->ops->cmn_drv_ops || in cdp_soc_map_pdev_to_lmac()
2246 !soc->ops->cmn_drv_ops->map_pdev_to_lmac) in cdp_soc_map_pdev_to_lmac()
2249 return soc->ops->cmn_drv_ops->map_pdev_to_lmac(soc, pdev_id, in cdp_soc_map_pdev_to_lmac()
2266 if (!soc || !soc->ops) { in cdp_txrx_set_pdev_status_down()
2272 if (!soc->ops->cmn_drv_ops || in cdp_txrx_set_pdev_status_down()
2273 !soc->ops->cmn_drv_ops->set_pdev_status_down) in cdp_txrx_set_pdev_status_down()
2276 return soc->ops->cmn_drv_ops->set_pdev_status_down(soc, pdev_id, in cdp_txrx_set_pdev_status_down()
2290 if (!soc || !soc->ops) { in cdp_set_tx_pause()
2296 if (!soc->ops->cmn_drv_ops || in cdp_set_tx_pause()
2297 !soc->ops->cmn_drv_ops->set_tx_pause) in cdp_set_tx_pause()
2300 soc->ops->cmn_drv_ops->set_tx_pause(soc, flag); in cdp_set_tx_pause()
2317 if (!soc || !soc->ops) { in cdp_tx_send()
2323 if (!soc->ops->cmn_drv_ops || in cdp_tx_send()
2324 !soc->ops->cmn_drv_ops->tx_send) in cdp_tx_send()
2327 soc->ops->cmn_drv_ops->tx_send(soc, vdev_id, nbuf); in cdp_tx_send()
2347 if (!soc || !soc->ops) { in cdp_set_pdev_pcp_tid_map()
2352 if (!soc->ops->cmn_drv_ops || in cdp_set_pdev_pcp_tid_map()
2353 !soc->ops->cmn_drv_ops->set_pdev_pcp_tid_map) in cdp_set_pdev_pcp_tid_map()
2356 return soc->ops->cmn_drv_ops->set_pdev_pcp_tid_map(soc, pdev_id, in cdp_set_pdev_pcp_tid_map()
2372 if (soc->ops->cmn_drv_ops->txrx_get_peer_mac_from_peer_id) in cdp_get_peer_mac_from_peer_id()
2373 return soc->ops->cmn_drv_ops->txrx_get_peer_mac_from_peer_id( in cdp_get_peer_mac_from_peer_id()
2390 if (soc->ops->cmn_drv_ops->txrx_vdev_tx_lock) in cdp_vdev_tx_lock()
2391 soc->ops->cmn_drv_ops->txrx_vdev_tx_lock(soc, vdev_id); in cdp_vdev_tx_lock()
2405 if (soc->ops->cmn_drv_ops->txrx_vdev_tx_unlock) in cdp_vdev_tx_unlock()
2406 soc->ops->cmn_drv_ops->txrx_vdev_tx_unlock(soc, vdev_id); in cdp_vdev_tx_unlock()
2423 if (soc && soc->ops && soc->ops->cmn_drv_ops->txrx_ath_getstats) in cdp_ath_getstats()
2424 return soc->ops->cmn_drv_ops->txrx_ath_getstats(soc, id, in cdp_ath_getstats()
2444 if (soc->ops->cmn_drv_ops->txrx_set_gid_flag) in cdp_set_gid_flag()
2445 return soc->ops->cmn_drv_ops->txrx_set_gid_flag(soc, pdev_id, in cdp_set_gid_flag()
2461 if (soc->ops->cmn_drv_ops->txrx_fw_supported_enh_stats_version) in cdp_fw_supported_enh_stats_version()
2462 return soc->ops->cmn_drv_ops->txrx_fw_supported_enh_stats_version(soc, pdev_id); in cdp_fw_supported_enh_stats_version()
2478 if (soc->ops->cmn_drv_ops->txrx_if_mgmt_drain) in cdp_if_mgmt_drain()
2479 soc->ops->cmn_drv_ops->txrx_if_mgmt_drain(soc, vdev_id, force); in cdp_if_mgmt_drain()
2495 if (soc && soc->ops && soc->ops->cmn_drv_ops && in cdp_peer_map_attach()
2496 soc->ops->cmn_drv_ops->txrx_peer_map_attach) in cdp_peer_map_attach()
2497 return soc->ops->cmn_drv_ops->txrx_peer_map_attach(soc, in cdp_peer_map_attach()
2518 if (soc && soc->ops && soc->ops->cmn_drv_ops && in cdp_soc_set_param()
2519 soc->ops->cmn_drv_ops->set_soc_param) in cdp_soc_set_param()
2520 return soc->ops->cmn_drv_ops->set_soc_param(soc, param, in cdp_soc_set_param()
2542 if (!soc || !soc->ops) { in cdp_txrx_classify_and_update()
2548 if (!soc->ops->cmn_drv_ops || in cdp_txrx_classify_and_update()
2549 !soc->ops->cmn_drv_ops->txrx_classify_update) in cdp_txrx_classify_and_update()
2552 return soc->ops->cmn_drv_ops->txrx_classify_update(soc, vdev_id, in cdp_txrx_classify_and_update()
2567 if (soc && soc->ops && soc->ops->cmn_drv_ops && in cdp_get_dp_capabilities()
2568 soc->ops->cmn_drv_ops->get_dp_capabilities) in cdp_get_dp_capabilities()
2569 return soc->ops->cmn_drv_ops->get_dp_capabilities(soc, dp_caps); in cdp_get_dp_capabilities()
2588 if (!soc || !soc->ops || !soc->ops->rx_offld_ops) { in cdp_register_rx_offld_flush_cb()
2594 if (soc->ops->rx_offld_ops->register_rx_offld_flush_cb) in cdp_register_rx_offld_flush_cb()
2595 return soc->ops->rx_offld_ops->register_rx_offld_flush_cb( in cdp_register_rx_offld_flush_cb()
2609 if (!soc || !soc->ops || !soc->ops->rx_offld_ops) { in cdp_deregister_rx_offld_flush_cb()
2615 if (soc->ops->rx_offld_ops->deregister_rx_offld_flush_cb) in cdp_deregister_rx_offld_flush_cb()
2616 return soc->ops->rx_offld_ops->deregister_rx_offld_flush_cb(); in cdp_deregister_rx_offld_flush_cb()
2632 if (!soc || !soc->ops) { in cdp_set_ba_timeout()
2638 if (!soc->ops->cmn_drv_ops || in cdp_set_ba_timeout()
2639 !soc->ops->cmn_drv_ops->txrx_set_ba_aging_timeout) in cdp_set_ba_timeout()
2642 soc->ops->cmn_drv_ops->txrx_set_ba_aging_timeout(soc, ac, value); in cdp_set_ba_timeout()
2657 if (!soc || !soc->ops) { in cdp_get_ba_timeout()
2663 if (!soc->ops->cmn_drv_ops || in cdp_get_ba_timeout()
2664 !soc->ops->cmn_drv_ops->txrx_get_ba_aging_timeout) in cdp_get_ba_timeout()
2667 soc->ops->cmn_drv_ops->txrx_get_ba_aging_timeout(soc, ac, value); in cdp_get_ba_timeout()
2680 if (!soc || !soc->ops) { in cdp_cfg_get()
2685 if (!soc->ops->cmn_drv_ops || !soc->ops->cmn_drv_ops->txrx_get_cfg) in cdp_cfg_get()
2688 return soc->ops->cmn_drv_ops->txrx_get_cfg(soc, cfg); in cdp_cfg_get()
2702 if (!soc || !soc->ops) { in cdp_soc_set_rate_stats_ctx()
2708 if (!soc->ops->cmn_drv_ops || in cdp_soc_set_rate_stats_ctx()
2709 !soc->ops->cmn_drv_ops->set_rate_stats_ctx) in cdp_soc_set_rate_stats_ctx()
2712 soc->ops->cmn_drv_ops->set_rate_stats_ctx((struct cdp_soc_t *)soc, in cdp_soc_set_rate_stats_ctx()
2725 if (!soc || !soc->ops) { in cdp_soc_get_rate_stats_ctx()
2731 if (!soc->ops->cmn_drv_ops || in cdp_soc_get_rate_stats_ctx()
2732 !soc->ops->cmn_drv_ops->get_rate_stats_ctx) in cdp_soc_get_rate_stats_ctx()
2735 return soc->ops->cmn_drv_ops->get_rate_stats_ctx(soc); in cdp_soc_get_rate_stats_ctx()
2748 if (!soc || !soc->ops) { in cdp_peer_flush_rate_stats()
2754 if (!soc->ops->cmn_drv_ops || in cdp_peer_flush_rate_stats()
2755 !soc->ops->cmn_drv_ops->txrx_peer_flush_rate_stats) in cdp_peer_flush_rate_stats()
2758 soc->ops->cmn_drv_ops->txrx_peer_flush_rate_stats(soc, pdev_id, buf); in cdp_peer_flush_rate_stats()
2771 if (!soc || !soc->ops) { in cdp_peer_get_peerstats_ctx()
2777 if (!soc->ops->cmn_drv_ops || in cdp_peer_get_peerstats_ctx()
2778 !soc->ops->cmn_drv_ops->txrx_peer_get_peerstats_ctx) in cdp_peer_get_peerstats_ctx()
2781 return soc->ops->cmn_drv_ops->txrx_peer_get_peerstats_ctx(soc, in cdp_peer_get_peerstats_ctx()
2794 if (!soc || !soc->ops) { in cdp_flush_rate_stats_request()
2800 if (!soc->ops->cmn_drv_ops || in cdp_flush_rate_stats_request()
2801 !soc->ops->cmn_drv_ops->txrx_flush_rate_stats_request) in cdp_flush_rate_stats_request()
2804 return soc->ops->cmn_drv_ops->txrx_flush_rate_stats_request(soc, in cdp_flush_rate_stats_request()
2825 if (!soc || !soc->ops) { in cdp_set_vdev_pcp_tid_map()
2830 if (!soc->ops->cmn_drv_ops || in cdp_set_vdev_pcp_tid_map()
2831 !soc->ops->cmn_drv_ops->set_vdev_pcp_tid_map) in cdp_set_vdev_pcp_tid_map()
2834 return soc->ops->cmn_drv_ops->set_vdev_pcp_tid_map(soc, vdev_id, in cdp_set_vdev_pcp_tid_map()
2855 if (!soc || !soc->ops) { in cdp_tx_send_exc()
2861 if (!soc->ops->cmn_drv_ops || in cdp_tx_send_exc()
2862 !soc->ops->cmn_drv_ops->tx_send_exc) in cdp_tx_send_exc()
2865 return soc->ops->cmn_drv_ops->tx_send_exc in cdp_tx_send_exc()
2885 if (!soc || !soc->ops) { in cdp_vdev_get_peer_mac_list()
2891 if (!soc->ops->cmn_drv_ops || in cdp_vdev_get_peer_mac_list()
2892 !soc->ops->cmn_drv_ops->get_peer_mac_list) in cdp_vdev_get_peer_mac_list()
2895 return soc->ops->cmn_drv_ops->get_peer_mac_list in cdp_vdev_get_peer_mac_list()
2913 if (!soc || !soc->ops) { in cdp_soc_config_full_mon_mode()
2918 if (!soc->ops->mon_ops || in cdp_soc_config_full_mon_mode()
2919 !soc->ops->mon_ops->config_full_mon_mode) in cdp_soc_config_full_mon_mode()
2922 return soc->ops->mon_ops->config_full_mon_mode(soc, val); in cdp_soc_config_full_mon_mode()
2946 if (!soc || !soc->ops) { in cdp_get_peer_id()
2952 if (!soc->ops->cmn_drv_ops || in cdp_get_peer_id()
2953 !soc->ops->cmn_drv_ops->get_peer_id) in cdp_get_peer_id()
2956 return soc->ops->cmn_drv_ops->get_peer_id in cdp_get_peer_id()
2966 if (!soc || !soc->ops) { in cdp_wds_ext_set_peer_rx()
2972 if (!soc->ops->cmn_drv_ops || in cdp_wds_ext_set_peer_rx()
2973 !soc->ops->cmn_drv_ops->set_wds_ext_peer_rx) in cdp_wds_ext_set_peer_rx()
2976 return soc->ops->cmn_drv_ops->set_wds_ext_peer_rx in cdp_wds_ext_set_peer_rx()
2986 if (!soc || !soc->ops) { in cdp_wds_ext_get_peer_osif_handle()
2992 if (!soc->ops->cmn_drv_ops || in cdp_wds_ext_get_peer_osif_handle()
2993 !soc->ops->cmn_drv_ops->get_wds_ext_peer_osif_handle) in cdp_wds_ext_get_peer_osif_handle()
2996 return soc->ops->cmn_drv_ops->get_wds_ext_peer_osif_handle in cdp_wds_ext_get_peer_osif_handle()
3010 if (!soc || !soc->ops) { in cdp_wds_ext_set_bit()
3016 if (!soc->ops->cmn_drv_ops || in cdp_wds_ext_set_bit()
3017 !soc->ops->cmn_drv_ops->set_wds_ext_peer_bit) in cdp_wds_ext_set_bit()
3020 return soc->ops->cmn_drv_ops->set_wds_ext_peer_bit(soc, mac); in cdp_wds_ext_set_bit()
3034 if (!soc || !soc->ops) { in cdp_drain_txrx()
3040 if (!soc->ops->cmn_drv_ops || in cdp_drain_txrx()
3041 !soc->ops->cmn_drv_ops->txrx_drain) in cdp_drain_txrx()
3044 return soc->ops->cmn_drv_ops->txrx_drain(soc, rx_only); in cdp_drain_txrx()
3054 if (!soc || !soc->ops) { in cdp_get_free_desc_poolsize()
3060 if (!soc->ops->cmn_drv_ops || in cdp_get_free_desc_poolsize()
3061 !soc->ops->cmn_drv_ops->get_free_desc_poolsize) in cdp_get_free_desc_poolsize()
3064 return soc->ops->cmn_drv_ops->get_free_desc_poolsize(soc); in cdp_get_free_desc_poolsize()
3076 if (!soc || !soc->ops) { in cdp_set_pkt_capture_mode()
3082 if (!soc->ops->cmn_drv_ops || in cdp_set_pkt_capture_mode()
3083 !soc->ops->cmn_drv_ops->set_pkt_capture_mode) in cdp_set_pkt_capture_mode()
3086 soc->ops->cmn_drv_ops->set_pkt_capture_mode(soc, val); in cdp_set_pkt_capture_mode()
3126 if (!soc || !soc->ops) { in cdp_set_rtpm_tput_policy_requirement()
3132 if (!soc->ops->cmn_drv_ops || in cdp_set_rtpm_tput_policy_requirement()
3133 !soc->ops->cmn_drv_ops->set_rtpm_tput_policy) in cdp_set_rtpm_tput_policy_requirement()
3136 soc->ops->cmn_drv_ops->set_rtpm_tput_policy(soc, is_high_tput); in cdp_set_rtpm_tput_policy_requirement()
3160 if (!soc || !soc->ops) { in cdp_enable_mon_reap_timer()
3167 if (!soc->ops->mon_ops || in cdp_enable_mon_reap_timer()
3168 !soc->ops->mon_ops->txrx_enable_mon_reap_timer) in cdp_enable_mon_reap_timer()
3171 return soc->ops->mon_ops->txrx_enable_mon_reap_timer(soc, source, in cdp_enable_mon_reap_timer()
3193 if (!soc->ops->cmn_drv_ops || !soc->ops->cmn_drv_ops->txrx_get_tsf_time) in cdp_get_tsf_time()
3196 soc->ops->cmn_drv_ops->txrx_get_tsf_time(soc, tsf_id, mac_id, tsf, in cdp_get_tsf_time()
3215 if (!soc->ops->cmn_drv_ops || in cdp_get_tsf2_offset()
3216 !soc->ops->cmn_drv_ops->txrx_get_tsf2_offset) in cdp_get_tsf2_offset()
3219 soc->ops->cmn_drv_ops->txrx_get_tsf2_offset(soc, mac_id, value); in cdp_get_tsf2_offset()
3236 if (!soc->ops->cmn_drv_ops || in cdp_get_tqm_offset()
3237 !soc->ops->cmn_drv_ops->txrx_get_tqm_offset) in cdp_get_tqm_offset()
3240 soc->ops->cmn_drv_ops->txrx_get_tqm_offset(soc, value); in cdp_get_tqm_offset()
3251 if (!soc->ops->cmn_drv_ops || in cdp_get_fst_cem_base()
3252 !soc->ops->cmn_drv_ops->get_fst_cmem_base) in cdp_get_fst_cem_base()
3255 return soc->ops->cmn_drv_ops->get_fst_cmem_base(soc, size); in cdp_get_fst_cem_base()
3270 if (!soc || !soc->ops) { in cdp_mlo_dev_ctxt_create()
3275 if (!soc->ops->cmn_mlo_ops || in cdp_mlo_dev_ctxt_create()
3276 !soc->ops->cmn_mlo_ops->mlo_dev_ctxt_create) in cdp_mlo_dev_ctxt_create()
3279 return soc->ops->cmn_mlo_ops->mlo_dev_ctxt_create(soc, mld_mac_addr); in cdp_mlo_dev_ctxt_create()
3293 if (!soc || !soc->ops) { in cdp_mlo_dev_ctxt_destroy()
3298 if (!soc->ops->cmn_mlo_ops || in cdp_mlo_dev_ctxt_destroy()
3299 !soc->ops->cmn_mlo_ops->mlo_dev_ctxt_destroy) in cdp_mlo_dev_ctxt_destroy()
3302 return soc->ops->cmn_mlo_ops->mlo_dev_ctxt_destroy(soc, mld_mac_addr); in cdp_mlo_dev_ctxt_destroy()
3318 if (!soc || !soc->ops) { in cdp_mlo_dev_ctxt_attach()
3323 if (!soc->ops->cmn_mlo_ops || in cdp_mlo_dev_ctxt_attach()
3324 !soc->ops->cmn_mlo_ops->mlo_dev_ctxt_attach) in cdp_mlo_dev_ctxt_attach()
3327 return soc->ops->cmn_mlo_ops->mlo_dev_ctxt_attach(soc, vdev_id, in cdp_mlo_dev_ctxt_attach()
3344 if (!soc || !soc->ops) { in cdp_mlo_dev_ctxt_detach()
3349 if (!soc->ops->cmn_mlo_ops || in cdp_mlo_dev_ctxt_detach()
3350 !soc->ops->cmn_mlo_ops->mlo_dev_ctxt_detach) in cdp_mlo_dev_ctxt_detach()
3353 return soc->ops->cmn_mlo_ops->mlo_dev_ctxt_detach(soc, vdev_id, in cdp_mlo_dev_ctxt_detach()
3404 if (!soc->ops->cmn_drv_ops || in cdp_dpdk_get_ring_info()
3405 !soc->ops->cmn_drv_ops->dpdk_get_ring_info) in cdp_dpdk_get_ring_info()
3408 return soc->ops->cmn_drv_ops->dpdk_get_ring_info(soc, uio_info); in cdp_dpdk_get_ring_info()
3428 if (!soc->ops->cmn_drv_ops || in cdp_cfgmgr_get_soc_info()
3429 !soc->ops->cmn_drv_ops->cfgmgr_get_soc_info) in cdp_cfgmgr_get_soc_info()
3432 return soc->ops->cmn_drv_ops->cfgmgr_get_soc_info(soc, soc_id, ev_buf); in cdp_cfgmgr_get_soc_info()
3452 if (!soc->ops->cmn_drv_ops || in cdp_cfgmgr_get_vdev_info()
3453 !soc->ops->cmn_drv_ops->cfgmgr_get_vdev_info) in cdp_cfgmgr_get_vdev_info()
3456 return soc->ops->cmn_drv_ops->cfgmgr_get_vdev_info(soc, soc_id, ev_buf); in cdp_cfgmgr_get_vdev_info()
3476 if (!soc->ops->cmn_drv_ops || in cdp_cfgmgr_get_peer_info()
3477 !soc->ops->cmn_drv_ops->cfgmgr_get_peer_info) in cdp_cfgmgr_get_peer_info()
3480 return soc->ops->cmn_drv_ops->cfgmgr_get_peer_info(soc, soc_id, ev_buf); in cdp_cfgmgr_get_peer_info()
3500 if (!soc->ops->cmn_drv_ops || in cdp_cfgmgr_get_vdev_create_evt_info()
3501 !soc->ops->cmn_drv_ops->cfgmgr_get_vdev_create_evt_info) in cdp_cfgmgr_get_vdev_create_evt_info()
3504 return soc->ops->cmn_drv_ops->cfgmgr_get_vdev_create_evt_info( in cdp_cfgmgr_get_vdev_create_evt_info()
3525 if (!soc->ops->cmn_drv_ops || in cdp_cfgmgr_get_peer_create_evt_info()
3526 !soc->ops->cmn_drv_ops->cfgmgr_get_peer_create_evt_info) in cdp_cfgmgr_get_peer_create_evt_info()
3529 return soc->ops->cmn_drv_ops->cfgmgr_get_peer_create_evt_info( in cdp_cfgmgr_get_peer_create_evt_info()