Searched refs:ptp_cfg (Results 1 - 10 of 10) sorted by relevance

/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ptp.c79 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg;
102 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg;
126 req->ptp_seq_id = cpu_to_le32(bp->ptp_cfg->tx_seqid);
127 req->ptp_hdr_offset = cpu_to_le16(bp->ptp_cfg->tx_hdr_off);
164 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg;
245 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg;
267 ptp_clock_event(bp->ptp_cfg->ptp_clock, &event);
273 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg;
324 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg;
362 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg;
[all...]
H A Dbnxt.c511 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg;
522 atomic_inc(&bp->ptp_cfg->tx_avail);
734 atomic_inc(&bp->ptp_cfg->tx_avail);
816 atomic_inc(&bp->ptp_cfg->tx_avail);
2198 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg;
2698 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg;
5266 !bp->ptp_cfg)
8742 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg;
8774 bp->ptp_cfg = ptp;
8798 bp->ptp_cfg
[all...]
H A Dbnxt.h2514 struct bnxt_ptp_cfg *ptp_cfg; member in struct:bnxt
H A Dbnxt_ethtool.c4837 ptp = bp->ptp_cfg;
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_ptp.c269 unsigned long *flags, u32 *ptp_cfg)
277 *ptp_cfg |= HCLGE_PTP_TX_EN_B;
287 unsigned long *flags, u32 *ptp_cfg)
299 *ptp_cfg |= HCLGE_PTP_RX_EN_B;
300 *ptp_cfg |= HCLGE_PTP_UDP_FULL_TYPE << HCLGE_PTP_UDP_EN_SHIFT;
313 *ptp_cfg |= HCLGE_PTP_RX_EN_B;
314 *ptp_cfg |= HCLGE_PTP_UDP_FULL_TYPE << HCLGE_PTP_UDP_EN_SHIFT;
315 *ptp_cfg |= HCLGE_PTP_MSG1_V2_DEFAULT << HCLGE_PTP_MSG1_SHIFT;
316 *ptp_cfg |= HCLGE_PTP_MSG0_V2_EVENT << HCLGE_PTP_MSG0_SHIFT;
317 *ptp_cfg |
268 hclge_ptp_set_tx_mode(struct hwtstamp_config *cfg, unsigned long *flags, u32 *ptp_cfg) argument
286 hclge_ptp_set_rx_mode(struct hwtstamp_config *cfg, unsigned long *flags, u32 *ptp_cfg) argument
334 u32 ptp_cfg = 0; local
[all...]
H A Dhclge_ptp.h67 u32 ptp_cfg; member in struct:hclge_ptp
H A Dhclge_debugfs.c2362 u32 sw_cfg = ptp->ptp_cfg;
/linux-master/drivers/net/ethernet/freescale/dpaa2/
H A Ddpni.c2113 * @ptp_cfg: ptp single step configuration
2121 struct dpni_single_step_cfg *ptp_cfg)
2137 ptp_cfg->offset = le16_to_cpu(rsp_params->offset);
2138 ptp_cfg->en = dpni_get_field(le16_to_cpu(rsp_params->flags),
2140 ptp_cfg->ch_update = dpni_get_field(le16_to_cpu(rsp_params->flags),
2142 ptp_cfg->peer_delay = le32_to_cpu(rsp_params->peer_delay);
2143 ptp_cfg->ptp_onestep_reg_base =
2154 * @ptp_cfg: ptp single step configuration
2165 struct dpni_single_step_cfg *ptp_cfg)
2175 cmd_params->offset = cpu_to_le16(ptp_cfg
2118 dpni_get_single_step_cfg(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpni_single_step_cfg *ptp_cfg) argument
2162 dpni_set_single_step_cfg(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpni_single_step_cfg *ptp_cfg) argument
[all...]
H A Ddpni.h1103 struct dpni_single_step_cfg *ptp_cfg);
1108 struct dpni_single_step_cfg *ptp_cfg);
H A Ddpaa2-eth.c79 struct dpni_single_step_cfg ptp_cfg; local
87 priv->mc_token, &ptp_cfg)) {
92 if (!ptp_cfg.ptp_onestep_reg_base) {
97 priv->onestep_reg_base = ioremap(ptp_cfg.ptp_onestep_reg_base,

Completed in 317 milliseconds