Lines Matching defs:to
27 * The NOR flash is connected to the same external bus unit (EBU) as PCI.
28 * To make PCI work we need to enable the endianness swapping for the address
29 * written to the EBU. This endianness swapping works for PCI correctly but
30 * fails for attached NOR devices. To workaround this we need to use a complex
33 * unlock addresses to ensure that access to the NOR device works correctly.
79 * The normal alternative of using memcpy_{to,from}io also makes use of
81 * with having to use our own loop.
84 ltq_copy_from(struct map_info *map, void *to,
88 unsigned char *t = (unsigned char *)to;
98 ltq_copy_to(struct map_info *map, unsigned long to,
102 unsigned char *t = (unsigned char *)map->virt + to;
125 dev_err(&pdev->dev, "failed to get memory resource");
133 dev_err(&pdev->dev, "failed to request mem resource");
144 dev_err(&pdev->dev, "failed to ioremap!\n");
176 dev_err(&pdev->dev, "failed to add partitions\n");