Searched refs:ptp_cfg (Results 1 – 10 of 10) sorted by relevance
269 unsigned long *flags, u32 *ptp_cfg) in hclge_ptp_set_tx_mode() argument277 *ptp_cfg |= HCLGE_PTP_TX_EN_B; in hclge_ptp_set_tx_mode()287 unsigned long *flags, u32 *ptp_cfg) in hclge_ptp_set_rx_mode() argument299 *ptp_cfg |= HCLGE_PTP_RX_EN_B; in hclge_ptp_set_rx_mode()300 *ptp_cfg |= HCLGE_PTP_UDP_FULL_TYPE << HCLGE_PTP_UDP_EN_SHIFT; in hclge_ptp_set_rx_mode()313 *ptp_cfg |= HCLGE_PTP_RX_EN_B; in hclge_ptp_set_rx_mode()314 *ptp_cfg |= HCLGE_PTP_UDP_FULL_TYPE << HCLGE_PTP_UDP_EN_SHIFT; in hclge_ptp_set_rx_mode()315 *ptp_cfg |= HCLGE_PTP_MSG1_V2_DEFAULT << HCLGE_PTP_MSG1_SHIFT; in hclge_ptp_set_rx_mode()316 *ptp_cfg |= HCLGE_PTP_MSG0_V2_EVENT << HCLGE_PTP_MSG0_SHIFT; in hclge_ptp_set_rx_mode()317 *ptp_cfg |= HCLGE_PTP_MSG_TYPE_V2 << HCLGE_PTP_MSG_TYPE_SHIFT; in hclge_ptp_set_rx_mode()[all …]
67 u32 ptp_cfg; member
3000 u32 sw_cfg = ptp->ptp_cfg; in hclge_dbg_dump_ptp_info()
80 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in __bnxt_refclk_read()104 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_refclk_read()118 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_refclk_read_low()139 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_ptp_get_current_time()161 struct bnxt_ptp_tx_req *txts_req = &bp->ptp_cfg->txts_req[slot]; in bnxt_hwrm_port_ts_query()204 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_ptp_update_current_time()285 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_ptp_pps_event()305 ptp_clock_event(bp->ptp_cfg->ptp_clock, &event); in bnxt_ptp_pps_event()311 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_ptp_cfg_pin()362 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_ptp_cfg_tstamp_filters()[all …]
471 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_start_xmit()777 atomic64_inc(&bp->ptp_cfg->stats.ts_err); in bnxt_start_xmit()2268 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_rx_pkt()2822 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_async_event_process()5574 !bp->ptp_cfg) in bnxt_hwrm_func_drv_rgtr()6949 if ((bp->fw_cap & BNXT_FW_CAP_TX_TS_CMP) && bp->ptp_cfg) in hwrm_ring_alloc_send_msg()9346 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in __bnxt_hwrm_ptp_qcfg()9378 bp->ptp_cfg = ptp; in __bnxt_hwrm_ptp_qcfg()9406 bp->ptp_cfg = NULL; in __bnxt_hwrm_ptp_qcfg()9515 kfree(bp->ptp_cfg); in __bnxt_hwrm_func_qcaps()[all …]
2678 struct bnxt_ptp_cfg *ptp_cfg; member
5054 ptp = bp->ptp_cfg; in bnxt_get_ts_info()5270 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_get_ptp_stats()
2121 struct dpni_single_step_cfg *ptp_cfg) in dpni_get_single_step_cfg() argument2137 ptp_cfg->offset = le16_to_cpu(rsp_params->offset); in dpni_get_single_step_cfg()2138 ptp_cfg->en = dpni_get_field(le16_to_cpu(rsp_params->flags), in dpni_get_single_step_cfg()2140 ptp_cfg->ch_update = dpni_get_field(le16_to_cpu(rsp_params->flags), in dpni_get_single_step_cfg()2142 ptp_cfg->peer_delay = le32_to_cpu(rsp_params->peer_delay); in dpni_get_single_step_cfg()2143 ptp_cfg->ptp_onestep_reg_base = in dpni_get_single_step_cfg()2165 struct dpni_single_step_cfg *ptp_cfg) in dpni_set_single_step_cfg() argument2175 cmd_params->offset = cpu_to_le16(ptp_cfg->offset); in dpni_set_single_step_cfg()2176 cmd_params->peer_delay = cpu_to_le32(ptp_cfg->peer_delay); in dpni_set_single_step_cfg()2179 dpni_set_field(flags, PTP_ENABLE, !!ptp_cfg->en); in dpni_set_single_step_cfg()[all …]
1103 struct dpni_single_step_cfg *ptp_cfg);1108 struct dpni_single_step_cfg *ptp_cfg);
79 struct dpni_single_step_cfg ptp_cfg; in dpaa2_ptp_onestep_reg_update_method() local87 priv->mc_token, &ptp_cfg)) { in dpaa2_ptp_onestep_reg_update_method()92 if (!ptp_cfg.ptp_onestep_reg_base) { in dpaa2_ptp_onestep_reg_update_method()97 priv->onestep_reg_base = ioremap(ptp_cfg.ptp_onestep_reg_base, in dpaa2_ptp_onestep_reg_update_method()