| /drivers/platform/x86/intel/pmt/ |
| A D | discovery.c | 111 struct feature feature[]; argument 125 struct feature *feature = to_pmt_feature(kobj); in caps_show() local 209 struct feature *feature = to_pmt_feature(kobj); in num_rmids_show() local 218 struct feature *feature = to_pmt_feature(kobj); in min_watcher_period_ms_show() local 232 struct feature *feature = to_pmt_feature(kobj); in max_stream_size_show() local 246 struct feature *feature = to_pmt_feature(kobj); in max_command_size_show() local 372 struct feature *feature, in pmt_feature_get_feature_table() argument 466 struct feature *feature, in pmt_features_discovery() argument 521 struct feature *feature = &priv->feature[i]; in pmt_features_remove() local 555 struct feature *feature = &priv->feature[priv->count]; in pmt_features_probe() local [all …]
|
| /drivers/fpga/ |
| A D | dfl.c | 377 ddev->params = kmemdup(feature->params, feature->param_size, GFP_KERNEL); in dfl_dev_add() 431 if (feature->ddev) { in dfl_devs_remove() 445 if (feature->ioaddr) in dfl_devs_add() 448 if (feature->ddev) { in dfl_devs_add() 487 #define is_header_feature(feature) ((feature)->id == FEATURE_ID_FIU_HEADER) argument 501 if (feature->ops) { in dfl_fpga_dev_feature_uinit() 503 feature->ops->uinit(pdev, feature); in dfl_fpga_dev_feature_uinit() 523 feature->id); in dfl_feature_instance_init() 827 feature->ioaddr = in binfo_create_feature_dev_data() 882 feature->dev = fdev; in feature_dev_register() [all …]
|
| A D | dfl-fme-main.c | 169 struct dfl_feature *feature, in fme_hdr_ioctl() argument 223 const struct dfl_feature *feature = drvdata; in thermal_hwmon_attrs_visible() local 322 struct dfl_feature *feature) in fme_thermal_mgmt_init() argument 345 "dfl_fme_thermal", feature, in fme_thermal_mgmt_init() 391 v = readq(feature->ioaddr + FME_PWR_STATUS); in power_hwmon_read() 523 v = readq(feature->ioaddr + FME_PWR_STATUS); in power1_ltr_show() 543 struct dfl_feature *feature) in fme_power_mgmt_init() argument 548 "dfl_fme_power", feature, in fme_power_mgmt_init() 627 struct dfl_feature *feature; in fme_release() local 636 dfl_fpga_set_irq_triggers(feature, 0, in fme_release() [all …]
|
| A D | dfl.h | 406 struct dfl_feature *feature); 434 for ((feature) = (fdata)->features; \ 435 (feature) < (fdata)->features + (fdata)->num; (feature)++) 440 struct dfl_feature *feature; in dfl_get_feature_by_id() local 442 dfl_fpga_dev_for_each_feature(fdata, feature) in dfl_get_feature_by_id() 443 if (feature->id == id) in dfl_get_feature_by_id() 444 return feature; in dfl_get_feature_by_id() 454 if (feature && feature->ioaddr) in dfl_get_feature_ioaddr_by_id() 455 return feature->ioaddr; in dfl_get_feature_ioaddr_by_id() 578 struct dfl_feature *feature, [all …]
|
| A D | dfl-afu-error.c | 213 struct dfl_feature *feature) in port_err_init() argument 221 struct dfl_feature *feature) in port_err_uinit() argument 227 port_err_ioctl(struct platform_device *pdev, struct dfl_feature *feature, in port_err_ioctl() argument 232 return dfl_feature_ioctl_get_num_irqs(pdev, feature, arg); in port_err_ioctl() 234 return dfl_feature_ioctl_set_irq(pdev, feature, arg); in port_err_ioctl()
|
| A D | dfl-fme-pr.c | 173 struct dfl_feature *feature) in dfl_fme_create_mgr() argument 179 if (!feature->ioaddr) in dfl_fme_create_mgr() 182 mgr_pdata.ioaddr = feature->ioaddr; in dfl_fme_create_mgr() 369 struct dfl_feature *feature) in pr_mgmt_init() argument 390 mgr = dfl_fme_create_mgr(fdata, feature); in pr_mgmt_init() 438 struct dfl_feature *feature) in pr_mgmt_uinit() argument 451 struct dfl_feature *feature, in fme_pr_ioctl() argument
|
| A D | dfl-afu-main.c | 421 struct dfl_feature *feature) in port_hdr_init() argument 510 struct dfl_feature *feature) in port_afu_init() argument 513 struct resource *res = &pdev->resource[feature->resource_index]; in port_afu_init() 532 struct dfl_feature *feature) in port_stp_init() argument 535 struct resource *res = &pdev->resource[feature->resource_index]; in port_stp_init() 559 return dfl_feature_ioctl_get_num_irqs(pdev, feature, arg); in port_uint_ioctl() 561 return dfl_feature_ioctl_set_irq(pdev, feature, arg); in port_uint_ioctl() 625 struct dfl_feature *feature; in afu_release() local 635 dfl_fpga_dev_for_each_feature(fdata, feature) in afu_release() 636 dfl_fpga_set_irq_triggers(feature, 0, in afu_release() [all …]
|
| /drivers/mtd/nand/raw/ |
| A D | nand_macronix.c | 59 feature[0] = mode; in macronix_nand_setup_read_retry() 69 feature); in macronix_nand_randomizer_check_enable() 73 if (feature[0]) in macronix_nand_randomizer_check_enable() 74 return feature[0]; in macronix_nand_randomizer_check_enable() 78 feature); in macronix_nand_randomizer_check_enable() 83 feature[0] = 0x0; in macronix_nand_randomizer_check_enable() 89 feature); in macronix_nand_randomizer_check_enable() 95 feature); in macronix_nand_randomizer_check_enable() 206 feature); in mxic_nand_lock() 222 feature); in mxic_nand_unlock() [all …]
|
| /drivers/gpu/drm/amd/amdgpu/ |
| A D | amdgpu_kms.c | 223 fw_info->feature = 0; in amdgpu_firmware_info() 227 fw_info->feature = 0; in amdgpu_firmware_info() 231 fw_info->feature = 0; in amdgpu_firmware_info() 281 fw_info->feature = 0; in amdgpu_firmware_info() 312 fw_info->feature = in amdgpu_firmware_info() 336 fw_info->feature = 0; in amdgpu_firmware_info() 340 fw_info->feature = 0; in amdgpu_firmware_info() 362 fw_info->feature = 0; in amdgpu_firmware_info() 1693 fw_info.feature, fw_info.ver); in amdgpu_debugfs_firmware_info_show() 1701 fw_info.feature, fw_info.ver); in amdgpu_debugfs_firmware_info_show() [all …]
|
| /drivers/firmware/psci/ |
| A D | psci.c | 403 int feature, type, i; in psci_debugfs_read() local 416 if (feature != PSCI_RET_NOT_SUPPORTED) { in psci_debugfs_read() 426 if (feature < 0) { in psci_debugfs_read() 430 (feature & BIT(0)) ? "" : "not "); in psci_debugfs_read() 454 if (feature == PSCI_RET_NOT_SUPPORTED) in psci_debugfs_read() 456 if (feature < 0) in psci_debugfs_read() 458 psci_fn_ids[i].name, feature); in psci_debugfs_read() 589 if (feature != PSCI_RET_NOT_SUPPORTED) in psci_init_cpu_suspend() 590 psci_cpu_suspend_feature = feature; in psci_init_cpu_suspend() 636 int feature; in psci_init_smccc() local [all …]
|
| /drivers/net/can/usb/ |
| A D | gs_usb.c | 197 __le32 feature; member 210 __le32 feature; member 314 u32 feature; member 1222 u32 feature; in gs_make_candev() local 1284 feature = le32_to_cpu(bt_const.feature); in gs_make_candev() 1285 dev->feature = FIELD_GET(GS_CAN_FEATURE_MASK, feature); in gs_make_candev() 1289 if (feature & GS_CAN_FEATURE_LOOP_BACK) in gs_make_candev() 1295 if (feature & GS_CAN_FEATURE_ONE_SHOT) in gs_make_candev() 1298 if (feature & GS_CAN_FEATURE_FD) { in gs_make_candev() 1325 if (feature & GS_CAN_FEATURE_GET_STATE) in gs_make_candev() [all …]
|
| /drivers/dma/ |
| A D | fsldma.c | 151 switch (chan->feature & FSL_DMA_IP_MASK) { in dma_init() 190 if (chan->feature & FSL_DMA_CHAN_PAUSE_EXT) { in dma_start() 197 if (chan->feature & FSL_DMA_CHAN_START_EXT) { in dma_start() 346 chan->feature |= FSL_DMA_CHAN_PAUSE_EXT; in fsl_chan_toggle_ext_pause() 348 chan->feature &= ~FSL_DMA_CHAN_PAUSE_EXT; in fsl_chan_toggle_ext_pause() 364 chan->feature |= FSL_DMA_CHAN_START_EXT; in fsl_chan_toggle_ext_start() 366 chan->feature &= ~FSL_DMA_CHAN_START_EXT; in fsl_chan_toggle_ext_start() 1134 chan->feature = feature; in fsl_dma_chan_probe() 1135 if (!fdev->feature) in fsl_dma_chan_probe() 1136 fdev->feature = chan->feature; in fsl_dma_chan_probe() [all …]
|
| A D | fsldma.h | 125 u32 feature; /* The same as DMA channels */ member 177 u32 feature; member 249 (((fsl_dma)->feature & FSL_DMA_BIG_ENDIAN) ? \ 253 (((fsl_dma)->feature & FSL_DMA_BIG_ENDIAN) ? \ 258 (((fsl_chan)->feature & FSL_DMA_BIG_ENDIAN) ? \ 262 (((fsl_chan)->feature & FSL_DMA_BIG_ENDIAN) ? \
|
| /drivers/gpu/drm/imagination/ |
| A D | pvr_stream_defs.c | 17 .feature = (_feature) } 22 #define PVR_STREAM_DEF_FEATURE(owner, member, member_size, feature) \ argument 23 PVR_STREAM_DEF_SET(owner, member, PVR_STREAM_SIZE_ ## member_size, 0, feature) 25 #define PVR_STREAM_DEF_NOT_FEATURE(owner, member, member_size, feature) \ argument 27 (feature) | PVR_FEATURE_NOT) 33 #define PVR_STREAM_DEF_ARRAY_FEATURE(owner, member, feature) \ argument 35 sizeof(((struct owner *)0)->member), feature) 37 #define PVR_STREAM_DEF_ARRAY_NOT_FEATURE(owner, member, feature) \ argument 39 sizeof(((struct owner *)0)->member), (feature) | PVR_FEATURE_NOT)
|
| A D | pvr_device.h | 391 #define PVR_HAS_FEATURE(pvr_dev, feature) ((pvr_dev)->features.has_##feature) argument 409 #define PVR_FEATURE_VALUE(pvr_dev, feature, value_out) \ argument 413 if (_pvr_dev->features.has_##feature) { \ 414 *(value_out) = _pvr_dev->features.feature; \ 527 pvr_device_has_feature(struct pvr_device *pvr_dev, u32 feature);
|
| A D | pvr_stream.c | 16 if (stream_def->feature == PVR_FEATURE_NONE) in stream_def_is_supported() 19 if (!(stream_def->feature & PVR_FEATURE_NOT) && in stream_def_is_supported() 20 pvr_device_has_feature(pvr_dev, stream_def->feature)) { in stream_def_is_supported() 24 if ((stream_def->feature & PVR_FEATURE_NOT) && in stream_def_is_supported() 25 !pvr_device_has_feature(pvr_dev, stream_def->feature & ~PVR_FEATURE_NOT)) { in stream_def_is_supported()
|
| A D | pvr_device_info.c | 113 #define FEATURE_MAPPING(fw_feature, feature) \ argument 115 .flag_offset = offsetof(struct pvr_device, features.has_##feature), \ 119 #define FEATURE_MAPPING_VALUE(fw_feature, feature) \ argument 121 .flag_offset = offsetof(struct pvr_device, features.has_##feature), \ 122 .value_offset = offsetof(struct pvr_device, features.feature) \
|
| /drivers/staging/axis-fifo/ |
| A D | axis-fifo.txt | 32 - xlnx,has-axis-tdest: Should be <0x0> (this feature isn't supported) 33 - xlnx,has-axis-tid: Should be <0x0> (this feature isn't supported) 34 - xlnx,has-axis-tkeep: Should be <0x0> (this feature isn't supported) 35 - xlnx,has-axis-tstrb: Should be <0x0> (this feature isn't supported) 36 - xlnx,has-axis-tuser: Should be <0x0> (this feature isn't supported) 50 - xlnx,use-rx-cut-through: Should be <0x0> (this feature isn't supported) 52 - xlnx,use-tx-ctrl: Should be <0x0> (this feature isn't supported) 53 - xlnx,use-tx-cut-through: Should be <0x0> (this feature isn't supported)
|
| /drivers/remoteproc/ |
| A D | remoteproc_internal.h | 42 static inline bool rproc_has_feature(struct rproc *rproc, unsigned int feature) in rproc_has_feature() argument 44 return test_bit(feature, rproc->features); in rproc_has_feature() 47 static inline int rproc_set_feature(struct rproc *rproc, unsigned int feature) in rproc_set_feature() argument 49 if (feature >= RPROC_MAX_FEATURES) in rproc_set_feature() 52 set_bit(feature, rproc->features); in rproc_set_feature()
|
| /drivers/vfio/ |
| A D | vfio_main.c | 1207 struct vfio_device_feature feature; in vfio_ioctl_device_feature() local 1212 if (feature.argsz < minsz) in vfio_ioctl_device_feature() 1216 if (feature.flags & in vfio_ioctl_device_feature() 1230 device, feature.flags, arg->data, in vfio_ioctl_device_feature() 1231 feature.argsz - minsz); in vfio_ioctl_device_feature() 1235 feature.argsz - minsz); in vfio_ioctl_device_feature() 1239 feature.argsz - minsz); in vfio_ioctl_device_feature() 1243 feature.argsz - minsz); in vfio_ioctl_device_feature() 1247 feature.argsz - minsz); in vfio_ioctl_device_feature() 1251 feature.argsz - minsz); in vfio_ioctl_device_feature() [all …]
|
| /drivers/md/bcache/ |
| A D | features.c | 13 struct feature { struct 19 static struct feature feature_list[] = { argument 27 struct feature *f; \
|
| /drivers/gpu/drm/etnaviv/ |
| A D | etnaviv_perfmon.c | 35 unsigned int feature; member 450 .feature = chipFeatures_PIPE_3D, 455 .feature = chipFeatures_PIPE_2D, 460 .feature = chipFeatures_PIPE_VG, 473 if (gpu->identity.features & meta->feature) in num_pm_domains() 489 if (!(gpu->identity.features & meta->feature)) in pm_domain()
|
| /drivers/ata/ |
| A D | libata-trace.c | 189 unsigned char feature, unsigned char hob_nsect) in libata_trace_parse_subcmd() argument 215 switch (feature) { in libata_trace_parse_subcmd() 231 switch (feature) { in libata_trace_parse_subcmd() 238 switch (feature) { in libata_trace_parse_subcmd()
|
| /drivers/hid/intel-ish-hid/ |
| A D | Kconfig | 20 tristate "Host Firmware Load feature for Intel ISH" 28 The Host Firmware Load feature adds support to load the ISH 31 Say M here if you want to support Host Firmware Loading feature
|
| /drivers/cxl/ |
| A D | Kconfig | 124 The CXL EDAC memory feature is optional and allows host to 129 of a memory RAS feature established by the platform/device. 138 control the scrub feature configurations of CXL memory expander 146 of a memory scrub feature established by the platform/device 147 (e.g. scrub rates for the patrol scrub feature). 156 control the ECS feature configurations of CXL memory expander 164 of a memory ECS feature established by the platform/device. 176 When enabled, the memory repair feature requires an additional 185 of a memory repair feature established by the platform/device.
|