pm4x10Q_dispatch.c (28695B)
1 /* 2 * 3 * 4 * 5 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 6 * 7 * Copyright 2007-2019 Broadcom Inc. All rights reserved. 8 * 9 * 10 * DO NOT EDIT THIS FILE! 11 */ 12 13 #include <soc/types.h> 14 #include <soc/error.h> 15 #include <soc/portmod/portmod_internal.h> 16 #include <soc/portmod/portmod.h> 17 #include <soc/portmod/portmod_dispatch.h> 18 19 #ifdef PORTMOD_PM4x10Q_SUPPORT 20 21 #include <soc/portmod/pm4x10Q.h> 22 23 #include <soc/portmod/pm4x10.h> 24 #include <soc/portmod/pm4x10.h> 25 26 __portmod__dispatch__t__ portmod_pm4x10Q_driver = { 27 28 NULL, /* portmod_port_speed_ability_local_get */ 29 pm4x10Q_pm_interface_type_is_supported, 30 pm4x10Q_pm_init, 31 pm4x10Q_pm_destroy, 32 pm4x10Q_port_attach, 33 NULL, /* portmod_default_bus_update */ 34 NULL, /* portmod_pm_bypass_set */ 35 pm4x10Q_pm_core_info_get, 36 NULL, /* portmod_pm_aggregated_update */ 37 NULL, /* portmod_pm_phys_get */ 38 pm4x10Q_port_detach, 39 pm4x10Q_port_replace, 40 pm4x10Q_port_enable_set, 41 pm4x10Q_port_enable_get, 42 NULL, /* portmod_port_cdr_lock_get */ 43 pm4x10Q_port_interface_config_set, 44 pm4x10Q_port_interface_config_get, 45 pm4x10Q_port_default_interface_get, 46 pm4x10_port_interface_check, 47 NULL, /* portmod_port_encoding_set */ 48 NULL, /* portmod_port_encoding_get */ 49 NULL, /* portmod_port_cl72_set */ 50 NULL, /* portmod_port_cl72_get */ 51 NULL, /* portmod_port_cl72_status_get */ 52 pm4x10Q_port_loopback_set, 53 pm4x10Q_port_loopback_get, 54 NULL, /* portmod_port_pass_through_set */ 55 NULL, /* portmod_port_pass_through_get */ 56 NULL, /* portmod_port_pass_through_calibrate */ 57 NULL, /* portmod_port_pass_through_fec_enable_set */ 58 NULL, /* portmod_port_pass_through_fec_enable_get */ 59 pm4x10Q_port_rx_mac_enable_set, 60 pm4x10Q_port_rx_mac_enable_get, 61 NULL, /* portmod_port_tx_mac_enable_set */ 62 NULL, /* portmod_port_tx_mac_enable_get */ 63 pm4x10Q_port_ability_local_get, 64 pm4x10Q_port_autoneg_set, 65 pm4x10Q_port_autoneg_get, 66 pm4x10Q_port_autoneg_status_get, 67 pm4x10Q_port_link_get, 68 NULL, /* portmod_port_link_latch_down_get */ 69 pm4x10Q_port_phy_link_up_event, 70 pm4x10Q_port_phy_link_down_event, 71 NULL, /* portmod_port_prbs_config_set */ 72 NULL, /* portmod_port_prbs_config_get */ 73 NULL, /* portmod_port_prbs_enable_set */ 74 NULL, /* portmod_port_prbs_enable_get */ 75 NULL, /* portmod_port_prbs_status_get */ 76 pm4x10Q_port_nof_lanes_get, 77 NULL, /* portmod_port_ilkn_nof_segments_set */ 78 NULL, /* portmod_port_ilkn_nof_segments_get */ 79 NULL, /* portmod_ilkn_retranstmit_config_set */ 80 NULL, /* portmod_ilkn_retranstmit_config_get */ 81 NULL, /* portmod_port_lanes_assign */ 82 NULL, /* portmod_port_lanes_retrieve */ 83 NULL, /* portmod_port_firmware_mode_set */ 84 NULL, /* portmod_port_firmware_mode_get */ 85 NULL, /* portmod_port_runt_threshold_set */ 86 NULL, /* portmod_port_runt_threshold_get */ 87 pm4x10Q_port_max_packet_size_set, 88 pm4x10Q_port_max_packet_size_get, 89 pm4x10Q_port_pad_size_set, 90 pm4x10Q_port_pad_size_get, 91 pm4x10Q_port_tx_mac_sa_set, 92 pm4x10Q_port_tx_mac_sa_get, 93 pm4x10Q_port_rx_mac_sa_set, 94 pm4x10Q_port_rx_mac_sa_get, 95 pm4x10Q_port_tx_average_ipg_set, 96 pm4x10Q_port_tx_average_ipg_get, 97 NULL, /* portmod_port_tx_preamble_length_set */ 98 NULL, /* portmod_port_tx_preamble_length_get */ 99 pm4x10Q_port_local_fault_control_set, 100 pm4x10Q_port_local_fault_control_get, 101 pm4x10Q_port_remote_fault_control_set, 102 pm4x10Q_port_remote_fault_control_get, 103 NULL, /* portmod_port_local_fault_status_get */ 104 NULL, /* portmod_port_remote_fault_status_get */ 105 pm4x10Q_port_local_fault_status_clear, 106 pm4x10Q_port_remote_fault_status_clear, 107 pm4x10Q_port_pause_control_set, 108 pm4x10Q_port_pause_control_get, 109 pm4x10Q_port_pfc_control_set, 110 pm4x10Q_port_pfc_control_get, 111 pm4x10Q_port_llfc_control_set, 112 pm4x10Q_port_llfc_control_get, 113 pm4x10Q_port_update, 114 pm4x10Q_port_core_access_get, 115 pm4x10Q_port_phy_lane_access_get, 116 NULL, /* portmod_pm_phy_lane_access_get */ 117 pm4x10Q_port_duplex_set, 118 pm4x10Q_port_duplex_get, 119 pm4x10_port_phy_reg_read, 120 NULL, /* portmod_port_phy_reg_write */ 121 NULL, /* portmod_port_reset_set */ 122 NULL, /* portmod_port_reset_get */ 123 NULL, /* portmod_port_adv_remote_get */ 124 NULL, /* portmod_port_drv_name */ 125 pm4x10Q_port_drv_name_get, 126 NULL, /* portmod_port_fec_enable_set */ 127 NULL, /* portmod_port_fec_enable_get */ 128 pm4x10Q_port_ability_advert_set, 129 pm4x10Q_port_ability_advert_get, 130 NULL, /* portmod_port_ability_remote_get */ 131 NULL, /* portmod_port_frame_spacing_stretch_set */ 132 NULL, /* portmod_port_frame_spacing_stretch_get */ 133 pm4x10Q_port_diag_fifo_status_get, 134 NULL, /* portmod_port_rx_control_set */ 135 NULL, /* portmod_port_rx_control_get */ 136 pm4x10Q_port_pfc_config_set, 137 pm4x10Q_port_pfc_config_get, 138 pm4x10Q_port_eee_set, 139 pm4x10Q_port_eee_get, 140 NULL, /* portmod_port_eee_clock_set */ 141 NULL, /* portmod_port_eee_clock_get */ 142 pm4x10Q_port_vlan_tag_set, 143 pm4x10Q_port_vlan_tag_get, 144 NULL, /* portmod_port_modid_set */ 145 NULL, /* portmod_port_led_chain_config */ 146 NULL, /* portmod_port_clear_rx_lss_status_set */ 147 NULL, /* portmod_port_clear_rx_lss_status_get */ 148 pm4x10Q_xphy_lane_attach_to_pm, 149 pm4x10Q_xphy_lane_detach_from_pm, 150 NULL, /* portmod_ext_phy_lane_attach_to_pm */ 151 NULL, /* portmod_ext_phy_lane_detach_from_pm */ 152 pm4x10Q_port_lag_failover_status_toggle, 153 NULL, /* portmod_port_lag_failover_loopback_set */ 154 NULL, /* portmod_port_lag_failover_loopback_get */ 155 pm4x10Q_port_mode_set, 156 pm4x10Q_port_mode_get, 157 pm4x10Q_port_encap_set, 158 pm4x10Q_port_encap_get, 159 NULL, /* portmod_port_higig_mode_set */ 160 NULL, /* portmod_port_higig_mode_get */ 161 NULL, /* portmod_port_higig2_mode_set */ 162 NULL, /* portmod_port_higig2_mode_get */ 163 NULL, /* portmod_port_config_port_type_set */ 164 NULL, /* portmod_port_config_port_type_get */ 165 NULL, /* portmod_port_trunk_hwfailover_config_set */ 166 NULL, /* portmod_port_trunk_hwfailover_config_get */ 167 NULL, /* portmod_port_trunk_hwfailover_status_get */ 168 pm4x10Q_port_diag_ctrl, 169 pm4x10Q_port_ref_clk_get, 170 NULL, /* portmod_port_lag_failover_disable */ 171 NULL, /* portmod_port_lag_remove_failover_lpbk_set */ 172 NULL, /* portmod_port_lag_remove_failover_lpbk_get */ 173 pm4x10Q_port_cntmaxsize_set, 174 pm4x10Q_port_cntmaxsize_get, 175 pm4x10_port_multi_get, 176 pm4x10Q_port_drain_cell_get, 177 pm4x10Q_port_drain_cell_stop, 178 pm4x10Q_port_drain_cell_start, 179 pm4x10Q_port_drain_cells_rx_enable, 180 NULL, /* portmod_port_egress_queue_drain_rx_en */ 181 NULL, /* portmod_port_mac_ctrl_set */ 182 pm4x10Q_port_txfifo_cell_cnt_get, 183 NULL, /* portmod_port_egress_queue_drain_get */ 184 NULL, /* portmod_port_mac_reset_set */ 185 NULL, /* portmod_port_mac_reset_get */ 186 NULL, /* portmod_port_soft_reset_toggle */ 187 pm4x10Q_port_mac_reset_check, 188 pm4x10Q_port_core_num_get, 189 NULL, /* portmod_port_e2ecc_hdr_set */ 190 NULL, /* portmod_port_e2ecc_hdr_get */ 191 NULL, /* portmod_port_e2e_enable_set */ 192 NULL, /* portmod_port_e2e_enable_get */ 193 NULL, /* portmod_port_fallback_lane_get */ 194 pm4x10Q_port_speed_get, 195 NULL, /* portmod_port_tsc_refclock_set */ 196 NULL, /* portmod_port_tsc_refclock_get */ 197 pm4x10Q_port_discard_set, 198 pm4x10Q_port_soft_reset_set, 199 pm4x10Q_port_tx_down, 200 NULL, /* portmod_port_logical_lane_order_set */ 201 NULL, /* portmod_port_logical_lane_order_get */ 202 NULL, /* portmod_port_pgw_reconfig */ 203 NULL, /* portmod_port_notify */ 204 NULL, /* portmod_port_control_phy_timesync_set */ 205 NULL, /* portmod_port_control_phy_timesync_get */ 206 NULL, /* portmod_port_timesync_config_set */ 207 NULL, /* portmod_port_timesync_config_get */ 208 NULL, /* portmod_port_timesync_enable_set */ 209 NULL, /* portmod_port_timesync_enable_get */ 210 NULL, /* portmod_port_timesync_nco_addend_set */ 211 NULL, /* portmod_port_timesync_nco_addend_get */ 212 NULL, /* portmod_port_timesync_framesync_mode_set */ 213 NULL, /* portmod_port_timesync_framesync_mode_get */ 214 NULL, /* portmod_port_timesync_local_time_set */ 215 NULL, /* portmod_port_timesync_local_time_get */ 216 NULL, /* portmod_port_timesync_load_ctrl_set */ 217 NULL, /* portmod_port_timesync_load_ctrl_get */ 218 NULL, /* portmod_port_timesync_tx_timestamp_offset_set */ 219 NULL, /* portmod_port_timesync_tx_timestamp_offset_get */ 220 NULL, /* portmod_port_timesync_rx_timestamp_offset_set */ 221 NULL, /* portmod_port_timesync_rx_timestamp_offset_get */ 222 NULL, /* portmod_port_timestamp_adjust_set */ 223 NULL, /* portmod_port_timestamp_adjust_get */ 224 NULL, /* portmod_port_phy_intr_enable_set */ 225 NULL, /* portmod_port_phy_intr_enable_get */ 226 NULL, /* portmod_port_phy_intr_status_get */ 227 NULL, /* portmod_port_phy_intr_status_clear */ 228 NULL, /* portmod_port_phy_timesync_do_sync */ 229 NULL, /* portmod_port_timesync_capture_timestamp_get */ 230 NULL, /* portmod_port_timesync_heartbeat_timestamp_get */ 231 NULL, /* portmod_port_edc_config_set */ 232 NULL, /* portmod_port_edc_config_get */ 233 NULL, /* portmod_port_interrupt_enable_set */ 234 NULL, /* portmod_port_interrupt_enable_get */ 235 NULL, /* portmod_port_interrupt_get */ 236 NULL, /* portmod_port_interrupts_get */ 237 pm4x10Q_port_check_legacy_phy, 238 NULL, /* portmod_port_failover_mode_set */ 239 NULL, /* portmod_port_failover_mode_get */ 240 pm4x10_port_mac_rsv_mask_set, 241 pm4x10_port_mib_reset_toggle, 242 NULL, /* portmod_port_warmboot_db_restore */ 243 NULL, /* portmod_port_flow_control_set */ 244 NULL, /* portmod_port_update_dynamic_state */ 245 NULL, /* portmod_port_phy_op_mode_get */ 246 NULL, /* portmod_port_lane_map_set */ 247 NULL, /* portmod_port_lane_map_get */ 248 NULL, /* portmod_port_polarity_set */ 249 NULL, /* portmod_port_polarity_get */ 250 pm4x10_port_medium_config_set, 251 pm4x10_port_medium_config_get, 252 pm4x10_port_medium_get, 253 NULL, /* portmod_pm_is_in_pm12x10 */ 254 NULL, /* portmod_slow_read_rate_set */ 255 NULL, /* portmod_port_pll_div_get */ 256 NULL, /* portmod_port_master_set */ 257 NULL, /* portmod_port_master_get */ 258 NULL, /* portmod_preemption_control_set */ 259 NULL, /* portmod_preemption_control_get */ 260 NULL, /* portmod_preemption_tx_status_get */ 261 NULL, /* portmod_preemption_verify_status_get */ 262 NULL, /* portmod_preemption_force_rx_eop_mode_set */ 263 NULL, /* portmod_preemption_force_rx_eop_mode_get */ 264 NULL, /* portmod_preemption_rx_timeout_set */ 265 NULL, /* portmod_preemption_rx_timeout_get */ 266 NULL, /* portmod_port_lane_count_get */ 267 NULL, /* portmod_port_timesync_tx_info_get */ 268 NULL, /* portmod_port_lane_mask_get */ 269 NULL, /* portmod_core_add */ 270 NULL, /* portmod_pm_serdes_core_init */ 271 NULL, /* portmod_pm_is_initialized */ 272 NULL, /* portmod_port_speed_config_validate */ 273 NULL, /* portmod_pm_enable */ 274 NULL, /* portmod_pm_logical_pbmp_get */ 275 NULL, /* portmod_pm_vco_reconfig */ 276 NULL, /* portmod_port_speed_config_set */ 277 NULL, /* portmod_port_speed_config_get */ 278 NULL, /* portmod_fw_bcast */ 279 NULL, /* portmod_port_credits_enable_set */ 280 #ifdef CPRIMOD_SUPPORT 281 NULL, /* portmod_cpri_port_stage_activate */ 282 #endif /* CPRIMOD_SUPPORT */ 283 #ifdef CPRIMOD_SUPPORT 284 NULL, /* portmod_cpri_port_rsvd4_tx_fsm_state_set */ 285 #endif /* CPRIMOD_SUPPORT */ 286 #ifdef CPRIMOD_SUPPORT 287 NULL, /* portmod_cpri_port_rsvd4_tx_override_set */ 288 #endif /* CPRIMOD_SUPPORT */ 289 #ifdef CPRIMOD_SUPPORT 290 NULL, /* portmod_cpri_port_rsvd4_rx_override_set */ 291 #endif /* CPRIMOD_SUPPORT */ 292 #ifdef CPRIMOD_SUPPORT 293 NULL, /* portmod_cpri_port_rx_axc_frame_add */ 294 #endif /* CPRIMOD_SUPPORT */ 295 #ifdef CPRIMOD_SUPPORT 296 NULL, /* portmod_cpri_port_rx_frame_optional_config_set */ 297 NULL, /* portmod_cpri_port_rx_frame_optional_config_get */ 298 #endif /* CPRIMOD_SUPPORT */ 299 #ifdef CPRIMOD_SUPPORT 300 NULL, /* portmod_cpri_port_tx_frame_optional_config_set */ 301 NULL, /* portmod_cpri_port_tx_frame_optional_config_get */ 302 #endif /* CPRIMOD_SUPPORT */ 303 #ifdef CPRIMOD_SUPPORT 304 NULL, /* portmod_port_rsvd4_rx_frame_optional_config_set */ 305 NULL, /* portmod_port_rsvd4_rx_frame_optional_config_get */ 306 #endif /* CPRIMOD_SUPPORT */ 307 #ifdef CPRIMOD_SUPPORT 308 NULL, /* portmod_port_rsvd4_tx_frame_optional_config_set */ 309 NULL, /* portmod_port_rsvd4_tx_frame_optional_config_get */ 310 #endif /* CPRIMOD_SUPPORT */ 311 #ifdef CPRIMOD_SUPPORT 312 NULL, /* portmod_port_rsvd4_rx_speed_set */ 313 NULL, /* portmod_port_rsvd4_rx_speed_get */ 314 #endif /* CPRIMOD_SUPPORT */ 315 #ifdef CPRIMOD_SUPPORT 316 NULL, /* portmod_port_rsvd4_tx_speed_set */ 317 NULL, /* portmod_port_rsvd4_tx_speed_get */ 318 #endif /* CPRIMOD_SUPPORT */ 319 #ifdef CPRIMOD_SUPPORT 320 NULL, /* portmod_cpri_port_rx_axc_frame_delete */ 321 #endif /* CPRIMOD_SUPPORT */ 322 #ifdef CPRIMOD_SUPPORT 323 NULL, /* portmod_cpri_port_rx_axc_frame_get */ 324 #endif /* CPRIMOD_SUPPORT */ 325 #ifdef CPRIMOD_SUPPORT 326 NULL, /* portmod_cpri_port_rsvd4_rx_fsm_state_set */ 327 #endif /* CPRIMOD_SUPPORT */ 328 #ifdef CPRIMOD_SUPPORT 329 NULL, /* portmod_cpri_port_tx_axc_frame_add */ 330 #endif /* CPRIMOD_SUPPORT */ 331 #ifdef CPRIMOD_SUPPORT 332 NULL, /* portmod_cpri_port_tx_axc_frame_delete */ 333 #endif /* CPRIMOD_SUPPORT */ 334 #ifdef CPRIMOD_SUPPORT 335 NULL, /* portmod_cpri_port_tx_axc_frame_get */ 336 #endif /* CPRIMOD_SUPPORT */ 337 #ifdef CPRIMOD_SUPPORT 338 NULL, /* portmod_cpri_port_encap_set */ 339 NULL, /* portmod_cpri_port_encap_get */ 340 #endif /* CPRIMOD_SUPPORT */ 341 #ifdef CPRIMOD_SUPPORT 342 NULL, /* portmod_cpri_port_encap_roe_ordering_info_set */ 343 NULL, /* portmod_cpri_port_encap_roe_ordering_info_get */ 344 #endif /* CPRIMOD_SUPPORT */ 345 #ifdef CPRIMOD_SUPPORT 346 NULL, /* portmod_cpri_port_encap_roe_ordering_sequence_offset_set */ 347 NULL, /* portmod_cpri_port_encap_roe_ordering_sequence_offset_get */ 348 #endif /* CPRIMOD_SUPPORT */ 349 #ifdef CPRIMOD_SUPPORT 350 NULL, /* portmod_cpri_port_roe_encap_macda_entry_set */ 351 NULL, /* portmod_cpri_port_roe_encap_macda_entry_get */ 352 #endif /* CPRIMOD_SUPPORT */ 353 #ifdef CPRIMOD_SUPPORT 354 NULL, /* portmod_cpri_port_roe_encap_macsa_entry_set */ 355 NULL, /* portmod_cpri_port_roe_encap_macsa_entry_get */ 356 #endif /* CPRIMOD_SUPPORT */ 357 #ifdef CPRIMOD_SUPPORT 358 NULL, /* portmod_cpri_port_roe_encap_vlan_entry_set */ 359 NULL, /* portmod_cpri_port_roe_encap_vlan_entry_get */ 360 #endif /* CPRIMOD_SUPPORT */ 361 #ifdef CPRIMOD_SUPPORT 362 NULL, /* portmod_cpri_port_decap_ethertype_config_set */ 363 NULL, /* portmod_cpri_port_decap_ethertype_config_get */ 364 #endif /* CPRIMOD_SUPPORT */ 365 #ifdef CPRIMOD_SUPPORT 366 NULL, /* portmod_cpri_port_encap_ethertype_config_set */ 367 NULL, /* portmod_cpri_port_encap_ethertype_config_get */ 368 #endif /* CPRIMOD_SUPPORT */ 369 #ifdef CPRIMOD_SUPPORT 370 NULL, /* portmod_cpri_port_decap_flow_config_set */ 371 NULL, /* portmod_cpri_port_decap_flow_config_get */ 372 #endif /* CPRIMOD_SUPPORT */ 373 #ifdef CPRIMOD_SUPPORT 374 NULL, /* portmod_cpri_port_decap_queue_to_ordering_info_index_set */ 375 NULL, /* portmod_cpri_port_decap_queue_to_ordering_info_index_get */ 376 #endif /* CPRIMOD_SUPPORT */ 377 #ifdef CPRIMOD_SUPPORT 378 NULL, /* portmod_cpri_port_decap_flow_to_queue_mapping_set */ 379 NULL, /* portmod_cpri_port_decap_flow_to_queue_mapping_get */ 380 #endif /* CPRIMOD_SUPPORT */ 381 #ifdef CPRIMOD_SUPPORT 382 NULL, /* portmod_cpri_port_decap_roe_ordering_info_set */ 383 NULL, /* portmod_cpri_port_decap_roe_ordering_info_get */ 384 #endif /* CPRIMOD_SUPPORT */ 385 #ifdef CPRIMOD_SUPPORT 386 NULL, /* portmod_cpri_port_decap_roe_ordering_sequence_offset_set */ 387 NULL, /* portmod_cpri_port_decap_roe_ordering_sequence_offset_get */ 388 #endif /* CPRIMOD_SUPPORT */ 389 #ifdef CPRIMOD_SUPPORT 390 NULL, /* portmod_cpri_port_tx_frame_tgen_config_set */ 391 NULL, /* portmod_cpri_port_tx_frame_tgen_config_get */ 392 #endif /* CPRIMOD_SUPPORT */ 393 #ifdef CPRIMOD_SUPPORT 394 NULL, /* portmod_cpri_port_tx_frame_tgen_enable */ 395 #endif /* CPRIMOD_SUPPORT */ 396 #ifdef CPRIMOD_SUPPORT 397 NULL, /* portmod_cpri_port_tx_frame_tgen_ts_offset_set */ 398 NULL, /* portmod_cpri_port_tx_frame_tgen_ts_offset_get */ 399 #endif /* CPRIMOD_SUPPORT */ 400 #ifdef CPRIMOD_SUPPORT 401 NULL, /* portmod_cpri_port_tx_frame_next_hfn_get */ 402 #endif /* CPRIMOD_SUPPORT */ 403 #ifdef CPRIMOD_SUPPORT 404 NULL, /* portmod_cpri_port_tx_frame_next_bfn_get */ 405 #endif /* CPRIMOD_SUPPORT */ 406 #ifdef CPRIMOD_SUPPORT 407 NULL, /* portmod_cpri_port_rsvd4_rx_flow_add */ 408 #endif /* CPRIMOD_SUPPORT */ 409 #ifdef CPRIMOD_SUPPORT 410 NULL, /* portmod_cpri_port_rsvd4_rx_flow_delete */ 411 #endif /* CPRIMOD_SUPPORT */ 412 #ifdef CPRIMOD_SUPPORT 413 NULL, /* portmod_cpri_port_rsvd4_tx_flow_add */ 414 #endif /* CPRIMOD_SUPPORT */ 415 #ifdef CPRIMOD_SUPPORT 416 NULL, /* portmod_cpri_port_rsvd4_tx_flow_delete */ 417 #endif /* CPRIMOD_SUPPORT */ 418 #ifdef CPRIMOD_SUPPORT 419 NULL, /* portmod_cpri_port_rsvd4_dbm_entry_set */ 420 NULL, /* portmod_cpri_port_rsvd4_dbm_entry_get */ 421 #endif /* CPRIMOD_SUPPORT */ 422 #ifdef CPRIMOD_SUPPORT 423 NULL, /* portmod_cpri_port_rsvd4_secondary_dbm_entry_set */ 424 NULL, /* portmod_cpri_port_rsvd4_secondary_dbm_entry_get */ 425 #endif /* CPRIMOD_SUPPORT */ 426 #ifdef CPRIMOD_SUPPORT 427 NULL, /* portmod_cpri_port_rsvd4_modulo_rule_entry_set */ 428 NULL, /* portmod_cpri_port_rsvd4_modulo_rule_entry_get */ 429 #endif /* CPRIMOD_SUPPORT */ 430 #ifdef CPRIMOD_SUPPORT 431 NULL, /* portmod_cpri_port_rsvd4_dbm_position_entry_set */ 432 NULL, /* portmod_cpri_port_rsvd4_dbm_position_entry_get */ 433 #endif /* CPRIMOD_SUPPORT */ 434 #ifdef CPRIMOD_SUPPORT 435 NULL, /* portmod_cpri_port_rsvd4_rx_master_frame_sync_config_set */ 436 NULL, /* portmod_cpri_port_rsvd4_rx_master_frame_sync_config_get */ 437 #endif /* CPRIMOD_SUPPORT */ 438 NULL, /* portmod_port_vcos_get */ 439 NULL, /* portmod_port_mac_timestamp_enable_set */ 440 NULL, /* portmod_port_mac_timestamp_enable_get */ 441 #ifdef CPRIMOD_SUPPORT 442 NULL, /* portmod_cpri_port_rx_cw_sync_info_get */ 443 #endif /* CPRIMOD_SUPPORT */ 444 #ifdef CPRIMOD_SUPPORT 445 NULL, /* portmod_cpri_port_rx_cw_l1_signal_info_get */ 446 #endif /* CPRIMOD_SUPPORT */ 447 #ifdef CPRIMOD_SUPPORT 448 NULL, /* portmod_cpri_port_rx_cw_l1_signal_signal_protection_set */ 449 NULL, /* portmod_cpri_port_rx_cw_l1_signal_signal_protection_get */ 450 #endif /* CPRIMOD_SUPPORT */ 451 #ifdef CPRIMOD_SUPPORT 452 NULL, /* portmod_cpri_port_cw_slow_hdlc_config_set */ 453 NULL, /* portmod_cpri_port_cw_slow_hdlc_config_get */ 454 #endif /* CPRIMOD_SUPPORT */ 455 #ifdef CPRIMOD_SUPPORT 456 NULL, /* portmod_cpri_port_cw_fast_eth_config_set */ 457 NULL, /* portmod_cpri_port_cw_fast_eth_config_get */ 458 #endif /* CPRIMOD_SUPPORT */ 459 #ifdef CPRIMOD_SUPPORT 460 NULL, /* portmod_cpri_port_rx_vsd_config_set */ 461 NULL, /* portmod_cpri_port_rx_vsd_config_get */ 462 #endif /* CPRIMOD_SUPPORT */ 463 #ifdef CPRIMOD_SUPPORT 464 NULL, /* portmod_cpri_port_tx_vsd_config_set */ 465 NULL, /* portmod_cpri_port_tx_vsd_config_get */ 466 #endif /* CPRIMOD_SUPPORT */ 467 #ifdef CPRIMOD_SUPPORT 468 NULL, /* portmod_cpri_port_rx_vsd_flow_add */ 469 #endif /* CPRIMOD_SUPPORT */ 470 #ifdef CPRIMOD_SUPPORT 471 NULL, /* portmod_cpri_port_rx_vsd_flow_get */ 472 #endif /* CPRIMOD_SUPPORT */ 473 #ifdef CPRIMOD_SUPPORT 474 NULL, /* portmod_cpri_port_rx_vsd_flow_delete */ 475 #endif /* CPRIMOD_SUPPORT */ 476 #ifdef CPRIMOD_SUPPORT 477 NULL, /* portmod_cpri_port_tx_vsd_flow_add */ 478 #endif /* CPRIMOD_SUPPORT */ 479 #ifdef CPRIMOD_SUPPORT 480 NULL, /* portmod_cpri_port_tx_vsd_flow_delete */ 481 #endif /* CPRIMOD_SUPPORT */ 482 #ifdef CPRIMOD_SUPPORT 483 NULL, /* portmod_cpri_port_tx_vsd_flow_get */ 484 #endif /* CPRIMOD_SUPPORT */ 485 #ifdef CPRIMOD_SUPPORT 486 NULL, /* portmod_cpri_port_encap_queue_control_tag_to_flow_map_set */ 487 NULL, /* portmod_cpri_port_encap_queue_control_tag_to_flow_map_get */ 488 #endif /* CPRIMOD_SUPPORT */ 489 #ifdef CPRIMOD_SUPPORT 490 NULL, /* portmod_cpri_port_rx_vsd_raw_config_set */ 491 NULL, /* portmod_cpri_port_rx_vsd_raw_config_get */ 492 #endif /* CPRIMOD_SUPPORT */ 493 #ifdef CPRIMOD_SUPPORT 494 NULL, /* portmod_cpri_port_tx_vsd_raw_config_set */ 495 NULL, /* portmod_cpri_port_tx_vsd_raw_config_get */ 496 #endif /* CPRIMOD_SUPPORT */ 497 #ifdef CPRIMOD_SUPPORT 498 NULL, /* portmod_cpri_port_tx_vsd_raw_filter_set */ 499 NULL, /* portmod_cpri_port_tx_vsd_raw_filter_get */ 500 #endif /* CPRIMOD_SUPPORT */ 501 #ifdef CPRIMOD_SUPPORT 502 NULL, /* portmod_cpri_port_rx_brcm_rsvd5_config_set */ 503 NULL, /* portmod_cpri_port_rx_brcm_rsvd5_config_get */ 504 #endif /* CPRIMOD_SUPPORT */ 505 #ifdef CPRIMOD_SUPPORT 506 NULL, /* portmod_cpri_port_tx_brcm_rsvd5_config_set */ 507 NULL, /* portmod_cpri_port_tx_brcm_rsvd5_config_get */ 508 #endif /* CPRIMOD_SUPPORT */ 509 #ifdef CPRIMOD_SUPPORT 510 NULL, /* portmod_cpri_port_rx_gcw_config_set */ 511 NULL, /* portmod_cpri_port_rx_gcw_config_get */ 512 #endif /* CPRIMOD_SUPPORT */ 513 #ifdef CPRIMOD_SUPPORT 514 NULL, /* portmod_cpri_port_tx_gcw_config_set */ 515 NULL, /* portmod_cpri_port_tx_gcw_config_get */ 516 #endif /* CPRIMOD_SUPPORT */ 517 #ifdef CPRIMOD_SUPPORT 518 NULL, /* portmod_cpri_port_tx_gcw_filter_set */ 519 NULL, /* portmod_cpri_port_tx_gcw_filter_get */ 520 #endif /* CPRIMOD_SUPPORT */ 521 #ifdef CPRIMOD_SUPPORT 522 NULL, /* portmod_cpri_port_tx_cw_sync_info_set */ 523 NULL, /* portmod_cpri_port_tx_cw_sync_info_get */ 524 #endif /* CPRIMOD_SUPPORT */ 525 #ifdef CPRIMOD_SUPPORT 526 NULL, /* portmod_cpri_port_tx_cw_l1_config_set */ 527 #endif /* CPRIMOD_SUPPORT */ 528 #ifdef CPRIMOD_SUPPORT 529 NULL, /* portmod_rsvd4_rx_control_flow_add */ 530 #endif /* CPRIMOD_SUPPORT */ 531 #ifdef CPRIMOD_SUPPORT 532 NULL, /* portmod_rsvd4_rx_control_flow_delete */ 533 #endif /* CPRIMOD_SUPPORT */ 534 #ifdef CPRIMOD_SUPPORT 535 NULL, /* portmod_rsvd4_fast_eth_config_set */ 536 #endif /* CPRIMOD_SUPPORT */ 537 #ifdef CPRIMOD_SUPPORT 538 NULL, /* portmod_rsvd4_rx_sync_profile_entry_set */ 539 NULL, /* portmod_rsvd4_rx_sync_profile_entry_get */ 540 #endif /* CPRIMOD_SUPPORT */ 541 NULL, /* portmod_rx_tag_config_set */ 542 NULL, /* portmod_rx_tag_gen_entry_add */ 543 NULL, /* portmod_rx_tag_gen_entry_delete */ 544 #ifdef CPRIMOD_SUPPORT 545 NULL, /* portmod_rsvd4_tx_control_flow_group_member_add */ 546 #endif /* CPRIMOD_SUPPORT */ 547 #ifdef CPRIMOD_SUPPORT 548 NULL, /* portmod_rsvd4_tx_control_flow_group_member_delete */ 549 #endif /* CPRIMOD_SUPPORT */ 550 #ifdef CPRIMOD_SUPPORT 551 NULL, /* portmod_rsvd4_tx_eth_message_config_set */ 552 #endif /* CPRIMOD_SUPPORT */ 553 #ifdef CPRIMOD_SUPPORT 554 NULL, /* portmod_rsvd4_tx_single_raw_message_config_set */ 555 #endif /* CPRIMOD_SUPPORT */ 556 #ifdef CPRIMOD_SUPPORT 557 NULL, /* portmod_rsvd4_tx_control_flow_config_set */ 558 NULL, /* portmod_rsvd4_tx_control_flow_config_get */ 559 #endif /* CPRIMOD_SUPPORT */ 560 #ifdef CPRIMOD_SUPPORT 561 NULL, /* portmod_rsvd4_tx_control_flow_header_index_set */ 562 NULL, /* portmod_rsvd4_tx_control_flow_header_index_get */ 563 #endif /* CPRIMOD_SUPPORT */ 564 #ifdef CPRIMOD_SUPPORT 565 NULL, /* portmod_rsvd4_tx_control_header_entry_set */ 566 NULL, /* portmod_rsvd4_tx_control_header_entry_get */ 567 #endif /* CPRIMOD_SUPPORT */ 568 #ifdef CPRIMOD_SUPPORT 569 NULL, /* portmod_rsvd4_tx_single_tunnel_message_config_set */ 570 #endif /* CPRIMOD_SUPPORT */ 571 NULL, /* portmod_port_txpi_override_set */ 572 NULL, /* portmod_port_txpi_override_get */ 573 NULL, /* portmod_port_txpi_sdm_data_get */ 574 NULL, /* portmod_pm_speed_config_validate */ 575 NULL, /* portmod_pm_vcos_get */ 576 NULL, /* portmod_pm_specific_vcos_get */ 577 NULL, /* portmod_port_autoneg_ability_advert_set */ 578 NULL, /* portmod_port_autoneg_ability_advert_get */ 579 NULL, /* portmod_port_autoneg_ability_remote_get */ 580 #ifdef CPRIMOD_SUPPORT 581 NULL, /* portmod_cpri_port_interrupt_link_status_get */ 582 #endif /* CPRIMOD_SUPPORT */ 583 #ifdef CPRIMOD_SUPPORT 584 NULL, /* portmod_cpri_port_interrupt_enable_set */ 585 #endif /* CPRIMOD_SUPPORT */ 586 #ifdef CPRIMOD_SUPPORT 587 NULL, /* portmod_cpri_port_interrupt_process */ 588 #endif /* CPRIMOD_SUPPORT */ 589 #ifdef CPRIMOD_SUPPORT 590 NULL, /* portmod_fast_clk_bit_time_period_set */ 591 NULL, /* portmod_fast_clk_bit_time_period_get */ 592 #endif /* CPRIMOD_SUPPORT */ 593 #ifdef CPRIMOD_SUPPORT 594 NULL, /* portmod_1588_bit_time_period_set */ 595 NULL, /* portmod_1588_bit_time_period_get */ 596 #endif /* CPRIMOD_SUPPORT */ 597 #ifdef CPRIMOD_SUPPORT 598 NULL, /* portmod_1588_timestamp_capture_config_set */ 599 NULL, /* portmod_1588_timestamp_capture_config_get */ 600 #endif /* CPRIMOD_SUPPORT */ 601 #ifdef CPRIMOD_SUPPORT 602 NULL, /* portmod_1588_captured_timestamp_get */ 603 #endif /* CPRIMOD_SUPPORT */ 604 #ifdef CPRIMOD_SUPPORT 605 NULL, /* portmod_1588_timestamp_adjust_set */ 606 NULL, /* portmod_1588_timestamp_adjust_get */ 607 #endif /* CPRIMOD_SUPPORT */ 608 #ifdef CPRIMOD_SUPPORT 609 NULL, /* portmod_1588_timestamp_fifo_config_set */ 610 NULL, /* portmod_1588_timestamp_fifo_config_get */ 611 #endif /* CPRIMOD_SUPPORT */ 612 #ifdef CPRIMOD_SUPPORT 613 NULL, /* portmod_1588_timestamp_cmic_config_set */ 614 NULL, /* portmod_1588_timestamp_cmic_config_get */ 615 #endif /* CPRIMOD_SUPPORT */ 616 NULL, /* portmod_port_tx_set */ 617 NULL, /* portmod_port_tx_get */ 618 NULL, /* portmod_port_synce_clk_ctrl_set */ 619 NULL, /* portmod_port_synce_clk_ctrl_get */ 620 #ifdef CPRIMOD_SUPPORT 621 NULL, /* portmod_cpri_port_rx_agnostic_config_set */ 622 NULL, /* portmod_cpri_port_rx_agnostic_config_get */ 623 #endif /* CPRIMOD_SUPPORT */ 624 #ifdef CPRIMOD_SUPPORT 625 NULL, /* portmod_cpri_port_tx_agnostic_config_set */ 626 NULL, /* portmod_cpri_port_tx_agnostic_config_get */ 627 #endif /* CPRIMOD_SUPPORT */ 628 #ifdef CPRIMOD_SUPPORT 629 NULL, /* portmod_cpri_port_encap_presentation_time_config_set */ 630 NULL, /* portmod_cpri_port_encap_presentation_time_config_get */ 631 #endif /* CPRIMOD_SUPPORT */ 632 #ifdef CPRIMOD_SUPPORT 633 NULL, /* portmod_cpri_port_decap_presentation_time_config_set */ 634 NULL, /* portmod_cpri_port_decap_presentation_time_config_get */ 635 #endif /* CPRIMOD_SUPPORT */ 636 #ifdef CPRIMOD_SUPPORT 637 NULL, /* portmod_cpri_port_compression_lookup_table_set */ 638 NULL, /* portmod_cpri_port_compression_lookup_table_get */ 639 #endif /* CPRIMOD_SUPPORT */ 640 #ifdef CPRIMOD_SUPPORT 641 NULL, /* portmod_cpri_port_decompression_lookup_table_set */ 642 NULL, /* portmod_cpri_port_decompression_lookup_table_get */ 643 #endif /* CPRIMOD_SUPPORT */ 644 #ifdef CPRIMOD_SUPPORT 645 NULL, /* portmod_cpri_port_decap_queue_flow_control_set */ 646 NULL, /* portmod_cpri_port_decap_queue_flow_control_get */ 647 #endif /* CPRIMOD_SUPPORT */ 648 #ifdef CPRIMOD_SUPPORT 649 NULL, /* portmod_cpri_port_fec_enable_set */ 650 NULL, /* portmod_cpri_port_fec_enable_get */ 651 #endif /* CPRIMOD_SUPPORT */ 652 #ifdef CPRIMOD_SUPPORT 653 NULL, /* portmod_cpri_port_fec_timestamp_config_set */ 654 NULL, /* portmod_cpri_port_fec_timestamp_config_get */ 655 #endif /* CPRIMOD_SUPPORT */ 656 #ifdef CPRIMOD_SUPPORT 657 NULL, /* portmod_cpri_port_fec_aux_config_set */ 658 NULL, /* portmod_cpri_port_fec_aux_config_get */ 659 #endif /* CPRIMOD_SUPPORT */ 660 #ifdef CPRIMOD_SUPPORT 661 NULL, /* portmod_cpri_port_ecc_interrupt_enable_set */ 662 #endif /* CPRIMOD_SUPPORT */ 663 #ifdef CPRIMOD_SUPPORT 664 NULL, /* portmod_cpri_port_ecc_interrupt_status_get */ 665 #endif /* CPRIMOD_SUPPORT */ 666 #ifdef CPRIMOD_SUPPORT 667 NULL, /* portmod_cpri_init */ 668 #endif /* CPRIMOD_SUPPORT */ 669 #ifdef CPRIMOD_SUPPORT 670 NULL, /* portmod_cpri_port_rx_gcw_word_get */ 671 #endif /* CPRIMOD_SUPPORT */ 672 #ifdef CPRIMOD_SUPPORT 673 NULL, /* portmod_cpri_port_tx_gcw_word_set */ 674 #endif /* CPRIMOD_SUPPORT */ 675 NULL, /* portmod_pm_interrupt_process */ 676 NULL, /* portmod_pm_core_num_get */ 677 NULL, /* portmod_port_rlm_config_set */ 678 NULL, /* portmod_port_rlm_config_get */ 679 NULL, /* portmod_port_rlm_status_get */ 680 #ifdef CPRIMOD_SUPPORT 681 NULL, /* portmod_cpri_port_rx_tunnel_mode_config_set */ 682 NULL, /* portmod_cpri_port_rx_tunnel_mode_config_get */ 683 #endif /* CPRIMOD_SUPPORT */ 684 #ifdef CPRIMOD_SUPPORT 685 NULL, /* portmod_cpri_port_tx_tunnel_mode_config_set */ 686 NULL, /* portmod_cpri_port_tx_tunnel_mode_config_get */ 687 #endif /* CPRIMOD_SUPPORT */ 688 #ifdef CPRIMOD_SUPPORT 689 NULL, /* portmod_rsvd4_port_rx_agnostic_config_set */ 690 NULL, /* portmod_rsvd4_port_rx_agnostic_config_get */ 691 #endif /* CPRIMOD_SUPPORT */ 692 #ifdef CPRIMOD_SUPPORT 693 NULL, /* portmod_rsvd4_port_tx_agnostic_config_set */ 694 NULL, /* portmod_rsvd4_port_tx_agnostic_config_get */ 695 #endif /* CPRIMOD_SUPPORT */ 696 #ifdef CPRIMOD_SUPPORT 697 NULL, /* portmod_cpri_port_frame_config_set */ 698 #endif /* CPRIMOD_SUPPORT */ 699 #ifdef CPRIMOD_SUPPORT 700 NULL, /* portmod_cpri_port_compression_saturation_config_set */ 701 NULL, /* portmod_cpri_port_compression_saturation_config_get */ 702 #endif /* CPRIMOD_SUPPORT */ 703 #ifdef CPRIMOD_SUPPORT 704 NULL, /* portmod_cpri_port_decompression_saturation_config_set */ 705 NULL, /* portmod_cpri_port_decompression_saturation_config_get */ 706 #endif /* CPRIMOD_SUPPORT */ 707 }; 708 709 #endif /* PORTMOD_PM4x10Q_SUPPORT */