/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/ |
D | ptp.c | 59 static struct ptp *first_ptp_block; 62 static bool is_ptp_dev_cnf10kb(struct ptp *ptp) in is_ptp_dev_cnf10kb() argument 64 return (ptp->pdev->subsystem_device == PCI_SUBSYS_DEVID_CNF10K_B_PTP) ? true : false; in is_ptp_dev_cnf10kb() 67 static bool is_ptp_dev_cn10k(struct ptp *ptp) in is_ptp_dev_cn10k() argument 69 return (ptp->pdev->device == PCI_DEVID_CN10K_PTP) ? true : false; in is_ptp_dev_cn10k() 72 static bool cn10k_ptp_errata(struct ptp *ptp) in cn10k_ptp_errata() argument 74 if (ptp->pdev->subsystem_device == PCI_SUBSYS_DEVID_CN10K_A_PTP || in cn10k_ptp_errata() 75 ptp->pdev->subsystem_device == PCI_SUBSYS_DEVID_CNF10K_A_PTP) in cn10k_ptp_errata() 80 static bool is_ptp_tsfmt_sec_nsec(struct ptp *ptp) in is_ptp_tsfmt_sec_nsec() argument 82 if (ptp->pdev->subsystem_device == PCI_SUBSYS_DEVID_CN10K_A_PTP || in is_ptp_tsfmt_sec_nsec() [all …]
|
D | ptp.h | 15 struct ptp { struct 18 u64 (*read_ptp_tstmp)(struct ptp *ptp); argument 26 struct ptp *ptp_get(void); argument 27 void ptp_put(struct ptp *ptp); 28 void ptp_start(struct ptp *ptp, u64 sclk, u32 ext_clk_freq, u32 extts);
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qede/ |
D | qede_ptp.c | 40 struct qede_ptp *ptp = container_of(info, struct qede_ptp, clock_info); in qede_ptp_adjfreq() local 41 struct qede_dev *edev = ptp->edev; in qede_ptp_adjfreq() 46 spin_lock_bh(&ptp->lock); in qede_ptp_adjfreq() 47 rc = ptp->ops->adjfreq(edev->cdev, ppb); in qede_ptp_adjfreq() 48 spin_unlock_bh(&ptp->lock); in qede_ptp_adjfreq() 61 struct qede_ptp *ptp; in qede_ptp_adjtime() local 63 ptp = container_of(info, struct qede_ptp, clock_info); in qede_ptp_adjtime() 64 edev = ptp->edev; in qede_ptp_adjtime() 69 spin_lock_bh(&ptp->lock); in qede_ptp_adjtime() 70 timecounter_adjtime(&ptp->tc, delta); in qede_ptp_adjtime() [all …]
|
/linux-6.1.9/drivers/ptp/ |
D | ptp_clock.c | 78 struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock); in ptp_clock_settime() local 80 if (ptp_clock_freerun(ptp)) { in ptp_clock_settime() 85 return ptp->info->settime64(ptp->info, tp); in ptp_clock_settime() 90 struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock); in ptp_clock_gettime() local 93 if (ptp->info->gettimex64) in ptp_clock_gettime() 94 err = ptp->info->gettimex64(ptp->info, tp, NULL); in ptp_clock_gettime() 96 err = ptp->info->gettime64(ptp->info, tp); in ptp_clock_gettime() 102 struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock); in ptp_clock_adjtime() local 106 if (ptp_clock_freerun(ptp)) { in ptp_clock_adjtime() 111 ops = ptp->info; in ptp_clock_adjtime() [all …]
|
D | ptp_sysfs.c | 16 struct ptp_clock *ptp = dev_get_drvdata(dev); in clock_name_show() local 17 return sysfs_emit(page, "%s\n", ptp->info->name); in clock_name_show() 25 struct ptp_clock *ptp = dev_get_drvdata(dev); \ 26 return snprintf(page, PAGE_SIZE-1, "%d\n", ptp->info->var); \ 41 struct ptp_clock *ptp = dev_get_drvdata(dev); in extts_enable_store() local 42 struct ptp_clock_info *ops = ptp->info; in extts_enable_store() 66 struct ptp_clock *ptp = dev_get_drvdata(dev); in extts_fifo_show() local 67 struct timestamp_event_queue *queue = &ptp->tsevq; in extts_fifo_show() 75 if (mutex_lock_interruptible(&ptp->tsevq_mux)) in extts_fifo_show() 92 mutex_unlock(&ptp->tsevq_mux); in extts_fifo_show() [all …]
|
D | ptp_vclock.c | 43 static int ptp_vclock_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in ptp_vclock_adjfine() argument 45 struct ptp_vclock *vclock = info_to_vclock(ptp); in ptp_vclock_adjfine() 60 static int ptp_vclock_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_vclock_adjtime() argument 62 struct ptp_vclock *vclock = info_to_vclock(ptp); in ptp_vclock_adjtime() 72 static int ptp_vclock_gettime(struct ptp_clock_info *ptp, in ptp_vclock_gettime() argument 75 struct ptp_vclock *vclock = info_to_vclock(ptp); in ptp_vclock_gettime() 87 static int ptp_vclock_gettimex(struct ptp_clock_info *ptp, in ptp_vclock_gettimex() argument 91 struct ptp_vclock *vclock = info_to_vclock(ptp); in ptp_vclock_gettimex() 111 static int ptp_vclock_settime(struct ptp_clock_info *ptp, in ptp_vclock_settime() argument 114 struct ptp_vclock *vclock = info_to_vclock(ptp); in ptp_vclock_settime() [all …]
|
D | ptp_chardev.c | 48 int ptp_set_pinfunc(struct ptp_clock *ptp, unsigned int pin, in ptp_set_pinfunc() argument 51 struct ptp_clock_info *info = ptp->info; in ptp_set_pinfunc() 111 struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock); in ptp_ioctl() local 115 struct ptp_clock_info *ops = ptp->info; in ptp_ioctl() 132 caps.max_adj = ptp->info->max_adj; in ptp_ioctl() 133 caps.n_alarm = ptp->info->n_alarm; in ptp_ioctl() 134 caps.n_ext_ts = ptp->info->n_ext_ts; in ptp_ioctl() 135 caps.n_per_out = ptp->info->n_per_out; in ptp_ioctl() 136 caps.pps = ptp->info->pps; in ptp_ioctl() 137 caps.n_pins = ptp->info->n_pins; in ptp_ioctl() [all …]
|
D | ptp_private.h | 86 static inline bool ptp_vclock_in_use(struct ptp_clock *ptp) in ptp_vclock_in_use() argument 90 if (mutex_lock_interruptible(&ptp->n_vclocks_mux)) in ptp_vclock_in_use() 93 if (!ptp->is_virtual_clock && ptp->n_vclocks) in ptp_vclock_in_use() 96 mutex_unlock(&ptp->n_vclocks_mux); in ptp_vclock_in_use() 102 static inline bool ptp_clock_freerun(struct ptp_clock *ptp) in ptp_clock_freerun() argument 104 if (ptp->has_cycles) in ptp_clock_freerun() 107 return ptp_vclock_in_use(ptp); in ptp_clock_freerun() 117 int ptp_set_pinfunc(struct ptp_clock *ptp, unsigned int pin, 137 int ptp_populate_pin_groups(struct ptp_clock *ptp); 138 void ptp_cleanup_pin_groups(struct ptp_clock *ptp);
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ptp.c | 61 struct bnxt_ptp_cfg *ptp = container_of(ptp_info, struct bnxt_ptp_cfg, in bnxt_ptp_settime() local 65 if (ptp->bp->fw_cap & BNXT_FW_CAP_PTP_RTC) in bnxt_ptp_settime() 66 return bnxt_ptp_cfg_settime(ptp->bp, ns); in bnxt_ptp_settime() 68 spin_lock_bh(&ptp->ptp_lock); in bnxt_ptp_settime() 69 timecounter_init(&ptp->tc, &ptp->cc, ns); in bnxt_ptp_settime() 70 spin_unlock_bh(&ptp->ptp_lock); in bnxt_ptp_settime() 78 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_refclk_read() local 84 high_before = readl(bp->bar0 + ptp->refclk_mapped_regs[1]); in bnxt_refclk_read() 86 low = readl(bp->bar0 + ptp->refclk_mapped_regs[0]); in bnxt_refclk_read() 88 high_now = readl(bp->bar0 + ptp->refclk_mapped_regs[1]); in bnxt_refclk_read() [all …]
|
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_ptp.c | 10 struct hclge_ptp *ptp = hdev->ptp; in hclge_ptp_get_cycle() local 12 ptp->cycle.quo = readl(hdev->ptp->io_base + HCLGE_PTP_CYCLE_QUO_REG) & in hclge_ptp_get_cycle() 14 ptp->cycle.numer = readl(hdev->ptp->io_base + HCLGE_PTP_CYCLE_NUM_REG); in hclge_ptp_get_cycle() 15 ptp->cycle.den = readl(hdev->ptp->io_base + HCLGE_PTP_CYCLE_DEN_REG); in hclge_ptp_get_cycle() 17 if (ptp->cycle.den == 0) { in hclge_ptp_get_cycle() 25 static int hclge_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in hclge_ptp_adjfreq() argument 27 struct hclge_dev *hdev = hclge_ptp_get_hdev(ptp); in hclge_ptp_adjfreq() 28 struct hclge_ptp_cycle *cycle = &hdev->ptp->cycle; in hclge_ptp_adjfreq() 55 spin_lock_irqsave(&hdev->ptp->lock, flags); in hclge_ptp_adjfreq() 57 hdev->ptp->io_base + HCLGE_PTP_CYCLE_QUO_REG); in hclge_ptp_adjfreq() [all …]
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_ptp.c | 13 static u64 otx2_ptp_get_clock(struct otx2_ptp *ptp) in otx2_ptp_get_clock() argument 19 if (!ptp->nic) in otx2_ptp_get_clock() 22 req = otx2_mbox_alloc_msg_ptp_op(&ptp->nic->mbox); in otx2_ptp_get_clock() 28 err = otx2_sync_mbox_msg(&ptp->nic->mbox); in otx2_ptp_get_clock() 32 rsp = (struct ptp_rsp *)otx2_mbox_get_rsp(&ptp->nic->mbox.mbox, 0, in otx2_ptp_get_clock() 42 struct otx2_ptp *ptp = container_of(ptp_info, struct otx2_ptp, in otx2_ptp_adjfine() local 46 if (!ptp->nic) in otx2_ptp_adjfine() 49 req = otx2_mbox_alloc_msg_ptp_op(&ptp->nic->mbox); in otx2_ptp_adjfine() 56 return otx2_sync_mbox_msg(&ptp->nic->mbox); in otx2_ptp_adjfine() 59 static int ptp_set_thresh(struct otx2_ptp *ptp, u64 thresh) in ptp_set_thresh() argument [all …]
|
/linux-6.1.9/drivers/net/ethernet/microchip/ |
D | lan743x_ptp.c | 81 struct lan743x_ptp *ptp = &adapter->ptp; in lan743x_ptp_tx_ts_enqueue_ts() local 83 spin_lock_bh(&ptp->tx_ts_lock); in lan743x_ptp_tx_ts_enqueue_ts() 84 if (ptp->tx_ts_queue_size < LAN743X_PTP_NUMBER_OF_TX_TIMESTAMPS) { in lan743x_ptp_tx_ts_enqueue_ts() 85 ptp->tx_ts_seconds_queue[ptp->tx_ts_queue_size] = seconds; in lan743x_ptp_tx_ts_enqueue_ts() 86 ptp->tx_ts_nseconds_queue[ptp->tx_ts_queue_size] = nano_seconds; in lan743x_ptp_tx_ts_enqueue_ts() 87 ptp->tx_ts_header_queue[ptp->tx_ts_queue_size] = header; in lan743x_ptp_tx_ts_enqueue_ts() 88 ptp->tx_ts_queue_size++; in lan743x_ptp_tx_ts_enqueue_ts() 93 spin_unlock_bh(&ptp->tx_ts_lock); in lan743x_ptp_tx_ts_enqueue_ts() 98 struct lan743x_ptp *ptp = &adapter->ptp; in lan743x_ptp_tx_ts_complete() local 105 spin_lock_bh(&ptp->tx_ts_lock); in lan743x_ptp_tx_ts_complete() [all …]
|
/linux-6.1.9/drivers/net/ethernet/sfc/siena/ |
D | ptp.c | 350 static int efx_phc_adjfreq(struct ptp_clock_info *ptp, s32 delta); 351 static int efx_phc_adjtime(struct ptp_clock_info *ptp, s64 delta); 352 static int efx_phc_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts); 353 static int efx_phc_settime(struct ptp_clock_info *ptp, 355 static int efx_phc_enable(struct ptp_clock_info *ptp, 559 struct efx_ptp_data *ptp, in efx_ptp_mac_nic_to_ktime_correction() argument 603 kt = ptp->nic_to_kernel_time(nic_major, nic_minor, in efx_ptp_mac_nic_to_ktime_correction() 612 struct efx_ptp_data *ptp = efx->ptp_data; in efx_siena_ptp_nic_to_kernel_time() local 616 kt = efx_ptp_mac_nic_to_ktime_correction(efx, ptp, in efx_siena_ptp_nic_to_kernel_time() 619 ptp->ts_corrections.general_tx); in efx_siena_ptp_nic_to_kernel_time() [all …]
|
/linux-6.1.9/drivers/net/ethernet/sfc/ |
D | ptp.c | 354 static int efx_phc_adjfreq(struct ptp_clock_info *ptp, s32 delta); 355 static int efx_phc_adjtime(struct ptp_clock_info *ptp, s64 delta); 356 static int efx_phc_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts); 357 static int efx_phc_settime(struct ptp_clock_info *ptp, 359 static int efx_phc_enable(struct ptp_clock_info *ptp, 569 struct efx_ptp_data *ptp, in efx_ptp_mac_nic_to_ktime_correction() argument 613 kt = ptp->nic_to_kernel_time(nic_major, nic_minor, in efx_ptp_mac_nic_to_ktime_correction() 622 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_nic_to_kernel_time() local 626 kt = efx_ptp_mac_nic_to_ktime_correction(efx, ptp, in efx_ptp_nic_to_kernel_time() 629 ptp->ts_corrections.general_tx); in efx_ptp_nic_to_kernel_time() [all …]
|
/linux-6.1.9/include/linux/ |
D | ptp_clock_kernel.h | 174 int (*adjfine)(struct ptp_clock_info *ptp, long scaled_ppm); 175 int (*adjfreq)(struct ptp_clock_info *ptp, s32 delta); 176 int (*adjphase)(struct ptp_clock_info *ptp, s32 phase); 177 int (*adjtime)(struct ptp_clock_info *ptp, s64 delta); 178 int (*gettime64)(struct ptp_clock_info *ptp, struct timespec64 *ts); 179 int (*gettimex64)(struct ptp_clock_info *ptp, struct timespec64 *ts, 181 int (*getcrosststamp)(struct ptp_clock_info *ptp, 184 int (*getcycles64)(struct ptp_clock_info *ptp, struct timespec64 *ts); 185 int (*getcyclesx64)(struct ptp_clock_info *ptp, struct timespec64 *ts, 187 int (*getcrosscycles)(struct ptp_clock_info *ptp, [all …]
|
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | base.c | 44 const int slot = pt->base >> pt->ptp->shift; in nvkm_mmu_ptp_put() 45 struct nvkm_mmu_ptp *ptp = pt->ptp; in nvkm_mmu_ptp_put() local 50 if (!ptp->free) in nvkm_mmu_ptp_put() 51 list_add(&ptp->head, &mmu->ptp.list); in nvkm_mmu_ptp_put() 52 ptp->free |= BIT(slot); in nvkm_mmu_ptp_put() 55 if (ptp->free == ptp->mask) { in nvkm_mmu_ptp_put() 56 nvkm_mmu_ptc_put(mmu, force, &ptp->pt); in nvkm_mmu_ptp_put() 57 list_del(&ptp->head); in nvkm_mmu_ptp_put() 58 kfree(ptp); in nvkm_mmu_ptp_put() 68 struct nvkm_mmu_ptp *ptp; in nvkm_mmu_ptp_get() local [all …]
|
/linux-6.1.9/drivers/net/ethernet/renesas/ |
D | ravb_ptp.c | 73 u32 gti_ns_plus_1 = (priv->ptp.current_addend >> 20) + 1; in ravb_ptp_update_compare() 91 static int ravb_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in ravb_ptp_adjfreq() argument 93 struct ravb_private *priv = container_of(ptp, struct ravb_private, in ravb_ptp_adjfreq() 94 ptp.info); in ravb_ptp_adjfreq() 105 addend = priv->ptp.default_addend; in ravb_ptp_adjfreq() 112 priv->ptp.current_addend = addend; in ravb_ptp_adjfreq() 127 static int ravb_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in ravb_ptp_adjtime() argument 129 struct ravb_private *priv = container_of(ptp, struct ravb_private, in ravb_ptp_adjtime() 130 ptp.info); in ravb_ptp_adjtime() 148 static int ravb_ptp_gettime64(struct ptp_clock_info *ptp, struct timespec64 *ts) in ravb_ptp_gettime64() argument [all …]
|
/linux-6.1.9/Documentation/ABI/testing/ |
D | sysfs-ptp | 1 What: /sys/class/ptp/ 9 What: /sys/class/ptp/ptp<N>/ 17 What: /sys/class/ptp/ptp<N>/clock_name 28 What: /sys/class/ptp/ptp<N>/max_adjustment 36 What: /sys/class/ptp/ptp<N>/max_vclocks 40 This file contains the maximum number of ptp vclocks. 43 What: /sys/class/ptp/ptp<N>/n_alarms 50 What: /sys/class/ptp/ptp<N>/n_external_timestamps 57 What: /sys/class/ptp/ptp<N>/n_periodic_outputs 64 What: /sys/class/ptp/ptp<N>/n_pins [all …]
|
/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_ptp.c | 288 pf->ptp.tstamp_config.tx_type = on ? HWTSTAMP_TX_ON : HWTSTAMP_TX_OFF; in ice_set_tx_tstamp() 312 pf->ptp.tstamp_config.rx_filter = on ? HWTSTAMP_FILTER_ALL : in ice_set_rx_tstamp() 354 if (pf->ptp.clock) in ice_get_ptp_clock_index() 355 return ptp_clock_index(pf->ptp.clock); in ice_get_ptp_clock_index() 399 if (!pf->ptp.clock) in ice_set_ptp_clock_index() 408 value = (u32)ptp_clock_index(pf->ptp.clock); in ice_set_ptp_clock_index() 592 discard_time = pf->ptp.cached_phc_jiffies + msecs_to_jiffies(2000); in ice_ptp_extend_40b_ts() 594 pf->ptp.tx_hwtstamp_discarded++; in ice_ptp_extend_40b_ts() 598 return ice_ptp_extend_32b_ts(pf->ptp.cached_phc_time, in ice_ptp_extend_40b_ts() 755 pf->ptp.tx_hwtstamp_flushed++; in ice_ptp_flush_tx_tracker() [all …]
|
/linux-6.1.9/drivers/net/ethernet/cavium/common/ |
D | cavium_ptp.h | 30 void cavium_ptp_put(struct cavium_ptp *ptp); 32 static inline u64 cavium_ptp_tstamp2time(struct cavium_ptp *ptp, u64 tstamp) in cavium_ptp_tstamp2time() argument 37 spin_lock_irqsave(&ptp->spin_lock, flags); in cavium_ptp_tstamp2time() 38 ret = timecounter_cyc2time(&ptp->time_counter, tstamp); in cavium_ptp_tstamp2time() 39 spin_unlock_irqrestore(&ptp->spin_lock, flags); in cavium_ptp_tstamp2time() 56 static inline void cavium_ptp_put(struct cavium_ptp *ptp) {} in cavium_ptp_put() argument 58 static inline u64 cavium_ptp_tstamp2time(struct cavium_ptp *ptp, u64 tstamp) in cavium_ptp_tstamp2time() argument
|
/linux-6.1.9/drivers/net/phy/mscc/ |
D | mscc_ptp.c | 428 static void vsc85xx_dequeue_skb(struct vsc85xx_ptp *ptp) in vsc85xx_dequeue_skb() argument 440 reg = vsc85xx_ts_read_csr(ptp->phydev, PROCESSOR, in vsc85xx_dequeue_skb() 450 reg = vsc85xx_ts_read_csr(ptp->phydev, PROCESSOR, in vsc85xx_dequeue_skb() 458 len = skb_queue_len(&ptp->tx_queue); in vsc85xx_dequeue_skb() 463 skb = __skb_dequeue(&ptp->tx_queue); in vsc85xx_dequeue_skb() 488 __skb_queue_tail(&ptp->tx_queue, skb); in vsc85xx_dequeue_skb() 492 static void vsc85xx_get_tx_ts(struct vsc85xx_ptp *ptp) in vsc85xx_get_tx_ts() argument 497 vsc85xx_dequeue_skb(ptp); in vsc85xx_get_tx_ts() 500 reg = vsc85xx_ts_read_csr(ptp->phydev, PROCESSOR, in vsc85xx_get_tx_ts() 612 struct vsc85xx_ptp *ptp = container_of(info, struct vsc85xx_ptp, caps); in vsc85xx_adjfine() local [all …]
|
/linux-6.1.9/include/soc/mscc/ |
D | ocelot_ptp.h | 48 int ocelot_ptp_gettime64(struct ptp_clock_info *ptp, struct timespec64 *ts); 49 int ocelot_ptp_settime64(struct ptp_clock_info *ptp, 51 int ocelot_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta); 52 int ocelot_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm); 53 int ocelot_ptp_verify(struct ptp_clock_info *ptp, unsigned int pin, 55 int ocelot_ptp_enable(struct ptp_clock_info *ptp,
|
/linux-6.1.9/Documentation/devicetree/bindings/ptp/ |
D | brcm,ptp-dte.txt | 9 "brcm,ptp-dte" 11 "brcm,iproc-ptp-dte" - for iproc based SoC's 16 ptp: ptp-dte@180af650 { 17 compatible = "brcm,iproc-ptp-dte", "brcm,ptp-dte";
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_ptp.c | 77 struct ptp_clock *ptp; member 106 mlxsw_sp1_ptp_clock(struct ptp_clock_info *ptp) in mlxsw_sp1_ptp_clock() argument 108 return container_of(ptp, struct mlxsw_sp1_ptp_clock, common.ptp_info); in mlxsw_sp1_ptp_clock() 189 static int mlxsw_sp1_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in mlxsw_sp1_ptp_adjfine() argument 191 struct mlxsw_sp1_ptp_clock *clock = mlxsw_sp1_ptp_clock(ptp); in mlxsw_sp1_ptp_adjfine() 217 static int mlxsw_sp1_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in mlxsw_sp1_ptp_adjtime() argument 219 struct mlxsw_sp1_ptp_clock *clock = mlxsw_sp1_ptp_clock(ptp); in mlxsw_sp1_ptp_adjtime() 230 static int mlxsw_sp1_ptp_gettimex(struct ptp_clock_info *ptp, in mlxsw_sp1_ptp_gettimex() argument 234 struct mlxsw_sp1_ptp_clock *clock = mlxsw_sp1_ptp_clock(ptp); in mlxsw_sp1_ptp_gettimex() 247 static int mlxsw_sp1_ptp_settime(struct ptp_clock_info *ptp, in mlxsw_sp1_ptp_settime() argument [all …]
|
/linux-6.1.9/Documentation/devicetree/bindings/pinctrl/ |
D | marvell,kirkwood-pinctrl.txt | 28 mpp4 4 gpio, nand(io6), uart0(rxd), ptp(clk) 29 mpp5 5 gpo, nand(io7), uart0(txd), ptp(trig) 30 mpp6 6 sysrst(out), spi(mosi), ptp(trig) 31 mpp7 7 gpo, pex(rsto), spi(cs), ptp(trig) 32 mpp8 8 gpio, twsi0(sda), uart0(rts), uart1(rts), ptp(clk), 34 mpp9 9 gpio, twsi(sck), uart0(cts), uart1(cts), ptp(evreq), 36 mpp10 10 gpo, spi(sck), uart0(txd), ptp(trig) 37 mpp11 11 gpio, spi(miso), uart0(rxd), ptp(clk), ptp-1(evreq), 38 ptp-2(trig) 66 mpp4 4 gpio, nand(io6), uart0(rxd), ptp(clk) [all …]
|