Lines Matching refs:cor_offset
45 unsigned int cor_offset;
279 corsave = inb(hw_priv->cor_offset);
280 outb(corsave | COR_SRESET, hw_priv->cor_offset);
282 outb(corsave & ~COR_SRESET, hw_priv->cor_offset);
286 corsave = readb(hw_priv->attr_mem + hw_priv->cor_offset);
288 hw_priv->attr_mem + hw_priv->cor_offset);
291 hw_priv->attr_mem + hw_priv->cor_offset);
304 corsave = inb(hw_priv->cor_offset);
305 outb(corsave | COR_SRESET, hw_priv->cor_offset);
307 outb(hcr, hw_priv->cor_offset + 2);
309 outb(corsave & ~COR_SRESET, hw_priv->cor_offset);
313 corsave = readb(hw_priv->attr_mem + hw_priv->cor_offset);
315 hw_priv->attr_mem + hw_priv->cor_offset);
317 writeb(hcr, hw_priv->attr_mem + hw_priv->cor_offset + 2);
320 hw_priv->attr_mem + hw_priv->cor_offset);
336 unsigned int *cor_offset,
360 *cor_offset = 0x3e0;
378 *cor_offset = 0;
380 *cor_offset += cis[pos + 4 + i] << (8 * i);
382 "cor_offset=0x%x\n", dev_info,
383 *cor_index, *cor_offset);
384 if (*cor_offset > attr_len) {
439 unsigned int cor_offset = 0, cor_index = 0;
470 cor_offset = plx_ioaddr;
502 &cor_offset, &cor_index)) {
513 attr_mem + cor_offset);
549 hw_priv->cor_offset = cor_offset;