Lines Matching refs:chip
93 if (!(ctlr->chip = ata_match_chip(dev, ids)))
112 switch (ctlr->chip->cfg2) {
114 ctlr->channels = ctlr->chip->cfg1;
143 if (ctlr->chip->chiprev < 0xc7)
149 (ctlr->chip->chiprev >= 0xc7 ? 0x03 : 0x01), 1);
152 if (ctlr->chip->chiprev <= 0xc4)
178 if (ctlr->chip->cfg2 == ALI_SATA) {
202 if (ctlr->chip->cfg2 & ALI_NEW && ctlr->chip->chiprev < 0xc7)
205 if (ctlr->chip->chiprev <= 0xc4) {
210 if (ctlr->chip->cfg2 & ALI_NEW)
253 /* XXX SOS PHY handling awkward in ALI chip not supported yet */
273 if (ctlr->chip->chiprev == 0xc3 || ctlr->chip->chiprev == 0xc2) {
306 mode = min(mode, ctlr->chip->max_dma);
308 if (ctlr->chip->cfg2 & ALI_NEW && ctlr->chip->chiprev < 0xc7) {
315 if (ctlr->chip->cfg2 & ALI_OLD) {