rfcsr 1480 drivers/net/wireless/ralink/rt2x00/rt2800lib.c .rfcsr = { rfcsr 2319 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 rfcsr, prev_rfcsr; rfcsr 2324 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 17); rfcsr 2325 drivers/net/wireless/ralink/rt2x00/rt2800lib.c prev_rfcsr = rfcsr; rfcsr 2327 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR17_CODE, freq_offset); rfcsr 2328 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (rfcsr == prev_rfcsr) rfcsr 2344 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR17_CODE, prev_freq_offset); rfcsr 2345 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 17, rfcsr); rfcsr 2422 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 rfcsr, calib_tx, calib_rx; rfcsr 2426 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 3); rfcsr 2427 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR3_K, rf->rf3); rfcsr 2428 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 3, rfcsr); rfcsr 2430 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 6); rfcsr 2431 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR6_R1, rf->rf2); rfcsr 2432 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 6, rfcsr); rfcsr 2434 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 12); rfcsr 2435 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR12_TX_POWER, info->default_power1); rfcsr 2436 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 12, rfcsr); rfcsr 2438 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 13); rfcsr 2439 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR13_TX_POWER, info->default_power2); rfcsr 2440 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 13, rfcsr); rfcsr 2442 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 1); rfcsr 2443 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX0_PD, 0); rfcsr 2444 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX1_PD, rfcsr 2446 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX2_PD, rfcsr 2448 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX0_PD, 0); rfcsr 2449 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX1_PD, rfcsr 2451 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX2_PD, rfcsr 2453 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 1, rfcsr); rfcsr 2455 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 23); rfcsr 2456 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR23_FREQ_OFFSET, rt2x00dev->freq_offset); rfcsr 2457 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 23, rfcsr); rfcsr 2472 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 24); rfcsr 2473 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR24_TX_CALIB, calib_tx); rfcsr 2474 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 24, rfcsr); rfcsr 2476 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 31); rfcsr 2477 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR31_RX_CALIB, calib_rx); rfcsr 2478 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 31, rfcsr); rfcsr 2480 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 7); rfcsr 2481 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR7_RF_TUNING, 1); rfcsr 2482 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 7, rfcsr); rfcsr 2484 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 30); rfcsr 2485 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR30_RF_CALIBRATION, 1); rfcsr 2486 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 30, rfcsr); rfcsr 2490 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR30_RF_CALIBRATION, 0); rfcsr 2491 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 30, rfcsr); rfcsr 2500 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 rfcsr; rfcsr 2514 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 6); rfcsr 2515 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR6_R1, rf->rf2); rfcsr 2517 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR6_TXDIV, 2); rfcsr 2519 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR6_TXDIV, 1); rfcsr 2520 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 6, rfcsr); rfcsr 2522 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 5); rfcsr 2524 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR5_R1, 1); rfcsr 2526 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR5_R1, 2); rfcsr 2527 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 5, rfcsr); rfcsr 2529 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 12); rfcsr 2531 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR12_DR0, 3); rfcsr 2532 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR12_TX_POWER, rfcsr 2535 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR12_DR0, 7); rfcsr 2536 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR12_TX_POWER, rfcsr 2540 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 12, rfcsr); rfcsr 2542 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 13); rfcsr 2544 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR13_DR0, 3); rfcsr 2545 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR13_TX_POWER, rfcsr 2548 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR13_DR0, 7); rfcsr 2549 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR13_TX_POWER, rfcsr 2553 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 13, rfcsr); rfcsr 2555 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 1); rfcsr 2556 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX0_PD, 0); rfcsr 2557 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX0_PD, 0); rfcsr 2558 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX1_PD, 0); rfcsr 2559 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX1_PD, 0); rfcsr 2560 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX2_PD, 0); rfcsr 2561 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX2_PD, 0); rfcsr 2564 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX0_PD, 1); rfcsr 2565 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX0_PD, 1); rfcsr 2567 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX2_PD, 1); rfcsr 2568 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX2_PD, 1); rfcsr 2572 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX1_PD, 1); rfcsr 2575 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX2_PD, 1); rfcsr 2581 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX1_PD, 1); rfcsr 2584 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX2_PD, 1); rfcsr 2588 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 1, rfcsr); rfcsr 2590 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 23); rfcsr 2591 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR23_FREQ_OFFSET, rt2x00dev->freq_offset); rfcsr 2592 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 23, rfcsr); rfcsr 2608 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0x4c; rfcsr 2609 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR16_TXMIXER_GAIN, rfcsr 2611 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 16, rfcsr); rfcsr 2620 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 7); rfcsr 2621 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR7_BIT2, 1); rfcsr 2622 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR7_BIT3, 0); rfcsr 2623 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR7_BIT4, 1); rfcsr 2624 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR7_BITS67, 0); rfcsr 2625 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 7, rfcsr); rfcsr 2630 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0x7a; rfcsr 2631 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR16_TXMIXER_GAIN, rfcsr 2633 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 16, rfcsr); rfcsr 2661 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 7); rfcsr 2662 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR7_RF_TUNING, 1); rfcsr 2663 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 7, rfcsr); rfcsr 2674 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 rfcsr; rfcsr 2704 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 11); rfcsr 2705 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR11_R, (rf->rf2 & 0x3)); rfcsr 2706 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 11, rfcsr); rfcsr 2708 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 11); rfcsr 2709 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR11_PLL_IDOH, 1); rfcsr 2711 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR11_PLL_MOD, 1); rfcsr 2713 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR11_PLL_MOD, 2); rfcsr 2714 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 11, rfcsr); rfcsr 2716 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 53); rfcsr 2718 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0; rfcsr 2719 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR53_TX_POWER, rfcsr 2723 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0x40; rfcsr 2725 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR53_TX_POWER, rfcsr 2729 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 53, rfcsr); rfcsr 2731 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 55); rfcsr 2733 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0; rfcsr 2734 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR55_TX_POWER, rfcsr 2738 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0x40; rfcsr 2740 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR55_TX_POWER, rfcsr 2744 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 55, rfcsr); rfcsr 2746 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 54); rfcsr 2748 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0; rfcsr 2749 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR54_TX_POWER, rfcsr 2753 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0x40; rfcsr 2755 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR54_TX_POWER, rfcsr 2759 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 54, rfcsr); rfcsr 2761 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 1); rfcsr 2762 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX0_PD, 0); rfcsr 2763 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX0_PD, 0); rfcsr 2764 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX1_PD, 0); rfcsr 2765 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX1_PD, 0); rfcsr 2766 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX2_PD, 0); rfcsr 2767 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX2_PD, 0); rfcsr 2768 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RF_BLOCK_EN, 1); rfcsr 2769 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_PLL_PD, 1); rfcsr 2773 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX2_PD, 1); rfcsr 2776 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX1_PD, 1); rfcsr 2779 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX0_PD, 1); rfcsr 2785 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX2_PD, 1); rfcsr 2788 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX1_PD, 1); rfcsr 2791 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX0_PD, 1); rfcsr 2794 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 1, rfcsr); rfcsr 2813 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 32); rfcsr 2814 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR32_TX_AGC_FC, txrx_agc_fc); rfcsr 2817 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0xa0; rfcsr 2819 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0x80; rfcsr 2820 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 31, rfcsr); rfcsr 2822 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 30); rfcsr 2823 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR30_TX_H20M, txrx_h20m); rfcsr 2824 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR30_RX_H20M, txrx_h20m); rfcsr 2825 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 30, rfcsr); rfcsr 2828 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 36); rfcsr 2830 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR36_RF_BS, 1); rfcsr 2832 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR36_RF_BS, 0); rfcsr 2833 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 36, rfcsr); rfcsr 2835 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 34); rfcsr 2837 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0x3c; rfcsr 2839 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0x20; rfcsr 2840 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 34, rfcsr); rfcsr 2842 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 12); rfcsr 2844 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0x1a; rfcsr 2846 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0x12; rfcsr 2847 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 12, rfcsr); rfcsr 2849 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 6); rfcsr 2851 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR6_VCO_IC, 1); rfcsr 2853 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR6_VCO_IC, 2); rfcsr 2855 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR6_VCO_IC, 2); rfcsr 2857 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR6_VCO_IC, 1); rfcsr 2858 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 6, rfcsr); rfcsr 2860 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 30); rfcsr 2861 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR30_RX_VCM, 2); rfcsr 2862 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 30, rfcsr); rfcsr 2874 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 51); rfcsr 2875 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR51_BITS01, 1); rfcsr 2876 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 51, rfcsr); rfcsr 2878 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 51); rfcsr 2880 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR51_BITS24, 5); rfcsr 2881 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR51_BITS57, 3); rfcsr 2883 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR51_BITS24, 4); rfcsr 2884 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR51_BITS57, 2); rfcsr 2886 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 51, rfcsr); rfcsr 2888 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 49); rfcsr 2890 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR49_TX_LO1_IC, 3); rfcsr 2892 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR49_TX_LO1_IC, 2); rfcsr 2895 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR49_TX_DIV, 1); rfcsr 2897 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 49, rfcsr); rfcsr 2899 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 50); rfcsr 2900 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR50_TX_LO1_EN, 0); rfcsr 2901 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 50, rfcsr); rfcsr 2903 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 57); rfcsr 2905 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR57_DRV_CC, 0x1b); rfcsr 2907 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR57_DRV_CC, 0x0f); rfcsr 2908 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 57, rfcsr); rfcsr 2919 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 3); rfcsr 2921 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR3_VCOCAL_EN, 1); rfcsr 2923 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR3_BIT1, 1); rfcsr 2924 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR3_BIT2, 1); rfcsr 2925 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR3_BIT3, 1); rfcsr 2926 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR3_BIT4, 1); rfcsr 2927 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR3_BIT5, 1); rfcsr 2928 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR3_VCOCAL_EN, 1); rfcsr 2930 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 3, rfcsr); rfcsr 2933 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0x23; rfcsr 2935 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR39_RX_DIV, 1); rfcsr 2936 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 39, rfcsr); rfcsr 2940 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0x36; rfcsr 2942 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR39_RX_DIV, 1); rfcsr 2947 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0x32; rfcsr 2949 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR39_RX_DIV, 1); rfcsr 2950 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 39, rfcsr); rfcsr 2954 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0x30; rfcsr 2956 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR39_RX_DIV, 1); rfcsr 2957 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 39, rfcsr); rfcsr 2968 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 rfcsr; rfcsr 2998 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 1); rfcsr 2999 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX0_PD, 0); rfcsr 3000 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX0_PD, 0); rfcsr 3001 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX1_PD, 0); rfcsr 3002 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX1_PD, 0); rfcsr 3003 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX2_PD, 0); rfcsr 3004 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX2_PD, 0); rfcsr 3005 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RF_BLOCK_EN, 1); rfcsr 3006 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_PLL_PD, 1); rfcsr 3010 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX2_PD, 1); rfcsr 3013 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX1_PD, 1); rfcsr 3016 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX0_PD, 1); rfcsr 3022 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX2_PD, 1); rfcsr 3025 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX1_PD, 1); rfcsr 3028 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX0_PD, 1); rfcsr 3031 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 1, rfcsr); rfcsr 3035 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 30); rfcsr 3037 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr &= ~(0x06); rfcsr 3039 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr |= 0x06; rfcsr 3040 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 30, rfcsr); rfcsr 3058 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 36); rfcsr 3060 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR36_RF_BS, 1); rfcsr 3062 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR36_RF_BS, 0); rfcsr 3063 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 36, rfcsr); rfcsr 3066 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0x23; rfcsr 3068 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0x36; rfcsr 3070 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0x32; rfcsr 3072 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0x30; rfcsr 3075 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr |= 0x40; rfcsr 3077 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 39, rfcsr); rfcsr 3085 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0xbb; rfcsr 3087 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0xeb; rfcsr 3089 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0xb3; rfcsr 3091 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0x9b; rfcsr 3092 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 45, rfcsr); rfcsr 3095 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0x8e; rfcsr 3097 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0x8a; rfcsr 3100 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr |= 0x20; rfcsr 3102 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 49, rfcsr); rfcsr 3106 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 51); rfcsr 3112 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 52); rfcsr 3147 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 57); rfcsr 3154 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 3); rfcsr 3155 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR3_VCOCAL_EN, 1); rfcsr 3156 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 3, rfcsr); rfcsr 3176 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 rfcsr; rfcsr 3180 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 11); rfcsr 3181 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR11_R, rf->rf2); rfcsr 3182 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 11, rfcsr); rfcsr 3184 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 49); rfcsr 3186 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR49_TX, POWER_BOUND); rfcsr 3188 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR49_TX, info->default_power1); rfcsr 3189 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 49, rfcsr); rfcsr 3213 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 rfcsr; rfcsr 3234 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 1); rfcsr 3235 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX0_PD, 1); rfcsr 3236 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX0_PD, 1); rfcsr 3239 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX1_PD, 1); rfcsr 3241 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX1_PD, 0); rfcsr 3244 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX1_PD, 1); rfcsr 3246 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX1_PD, 0); rfcsr 3248 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX2_PD, 0); rfcsr 3249 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX2_PD, 0); rfcsr 3251 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 1, rfcsr); rfcsr 3261 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 rfcsr; rfcsr 3266 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 11); rfcsr 3267 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR11_R, rf->rf2); rfcsr 3268 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 11, rfcsr); rfcsr 3270 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 49); rfcsr 3272 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR49_TX, POWER_BOUND); rfcsr 3274 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR49_TX, info->default_power1); rfcsr 3275 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 49, rfcsr); rfcsr 3278 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 50); rfcsr 3280 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR50_TX, POWER_BOUND); rfcsr 3282 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR50_TX, rfcsr 3284 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 50, rfcsr); rfcsr 3287 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 1); rfcsr 3289 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX1_PD, 1); rfcsr 3290 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX1_PD, 1); rfcsr 3292 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RF_BLOCK_EN, 1); rfcsr 3293 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_PLL_PD, 1); rfcsr 3294 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX0_PD, 1); rfcsr 3295 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX0_PD, 1); rfcsr 3296 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 1, rfcsr); rfcsr 3359 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 rfcsr, ep_reg; rfcsr 3375 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 9); rfcsr 3376 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR9_K, rf->rf2 & 0xf); rfcsr 3377 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR9_N, (rf->rf1 & 0x100) >> 8); rfcsr 3378 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR9_MOD, ((rf->rf3 - 8) & 0x4) >> 2); rfcsr 3379 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 9, rfcsr); rfcsr 3381 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 11); rfcsr 3382 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR11_R, rf->rf4 - 1); rfcsr 3383 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR11_MOD, (rf->rf3 - 8) & 0x3); rfcsr 3384 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 11, rfcsr); rfcsr 3420 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rf->channel <= 10 ? 0x07 : 0x06; rfcsr 3421 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 23, rfcsr); rfcsr 3422 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 59, rfcsr); rfcsr 3549 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 49); rfcsr 3551 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR49_TX, power_bound); rfcsr 3553 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR49_TX, info->default_power1); rfcsr 3555 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR49_EP, ep_reg); rfcsr 3556 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 49, rfcsr); rfcsr 3558 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 50); rfcsr 3560 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR50_TX, power_bound); rfcsr 3562 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR50_TX, info->default_power2); rfcsr 3564 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR50_EP, ep_reg); rfcsr 3565 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 50, rfcsr); rfcsr 3567 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 1); rfcsr 3568 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RF_BLOCK_EN, 1); rfcsr 3569 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_PLL_PD, 1); rfcsr 3571 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX0_PD, rfcsr 3573 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX1_PD, rfcsr 3575 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX2_PD, 0); rfcsr 3577 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX0_PD, rfcsr 3579 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX1_PD, rfcsr 3581 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX2_PD, 0); rfcsr 3583 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 1, rfcsr); rfcsr 3600 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 3); rfcsr 3601 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR3_VCOCAL_EN, 1); rfcsr 3602 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 3, rfcsr); rfcsr 3636 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 rfcsr; rfcsr 3642 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 13); rfcsr 3643 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR13_RDIV_MT7620, rfcsr 3645 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 13, rfcsr); rfcsr 3651 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 20); rfcsr 3652 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = (rf->rf1 & 0x00ff); rfcsr 3653 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 20, rfcsr); rfcsr 3655 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 21); rfcsr 3656 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR21_BIT1, 0); rfcsr 3657 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 21, rfcsr); rfcsr 3662 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 16); rfcsr 3663 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR16_RF_PLL_FREQ_SEL_MT7620, 0); rfcsr 3664 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 16, rfcsr); rfcsr 3669 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 22); rfcsr 3670 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR22_FREQPLAN_D_MT7620, 0); rfcsr 3671 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 22, rfcsr); rfcsr 3678 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 17); rfcsr 3679 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rf->rf2; rfcsr 3680 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 17, rfcsr); rfcsr 3682 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 18); rfcsr 3683 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rf->rf3; rfcsr 3684 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 18, rfcsr); rfcsr 3686 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 19); rfcsr 3687 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR19_K, rf->rf4); rfcsr 3688 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 19, rfcsr); rfcsr 3691 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 16); rfcsr 3692 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR16_SDM_MODE_MT7620, 0x80); rfcsr 3693 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 16, rfcsr); rfcsr 3695 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 21); rfcsr 3696 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR21_BIT8, 1); rfcsr 3697 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 21, rfcsr); rfcsr 3699 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 1); rfcsr 3700 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX2_EN_MT7620, rfcsr 3702 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 1, rfcsr); rfcsr 3704 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 2); rfcsr 3705 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR2_TX2_EN_MT7620, rfcsr 3707 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR2_RX2_EN_MT7620, rfcsr 3709 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 2, rfcsr); rfcsr 3711 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 42); rfcsr 3712 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR42_TX2_EN_MT7620, rfcsr 3714 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 42, rfcsr); rfcsr 3739 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 28); rfcsr 3740 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR28_CH11_HT40, rfcsr 3742 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 28, rfcsr); rfcsr 3752 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read_bank(rt2x00dev, 5, 6); rfcsr 3753 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr &= (~0x3F); rfcsr 3754 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr |= rx_agc_fc; rfcsr 3755 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write_bank(rt2x00dev, 5, 6, rfcsr); rfcsr 3756 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read_bank(rt2x00dev, 5, 7); rfcsr 3757 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr &= (~0x3F); rfcsr 3758 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr |= rx_agc_fc; rfcsr 3759 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write_bank(rt2x00dev, 5, 7, rfcsr); rfcsr 3760 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read_bank(rt2x00dev, 7, 6); rfcsr 3761 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr &= (~0x3F); rfcsr 3762 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr |= rx_agc_fc; rfcsr 3763 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write_bank(rt2x00dev, 7, 6, rfcsr); rfcsr 3764 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read_bank(rt2x00dev, 7, 7); rfcsr 3765 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr &= (~0x3F); rfcsr 3766 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr |= rx_agc_fc; rfcsr 3767 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write_bank(rt2x00dev, 7, 7, rfcsr); rfcsr 3769 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read_bank(rt2x00dev, 5, 58); rfcsr 3770 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr &= (~0x3F); rfcsr 3771 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr |= tx_agc_fc; rfcsr 3772 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write_bank(rt2x00dev, 5, 58, rfcsr); rfcsr 3773 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read_bank(rt2x00dev, 5, 59); rfcsr 3774 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr &= (~0x3F); rfcsr 3775 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr |= tx_agc_fc; rfcsr 3776 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write_bank(rt2x00dev, 5, 59, rfcsr); rfcsr 3777 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read_bank(rt2x00dev, 7, 58); rfcsr 3778 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr &= (~0x3F); rfcsr 3779 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr |= tx_agc_fc; rfcsr 3780 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write_bank(rt2x00dev, 7, 58, rfcsr); rfcsr 3781 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read_bank(rt2x00dev, 7, 59); rfcsr 3782 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr &= (~0x3F); rfcsr 3783 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr |= tx_agc_fc; rfcsr 3784 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write_bank(rt2x00dev, 7, 59, rfcsr); rfcsr 4023 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 bbp, rfcsr; rfcsr 4093 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 30); rfcsr 4095 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RF3322_RFCSR30_TX_H20M, rfcsr 4097 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RF3322_RFCSR30_RX_H20M, rfcsr 4100 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR30_TX_H20M, rfcsr 4102 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR30_RX_H20M, rfcsr 4105 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 30, rfcsr); rfcsr 4107 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 3); rfcsr 4108 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR3_VCOCAL_EN, 1); rfcsr 4109 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 3, rfcsr); rfcsr 5379 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 rfcsr; rfcsr 5401 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 7); rfcsr 5402 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR7_RF_TUNING, 1); rfcsr 5403 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 7, rfcsr); rfcsr 5417 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 3); rfcsr 5418 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR3_VCOCAL_EN, 1); rfcsr 5419 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 3, rfcsr); rfcsr 5425 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 4); rfcsr 5426 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR4_VCOCAL_EN, 1); rfcsr 5427 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 4, rfcsr); rfcsr 7205 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 rfcsr; rfcsr 7217 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 31); rfcsr 7218 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR31_RX_H20M, bw40); rfcsr 7219 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 31, rfcsr); rfcsr 7221 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 22); rfcsr 7222 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR22_BASEBAND_LOOPBACK, 1); rfcsr 7223 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 22, rfcsr); rfcsr 7268 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 rfcsr; rfcsr 7270 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, rf_reg); rfcsr 7271 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, FIELD8(0x80), 1); rfcsr 7272 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, rf_reg, rfcsr); rfcsr 7274 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, FIELD8(0x80), 0); rfcsr 7275 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, rf_reg, rfcsr); rfcsr 7283 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 rfcsr, bbp; rfcsr 7312 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 22); rfcsr 7313 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR22_BASEBAND_LOOPBACK, 0); rfcsr 7314 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 22, rfcsr); rfcsr 7327 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 min_gain, rfcsr, bbp; rfcsr 7330 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 17); rfcsr 7332 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR17_TX_LO1_EN, 0); rfcsr 7338 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR17_R, 1); rfcsr 7343 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR17_TXMIXER_GAIN, rfcsr 7347 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 17, rfcsr); rfcsr 7361 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 27); rfcsr 7363 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR27_R1, 3); rfcsr 7365 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR27_R1, 0); rfcsr 7366 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR27_R2, 0); rfcsr 7367 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR27_R3, 0); rfcsr 7368 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR27_R4, 0); rfcsr 7369 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 27, rfcsr); rfcsr 7373 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 1); rfcsr 7374 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RF_BLOCK_EN, 1); rfcsr 7375 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX0_PD, 0); rfcsr 7376 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX0_PD, 0); rfcsr 7377 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RX1_PD, 1); rfcsr 7378 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_TX1_PD, 1); rfcsr 7379 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 1, rfcsr); rfcsr 7381 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 15); rfcsr 7382 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR15_TX_LO2_EN, 0); rfcsr 7383 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 15, rfcsr); rfcsr 7385 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 20); rfcsr 7386 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR20_RX_LO1_EN, 0); rfcsr 7387 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 20, rfcsr); rfcsr 7389 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 21); rfcsr 7390 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR21_RX_LO2_EN, 0); rfcsr 7391 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 21, rfcsr); rfcsr 7398 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 rfcsr; rfcsr 7401 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 50); rfcsr 7402 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR50_TX_LO2_EN, 0); rfcsr 7403 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 50, rfcsr); rfcsr 7405 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 51); rfcsr 7408 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR51_BITS24, tx_gain); rfcsr 7409 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 51, rfcsr); rfcsr 7411 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 38); rfcsr 7412 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR38_RX_LO1_EN, 0); rfcsr 7413 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 38, rfcsr); rfcsr 7415 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 39); rfcsr 7416 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR39_RX_LO2_EN, 0); rfcsr 7417 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 39, rfcsr); rfcsr 7419 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 1); rfcsr 7420 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RF_BLOCK_EN, 1); rfcsr 7421 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_PLL_PD, 1); rfcsr 7422 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 1, rfcsr); rfcsr 7424 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 30); rfcsr 7425 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR30_RX_VCM, 2); rfcsr 7426 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 30, rfcsr); rfcsr 7500 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 rfcsr; rfcsr 7536 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 6); rfcsr 7537 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR6_R2, 1); rfcsr 7538 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 6, rfcsr); rfcsr 7570 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 rfcsr; rfcsr 7621 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 29); rfcsr 7622 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR29_RSSI_GAIN, 3); rfcsr 7623 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 29, rfcsr); rfcsr 7635 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 rfcsr; rfcsr 7672 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0x01; rfcsr 7674 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR34_TX0_EXT_PA, 1); rfcsr 7676 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR34_TX1_EXT_PA, 1); rfcsr 7677 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 34, rfcsr); rfcsr 7684 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0x52; rfcsr 7686 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR41_BIT1, 1); rfcsr 7687 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR41_BIT4, 1); rfcsr 7689 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 41, rfcsr); rfcsr 7690 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0x52; rfcsr 7692 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR42_BIT1, 1); rfcsr 7693 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR42_BIT4, 1); rfcsr 7695 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 42, rfcsr); rfcsr 7703 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = 0x2d; rfcsr 7705 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR50_TX0_EXT_PA, 1); rfcsr 7707 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR50_TX1_EXT_PA, 1); rfcsr 7708 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 50, rfcsr); rfcsr 7782 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 rfcsr; rfcsr 7819 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 6); rfcsr 7820 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR6_R2, 1); rfcsr 7821 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 6, rfcsr); rfcsr 7889 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 rfcsr; rfcsr 7933 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 2); rfcsr 7934 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR2_RESCAL_EN, 1); rfcsr 7935 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 2, rfcsr); rfcsr 7939 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 18); rfcsr 7940 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR18_XO_TUNE_BYPASS, 1); rfcsr 7941 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 18, rfcsr); rfcsr 8040 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 rfcsr; rfcsr 8147 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 2); rfcsr 8148 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR2_RESCAL_BP, 0); rfcsr 8149 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR2_RESCAL_EN, 1); rfcsr 8150 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 2, rfcsr); rfcsr 8152 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR2_RESCAL_EN, 0); rfcsr 8153 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 2, rfcsr); rfcsr 8155 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 1); rfcsr 8156 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field8(&rfcsr, RFCSR1_RF_BLOCK_EN, 1); rfcsr 8157 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 1, rfcsr); rfcsr 8159 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 6); rfcsr 8160 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr |= 0xc0; rfcsr 8161 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 6, rfcsr); rfcsr 8163 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 22); rfcsr 8164 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr |= 0x20; rfcsr 8165 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 22, rfcsr); rfcsr 8167 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 46); rfcsr 8168 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr |= 0x20; rfcsr 8169 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 46, rfcsr); rfcsr 8171 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr = rt2800_rfcsr_read(rt2x00dev, 20); rfcsr 8172 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rfcsr &= ~0xee; rfcsr 8173 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_rfcsr_write(rt2x00dev, 20, rfcsr); rfcsr 499 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c RT2X00DEBUGFS_OPS(rfcsr, "0x%.2x\n", u8); rfcsr 627 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c RT2X00DEBUGFS_SPRINTF_REGISTER(rfcsr); rfcsr 684 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c RT2X00DEBUGFS_CREATE_REGISTER_ENTRY(intf, rfcsr); rfcsr 55 drivers/net/wireless/ralink/rt2x00/rt2x00debug.h RT2X00DEBUGFS_REGISTER_ENTRY(rfcsr, u8);