Searched refs:ptp_cfg (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| A D | hclge_ptp.c | 281 unsigned long *flags, u32 *ptp_cfg) in hclge_ptp_set_tx_mode() argument 289 *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() argument 311 *ptp_cfg |= HCLGE_PTP_RX_EN_B; in hclge_ptp_set_rx_mode() 325 *ptp_cfg |= HCLGE_PTP_RX_EN_B; in hclge_ptp_set_rx_mode() 346 u32 ptp_cfg = 0; in hclge_ptp_set_ts_mode() local 350 ptp_cfg |= HCLGE_PTP_EN_B; in hclge_ptp_set_ts_mode() 352 ret = hclge_ptp_set_tx_mode(cfg, &flags, &ptp_cfg); in hclge_ptp_set_ts_mode() 356 ret = hclge_ptp_set_rx_mode(cfg, &flags, &ptp_cfg); in hclge_ptp_set_ts_mode() 360 ret = hclge_ptp_cfg(hdev, ptp_cfg); in hclge_ptp_set_ts_mode() [all …]
|
| A D | hclge_ptp.h | 64 u32 ptp_cfg; member
|
| A D | hclge_debugfs.c | 2281 u32 sw_cfg = ptp->ptp_cfg; in hclge_dbg_dump_ptp_info()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| A D | bnxt_ptp.c | 61 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_refclk_read() 75 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_ptp_get_current_time() 168 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_ptp_pps_event() 196 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_ptp_cfg_pin() 247 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_ptp_reapply_pps() 380 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_hwrm_ptp_cfg() 413 ptp = bp->ptp_cfg; in bnxt_hwtstamp_set() 483 ptp = bp->ptp_cfg; in bnxt_hwtstamp_get() 512 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_map_ptp_regs() 546 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_stamp_tx_skb() [all …]
|
| A D | bnxt.c | 425 atomic_inc(&bp->ptp_cfg->tx_avail); in bnxt_start_xmit() 621 atomic_inc(&bp->ptp_cfg->tx_avail); in bnxt_start_xmit() 694 atomic_inc(&bp->ptp_cfg->tx_avail); in bnxt_tx_int() 7421 bp->ptp_cfg = ptp; in __bnxt_hwrm_ptp_qcfg() 7444 bp->ptp_cfg = NULL; in __bnxt_hwrm_ptp_qcfg() 7533 kfree(bp->ptp_cfg); in __bnxt_hwrm_func_qcaps() 7534 bp->ptp_cfg = NULL; in __bnxt_hwrm_func_qcaps() 12882 kfree(bp->ptp_cfg); in bnxt_remove_one() 12883 bp->ptp_cfg = NULL; in bnxt_remove_one() 13462 kfree(bp->ptp_cfg); in bnxt_init_one() [all …]
|
| A D | bnxt.h | 2123 struct bnxt_ptp_cfg *ptp_cfg; member
|
| A D | bnxt_ethtool.c | 3691 ptp = bp->ptp_cfg; in bnxt_get_ts_info()
|
| /linux/drivers/net/ethernet/freescale/dpaa2/ |
| A D | dpni.c | 2117 struct dpni_single_step_cfg *ptp_cfg) in dpni_get_single_step_cfg() argument 2133 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() argument 2169 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()
|
| A D | dpni.h | 1088 struct dpni_single_step_cfg *ptp_cfg); 1093 struct dpni_single_step_cfg *ptp_cfg);
|
Completed in 53 milliseconds