| /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 |= IS_WORD_16; in omap1_system_dma_init() [all …]
|
| H A D | omap-dma.c | 765 if ((d->dev_caps & RESERVE_CHANNEL) && omap_dma_reserve_channels in omap_system_dma_probe() 771 enable_1510_mode = d->dev_caps & ENABLE_1510_MODE; in omap_system_dma_probe() 811 if (d->dev_caps & HS_CHANNELS_RESERVED) { in omap_system_dma_probe()
|
| /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->common_cap.nvm_update_pending_netlist) in ixgbe_get_pending_updates() 542 kfree(dev_caps); in ixgbe_get_pending_updates() [all …]
|
| H A D | ixgbe_e610.c | 782 u8 funcs = hweight8(hw->dev_caps.common_cap.valid_functions & in ixgbe_get_num_per_func() 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/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/vmxnet3/ |
| 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[0] |= 1UL << VMXNET3_CAP_GENEVE_CHECKSUM_OFFLOAD; in vmxnet3_declare_features() [all …]
|
| H A D | vmxnet3_int.h | 448 u32 dev_caps[8]; member
|
| /linux/drivers/hwtracing/coresight/ |
| H A D | coresight-tmc.h | 361 static inline void tmc_etr_init_caps(struct tmc_drvdata *drvdata, u32 dev_caps) in TMC_REG_PAIR() 364 drvdata->etr_caps = dev_caps; in TMC_REG_PAIR()
|
| /linux/include/uapi/rdma/ |
| H A D | mlx4-abi.h | 67 __u32 dev_caps; member
|
| /linux/drivers/net/ethernet/intel/ice/ |
| 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 | 2376 funcs = hweight8(hw->dev_caps.common_cap.valid_functions & in ice_get_num_per_func() 2538 if (hw->dev_caps.num_funcs > 4) { in ice_recalc_port_limited_caps() 2551 if (caps == &hw->dev_caps.common_cap) in ice_recalc_port_limited_caps() 3151 ice_discover_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_caps) in ice_discover_dev_caps() argument 3170 ice_parse_dev_caps(hw, dev_caps, cbuf, cap_count); in ice_discover_dev_caps() 3217 struct ice_hw_dev_caps *dev_caps = &hw->dev_caps; in ice_set_safe_mode_caps() local 3250 cached_caps = dev_caps->common_cap; in ice_set_safe_mode_caps() 3251 num_funcs = dev_caps->num_funcs; in ice_set_safe_mode_caps() 3254 memset(dev_caps, 0, sizeof(*dev_caps)); in ice_set_safe_mode_caps() 3257 dev_caps->common_cap.name = cached_caps.name in ice_set_safe_mode_caps() [all …]
|
| H A D | ice_ptp_hw.c | 4424 if (hw->dev_caps.ts_dev_info.ts_ll_read) in ice_read_phy_tstamp_e810() 4613 if (hw->dev_caps.ts_dev_info.ll_phy_tmr_update) in ice_ptp_prep_phy_adj_e810() 4703 if (hw->dev_caps.ts_dev_info.ll_phy_tmr_update) in ice_ptp_prep_phy_incval_e810()
|
| H A D | ice_flex_pipe.c | 1475 per_pf = ICE_PROF_MASK_COUNT / hw->dev_caps.num_funcs; in ice_init_prof_masks()
|
| /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_OP, 1); in qed_rdma_init_devinfo()
|
| /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
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_type.h | 535 struct i40e_hw_capabilities dev_caps; member
|
| H A D | i40e_main.c | 6525 if (hw->dev_caps.switch_mode) { in i40e_validate_and_set_switch_mode() 6529 u32 switch_mode = hw->dev_caps.switch_mode & in i40e_validate_and_set_switch_mode() 6536 hw->dev_caps.switch_mode); in i40e_validate_and_set_switch_mode() 10488 pf->hw.dev_caps.switch_mode, in i40e_get_capabilities() 10489 pf->hw.dev_caps.valid_functions); in i40e_get_capabilities() 10492 pf->hw.dev_caps.sr_iov_1_1, in i40e_get_capabilities() 10493 pf->hw.dev_caps.num_vfs); in i40e_get_capabilities() 10496 pf->hw.dev_caps.num_vsis, in i40e_get_capabilities() 10497 pf->hw.dev_caps.num_rx_qp, in i40e_get_capabilities() 10498 pf->hw.dev_caps.num_tx_qp); in i40e_get_capabilities()
|
| H A D | i40e_common.c | 2660 p = &hw->dev_caps; in i40e_parse_discover_capabilities()
|
| /linux/drivers/dma/ti/ |
| H A D | omap-dma.c | 1754 if (od->plat->dma_attr->dev_caps & HS_CHANNELS_RESERVED) in omap_dma_probe()
|