Lines Matching defs:mode
376 if (bridge->mode & AGPSTAT_MODE_3_0)
377 info->mode = bridge->mode & ~AGP3_RESERVED_MASK;
379 info->mode = bridge->mode & ~AGP2_RESERVED_MASK;
484 printk(KERN_INFO PFX "reserved bits set (%x) in mode 0x%x. Fixed.\n",
518 printk(KERN_INFO PFX "%s tried to set rate=x0. Setting to x1 mode.\n", current->comm);
550 /* Now we know what mode it should be, clear out the unwanted bits. */
588 printk(KERN_INFO PFX "reserved bits set (%x) in mode 0x%x. Fixed.\n",
596 printk(KERN_INFO PFX "%s tried to set rate=x0. Setting to AGP3 x4 mode.\n", current->comm);
600 printk(KERN_INFO PFX "%s tried to set rate=x%d. Setting to AGP3 x8 mode.\n", current->comm, tmp * 4);
605 * Don't allow the mode register to override values. */
610 * Don't allow the mode register to override values. */
624 * Caller hasn't a clue what it is doing. Bridge is in 3.0 mode,
625 * have been passed a 3.0 mode, but with 2.x speed bits set.
636 * The caller doesn't know what they are doing. We are in 3.0 mode,
637 * but have been passed an AGP 2.x mode.
640 printk(KERN_INFO PFX "%s passes broken AGP2 flags (%x) in AGP3 mode. Fixed.\n",
671 * If we didn't specify an AGP mode, we see if both
673 * If not, we fall back to x4 mode.
676 printk(KERN_INFO PFX "No AGP mode specified. Setting to highest mode "
681 printk(KERN_INFO PFX "Fell back to AGPx4 mode because ");
719 * the requested mode to the capabilities of both the bridge and the card.
755 /* Check to see if we are operating in 3.0 mode */
756 if (agp_bridge->mode & AGPSTAT_MODE_3_0)
770 int mode;
772 mode = bridge_agpstat & 0x7;
774 mode *= 4;
781 dev_info(&device->dev, "putting AGP V%d device into %dx mode\n",
782 agp_v3 ? 3 : 2, mode);
825 if (bridge->mode & AGPSTAT_MODE_3_0) {
832 /* Disable calibration cycle in RX91<1> when not in AGP3.0 mode of operation.*/
840 dev_info(&bridge->dev->dev, "bridge is in legacy mode, falling back to 2.x\n");
1282 * @mode: agp mode register value to configure with.
1284 void agp_enable(struct agp_bridge_data *bridge, u32 mode)
1288 bridge->driver->agp_enable(bridge, mode);