Lines Matching refs:aq_hw
284 aq_nic->aq_hw_ops->hw_adj_clock_freq(aq_nic->aq_hw, in aq_ptp_adjfine()
304 aq_nic->aq_hw_ops->hw_adj_sys_clock(aq_nic->aq_hw, delta); in aq_ptp_adjtime()
325 aq_nic->aq_hw_ops->hw_get_ptp_ts(aq_nic->aq_hw, &ns); in aq_ptp_gettime()
350 aq_nic->aq_hw_ops->hw_get_ptp_ts(aq_nic->aq_hw, &now); in aq_ptp_settime()
351 aq_nic->aq_hw_ops->hw_adj_sys_clock(aq_nic->aq_hw, (s64)ns - (s64)now); in aq_ptp_settime()
382 aq_nic->aq_hw_ops->hw_gpio_pulse(aq_nic->aq_hw, pin_index, in aq_ptp_hw_pin_conf()
439 aq_nic->aq_hw_ops->hw_get_ptp_ts(aq_nic->aq_hw, &start); in aq_ptp_pps_pin_configure()
456 aq_nic->aq_hw_ops->hw_extts_gpio_enable(aq_nic->aq_hw, 0, in aq_ptp_extts_pin_ctrl()
602 err = hw_ops->hw_filter_l3l4_set(aq_nic->aq_hw, in aq_ptp_hwtstamp_config_set()
606 err = hw_ops->hw_filter_l2_set(aq_nic->aq_hw, in aq_ptp_hwtstamp_config_set()
613 err = hw_ops->hw_filter_l3l4_set(aq_nic->aq_hw, in aq_ptp_hwtstamp_config_set()
617 err = hw_ops->hw_filter_l2_clear(aq_nic->aq_hw, in aq_ptp_hwtstamp_config_set()
647 u16 ret = aq_nic->aq_hw_ops->rx_extract_ts(aq_nic->aq_hw, in aq_ptp_extract_ts()
665 err = aq_nic->aq_hw_ops->hw_ring_tx_head_update(aq_nic->aq_hw, in aq_ptp_poll()
677 err = aq_nic->aq_hw_ops->hw_ring_hwts_rx_receive(aq_nic->aq_hw, in aq_ptp_poll()
685 err = aq_nic->aq_hw_ops->hw_ring_hwts_rx_fill(aq_nic->aq_hw, in aq_ptp_poll()
694 err = aq_nic->aq_hw_ops->hw_ring_rx_receive(aq_nic->aq_hw, in aq_ptp_poll()
711 err = aq_nic->aq_hw_ops->hw_ring_rx_fill(aq_nic->aq_hw, in aq_ptp_poll()
723 aq_nic->aq_hw_ops->hw_irq_enable(aq_nic->aq_hw, in aq_ptp_poll()
784 err = aq_nic->aq_hw_ops->hw_ring_tx_xmit(aq_nic->aq_hw, in aq_ptp_xmit()
854 err = aq_nic->aq_hw_ops->hw_ring_tx_init(aq_nic->aq_hw, in aq_ptp_ring_init()
863 err = aq_nic->aq_hw_ops->hw_ring_rx_init(aq_nic->aq_hw, in aq_ptp_ring_init()
872 err = aq_nic->aq_hw_ops->hw_ring_rx_fill(aq_nic->aq_hw, in aq_ptp_ring_init()
881 err = aq_nic->aq_hw_ops->hw_ring_rx_init(aq_nic->aq_hw, in aq_ptp_ring_init()
886 err = aq_nic->aq_hw_ops->hw_ring_hwts_rx_fill(aq_nic->aq_hw, in aq_ptp_ring_init()
907 err = aq_nic->aq_hw_ops->hw_ring_tx_start(aq_nic->aq_hw, &aq_ptp->ptp_tx); in aq_ptp_ring_start()
911 err = aq_nic->aq_hw_ops->hw_ring_rx_start(aq_nic->aq_hw, &aq_ptp->ptp_rx); in aq_ptp_ring_start()
915 err = aq_nic->aq_hw_ops->hw_ring_rx_start(aq_nic->aq_hw, in aq_ptp_ring_start()
933 aq_nic->aq_hw_ops->hw_ring_tx_stop(aq_nic->aq_hw, &aq_ptp->ptp_tx); in aq_ptp_ring_stop()
934 aq_nic->aq_hw_ops->hw_ring_rx_stop(aq_nic->aq_hw, &aq_ptp->ptp_rx); in aq_ptp_ring_stop()
936 aq_nic->aq_hw_ops->hw_ring_rx_stop(aq_nic->aq_hw, &aq_ptp->hwts_rx); in aq_ptp_ring_stop()
1164 bool a1_ptp = ATL_HW_IS_CHIP_FEATURE(aq_nic->aq_hw, ATLANTIC); in aq_ptp_init()
1185 hw_atl_utils_mpi_read_stats(aq_nic->aq_hw, &mbox); in aq_ptp_init()
1228 aq_utils_obj_set(&aq_nic->aq_hw->flags, AQ_HW_PTP_AVAILABLE); in aq_ptp_init()
1230 aq_nic->aq_fw_ops->enable_ptp(aq_nic->aq_hw, 1); in aq_ptp_init()
1274 aq_nic->aq_fw_ops->enable_ptp(aq_nic->aq_hw, 0); in aq_ptp_free()
1295 aq_nic->aq_hw_ops->hw_get_sync_ts(aq_nic->aq_hw, &ts); in aq_ptp_get_sync1588_ts()
1318 if (aq_nic->aq_hw->aq_link_status.mbps) in aq_ptp_link_change()
1364 aq_nic->aq_hw_ops->hw_ts_to_sys_clock(aq_nic->aq_hw, in aq_ptp_check_sync1588()