Lines Matching refs:frequency
128 int* frequency);
130 int frequency);
603 sb1000_get_frequency(const int ioaddr[], const char* name, int* frequency) in sb1000_get_frequency() argument
614 *frequency = ((st[1] << 8 | st[2]) << 8 | st[3]) << 8 | st[4]; in sb1000_get_frequency()
620 sb1000_set_frequency(const int ioaddr[], const char* name, int frequency) in sb1000_set_frequency() argument
629 if (frequency < FrequencyLowerLimit || frequency > FrequencyUpperLimit) { in sb1000_set_frequency()
631 "[%d,%d] kHz\n", name, frequency, FrequencyLowerLimit, in sb1000_set_frequency()
638 Command0[5] = frequency & 0xff; in sb1000_set_frequency()
639 frequency >>= 8; in sb1000_set_frequency()
640 Command0[4] = frequency & 0xff; in sb1000_set_frequency()
641 frequency >>= 8; in sb1000_set_frequency()
642 Command0[3] = frequency & 0xff; in sb1000_set_frequency()
643 frequency >>= 8; in sb1000_set_frequency()
644 Command0[2] = frequency & 0xff; in sb1000_set_frequency()
1024 int ioaddr[2], status, frequency; in sb1000_dev_ioctl() local
1056 if ((status = sb1000_get_frequency(ioaddr, name, &frequency))) in sb1000_dev_ioctl()
1058 if(put_user(frequency, (int*) ifr->ifr_data)) in sb1000_dev_ioctl()
1065 if(get_user(frequency, (int*) ifr->ifr_data)) in sb1000_dev_ioctl()
1067 if ((status = sb1000_set_frequency(ioaddr, name, frequency))) in sb1000_dev_ioctl()