Searched refs:ptp_cfg (Results 1 – 9 of 9) sorted by relevance
281 unsigned long *flags, u32 *ptp_cfg) in hclge_ptp_set_tx_mode() argument289 *ptp_cfg |= HCLGE_PTP_TX_EN_B; in hclge_ptp_set_tx_mode()299 unsigned long *flags, u32 *ptp_cfg) in hclge_ptp_set_rx_mode() argument311 *ptp_cfg |= HCLGE_PTP_RX_EN_B; in hclge_ptp_set_rx_mode()312 *ptp_cfg |= HCLGE_PTP_UDP_FULL_TYPE << HCLGE_PTP_UDP_EN_SHIFT; in hclge_ptp_set_rx_mode()325 *ptp_cfg |= HCLGE_PTP_RX_EN_B; in hclge_ptp_set_rx_mode()326 *ptp_cfg |= HCLGE_PTP_UDP_FULL_TYPE << HCLGE_PTP_UDP_EN_SHIFT; in hclge_ptp_set_rx_mode()327 *ptp_cfg |= HCLGE_PTP_MSG1_V2_DEFAULT << HCLGE_PTP_MSG1_SHIFT; in hclge_ptp_set_rx_mode()328 *ptp_cfg |= HCLGE_PTP_MSG0_V2_EVENT << HCLGE_PTP_MSG0_SHIFT; in hclge_ptp_set_rx_mode()329 *ptp_cfg |= HCLGE_PTP_MSG_TYPE_V2 << HCLGE_PTP_MSG_TYPE_SHIFT; in hclge_ptp_set_rx_mode()[all …]
64 u32 ptp_cfg; member
2278 u32 sw_cfg = ptp->ptp_cfg; in hclge_dbg_dump_ptp_info()
63 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_refclk_read()77 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_ptp_get_current_time()101 req->ptp_seq_id = cpu_to_le32(bp->ptp_cfg->tx_seqid); in bnxt_hwrm_port_ts_query()102 req->ptp_hdr_offset = cpu_to_le16(bp->ptp_cfg->tx_hdr_off); in bnxt_hwrm_port_ts_query()170 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_ptp_pps_event()192 ptp_clock_event(bp->ptp_cfg->ptp_clock, &event); in bnxt_ptp_pps_event()198 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_ptp_cfg_pin()249 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_ptp_reapply_pps()382 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_hwrm_ptp_cfg()415 ptp = bp->ptp_cfg; in bnxt_hwtstamp_set()[all …]
464 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_start_xmit()475 atomic_inc(&bp->ptp_cfg->tx_avail); in bnxt_start_xmit()671 atomic_inc(&bp->ptp_cfg->tx_avail); in bnxt_start_xmit()744 atomic_inc(&bp->ptp_cfg->tx_avail); in bnxt_tx_int()1977 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_rx_pkt()7428 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in __bnxt_hwrm_ptp_qcfg()7459 bp->ptp_cfg = ptp; in __bnxt_hwrm_ptp_qcfg()7482 bp->ptp_cfg = NULL; in __bnxt_hwrm_ptp_qcfg()7565 kfree(bp->ptp_cfg); in __bnxt_hwrm_func_qcaps()7566 bp->ptp_cfg = NULL; in __bnxt_hwrm_func_qcaps()[all …]
2039 struct bnxt_ptp_cfg *ptp_cfg; member
4009 ptp = bp->ptp_cfg; in bnxt_get_ts_info()
2117 struct dpni_single_step_cfg *ptp_cfg) in dpni_get_single_step_cfg() argument2133 ptp_cfg->offset = le16_to_cpu(rsp_params->offset); in dpni_get_single_step_cfg()2134 ptp_cfg->en = dpni_get_field(le16_to_cpu(rsp_params->flags), in dpni_get_single_step_cfg()2136 ptp_cfg->ch_update = dpni_get_field(le16_to_cpu(rsp_params->flags), in dpni_get_single_step_cfg()2138 ptp_cfg->peer_delay = le32_to_cpu(rsp_params->peer_delay); in dpni_get_single_step_cfg()2159 struct dpni_single_step_cfg *ptp_cfg) in dpni_set_single_step_cfg() argument2169 cmd_params->offset = cpu_to_le16(ptp_cfg->offset); in dpni_set_single_step_cfg()2170 cmd_params->peer_delay = cpu_to_le32(ptp_cfg->peer_delay); in dpni_set_single_step_cfg()2173 dpni_set_field(flags, PTP_ENABLE, !!ptp_cfg->en); in dpni_set_single_step_cfg()2174 dpni_set_field(flags, PTP_CH_UPDATE, !!ptp_cfg->ch_update); in dpni_set_single_step_cfg()
1088 struct dpni_single_step_cfg *ptp_cfg);1093 struct dpni_single_step_cfg *ptp_cfg);