Lines Matching defs:cor_offset
46 unsigned int cor_offset;
280 corsave = inb(hw_priv->cor_offset);
281 outb(corsave | COR_SRESET, hw_priv->cor_offset);
283 outb(corsave & ~COR_SRESET, hw_priv->cor_offset);
287 corsave = readb(hw_priv->attr_mem + hw_priv->cor_offset);
289 hw_priv->attr_mem + hw_priv->cor_offset);
292 hw_priv->attr_mem + hw_priv->cor_offset);
305 corsave = inb(hw_priv->cor_offset);
306 outb(corsave | COR_SRESET, hw_priv->cor_offset);
308 outb(hcr, hw_priv->cor_offset + 2);
310 outb(corsave & ~COR_SRESET, hw_priv->cor_offset);
314 corsave = readb(hw_priv->attr_mem + hw_priv->cor_offset);
316 hw_priv->attr_mem + hw_priv->cor_offset);
318 writeb(hcr, hw_priv->attr_mem + hw_priv->cor_offset + 2);
321 hw_priv->attr_mem + hw_priv->cor_offset);
337 unsigned int *cor_offset,
361 *cor_offset = 0x3e0;
379 *cor_offset = 0;
381 *cor_offset += cis[pos + 4 + i] << (8 * i);
383 "cor_offset=0x%x\n", dev_info,
384 *cor_index, *cor_offset);
385 if (*cor_offset > attr_len) {
440 unsigned int cor_offset, cor_index;
471 cor_offset = plx_ioaddr;
503 &cor_offset, &cor_index)) {
514 attr_mem + cor_offset);
550 hw_priv->cor_offset = cor_offset;