tag | line | file | source code |
rates | 588 | drivers/char/ftape/fdc-io.c | const int rates[] = {250, 2000, 500, 1000}; |
rates | 591 | drivers/char/ftape/fdc-io.c | in[1] = (((16 - (rates[fdc_data_rate & 0x03] * seek_rate) / 500) << 4) | |
rates | 76 | drivers/char/ftape/ftape-io.c | } rates[4] = { |
rates | 784 | drivers/char/ftape/ftape-io.c | for (i = 0; i < NR_ITEMS(rates); ++i) { |
rates | 787 | drivers/char/ftape/ftape-io.c | result = ftape_parameter_wait(rates[i].drive_code, |
rates | 817 | drivers/char/ftape/ftape-io.c | if (rates[new_rate].fdc_code == -1) { |
rates | 819 | drivers/char/ftape/ftape-io.c | rates[new_rate].text); |
rates | 827 | drivers/char/ftape/ftape-io.c | result = ftape_parameter_wait(rates[new_rate].drive_code, |
rates | 841 | drivers/char/ftape/ftape-io.c | if (result >= 0 && data_rate != rates[new_rate].drive_code) { |
rates | 846 | drivers/char/ftape/ftape-io.c | TRACEx1(4, "could not set %sb/s data rate", rates[new_rate].text); |
rates | 852 | drivers/char/ftape/ftape-io.c | rates[new_rate].text); |
rates | 877 | drivers/char/ftape/ftape-io.c | fdc_set_write_precomp(rates[new_rate].precomp); |
rates | 881 | drivers/char/ftape/ftape-io.c | fdc_set_data_rate(rates[new_rate].fdc_code); |