Lines Matching refs:ptp_qoriq
19 struct ptp_qoriq *ptp_qoriq = container_of(ptp, struct ptp_qoriq, caps); in dpaa2_ptp_enable() local
26 dev = ptp_qoriq->dev; in dpaa2_ptp_enable()
42 extts_clean_up(ptp_qoriq, rq->extts.index, false); in dpaa2_ptp_enable()
91 struct ptp_qoriq *ptp_qoriq = priv; in dpaa2_ptp_irq_handler_thread() local
98 dev = ptp_qoriq->dev; in dpaa2_ptp_irq_handler_thread()
110 ptp_clock_event(ptp_qoriq->clock, &event); in dpaa2_ptp_irq_handler_thread()
114 extts_clean_up(ptp_qoriq, 0, true); in dpaa2_ptp_irq_handler_thread()
117 extts_clean_up(ptp_qoriq, 1, true); in dpaa2_ptp_irq_handler_thread()
133 struct ptp_qoriq *ptp_qoriq; in dpaa2_ptp_probe() local
138 ptp_qoriq = devm_kzalloc(dev, sizeof(*ptp_qoriq), GFP_KERNEL); in dpaa2_ptp_probe()
139 if (!ptp_qoriq) in dpaa2_ptp_probe()
158 ptp_qoriq->dev = dev; in dpaa2_ptp_probe()
181 ptp_qoriq->irq = irq->msi_desc->irq; in dpaa2_ptp_probe()
183 err = request_threaded_irq(ptp_qoriq->irq, NULL, in dpaa2_ptp_probe()
186 dev_name(dev), ptp_qoriq); in dpaa2_ptp_probe()
199 err = ptp_qoriq_init(ptp_qoriq, base, &dpaa2_ptp_caps); in dpaa2_ptp_probe()
203 dpaa2_phc_index = ptp_qoriq->phc_index; in dpaa2_ptp_probe()
204 dpaa2_ptp = ptp_qoriq; in dpaa2_ptp_probe()
205 dev_set_drvdata(dev, ptp_qoriq); in dpaa2_ptp_probe()
210 free_irq(ptp_qoriq->irq, ptp_qoriq); in dpaa2_ptp_probe()
226 struct ptp_qoriq *ptp_qoriq; in dpaa2_ptp_remove() local
228 ptp_qoriq = dev_get_drvdata(dev); in dpaa2_ptp_remove()
231 ptp_qoriq_free(ptp_qoriq); in dpaa2_ptp_remove()