Lines Matching defs:line
38 u8 line = (data & 0x0000001f);
44 u32 reg = regs[line >> 4];
45 u32 lsh = line & 0x0f;
51 nvkm_gpio_set(gpio, 0, func, line, defs);
58 nv50_gpio_location(int line, u32 *reg, u32 *shift)
62 if (line >= 32)
65 *reg = nv50_gpio_reg[line >> 3];
66 *shift = (line & 7) << 2;
71 nv50_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out)
76 if (nv50_gpio_location(line, ®, &shift))
84 nv50_gpio_sense(struct nvkm_gpio *gpio, int line)
89 if (nv50_gpio_location(line, ®, &shift))