Home
last modified time | relevance | path

Searched refs:cap_flags (Results 1 – 22 of 22) sorted by relevance

/linux-3.4.99/drivers/net/wireless/rt2x00/
Drt2x00dev.c91 if (test_bit(CAPABILITY_VCO_RECALIBRATION, &rt2x00dev->cap_flags)) in rt2x00lib_enable_radio()
116 if (test_bit(CAPABILITY_VCO_RECALIBRATION, &rt2x00dev->cap_flags)) in rt2x00lib_disable_radio()
236 if (test_bit(CAPABILITY_PRE_TBTT_INTERRUPT, &rt2x00dev->cap_flags)) in rt2x00lib_beacondone()
307 if (test_bit(REQUIRE_L2PAD, &rt2x00dev->cap_flags)) in rt2x00lib_txdone()
316 if (test_bit(CAPABILITY_HW_CRYPTO, &rt2x00dev->cap_flags)) in rt2x00lib_txdone()
413 if (test_bit(REQUIRE_TASKLET_CONTEXT, &rt2x00dev->cap_flags)) in rt2x00lib_txdone()
952 if (test_bit(REQUIRE_L2PAD, &rt2x00dev->cap_flags)) in rt2x00lib_probe_hw()
954 else if (test_bit(REQUIRE_DMA, &rt2x00dev->cap_flags)) in rt2x00lib_probe_hw()
965 if (test_bit(REQUIRE_TXSTATUS_FIFO, &rt2x00dev->cap_flags)) { in rt2x00lib_probe_hw()
1027 if (test_bit(REQUIRE_DELAYED_RFKILL, &rt2x00dev->cap_flags)) in rt2x00lib_uninitialize()
[all …]
Drt2800pci.c1008 __set_bit(CAPABILITY_CONTROL_FILTERS, &rt2x00dev->cap_flags); in rt2800pci_probe_hw()
1009 __set_bit(CAPABILITY_CONTROL_FILTER_PSPOLL, &rt2x00dev->cap_flags); in rt2800pci_probe_hw()
1015 __set_bit(CAPABILITY_PRE_TBTT_INTERRUPT, &rt2x00dev->cap_flags); in rt2800pci_probe_hw()
1021 __set_bit(REQUIRE_FIRMWARE, &rt2x00dev->cap_flags); in rt2800pci_probe_hw()
1022 __set_bit(REQUIRE_DMA, &rt2x00dev->cap_flags); in rt2800pci_probe_hw()
1023 __set_bit(REQUIRE_L2PAD, &rt2x00dev->cap_flags); in rt2800pci_probe_hw()
1024 __set_bit(REQUIRE_TXSTATUS_FIFO, &rt2x00dev->cap_flags); in rt2800pci_probe_hw()
1025 __set_bit(REQUIRE_TASKLET_CONTEXT, &rt2x00dev->cap_flags); in rt2800pci_probe_hw()
1027 __set_bit(CAPABILITY_HW_CRYPTO, &rt2x00dev->cap_flags); in rt2800pci_probe_hw()
1028 __set_bit(CAPABILITY_LINK_TUNING, &rt2x00dev->cap_flags); in rt2800pci_probe_hw()
[all …]
Drt2800usb.c783 __set_bit(CAPABILITY_CONTROL_FILTERS, &rt2x00dev->cap_flags); in rt2800usb_probe_hw()
784 __set_bit(CAPABILITY_CONTROL_FILTER_PSPOLL, &rt2x00dev->cap_flags); in rt2800usb_probe_hw()
789 __set_bit(REQUIRE_FIRMWARE, &rt2x00dev->cap_flags); in rt2800usb_probe_hw()
790 __set_bit(REQUIRE_L2PAD, &rt2x00dev->cap_flags); in rt2800usb_probe_hw()
792 __set_bit(CAPABILITY_HW_CRYPTO, &rt2x00dev->cap_flags); in rt2800usb_probe_hw()
793 __set_bit(CAPABILITY_LINK_TUNING, &rt2x00dev->cap_flags); in rt2800usb_probe_hw()
794 __set_bit(REQUIRE_HT_TX_DESC, &rt2x00dev->cap_flags); in rt2800usb_probe_hw()
795 __set_bit(REQUIRE_TXSTATUS_FIFO, &rt2x00dev->cap_flags); in rt2800usb_probe_hw()
796 __set_bit(REQUIRE_PS_AUTOWAKE, &rt2x00dev->cap_flags); in rt2800usb_probe_hw()
Drt2x00queue.c63 if (test_bit(CAPABILITY_HW_CRYPTO, &rt2x00dev->cap_flags)) { in rt2x00queue_alloc_rxskb()
89 if (test_bit(REQUIRE_DMA, &rt2x00dev->cap_flags)) { in rt2x00queue_alloc_rxskb()
217 if (!test_bit(REQUIRE_SW_SEQNO, &rt2x00dev->cap_flags)) in rt2x00queue_create_tx_descriptor_seq()
483 if (test_bit(REQUIRE_HT_TX_DESC, &rt2x00dev->cap_flags)) in rt2x00queue_create_tx_descriptor()
525 if (test_bit(REQUIRE_DMA, &rt2x00dev->cap_flags)) in rt2x00queue_write_tx_data()
602 if (test_bit(REQUIRE_COPY_IV, &queue->rt2x00dev->cap_flags)) in rt2x00queue_write_tx_frame()
616 if (test_bit(REQUIRE_L2PAD, &queue->rt2x00dev->cap_flags)) in rt2x00queue_write_tx_frame()
618 else if (test_bit(REQUIRE_DMA, &queue->rt2x00dev->cap_flags)) in rt2x00queue_write_tx_frame()
1176 if (test_bit(REQUIRE_ATIM_QUEUE, &rt2x00dev->cap_flags)) { in rt2x00queue_initialize()
1229 !!test_bit(REQUIRE_ATIM_QUEUE, &rt2x00dev->cap_flags); in rt2x00queue_allocate()
Drt2x00debug.c82 struct dentry *cap_flags; member
570 size = sprintf(line, "0x%.8x\n", (unsigned int)intf->rt2x00dev->cap_flags); in rt2x00debug_read_cap_flags()
686 intf->cap_flags = debugfs_create_file("cap_flags", S_IRUSR, in rt2x00debug_register()
689 if (IS_ERR(intf->cap_flags) || !intf->cap_flags) in rt2x00debug_register()
745 if (test_bit(CAPABILITY_HW_CRYPTO, &rt2x00dev->cap_flags)) in rt2x00debug_register()
783 debugfs_remove(intf->cap_flags); in rt2x00debug_deregister()
Drt73usb.c598 temp = !test_bit(CAPABILITY_FRAME_TYPE, &rt2x00dev->cap_flags) in rt73usb_config_antenna_5x()
639 !test_bit(CAPABILITY_FRAME_TYPE, &rt2x00dev->cap_flags)); in rt73usb_config_antenna_2x()
712 lna = test_bit(CAPABILITY_EXTERNAL_LNA_A, &rt2x00dev->cap_flags); in rt73usb_config_ant()
715 lna = test_bit(CAPABILITY_EXTERNAL_LNA_BG, &rt2x00dev->cap_flags); in rt73usb_config_ant()
743 if (test_bit(CAPABILITY_EXTERNAL_LNA_BG, &rt2x00dev->cap_flags)) in rt73usb_config_lna_gain()
933 if (test_bit(CAPABILITY_EXTERNAL_LNA_A, &rt2x00dev->cap_flags)) { in rt73usb_link_tuner()
949 if (test_bit(CAPABILITY_EXTERNAL_LNA_BG, &rt2x00dev->cap_flags)) { in rt73usb_link_tuner()
1664 if (test_bit(CAPABILITY_EXTERNAL_LNA_A, &rt2x00dev->cap_flags)) { in rt73usb_agc_to_rssi()
1902 __set_bit(CAPABILITY_FRAME_TYPE, &rt2x00dev->cap_flags); in rt73usb_init_eeprom()
1908 __set_bit(CAPABILITY_HW_BUTTON, &rt2x00dev->cap_flags); in rt73usb_init_eeprom()
[all …]
Drt61pci.c686 !test_bit(CAPABILITY_FRAME_TYPE, &rt2x00dev->cap_flags)); in rt61pci_config_antenna_2x()
814 lna = test_bit(CAPABILITY_EXTERNAL_LNA_A, &rt2x00dev->cap_flags); in rt61pci_config_ant()
817 lna = test_bit(CAPABILITY_EXTERNAL_LNA_BG, &rt2x00dev->cap_flags); in rt61pci_config_ant()
837 if (test_bit(CAPABILITY_DOUBLE_ANTENNA, &rt2x00dev->cap_flags)) in rt61pci_config_ant()
851 if (test_bit(CAPABILITY_EXTERNAL_LNA_BG, &rt2x00dev->cap_flags)) in rt61pci_config_lna_gain()
857 if (test_bit(CAPABILITY_EXTERNAL_LNA_A, &rt2x00dev->cap_flags)) in rt61pci_config_lna_gain()
1053 if (test_bit(CAPABILITY_EXTERNAL_LNA_A, &rt2x00dev->cap_flags)) { in rt61pci_link_tuner()
1060 if (test_bit(CAPABILITY_EXTERNAL_LNA_BG, &rt2x00dev->cap_flags)) { in rt61pci_link_tuner()
2531 __set_bit(CAPABILITY_DOUBLE_ANTENNA, &rt2x00dev->cap_flags); in rt61pci_init_eeprom()
2545 __set_bit(CAPABILITY_FRAME_TYPE, &rt2x00dev->cap_flags); in rt61pci_init_eeprom()
[all …]
Drt2x00crypto.c55 if (!test_bit(CAPABILITY_HW_CRYPTO, &rt2x00dev->cap_flags) || !hw_key) in rt2x00crypto_create_tx_descriptor()
83 if (!test_bit(CAPABILITY_HW_CRYPTO, &rt2x00dev->cap_flags) || !key) in rt2x00crypto_tx_overhead()
Drt2x00lib.h410 if (test_bit(CAPABILITY_HW_BUTTON, &rt2x00dev->cap_flags)) in rt2x00rfkill_register()
416 if (test_bit(CAPABILITY_HW_BUTTON, &rt2x00dev->cap_flags)) in rt2x00rfkill_unregister()
Drt2x00mac.c122 test_bit(REQUIRE_ATIM_QUEUE, &rt2x00dev->cap_flags)) in rt2x00mac_tx()
423 if (!test_bit(CAPABILITY_CONTROL_FILTERS, &rt2x00dev->cap_flags)) { in rt2x00mac_configure_filter()
427 if (!test_bit(CAPABILITY_CONTROL_FILTER_PSPOLL, &rt2x00dev->cap_flags)) { in rt2x00mac_configure_filter()
509 else if (!test_bit(CAPABILITY_HW_CRYPTO, &rt2x00dev->cap_flags)) in rt2x00mac_set_key()
Drt2x00config.c240 if (test_bit(REQUIRE_PS_AUTOWAKE, &rt2x00dev->cap_flags) && in rt2x00lib_config()
257 test_bit(REQUIRE_PS_AUTOWAKE, &rt2x00dev->cap_flags) && in rt2x00lib_config()
Drt2x00firmware.c102 if (!test_bit(REQUIRE_FIRMWARE, &rt2x00dev->cap_flags)) in rt2x00lib_load_firmware()
Drt2x00usb.c283 if (!test_bit(REQUIRE_TXSTATUS_FIFO, &rt2x00dev->cap_flags) || in rt2x00usb_interrupt_txdone()
465 (test_bit(REQUIRE_BEACON_GUARD, &rt2x00dev->cap_flags))) in rt2x00usb_flush_entry()
662 !test_bit(REQUIRE_BEACON_GUARD, &rt2x00dev->cap_flags)) in rt2x00usb_alloc_entries()
697 !test_bit(REQUIRE_BEACON_GUARD, &rt2x00dev->cap_flags)) in rt2x00usb_free_entries()
Drt2x00link.c376 if (test_bit(CAPABILITY_LINK_TUNING, &rt2x00dev->cap_flags)) in rt2x00link_tuner()
516 if (test_bit(CAPABILITY_VCO_RECALIBRATION, &rt2x00dev->cap_flags)) in rt2x00link_register()
Drt2500usb.c1522 __set_bit(CAPABILITY_HW_BUTTON, &rt2x00dev->cap_flags); in rt2500usb_init_eeprom()
1802 __set_bit(REQUIRE_ATIM_QUEUE, &rt2x00dev->cap_flags); in rt2500usb_probe_hw()
1803 __set_bit(REQUIRE_BEACON_GUARD, &rt2x00dev->cap_flags); in rt2500usb_probe_hw()
1805 __set_bit(CAPABILITY_HW_CRYPTO, &rt2x00dev->cap_flags); in rt2500usb_probe_hw()
1806 __set_bit(REQUIRE_COPY_IV, &rt2x00dev->cap_flags); in rt2500usb_probe_hw()
1808 __set_bit(REQUIRE_SW_SEQNO, &rt2x00dev->cap_flags); in rt2500usb_probe_hw()
1809 __set_bit(REQUIRE_PS_AUTOWAKE, &rt2x00dev->cap_flags); in rt2500usb_probe_hw()
Drt2800lib.c1496 test_bit(CAPABILITY_BT_COEXIST, &rt2x00dev->cap_flags)) in rt2800_config_ant()
1508 test_bit(CAPABILITY_BT_COEXIST, &rt2x00dev->cap_flags)) in rt2800_config_ant()
1537 test_bit(CAPABILITY_BT_COEXIST, &rt2x00dev->cap_flags)) { in rt2800_config_ant()
1816 if (test_bit(CAPABILITY_BT_COEXIST, &rt2x00dev->cap_flags)) { in rt2800_config_channel_rf3052()
1959 if (test_bit(CAPABILITY_BT_COEXIST, &rt2x00dev->cap_flags)) { in rt2800_config_channel_rf53xx()
2064 &rt2x00dev->cap_flags)) { in rt2800_config_channel()
2078 if (test_bit(CAPABILITY_EXTERNAL_LNA_A, &rt2x00dev->cap_flags)) in rt2800_config_channel()
2113 if (test_bit(CAPABILITY_BT_COEXIST, &rt2x00dev->cap_flags)) in rt2800_config_channel()
2330 if (test_bit(CAPABILITY_POWER_LIMIT, &rt2x00dev->cap_flags)) { in rt2800_compensate_txpower()
3344 if (test_bit(CAPABILITY_BT_COEXIST, &rt2x00dev->cap_flags)) { in rt2800_init_bbp()
[all …]
Drt2500pci.c1683 __set_bit(CAPABILITY_HW_BUTTON, &rt2x00dev->cap_flags); in rt2500pci_init_eeprom()
1687 __set_bit(REQUIRE_DELAYED_RFKILL, &rt2x00dev->cap_flags); in rt2500pci_init_eeprom()
1695 __set_bit(CAPABILITY_LINK_TUNING, &rt2x00dev->cap_flags); in rt2500pci_init_eeprom()
1968 __set_bit(REQUIRE_ATIM_QUEUE, &rt2x00dev->cap_flags); in rt2500pci_probe_hw()
1969 __set_bit(REQUIRE_DMA, &rt2x00dev->cap_flags); in rt2500pci_probe_hw()
1970 __set_bit(REQUIRE_SW_SEQNO, &rt2x00dev->cap_flags); in rt2500pci_probe_hw()
Drt2400pci.c1532 __set_bit(CAPABILITY_HW_BUTTON, &rt2x00dev->cap_flags); in rt2400pci_init_eeprom()
1538 __set_bit(CAPABILITY_LINK_TUNING, &rt2x00dev->cap_flags); in rt2400pci_init_eeprom()
1645 __set_bit(REQUIRE_ATIM_QUEUE, &rt2x00dev->cap_flags); in rt2400pci_probe_hw()
1646 __set_bit(REQUIRE_DMA, &rt2x00dev->cap_flags); in rt2400pci_probe_hw()
1647 __set_bit(REQUIRE_SW_SEQNO, &rt2x00dev->cap_flags); in rt2400pci_probe_hw()
Drt2x00.h803 unsigned long cap_flags; member
/linux-3.4.99/drivers/net/ethernet/emulex/benet/
Dbe_cmds.h1365 u32 cap_flags; member
1372 u32 cap_flags; member
1578 extern int be_cmd_if_create(struct be_adapter *adapter, u32 cap_flags,
Dbe_main.c2563 u32 cap_flags, en_flags, vf; in be_vf_setup() local
2569 cap_flags = en_flags = BE_IF_FLAGS_UNTAGGED | BE_IF_FLAGS_BROADCAST | in be_vf_setup()
2572 status = be_cmd_if_create(adapter, cap_flags, en_flags, NULL, in be_vf_setup()
2639 u32 cap_flags, en_flags; in be_setup() local
2676 cap_flags = en_flags | BE_IF_FLAGS_MCAST_PROMISCUOUS | in be_setup()
2680 cap_flags |= BE_IF_FLAGS_RSS; in be_setup()
2683 status = be_cmd_if_create(adapter, cap_flags, en_flags, in be_setup()
Dbe_cmds.c1097 int be_cmd_if_create(struct be_adapter *adapter, u32 cap_flags, u32 en_flags, in be_cmd_if_create() argument
1116 req->capability_flags = cpu_to_le32(cap_flags); in be_cmd_if_create()
2284 req->cap_flags = cpu_to_le32(CAPABILITY_BE3_NATIVE_ERX_API); in be_cmd_req_native_mode()
2289 adapter->be3_native = le32_to_cpu(resp->cap_flags) & in be_cmd_req_native_mode()