Lines Matching defs:params
1008 wd_get_params(struct wd_softc *wd, u_int8_t flags, struct ataparams *params)
1010 switch (ata_get_params(wd->drvp, flags, params)) {
1016 if (params != &wd->sc_params)
1017 bcopy(&wd->sc_params, params,
1026 bzero(params, sizeof(struct ataparams));
1027 strncpy(params->atap_model, "ST506",
1028 sizeof params->atap_model);
1029 params->atap_config = ATA_CFG_FIXED;
1030 params->atap_cylinders = 1024;
1031 params->atap_heads = 8;
1032 params->atap_sectors = 17;
1033 params->atap_multi = 1;
1034 params->atap_capabilities1 = params->atap_capabilities2 = 0;