ixp_clock 74 drivers/ptp/ptp_ixp46x.c struct ixp_clock *ixp_clock = priv; ixp_clock 75 drivers/ptp/ptp_ixp46x.c struct ixp46x_ts_regs *regs = ixp_clock->regs; ixp_clock 83 drivers/ptp/ptp_ixp46x.c if (ixp_clock->exts0_enabled) { ixp_clock 91 drivers/ptp/ptp_ixp46x.c ptp_clock_event(ixp_clock->ptp_clock, &event); ixp_clock 97 drivers/ptp/ptp_ixp46x.c if (ixp_clock->exts1_enabled) { ixp_clock 105 drivers/ptp/ptp_ixp46x.c ptp_clock_event(ixp_clock->ptp_clock, &event); ixp_clock 128 drivers/ptp/ptp_ixp46x.c struct ixp_clock *ixp_clock = container_of(ptp, struct ixp_clock, caps); ixp_clock 129 drivers/ptp/ptp_ixp46x.c struct ixp46x_ts_regs *regs = ixp_clock->regs; ixp_clock 151 drivers/ptp/ptp_ixp46x.c struct ixp_clock *ixp_clock = container_of(ptp, struct ixp_clock, caps); ixp_clock 152 drivers/ptp/ptp_ixp46x.c struct ixp46x_ts_regs *regs = ixp_clock->regs; ixp_clock 169 drivers/ptp/ptp_ixp46x.c struct ixp_clock *ixp_clock = container_of(ptp, struct ixp_clock, caps); ixp_clock 170 drivers/ptp/ptp_ixp46x.c struct ixp46x_ts_regs *regs = ixp_clock->regs; ixp_clock 187 drivers/ptp/ptp_ixp46x.c struct ixp_clock *ixp_clock = container_of(ptp, struct ixp_clock, caps); ixp_clock 188 drivers/ptp/ptp_ixp46x.c struct ixp46x_ts_regs *regs = ixp_clock->regs; ixp_clock 204 drivers/ptp/ptp_ixp46x.c struct ixp_clock *ixp_clock = container_of(ptp, struct ixp_clock, caps); ixp_clock 210 drivers/ptp/ptp_ixp46x.c ixp_clock->exts0_enabled = on ? 1 : 0; ixp_clock 213 drivers/ptp/ptp_ixp46x.c ixp_clock->exts1_enabled = on ? 1 : 0; ixp_clock 242 drivers/ptp/ptp_ixp46x.c static struct ixp_clock ixp_clock; ixp_clock 267 drivers/ptp/ptp_ixp46x.c err = request_irq(irq, isr, 0, DRIVER, &ixp_clock); ixp_clock 278 drivers/ptp/ptp_ixp46x.c free_irq(MASTER_IRQ, &ixp_clock); ixp_clock 279 drivers/ptp/ptp_ixp46x.c free_irq(SLAVE_IRQ, &ixp_clock); ixp_clock 281 drivers/ptp/ptp_ixp46x.c ptp_clock_unregister(ixp_clock.ptp_clock); ixp_clock 289 drivers/ptp/ptp_ixp46x.c ixp_clock.regs = ixp_clock 292 drivers/ptp/ptp_ixp46x.c ixp_clock.caps = ptp_ixp_caps; ixp_clock 294 drivers/ptp/ptp_ixp46x.c ixp_clock.ptp_clock = ptp_clock_register(&ixp_clock.caps, NULL); ixp_clock 296 drivers/ptp/ptp_ixp46x.c if (IS_ERR(ixp_clock.ptp_clock)) ixp_clock 297 drivers/ptp/ptp_ixp46x.c return PTR_ERR(ixp_clock.ptp_clock); ixp_clock 299 drivers/ptp/ptp_ixp46x.c ixp46x_phc_index = ptp_clock_index(ixp_clock.ptp_clock); ixp_clock 301 drivers/ptp/ptp_ixp46x.c __raw_writel(DEFAULT_ADDEND, &ixp_clock.regs->addend); ixp_clock 302 drivers/ptp/ptp_ixp46x.c __raw_writel(1, &ixp_clock.regs->trgt_lo); ixp_clock 303 drivers/ptp/ptp_ixp46x.c __raw_writel(0, &ixp_clock.regs->trgt_hi); ixp_clock 304 drivers/ptp/ptp_ixp46x.c __raw_writel(TTIPEND, &ixp_clock.regs->event); ixp_clock 317 drivers/ptp/ptp_ixp46x.c free_irq(MASTER_IRQ, &ixp_clock); ixp_clock 319 drivers/ptp/ptp_ixp46x.c ptp_clock_unregister(ixp_clock.ptp_clock);