Searched refs:ptp_qoriq (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/ptp/ |
| H A D | ptp_qoriq.c | 27 static u64 tmr_cnt_read(struct ptp_qoriq *ptp_qoriq) in tmr_cnt_read() argument 29 struct ptp_qoriq_registers *regs = &ptp_qoriq->regs; in tmr_cnt_read() 33 lo = ptp_qoriq->read(®s->ctrl_regs->tmr_cnt_l); in tmr_cnt_read() 34 hi = ptp_qoriq->read(®s->ctrl_regs->tmr_cnt_h); in tmr_cnt_read() 41 static void tmr_cnt_write(struct ptp_qoriq *ptp_qoriq, u64 ns) in tmr_cnt_write() argument 43 struct ptp_qoriq_registers *regs = &ptp_qoriq->regs; in tmr_cnt_write() 47 ptp_qoriq->write(®s->ctrl_regs->tmr_cnt_l, lo); in tmr_cnt_write() 48 ptp_qoriq->write(®s->ctrl_regs->tmr_cnt_h, hi); in tmr_cnt_write() 51 static u64 tmr_offset_read(struct ptp_qoriq *ptp_qoriq) in tmr_offset_read() argument 53 struct ptp_qoriq_registers *regs = &ptp_qoriq->regs; in tmr_offset_read() [all …]
|
| /linux/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpaa2-ptp.c | 18 struct ptp_qoriq *ptp_qoriq = container_of(ptp, struct ptp_qoriq, caps); in dpaa2_ptp_enable() local 25 dev = ptp_qoriq->dev; in dpaa2_ptp_enable() 41 extts_clean_up(ptp_qoriq, rq->extts.index, false); in dpaa2_ptp_enable() 90 struct ptp_qoriq *ptp_qoriq = priv; in dpaa2_ptp_irq_handler_thread() local 97 dev = ptp_qoriq->dev; in dpaa2_ptp_irq_handler_thread() 109 ptp_clock_event(ptp_qoriq->clock, &event); in dpaa2_ptp_irq_handler_thread() 113 extts_clean_up(ptp_qoriq, 0, true); in dpaa2_ptp_irq_handler_thread() 116 extts_clean_up(ptp_qoriq, 1, true); in dpaa2_ptp_irq_handler_thread() 131 struct ptp_qoriq *ptp_qoriq; in dpaa2_ptp_probe() local 136 ptp_qoriq = devm_kzalloc(dev, sizeof(*ptp_qoriq), GFP_KERNEL); in dpaa2_ptp_probe() [all …]
|
| H A D | dpaa2-ptp.h | 16 extern struct ptp_qoriq *dpaa2_ptp;
|
| H A D | dpaa2-eth.h | 664 extern struct ptp_qoriq *dpaa2_ptp;
|
| H A D | dpaa2-eth.c | 35 struct ptp_qoriq *dpaa2_ptp;
|
| /linux/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc_ptp.c | 29 struct ptp_qoriq *ptp_qoriq; in enetc_ptp_probe() local 56 ptp_qoriq = kzalloc_obj(*ptp_qoriq); in enetc_ptp_probe() 57 if (!ptp_qoriq) { in enetc_ptp_probe() 78 ptp_qoriq->irq = pci_irq_vector(pdev, 0); in enetc_ptp_probe() 80 err = request_irq(ptp_qoriq->irq, ptp_qoriq_isr, 0, DRIVER, ptp_qoriq); in enetc_ptp_probe() 86 ptp_qoriq->dev = &pdev->dev; in enetc_ptp_probe() 88 err = ptp_qoriq_init(ptp_qoriq, base, &enetc_ptp_caps); in enetc_ptp_probe() 92 pci_set_drvdata(pdev, ptp_qoriq); in enetc_ptp_probe() 97 free_irq(ptp_qoriq->irq, ptp_qoriq); in enetc_ptp_probe() 103 kfree(ptp_qoriq); in enetc_ptp_probe() [all …]
|
| /linux/drivers/net/ethernet/freescale/dpaa/ |
| H A D | dpaa_ethtool.c | 359 struct ptp_qoriq *ptp = NULL; in dpaa_get_ts_info()
|
| /linux/drivers/net/ethernet/freescale/ |
| H A D | gianfar_ethtool.c | 1471 struct ptp_qoriq *ptp = NULL; in gfar_get_ts_info()
|
| /linux/ |
| H A D | MAINTAINERS | 10344 F: drivers/ptp/ptp_qoriq.c 10345 F: include/linux/fsl/ptp_qoriq.h
|