Lines Matching defs:timings
175 * is used to reach long timings used in this mode.
243 const struct pata_macio_timing *timings;
246 /* Previous variants of this driver used to calculate timings
362 for (i = 0; priv->timings[i].mode > 0; i++) {
363 if (priv->timings[i].mode == mode)
364 return &priv->timings[i];
388 /* Apply timings */
398 dev_dbg(priv->dev, "Set timings: DEV=%d,PIO=0x%x (%s),DMA=0x%x (%s)\n",
405 /* First clear timings */
408 /* Now get the PIO timings */
417 /* PIO timings only ever use the first treg */
420 /* Now get DMA timings */
428 /* DMA timings can use both tregs */
859 /* Restore to default timings */
899 /* Sanitize drive timings */
951 priv->timings = pata_macio_shasta_timings;
954 priv->timings = pata_macio_kauai_timings;
957 priv->timings = pata_macio_kauai_timings;
961 priv->timings = pata_macio_kl66_timings;
964 priv->timings = pata_macio_kl33_timings;
968 priv->timings = pata_macio_heathrow_timings;
971 priv->timings = pata_macio_ohare_timings;
1016 while (priv->timings[i].mode > 0) {
1017 unsigned int mask = 1U << (priv->timings[i].mode & 0x0f);
1018 switch(priv->timings[i].mode & 0xf0) {
1050 /* Make sure we have sane initial timings in the cache */