rf_val 458 drivers/media/dvb-frontends/mb86a16.c unsigned char rf_val[5]; rf_val 502 drivers/media/dvb-frontends/mb86a16.c rf_val[0] = 0x01 | (C << 3) | (F << 1); rf_val 503 drivers/media/dvb-frontends/mb86a16.c rf_val[1] = (R << 5) | ((M & 0x1f000) >> 12); rf_val 504 drivers/media/dvb-frontends/mb86a16.c rf_val[2] = (M & 0x00ff0) >> 4; rf_val 505 drivers/media/dvb-frontends/mb86a16.c rf_val[3] = ((M & 0x0000f) << 4) | B; rf_val 508 drivers/media/dvb-frontends/mb86a16.c if (mb86a16_write(state, 0x21, rf_val[0]) < 0) rf_val 510 drivers/media/dvb-frontends/mb86a16.c if (mb86a16_write(state, 0x22, rf_val[1]) < 0) rf_val 512 drivers/media/dvb-frontends/mb86a16.c if (mb86a16_write(state, 0x23, rf_val[2]) < 0) rf_val 514 drivers/media/dvb-frontends/mb86a16.c if (mb86a16_write(state, 0x24, rf_val[3]) < 0) rf_val 8410 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 rf_val; rf_val 8419 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 17); rf_val 8420 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val |= 0x80; rf_val 8421 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write_bank(rt2x00dev, 5, 17, rf_val); rf_val 8427 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 3); rf_val 8428 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val &= (~0x3F); rf_val 8429 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val |= 0x3F; rf_val 8430 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write_bank(rt2x00dev, 5, 3, rf_val); rf_val 8431 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 4); rf_val 8432 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val &= (~0x3F); rf_val 8433 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val |= 0x3F; rf_val 8434 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write_bank(rt2x00dev, 5, 4, rf_val); rf_val 8440 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 3); rf_val 8441 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val &= (~0x3F); rf_val 8442 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val |= 0x34; rf_val 8443 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write_bank(rt2x00dev, 5, 3, rf_val); rf_val 8444 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 4); rf_val 8445 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val &= (~0x3F); rf_val 8446 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val |= 0x34; rf_val 8447 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write_bank(rt2x00dev, 5, 4, rf_val); rf_val 8488 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 bbp_val, rf_val; rf_val 8537 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 0); rf_val 8538 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val |= 0x3; rf_val 8539 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write_bank(rt2x00dev, 5, 0, rf_val); rf_val 8541 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 1); rf_val 8542 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val |= 0x1; rf_val 8543 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write_bank(rt2x00dev, 5, 1, rf_val); rf_val 8548 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 1); rf_val 8549 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (((rf_val & 0x1) == 0x00) || (cnt == 40)) rf_val 8554 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 0); rf_val 8555 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val &= (~0x3); rf_val 8556 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val |= 0x1; rf_val 8557 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write_bank(rt2x00dev, 5, 0, rf_val); rf_val 8583 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 8); rf_val 8584 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val &= (~0x04); rf_val 8586 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val |= 0x4; rf_val 8588 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write_bank(rt2x00dev, 5, 8, rf_val); rf_val 8595 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 58); rf_val 8596 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val &= (~0x7F); rf_val 8597 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write_bank(rt2x00dev, 5, 58, rf_val); rf_val 8598 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 59); rf_val 8599 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val &= (~0x7F); rf_val 8600 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write_bank(rt2x00dev, 5, 59, rf_val); rf_val 8603 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 6); rf_val 8604 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val &= (~0x7F); rf_val 8605 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write_bank(rt2x00dev, 5, 6, rf_val); rf_val 8606 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 7); rf_val 8607 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val &= (~0x7F); rf_val 8608 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write_bank(rt2x00dev, 5, 7, rf_val); rf_val 8626 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 58); rf_val 8627 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val &= (~0x7F); rf_val 8628 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val |= tx_agc_fc; rf_val 8629 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write_bank(rt2x00dev, 5, 58, rf_val); rf_val 8630 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 59); rf_val 8631 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val &= (~0x7F); rf_val 8632 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val |= tx_agc_fc; rf_val 8633 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write_bank(rt2x00dev, 5, 59, rf_val); rf_val 8635 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 6); rf_val 8636 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val &= (~0x7F); rf_val 8637 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val |= rx_agc_fc; rf_val 8638 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write_bank(rt2x00dev, 5, 6, rf_val); rf_val 8639 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val = rt2800_rfcsr_read_bank(rt2x00dev, 5, 7); rf_val 8640 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val &= (~0x7F); rf_val 8641 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rf_val |= rx_agc_fc; rf_val 8642 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write_bank(rt2x00dev, 5, 7, rf_val);