/linux/arch/arm/mach-omap1/ |
H A D | dma.c | 330 d->dev_caps = ENABLE_1510_MODE; in omap1_system_dma_init() 331 enable_1510_mode = d->dev_caps & ENABLE_1510_MODE; in omap1_system_dma_init() 334 d->dev_caps = ENABLE_16XX_MODE; in omap1_system_dma_init() 336 d->dev_caps |= SRC_PORT; in omap1_system_dma_init() 337 d->dev_caps |= DST_PORT; in omap1_system_dma_init() 338 d->dev_caps |= SRC_INDEX; in omap1_system_dma_init() 339 d->dev_caps |= DST_INDEX; in omap1_system_dma_init() 340 d->dev_caps |= IS_BURST_ONLY4; in omap1_system_dma_init() 341 d->dev_caps |= CLEAR_CSR_ON_READ; in omap1_system_dma_init() 342 d->dev_caps | in omap1_system_dma_init() [all...] |
/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_fw_update.c | 388 if (hw->dev_caps.common_cap.reset_restrict_support) in ixgbe_switch_flash_banks() 515 struct ixgbe_hw_dev_caps *dev_caps; in ixgbe_get_pending_updates() local 519 dev_caps = kzalloc(sizeof(*dev_caps), GFP_KERNEL); in ixgbe_get_pending_updates() 520 if (!dev_caps) in ixgbe_get_pending_updates() 523 err = ixgbe_discover_dev_caps(hw, dev_caps); in ixgbe_get_pending_updates() 527 kfree(dev_caps); in ixgbe_get_pending_updates() 533 if (dev_caps->common_cap.nvm_update_pending_nvm) in ixgbe_get_pending_updates() 536 if (dev_caps->common_cap.nvm_update_pending_orom) in ixgbe_get_pending_updates() 539 if (dev_caps in ixgbe_get_pending_updates() [all...] |
H A D | ixgbe_e610.h | 21 struct ixgbe_hw_dev_caps *dev_caps);
|
H A D | ixgbe_e610.c | 782 u8 funcs = hweight8(hw->dev_caps.common_cap.valid_functions & in ixgbe_get_num_per_func() 894 * @dev_caps: pointer to device capabilities structure 896 * Read the device capabilities and extract them into the dev_caps structure 902 struct ixgbe_hw_dev_caps *dev_caps) in ixgbe_discover_dev_caps() argument 923 ixgbe_parse_dev_caps(hw, dev_caps, cbuf, cap_count); in ixgbe_discover_dev_caps() 981 err = ixgbe_discover_dev_caps(hw, &hw->dev_caps); in ixgbe_get_caps()
|
/linux/drivers/net/ethernet/intel/ixgbe/devlink/ |
H A D | devlink.c | 13 struct ixgbe_hw_dev_caps dev_caps; member 45 ctx->dev_caps.common_cap.nvm_update_pending_orom) in ixgbe_info_orom_ver() 79 ctx->dev_caps.common_cap.nvm_update_pending_nvm) in ixgbe_info_eetrack() 122 ctx->dev_caps.common_cap.nvm_update_pending_nvm) in ixgbe_info_fw_srev() 135 ctx->dev_caps.common_cap.nvm_update_pending_orom) in ixgbe_info_orom_srev() 148 ctx->dev_caps.common_cap.nvm_update_pending_nvm) in ixgbe_info_nvm_ver() 161 ctx->dev_caps.common_cap.nvm_update_pending_netlist) in ixgbe_info_netlist_ver() 178 ctx->dev_caps.common_cap.nvm_update_pending_netlist) in ixgbe_info_netlist_build() 191 err = ixgbe_discover_dev_caps(hw, &ctx->dev_caps); in ixgbe_set_ctx_dev_caps() 198 pending_orom = &ctx->dev_caps.common_cap.nvm_update_pending_orom; in ixgbe_set_ctx_dev_caps() [all …]
|
/linux/drivers/net/vmxnet3/ |
H A D | vmxnet3_ethtool.c | 343 adapter->dev_caps[0] |= 1UL << VMXNET3_CAP_GENEVE_CHECKSUM_OFFLOAD; in vmxnet3_enable_encap_offloads() 347 adapter->dev_caps[0] |= 1UL << VMXNET3_CAP_VXLAN_CHECKSUM_OFFLOAD; in vmxnet3_enable_encap_offloads() 351 adapter->dev_caps[0] |= 1UL << VMXNET3_CAP_GENEVE_TSO; in vmxnet3_enable_encap_offloads() 355 adapter->dev_caps[0] |= 1UL << VMXNET3_CAP_VXLAN_TSO; in vmxnet3_enable_encap_offloads() 359 adapter->dev_caps[0] |= 1UL << VMXNET3_CAP_GENEVE_OUTER_CHECKSUM_OFFLOAD; in vmxnet3_enable_encap_offloads() 363 adapter->dev_caps[0] |= 1UL << VMXNET3_CAP_VXLAN_OUTER_CHECKSUM_OFFLOAD; in vmxnet3_enable_encap_offloads() 366 VMXNET3_WRITE_BAR1_REG(adapter, VMXNET3_REG_DCR, adapter->dev_caps[0]); in vmxnet3_enable_encap_offloads() 369 adapter->dev_caps[0] = VMXNET3_READ_BAR1_REG(adapter, VMXNET3_REG_CMD); in vmxnet3_enable_encap_offloads() 372 if (!(adapter->dev_caps[0] & (1UL << VMXNET3_CAP_GENEVE_CHECKSUM_OFFLOAD)) && in vmxnet3_enable_encap_offloads() 373 !(adapter->dev_caps[ in vmxnet3_enable_encap_offloads() [all...] |
H A D | vmxnet3_drv.c | 1970 if (!(adapter->dev_caps[0] & (1UL << VMXNET3_CAP_OOORX_COMP))) in vmxnet3_rq_rx_complete() 3114 adapter->dev_caps[0] |= 1UL << VMXNET3_CAP_UDP_RSS; in vmxnet3_init_rssfields() 3116 adapter->dev_caps[0] &= ~(1UL << VMXNET3_CAP_UDP_RSS); in vmxnet3_init_rssfields() 3122 adapter->dev_caps[0] |= 1UL << VMXNET3_CAP_ESP_RSS_IPV4; in vmxnet3_init_rssfields() 3124 adapter->dev_caps[0] &= ~(1UL << VMXNET3_CAP_ESP_RSS_IPV4); in vmxnet3_init_rssfields() 3130 adapter->dev_caps[0] |= 1UL << VMXNET3_CAP_ESP_RSS_IPV6; in vmxnet3_init_rssfields() 3132 adapter->dev_caps[0] &= ~(1UL << VMXNET3_CAP_ESP_RSS_IPV6); in vmxnet3_init_rssfields() 3135 VMXNET3_WRITE_BAR1_REG(adapter, VMXNET3_REG_DCR, adapter->dev_caps[0]); in vmxnet3_init_rssfields() 3137 adapter->dev_caps[0] = VMXNET3_READ_BAR1_REG(adapter, VMXNET3_REG_CMD); in vmxnet3_init_rssfields() 3728 adapter->dev_caps[ in vmxnet3_declare_features() [all...] |
H A D | vmxnet3_int.h | 448 u32 dev_caps[8]; member
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_fw_update.c | 373 if (hw->dev_caps.common_cap.pcie_reset_avoidance) { in ice_write_one_nvm_block() 596 if (hw->dev_caps.common_cap.reset_restrict_support) { in ice_switch_flash_banks() 861 struct ice_hw_dev_caps *dev_caps; in ice_get_pending_updates() local 865 dev_caps = kzalloc(sizeof(*dev_caps), GFP_KERNEL); in ice_get_pending_updates() 866 if (!dev_caps) in ice_get_pending_updates() 870 * the cached values in hw->dev_caps, because the pending update flag in ice_get_pending_updates() 874 err = ice_discover_dev_caps(hw, dev_caps); in ice_get_pending_updates() 877 kfree(dev_caps); in ice_get_pending_updates() 883 if (dev_caps in ice_get_pending_updates() [all...] |
H A D | ice_hwmon.c | 97 unsigned long sensors = pf->hw.dev_caps.supported_sensors; in ice_is_internal_reading_supported()
|
H A D | ice_common.c | 2295 funcs = hweight8(hw->dev_caps.common_cap.valid_functions & in ice_get_num_per_func() 2454 if (hw->dev_caps.num_funcs > 4) { in ice_recalc_port_limited_caps() 2467 if (caps == &hw->dev_caps.common_cap) in ice_recalc_port_limited_caps() 2717 ice_debug(hw, ICE_DBG_INIT, "dev_caps: num_vfs_exposed = %d\n", in ice_parse_vf_dev_caps() 3061 * @dev_caps: pointer to device capabilities structure 3063 * Read the device capabilities and extract them into the dev_caps structure 3067 ice_discover_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_caps) in ice_discover_dev_caps() argument 3086 ice_parse_dev_caps(hw, dev_caps, cbuf, cap_count); in ice_discover_dev_caps() 3133 struct ice_hw_dev_caps *dev_caps = &hw->dev_caps; in ice_set_safe_mode_caps() local [all...] |
H A D | ice.h | 1056 (hw->dev_caps.nac_topo.mode & ICE_NAC_TOPO_DUAL_M); in ice_is_dual() 1073 (hw->dev_caps.nac_topo.mode & ICE_NAC_TOPO_PRIMARY_M); in ice_is_primary()
|
H A D | ice_common.h | 173 ice_discover_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_caps);
|
/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_common.c | 436 hw->dev_caps.num_vsis = msg->num_vsis; in iavf_vf_parse_hw_config() 437 hw->dev_caps.num_rx_qp = msg->num_queue_pairs; in iavf_vf_parse_hw_config() 438 hw->dev_caps.num_tx_qp = msg->num_queue_pairs; in iavf_vf_parse_hw_config() 439 hw->dev_caps.num_msix_vectors_vf = msg->max_vectors; in iavf_vf_parse_hw_config() 440 hw->dev_caps.dcb = msg->vf_cap_flags & in iavf_vf_parse_hw_config() 442 hw->dev_caps.fcoe = 0; in iavf_vf_parse_hw_config()
|
H A D | iavf_type.h | 171 struct iavf_hw_capabilities dev_caps; member
|
/linux/arch/arm/mach-omap2/ |
H A D | dma.c | 176 .dev_caps = RESERVE_CHANNEL | DMA_LINKED_LCH | GLOBAL_PRIORITY | 199 dma_attr.dev_caps |= IS_RW_PRIORITY; in omap2_system_dma_init() 202 dma_attr.dev_caps |= HS_CHANNELS_RESERVED; in omap2_system_dma_init()
|
/linux/include/linux/ |
H A D | omap-dma.h | 247 u32 dev_caps; member 290 #define __dma_omap15xx(d) (dma_omap1() && (d)->dev_caps & ENABLE_1510_MODE) 291 #define __dma_omap16xx(d) (dma_omap1() && (d)->dev_caps & ENABLE_16XX_MODE)
|
/linux/drivers/net/ethernet/intel/ice/devlink/ |
H A D | devlink.c | 21 struct ice_hw_dev_caps dev_caps; member 93 if (ctx->dev_caps.common_cap.nvm_update_pending_orom) in ice_info_pending_orom_ver() 111 if (ctx->dev_caps.common_cap.nvm_update_pending_nvm) in ice_info_pending_nvm_ver() 128 if (ctx->dev_caps.common_cap.nvm_update_pending_nvm) in ice_info_pending_eetrack() 179 if (ctx->dev_caps.common_cap.nvm_update_pending_netlist) in ice_info_pending_netlist_ver() 192 if (ctx->dev_caps.common_cap.nvm_update_pending_netlist) in ice_info_pending_netlist_build() 293 err = ice_discover_dev_caps(hw, &ctx->dev_caps); in ice_devlink_info_get() 301 if (ctx->dev_caps.common_cap.nvm_update_pending_orom) { in ice_devlink_info_get() 308 ctx->dev_caps.common_cap.nvm_update_pending_orom = false; in ice_devlink_info_get() 312 if (ctx->dev_caps in ice_devlink_info_get() [all...] |
/linux/drivers/hwtracing/coresight/ |
H A D | coresight-tmc.h | 359 static inline void tmc_etr_init_caps(struct tmc_drvdata *drvdata, u32 dev_caps) in TMC_REG_PAIR() 362 drvdata->etr_caps = dev_caps; in TMC_REG_PAIR()
|
H A D | coresight-tmc-core.c | 701 void *dev_caps; in tmc_etr_setup_caps() local 707 dev_caps = coresight_get_uci_data_from_amba(tmc_ids, tmc_pid); in tmc_etr_setup_caps() 710 tmc_etr_init_caps(drvdata, (u32)(unsigned long)dev_caps); in tmc_etr_setup_caps()
|
/linux/include/uapi/rdma/ |
H A D | mlx4-abi.h | 67 __u32 dev_caps; member
|
/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_rdma.c | 498 dev->dev_caps = 0; in qed_rdma_init_devinfo() 499 SET_FIELD(dev->dev_caps, QED_RDMA_DEV_CAP_RNR_NAK, 1); in qed_rdma_init_devinfo() 500 SET_FIELD(dev->dev_caps, QED_RDMA_DEV_CAP_PORT_ACTIVE_EVENT, 1); in qed_rdma_init_devinfo() 501 SET_FIELD(dev->dev_caps, QED_RDMA_DEV_CAP_PORT_CHANGE_EVENT, 1); in qed_rdma_init_devinfo() 502 SET_FIELD(dev->dev_caps, QED_RDMA_DEV_CAP_RESIZE_CQ, 1); in qed_rdma_init_devinfo() 503 SET_FIELD(dev->dev_caps, QED_RDMA_DEV_CAP_BASE_MEMORY_EXT, 1); in qed_rdma_init_devinfo() 504 SET_FIELD(dev->dev_caps, QED_RDMA_DEV_CAP_BASE_QUEUE_EXT, 1); in qed_rdma_init_devinfo() 505 SET_FIELD(dev->dev_caps, QED_RDMA_DEV_CAP_ZBVA, 1); in qed_rdma_init_devinfo() 506 SET_FIELD(dev->dev_caps, QED_RDMA_DEV_CAP_LOCAL_INV_FENCE, 1); in qed_rdma_init_devinfo() 513 SET_FIELD(dev->dev_caps, QED_RDMA_DEV_CAP_ATOMIC_O in qed_rdma_init_devinfo() [all...] |
/linux/drivers/infiniband/hw/qedr/ |
H A D | qedr.h | 115 u32 dev_caps; member
|
H A D | main.c | 627 attr->dev_caps = qed_attr->dev_caps; in qedr_set_device_attr()
|
/linux/include/linux/qed/ |
H A D | qed_rdma_if.h | 83 u32 dev_caps; member
|