Lines Matching refs:reg_width
36 int reg_width = sizeof(u32);
37 int bank = id / (reg_width * BITS_PER_BYTE);
38 int offset = id % (reg_width * BITS_PER_BYTE);
43 addr = data->membase + (bank * reg_width);
55 reg = readl(data->membase + (bank * reg_width));
62 writel(reg, data->membase + (bank * reg_width));
86 int reg_width = sizeof(u32);
87 int bank = id / (reg_width * BITS_PER_BYTE);
88 int offset = id % (reg_width * BITS_PER_BYTE);
91 reg = readl(data->membase + (bank * reg_width));