Lines Matching defs:U300_PIN_REG

93 #define U300_PIN_REG(pin, reg) \
215 return !!(readl(U300_PIN_REG(offset, dir)) & U300_PIN_BIT(offset));
226 val = readl(U300_PIN_REG(offset, dor));
228 writel(val | U300_PIN_BIT(offset), U300_PIN_REG(offset, dor));
230 writel(val & ~U300_PIN_BIT(offset), U300_PIN_REG(offset, dor));
242 val = readl(U300_PIN_REG(offset, pcr));
245 writel(val, U300_PIN_REG(offset, pcr));
259 val = readl(U300_PIN_REG(offset, pcr));
272 writel(val, U300_PIN_REG(offset, pcr));
290 biasmode = !!(readl(U300_PIN_REG(offset, per)) & U300_PIN_BIT(offset));
293 drmode = readl(U300_PIN_REG(offset, pcr));
350 val = readl(U300_PIN_REG(offset, per));
351 writel(val | U300_PIN_BIT(offset), U300_PIN_REG(offset, per));
354 val = readl(U300_PIN_REG(offset, per));
355 writel(val & ~U300_PIN_BIT(offset), U300_PIN_REG(offset, per));
358 val = readl(U300_PIN_REG(offset, pcr));
363 writel(val, U300_PIN_REG(offset, pcr));
366 val = readl(U300_PIN_REG(offset, pcr));
371 writel(val, U300_PIN_REG(offset, pcr));
374 val = readl(U300_PIN_REG(offset, pcr));
379 writel(val, U300_PIN_REG(offset, pcr));
405 val = readl(U300_PIN_REG(offset, icr));
409 writel(val & ~U300_PIN_BIT(offset), U300_PIN_REG(offset, icr));
414 writel(val | U300_PIN_BIT(offset), U300_PIN_REG(offset, icr));
443 val = readl(U300_PIN_REG(offset, icr));
444 writel(val | U300_PIN_BIT(offset), U300_PIN_REG(offset, icr));
449 val = readl(U300_PIN_REG(offset, icr));
450 writel(val & ~U300_PIN_BIT(offset), U300_PIN_REG(offset, icr));
469 val = readl(U300_PIN_REG(offset, ien));
470 writel(val | U300_PIN_BIT(offset), U300_PIN_REG(offset, ien));
483 val = readl(U300_PIN_REG(offset, ien));
484 writel(val & ~U300_PIN_BIT(offset), U300_PIN_REG(offset, ien));
508 val = readl(U300_PIN_REG(pinoffset, iev));
512 writel(val, U300_PIN_REG(pinoffset, iev));