Lines Matching defs:params
1222 wdc_probe_caps(struct ata_drive_datas *drvp, struct ataparams *params)
1240 if (bcmp(params, ¶ms2, sizeof(struct ataparams)) != 0) {
1246 if (params->atap_ata_major > 0x01 &&
1247 params->atap_ata_major != 0xffff) {
1249 if (params->atap_ata_major & (1 << i)) {
1267 params->atap_oldpiotiming), DEBUG_PROBE);
1272 if (params->atap_oldpiotiming <= 2) {
1273 drvp->PIO_cap = params->atap_oldpiotiming;
1276 } else if (params->atap_oldpiotiming > 180) {
1285 if (params->atap_oldpiotiming <= 240) {
1298 __func__, params->atap_extensions, params->atap_piomode_supp,
1299 params->atap_dmamode_supp, params->atap_udmamode_supp),
1306 if (params->atap_extensions != 0xffff &&
1307 (params->atap_extensions & WDC_EXT_MODES)) {
1315 if ((params->atap_piomode_supp & (1 << i)) == 0)
1362 if ((params->atap_dmamode_supp & (1 << i)) == 0)
1382 if (params->atap_extensions & WDC_EXT_UDMA_MODES) {
1384 if ((params->atap_udmamode_supp & (1 << i))