Lines Matching defs:ofs
126 opti82c700_addr(int link, int *addrofs, int *ofs)
141 *ofs = (regofs & 3) << 3;
150 *ofs = regofs << 2;
194 int val, addrofs, ofs;
196 if (opti82c700_addr(clink, &addrofs, &ofs))
200 val = (reg >> ofs) & FIRESTAR_CFG_PIRQ_MASK;
212 int addrofs, ofs;
218 if (opti82c700_addr(clink, &addrofs, &ofs))
222 reg &= ~(FIRESTAR_CFG_PIRQ_MASK << ofs);
223 reg |= (irq << ofs);
233 int i, val, addrofs, ofs;
247 i), &addrofs, &ofs);
249 val = (reg >> ofs) & FIRESTAR_CFG_PIRQ_MASK;
252 val = ((reg >> ofs) >> FIRESTAR_TRIGGER_SHIFT) &
263 i), &addrofs, &ofs);
265 val = (reg >> ofs) & FIRESTAR_CFG_PIRQ_MASK;
279 int i, val, addrofs, ofs;
292 i), &addrofs, &ofs);
294 val = (reg >> ofs) & FIRESTAR_CFG_PIRQ_MASK;
299 (FIRESTAR_TRIGGER_SHIFT + ofs));
302 (FIRESTAR_TRIGGER_SHIFT + ofs));
312 i), &addrofs, &ofs);
314 val = (reg >> ofs) & FIRESTAR_CFG_PIRQ_MASK;