Lines Matching refs:remote
72 printk(KERN_DEBUG "VLYNQ local=%p remote=%p\n",
73 dev->local, dev->remote);
77 printk(KERN_DEBUG "VLYNQ: remote %d: %08x\n",
78 i + 1, ((u32 *)dev->remote)[i]);
133 val = readl(&dev->remote->int_device[virq >> 2]);
135 writel(val, &dev->remote->int_device[virq >> 2]);
146 val = readl(&dev->remote->int_device[virq >> 2]);
148 writel(val, &dev->remote->int_device[virq >> 2]);
159 val = readl(&dev->remote->int_device[virq >> 2]);
178 writel(val, &dev->remote->int_device[virq >> 2]);
195 u32 status = readl(&dev->remote->status);
197 pr_debug("%s: remote status: 0x%08x\n",
199 writel(status, &dev->remote->status);
252 "%s: local vlynq irq should be different from remote\n",
257 /* Clear local and remote error bits */
259 writel(readl(&dev->remote->status), &dev->remote->status);
271 val |= readl(&dev->remote->control);
272 writel(VLYNQ_INT_OFFSET, &dev->remote->int_ptr);
273 writel(val, &dev->remote->int_ptr);
274 writel(val, &dev->remote->control);
290 writel(0, &dev->remote->int_device[virq >> 2]);
368 * A VLYNQ remote device can clock the VLYNQ bus master
387 writel((readl(&dev->remote->control) &
391 &dev->remote->control);
400 "%s: using remote clock divisor %d\n",
413 * A VLYNQ remote device can be clocked by the VLYNQ bus
453 * register for both the bus master and the remote device.
461 writel((readl(&dev->remote->control) &
463 &dev->remote->control);
495 if (vlynq_linked(dev) && readl(&dev->remote->control) &
519 writel(0, &dev->remote->control);
539 vlynq_rdiv1), &dev->remote->control);
542 "%s: using remote clock divisor %d\n",
608 writel(tx_offset, &dev->remote->tx_offset);
610 writel(mapping[i].offset, &dev->remote->rx_mapping[i].offset);
611 writel(mapping[i].size, &dev->remote->rx_mapping[i].size);
706 dev->remote = (struct vlynq_regs *)((void *)dev->local +
727 dev->dev_id = readl(&dev->remote->chip);