Home
last modified time | relevance | path

Searched refs:dev_caps (Results 1 – 14 of 14) sorted by relevance

/drivers/net/ethernet/intel/ice/
Dice_common.c1598 funcs = hweight8(hw->dev_caps.common_cap.valid_functions & in ice_get_num_per_func()
1633 dev_p = &hw->dev_caps; in ice_parse_caps()
1856 struct ice_hw_dev_caps *dev_caps = &hw->dev_caps; in ice_set_safe_mode_caps() local
1888 valid_func = dev_caps->common_cap.valid_functions; in ice_set_safe_mode_caps()
1889 txq_first_id = dev_caps->common_cap.txq_first_id; in ice_set_safe_mode_caps()
1890 rxq_first_id = dev_caps->common_cap.rxq_first_id; in ice_set_safe_mode_caps()
1891 msix_vector_first_id = dev_caps->common_cap.msix_vector_first_id; in ice_set_safe_mode_caps()
1892 max_mtu = dev_caps->common_cap.max_mtu; in ice_set_safe_mode_caps()
1895 memset(dev_caps, 0, sizeof(*dev_caps)); in ice_set_safe_mode_caps()
1898 dev_caps->common_cap.valid_functions = valid_func; in ice_set_safe_mode_caps()
[all …]
Dice_type.h432 struct ice_hw_dev_caps dev_caps; /* device capabilities */ member
/drivers/hwtracing/coresight/
Dcoresight-tmc.h293 static inline void tmc_etr_init_caps(struct tmc_drvdata *drvdata, u32 dev_caps) in TMC_REG_PAIR()
296 drvdata->etr_caps = dev_caps; in TMC_REG_PAIR()
Dcoresight-tmc.c383 static int tmc_etr_setup_caps(struct device *parent, u32 devid, void *dev_caps) in tmc_etr_setup_caps() argument
393 tmc_etr_init_caps(drvdata, (u32)(unsigned long)dev_caps); in tmc_etr_setup_caps()
/drivers/net/ethernet/intel/iavf/
Diavf_common.c926 hw->dev_caps.num_vsis = msg->num_vsis; in iavf_vf_parse_hw_config()
927 hw->dev_caps.num_rx_qp = msg->num_queue_pairs; in iavf_vf_parse_hw_config()
928 hw->dev_caps.num_tx_qp = msg->num_queue_pairs; in iavf_vf_parse_hw_config()
929 hw->dev_caps.num_msix_vectors_vf = msg->max_vectors; in iavf_vf_parse_hw_config()
930 hw->dev_caps.dcb = msg->vf_cap_flags & in iavf_vf_parse_hw_config()
932 hw->dev_caps.fcoe = 0; in iavf_vf_parse_hw_config()
Diavf_type.h185 struct iavf_hw_capabilities dev_caps; member
/drivers/net/ethernet/qlogic/qed/
Dqed_rdma.c522 dev->dev_caps = 0; in qed_rdma_init_devinfo()
523 SET_FIELD(dev->dev_caps, QED_RDMA_DEV_CAP_RNR_NAK, 1); in qed_rdma_init_devinfo()
524 SET_FIELD(dev->dev_caps, QED_RDMA_DEV_CAP_PORT_ACTIVE_EVENT, 1); in qed_rdma_init_devinfo()
525 SET_FIELD(dev->dev_caps, QED_RDMA_DEV_CAP_PORT_CHANGE_EVENT, 1); in qed_rdma_init_devinfo()
526 SET_FIELD(dev->dev_caps, QED_RDMA_DEV_CAP_RESIZE_CQ, 1); in qed_rdma_init_devinfo()
527 SET_FIELD(dev->dev_caps, QED_RDMA_DEV_CAP_BASE_MEMORY_EXT, 1); in qed_rdma_init_devinfo()
528 SET_FIELD(dev->dev_caps, QED_RDMA_DEV_CAP_BASE_QUEUE_EXT, 1); in qed_rdma_init_devinfo()
529 SET_FIELD(dev->dev_caps, QED_RDMA_DEV_CAP_ZBVA, 1); in qed_rdma_init_devinfo()
530 SET_FIELD(dev->dev_caps, QED_RDMA_DEV_CAP_LOCAL_INV_FENCE, 1); in qed_rdma_init_devinfo()
537 SET_FIELD(dev->dev_caps, QED_RDMA_DEV_CAP_ATOMIC_OP, 1); in qed_rdma_init_devinfo()
/drivers/infiniband/hw/qedr/
Dqedr.h115 u32 dev_caps; member
Dmain.c643 attr->dev_caps = qed_attr->dev_caps; in qedr_set_device_attr()
/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dipsec.c448 u32 dev_caps = mlx5_fpga_ipsec_device_caps(mdev); in mlx5_fpga_ipsec_enable_supported_caps() local
451 if (dev_caps & MLX5_ACCEL_IPSEC_CAP_RX_NO_TRAILER) in mlx5_fpga_ipsec_enable_supported_caps()
/drivers/net/ethernet/intel/i40e/
Di40e_type.h581 struct i40e_hw_capabilities dev_caps; member
Di40e_main.c6086 if (hw->dev_caps.switch_mode) { in i40e_validate_and_set_switch_mode()
6090 u32 switch_mode = hw->dev_caps.switch_mode & in i40e_validate_and_set_switch_mode()
6097 hw->dev_caps.switch_mode); in i40e_validate_and_set_switch_mode()
9600 pf->hw.dev_caps.switch_mode, in i40e_get_capabilities()
9601 pf->hw.dev_caps.valid_functions); in i40e_get_capabilities()
9604 pf->hw.dev_caps.sr_iov_1_1, in i40e_get_capabilities()
9605 pf->hw.dev_caps.num_vfs); in i40e_get_capabilities()
9608 pf->hw.dev_caps.num_vsis, in i40e_get_capabilities()
9609 pf->hw.dev_caps.num_rx_qp, in i40e_get_capabilities()
9610 pf->hw.dev_caps.num_tx_qp); in i40e_get_capabilities()
Di40e_common.c3211 p = &hw->dev_caps; in i40e_parse_discover_capabilities()
/drivers/infiniband/hw/mlx4/
Dmain.c1099 resp.dev_caps = dev->dev->caps.userspace_caps; in mlx4_ib_alloc_ucontext()