Home
last modified time | relevance | path

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

/linux/include/uapi/rdma/
H A Dhns-abi.h52 __aligned_u64 cap_flags; member
73 __u32 cap_flags; /* Use enum hns_roce_srq_cap_flags */ member
108 __aligned_u64 cap_flags; member
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_srq.c410 if (!(srq->cap_flags & HNS_ROCE_SRQ_CAP_RECORD_DB)) in free_srq_db()
413 srq->cap_flags &= ~HNS_ROCE_SRQ_CAP_RECORD_DB; in free_srq_db()
446 srq->cap_flags |= HNS_ROCE_RSP_SRQ_CAP_RECORD_DB; in alloc_srq_db()
455 srq->cap_flags |= HNS_ROCE_RSP_SRQ_CAP_RECORD_DB; in alloc_srq_db()
496 resp.cap_flags = srq->cap_flags; in hns_roce_create_srq()
H A Dhns_roce_hw_v2.c1171 if (srq->cap_flags & HNS_ROCE_SRQ_CAP_RECORD_DB) in hns_roce_v2_post_srq_recv()
6142 if (srq->cap_flags & HNS_ROCE_SRQ_CAP_RECORD_DB) { in hns_roce_v2_write_srqc()
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00lib.h374 if (test_bit(CAPABILITY_HW_BUTTON, &rt2x00dev->cap_flags)) in rt2x00rfkill_register()
380 if (test_bit(CAPABILITY_HW_BUTTON, &rt2x00dev->cap_flags)) in rt2x00rfkill_unregister()
H A Drt73usb.c1888 __set_bit(CAPABILITY_FRAME_TYPE, &rt2x00dev->cap_flags); in rt73usb_init_eeprom()
1894 __set_bit(CAPABILITY_HW_BUTTON, &rt2x00dev->cap_flags); in rt73usb_init_eeprom()
1908 __set_bit(CAPABILITY_EXTERNAL_LNA_A, &rt2x00dev->cap_flags); in rt73usb_init_eeprom()
1909 __set_bit(CAPABILITY_EXTERNAL_LNA_BG, &rt2x00dev->cap_flags); in rt73usb_init_eeprom()
2198 __set_bit(CAPABILITY_CONTROL_FILTERS, &rt2x00dev->cap_flags); in rt73usb_probe_hw()
2203 __set_bit(REQUIRE_FIRMWARE, &rt2x00dev->cap_flags); in rt73usb_probe_hw()
2205 __set_bit(CAPABILITY_HW_CRYPTO, &rt2x00dev->cap_flags); in rt73usb_probe_hw()
2206 __set_bit(CAPABILITY_LINK_TUNING, &rt2x00dev->cap_flags); in rt73usb_probe_hw()
2207 __set_bit(REQUIRE_PS_AUTOWAKE, &rt2x00dev->cap_flags); in rt73usb_probe_hw()
H A Drt2500usb.c1495 __set_bit(CAPABILITY_HW_BUTTON, &rt2x00dev->cap_flags); in rt2500usb_init_eeprom()
1779 __set_bit(REQUIRE_ATIM_QUEUE, &rt2x00dev->cap_flags); in rt2500usb_probe_hw()
1780 __set_bit(REQUIRE_BEACON_GUARD, &rt2x00dev->cap_flags); in rt2500usb_probe_hw()
1782 __set_bit(CAPABILITY_HW_CRYPTO, &rt2x00dev->cap_flags); in rt2500usb_probe_hw()
1783 __set_bit(REQUIRE_COPY_IV, &rt2x00dev->cap_flags); in rt2500usb_probe_hw()
1785 __set_bit(REQUIRE_SW_SEQNO, &rt2x00dev->cap_flags); in rt2500usb_probe_hw()
1786 __set_bit(REQUIRE_PS_AUTOWAKE, &rt2x00dev->cap_flags); in rt2500usb_probe_hw()
H A Drt61pci.c2438 __set_bit(CAPABILITY_DOUBLE_ANTENNA, &rt2x00dev->cap_flags); in rt61pci_init_eeprom()
2452 __set_bit(CAPABILITY_FRAME_TYPE, &rt2x00dev->cap_flags); in rt61pci_init_eeprom()
2458 __set_bit(CAPABILITY_HW_BUTTON, &rt2x00dev->cap_flags); in rt61pci_init_eeprom()
2465 __set_bit(CAPABILITY_RF_SEQUENCE, &rt2x00dev->cap_flags); in rt61pci_init_eeprom()
2475 __set_bit(CAPABILITY_EXTERNAL_LNA_A, &rt2x00dev->cap_flags); in rt61pci_init_eeprom()
2477 __set_bit(CAPABILITY_EXTERNAL_LNA_BG, &rt2x00dev->cap_flags); in rt61pci_init_eeprom()
2779 __set_bit(CAPABILITY_CONTROL_FILTERS, &rt2x00dev->cap_flags); in rt61pci_probe_hw()
2784 __set_bit(REQUIRE_FIRMWARE, &rt2x00dev->cap_flags); in rt61pci_probe_hw()
2785 __set_bit(REQUIRE_DMA, &rt2x00dev->cap_flags); in rt61pci_probe_hw()
2787 __set_bit(CAPABILITY_HW_CRYPTO, &rt2x00dev->cap_flags); in rt61pci_probe_hw()
[all …]
H A Drt2800lib.c7752 &rt2x00dev->cap_flags); in rt2800_init_rfcsr_3352()
7754 &rt2x00dev->cap_flags); in rt2800_init_rfcsr_3352()
8816 if (test_bit(CAPABILITY_EXTERNAL_PA_TX0, &rt2x00dev->cap_flags)) in rt2800_rxiq_calibration()
8876 if (test_bit(CAPABILITY_EXTERNAL_PA_TX0, &rt2x00dev->cap_flags)) { in rt2800_rxiq_calibration()
9816 if (test_bit(CAPABILITY_EXTERNAL_PA_TX0, &rt2x00dev->cap_flags)) { in rt2800_loft_iq_calibration()
9824 if (test_bit(CAPABILITY_EXTERNAL_PA_TX0, &rt2x00dev->cap_flags)) { in rt2800_loft_iq_calibration()
9843 if (!test_bit(CAPABILITY_EXTERNAL_PA_TX0, &rt2x00dev->cap_flags)) { in rt2800_loft_iq_calibration()
9868 if (test_bit(CAPABILITY_EXTERNAL_PA_TX0, &rt2x00dev->cap_flags)) { in rt2800_loft_iq_calibration()
9878 if (test_bit(CAPABILITY_EXTERNAL_PA_TX1, &rt2x00dev->cap_flags)) { in rt2800_loft_iq_calibration()
9894 if (test_bit(CAPABILITY_EXTERNAL_PA_TX0, &rt2x00dev->cap_flags)) { in rt2800_loft_iq_calibration()
[all …]
H A Drt2500pci.c1676 __set_bit(CAPABILITY_HW_BUTTON, &rt2x00dev->cap_flags); in rt2500pci_init_eeprom()
1680 __set_bit(REQUIRE_DELAYED_RFKILL, &rt2x00dev->cap_flags); in rt2500pci_init_eeprom()
1688 __set_bit(CAPABILITY_LINK_TUNING, &rt2x00dev->cap_flags); in rt2500pci_init_eeprom()
1966 __set_bit(REQUIRE_ATIM_QUEUE, &rt2x00dev->cap_flags); in rt2500pci_probe_hw()
1967 __set_bit(REQUIRE_DMA, &rt2x00dev->cap_flags); in rt2500pci_probe_hw()
1968 __set_bit(REQUIRE_SW_SEQNO, &rt2x00dev->cap_flags); in rt2500pci_probe_hw()
H A Drt2400pci.c1528 __set_bit(CAPABILITY_HW_BUTTON, &rt2x00dev->cap_flags); in rt2400pci_init_eeprom()
1534 __set_bit(CAPABILITY_LINK_TUNING, &rt2x00dev->cap_flags); in rt2400pci_init_eeprom()
1641 __set_bit(REQUIRE_ATIM_QUEUE, &rt2x00dev->cap_flags); in rt2400pci_probe_hw()
1642 __set_bit(REQUIRE_DMA, &rt2x00dev->cap_flags); in rt2400pci_probe_hw()
1643 __set_bit(REQUIRE_SW_SEQNO, &rt2x00dev->cap_flags); in rt2400pci_probe_hw()
H A Drt2x00debug.c538 size = sprintf(line, "0x%.8x\n", (unsigned int)intf->rt2x00dev->cap_flags); in rt2x00debug_read_cap_flags()
H A Drt2800usb.c240 __clear_bit(REQUIRE_FIRMWARE, &rt2x00dev->cap_flags); in rt2800usb_write_firmware()
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c4172 u32 cap_flags, en_flags, vf; in be_vfs_if_create() local
4177 cap_flags = BE_VF_IF_EN_FLAGS; in be_vfs_if_create()
4186 cap_flags = res.if_cap_flags; in be_vfs_if_create()
4190 cap_flags &= ~BE_IF_FLAGS_VLAN_PROMISCUOUS; in be_vfs_if_create()
4195 en_flags = cap_flags & BE_VF_IF_EN_FLAGS; in be_vfs_if_create()
4196 status = be_cmd_if_create(adapter, cap_flags, en_flags, in be_vfs_if_create()
4680 u32 cap_flags = be_if_cap_flags(adapter); in be_if_create() local
4697 cap_flags &= ~(BE_IF_FLAGS_DEFQ_RSS | BE_IF_FLAGS_RSS); in be_if_create()
4699 en_flags &= cap_flags; in be_if_create()
H A Dbe_cmds.c1535 int be_cmd_if_create(struct be_adapter *adapter, u32 cap_flags, u32 en_flags, in be_cmd_if_create() argument
1547 req->capability_flags = cpu_to_le32(cap_flags); in be_cmd_if_create()
3593 req->cap_flags = cpu_to_le32(CAPABILITY_BE3_NATIVE_ERX_API); in be_cmd_req_native_mode()
3599 adapter->be3_native = le32_to_cpu(resp->cap_flags) & in be_cmd_req_native_mode()
4342 res->if_cap_flags = le32_to_cpu(desc->cap_flags) & in be_copy_nic_desc()
4525 res->vf_if_cap_flags = vf_res->cap_flags; in be_cmd_get_profile_config()
4662 desc.nic_vft.cap_flags = cpu_to_le32(vft_res->vf_if_cap_flags); in be_cmd_set_sriov_config()
/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma_hw.c2163 if (qp->cap_flags & OCRDMA_QP_INB_RD) in ocrdma_set_create_qp_mbx_access_flags()
2165 if (qp->cap_flags & OCRDMA_QP_INB_WR) in ocrdma_set_create_qp_mbx_access_flags()
2167 if (qp->cap_flags & OCRDMA_QP_MW_BIND) in ocrdma_set_create_qp_mbx_access_flags()
2169 if (qp->cap_flags & OCRDMA_QP_LKEY0) in ocrdma_set_create_qp_mbx_access_flags()
2171 if (qp->cap_flags & OCRDMA_QP_FAST_REG) in ocrdma_set_create_qp_mbx_access_flags()
H A Docrdma_verbs.c1278 qp->cap_flags = OCRDMA_QP_INB_RD | OCRDMA_QP_INB_WR; in ocrdma_set_qp_init_params()
1321 qp->cap_flags |= (OCRDMA_QP_MW_BIND | OCRDMA_QP_LKEY0 | in ocrdma_create_qp()
1486 qp_attr->qp_access_flags = ocrdma_to_ib_qp_acc_flags(qp->cap_flags); in ocrdma_query_qp()
/linux/drivers/infiniband/hw/erdma/
H A Derdma_verbs.c352 if (dev->attrs.cap_flags & ERDMA_DEV_CAP_FLAGS_ATOMIC) in erdma_query_device()
764 if (!(dev->attrs.cap_flags & ERDMA_DEV_CAP_FLAGS_MTT_VA)) in erdma_create_mtt()
1547 !!(dev->attrs.cap_flags & in erdma_alloc_ucontext()
/linux/drivers/scsi/ibmvscsi/
H A Dibmvfc.c189 static int ibmvfc_check_caps(struct ibmvfc_host *vhost, unsigned long cap_flags) in ibmvfc_check_caps() argument
193 return (host_caps & cap_flags) ? 1 : 0; in ibmvfc_check_caps()
/linux/drivers/infiniband/hw/mlx5/
H A Dmain.c1227 resp.packet_pacing_caps.cap_flags |= in mlx5_ib_query_device()