Lines Matching full:muxmode
27 * @muxmode: the current muxing mode
38 enum gemini_muxmode muxmode; member
130 * In muxmode 2 and 3 one of the ATA controllers is in gemini_sata_bridge_enabled()
133 if ((sg->muxmode == GEMINI_MUXMODE_2) && in gemini_sata_bridge_enabled()
136 if ((sg->muxmode == GEMINI_MUXMODE_3) && in gemini_sata_bridge_enabled()
146 return sg->muxmode; in gemini_sata_get_muxmode()
159 /* SATA0 slave mode is only used in muxmode 2 */ in gemini_sata_setup_bridge()
160 if (sg->muxmode == GEMINI_MUXMODE_2) in gemini_sata_setup_bridge()
165 /* SATA1 slave mode is only used in muxmode 3 */ in gemini_sata_setup_bridge()
166 if (sg->muxmode == GEMINI_MUXMODE_3) in gemini_sata_setup_bridge()
323 enum gemini_muxmode muxmode; in gemini_sata_probe() local
359 ret = of_property_read_u32(np, "cortina,gemini-ata-muxmode", &muxmode); in gemini_sata_probe()
361 dev_err(dev, "could not parse ATA muxmode\n"); in gemini_sata_probe()
364 if (muxmode > GEMINI_MUXMODE_3) { in gemini_sata_probe()
365 dev_err(dev, "illegal muxmode %d\n", muxmode); in gemini_sata_probe()
369 sg->muxmode = muxmode; in gemini_sata_probe()
371 gmode = (muxmode << GEMINI_IDE_IOMUX_SHIFT); in gemini_sata_probe()