Home
last modified time | relevance | path

Searched refs:feature_id (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/
Dsmu_cmn.c502 int feature_id; in smu_cmn_feature_is_supported() local
504 feature_id = smu_cmn_to_asic_specific_index(smu, in smu_cmn_feature_is_supported()
507 if (feature_id < 0) in smu_cmn_feature_is_supported()
510 WARN_ON(feature_id > feature->feature_num); in smu_cmn_feature_is_supported()
512 return test_bit(feature_id, feature->supported); in smu_cmn_feature_is_supported()
526 int feature_id; in smu_cmn_feature_is_enabled() local
541 feature_id = smu_cmn_to_asic_specific_index(smu, in smu_cmn_feature_is_enabled()
544 if (feature_id < 0) in smu_cmn_feature_is_enabled()
547 return test_bit(feature_id, (unsigned long *)&enabled_features); in smu_cmn_feature_is_enabled()
553 enum smu_feature_mask feature_id = 0; in smu_cmn_clk_dpm_is_enabled() local
[all …]
/linux-6.6.21/drivers/infiniband/hw/efa/
Defa_com_cmd.c363 enum efa_admin_aq_feature_id feature_id) in efa_com_check_supported_feature_id() argument
365 u32 feature_mask = 1 << feature_id; in efa_com_check_supported_feature_id()
368 if (feature_id != EFA_ADMIN_DEVICE_ATTR && in efa_com_check_supported_feature_id()
377 enum efa_admin_aq_feature_id feature_id, in efa_com_get_feature_ex() argument
385 if (!efa_com_check_supported_feature_id(edev, feature_id)) { in efa_com_get_feature_ex()
388 feature_id); in efa_com_get_feature_ex()
405 get_cmd.feature_common.feature_id = feature_id; in efa_com_get_feature_ex()
418 feature_id, err); in efa_com_get_feature_ex()
427 enum efa_admin_aq_feature_id feature_id) in efa_com_get_feature() argument
429 return efa_com_get_feature_ex(edev, get_resp, feature_id, 0, 0); in efa_com_get_feature()
[all …]
Defa_com_cmd.h310 enum efa_admin_aq_feature_id feature_id);
314 enum efa_admin_aq_feature_id feature_id,
Defa_admin_cmds_defs.h603 u8 feature_id; member
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega20_hwmgr.c1136 od_settings->od8_settings_array[OD8_SETTING_GFXCLK_FMIN].feature_id = in vega20_od8_set_feature_id()
1138 od_settings->od8_settings_array[OD8_SETTING_GFXCLK_FMAX].feature_id = in vega20_od8_set_feature_id()
1141 od_settings->od8_settings_array[OD8_SETTING_GFXCLK_FMIN].feature_id = in vega20_od8_set_feature_id()
1143 od_settings->od8_settings_array[OD8_SETTING_GFXCLK_FMAX].feature_id = in vega20_od8_set_feature_id()
1148 od_settings->od8_settings_array[OD8_SETTING_GFXCLK_FREQ1].feature_id = in vega20_od8_set_feature_id()
1150 od_settings->od8_settings_array[OD8_SETTING_GFXCLK_VOLTAGE1].feature_id = in vega20_od8_set_feature_id()
1152 od_settings->od8_settings_array[OD8_SETTING_GFXCLK_FREQ2].feature_id = in vega20_od8_set_feature_id()
1154 od_settings->od8_settings_array[OD8_SETTING_GFXCLK_VOLTAGE2].feature_id = in vega20_od8_set_feature_id()
1156 od_settings->od8_settings_array[OD8_SETTING_GFXCLK_FREQ3].feature_id = in vega20_od8_set_feature_id()
1158 od_settings->od8_settings_array[OD8_SETTING_GFXCLK_VOLTAGE3].feature_id = in vega20_od8_set_feature_id()
[all …]
Dvega20_hwmgr.h422 uint32_t feature_id; member
/linux-6.6.21/drivers/staging/media/rkvdec/
Drkvdec-vp9.c454 int feature_id; in config_seg_registers() local
458 feature_id = V4L2_VP9_SEG_LVL_ALT_Q; in config_seg_registers()
459 if (v4l2_vp9_seg_feat_enabled(seg->feature_enabled, feature_id, segid)) { in config_seg_registers()
460 feature_val = seg->feature_data[segid][feature_id]; in config_seg_registers()
465 feature_id = V4L2_VP9_SEG_LVL_ALT_L; in config_seg_registers()
466 if (v4l2_vp9_seg_feat_enabled(seg->feature_enabled, feature_id, segid)) { in config_seg_registers()
467 feature_val = seg->feature_data[segid][feature_id]; in config_seg_registers()
472 feature_id = V4L2_VP9_SEG_LVL_REF_FRAME; in config_seg_registers()
473 if (v4l2_vp9_seg_feat_enabled(seg->feature_enabled, feature_id, segid)) { in config_seg_registers()
474 feature_val = seg->feature_data[segid][feature_id]; in config_seg_registers()
[all …]
/linux-6.6.21/include/linux/
Dintel_tpmi.h30 int tpmi_get_feature_status(struct auxiliary_device *auxdev, int feature_id, int *locked,
Ddfl.h44 u16 feature_id; member
Dmod_devicetable.h910 __u16 feature_id; member
/linux-6.6.21/drivers/net/ethernet/amazon/ena/
Dena_com.c619 cmd.feat_common.feature_id = ENA_ADMIN_LLQ; in ena_com_set_llq()
1005 enum ena_admin_aq_feature_id feature_id) in ena_com_check_supported_feature_id() argument
1007 u32 feature_mask = 1 << feature_id; in ena_com_check_supported_feature_id()
1010 if ((feature_id != ENA_ADMIN_DEVICE_ATTRIBUTES) && in ena_com_check_supported_feature_id()
1019 enum ena_admin_aq_feature_id feature_id, in ena_com_get_feature_ex() argument
1028 if (!ena_com_check_supported_feature_id(ena_dev, feature_id)) { in ena_com_get_feature_ex()
1030 feature_id); in ena_com_get_feature_ex()
1055 get_cmd.feat_common.feature_id = feature_id; in ena_com_get_feature_ex()
1068 feature_id, ret); in ena_com_get_feature_ex()
1075 enum ena_admin_aq_feature_id feature_id, in ena_com_get_feature() argument
[all …]
Dena_admin_defs.h442 u8 feature_id; member
/linux-6.6.21/drivers/misc/mei/
Dmkhi.h28 u8 feature_id; member
Dbus-fixup.c126 fwcaps->id.feature_id = MKHI_FEATURE_PTT; in mei_osver()
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-bus-dfl10 What: /sys/bus/dfl/devices/dfl_dev.X/feature_id
/linux-6.6.21/drivers/platform/x86/intel/
Dtpmi.c258 static int tpmi_read_feature_status(struct intel_tpmi_info *tpmi_info, int feature_id, in tpmi_read_feature_status() argument
278 data |= FIELD_PREP(TPMI_CONTROL_DATA_VAL_FEATURE, feature_id); in tpmi_read_feature_status()
333 int tpmi_get_feature_status(struct auxiliary_device *auxdev, int feature_id, in tpmi_get_feature_status() argument
339 return tpmi_read_feature_status(tpmi_info, feature_id, locked, disabled); in tpmi_get_feature_status()
/linux-6.6.21/drivers/net/wwan/t7xx/
Dt7xx_modem_ops.h45 u8 feature_id; member
/linux-6.6.21/drivers/fpga/
Ddfl.c254 if (id->type == ddev->type && id->feature_id == ddev->feature_id) in dfl_match_one_device()
268 while (id_entry->feature_id) { in dfl_bus_match()
302 ddev->type, ddev->feature_id); in dfl_bus_uevent()
319 return sprintf(buf, "0x%x\n", ddev->feature_id); in feature_id_show()
321 static DEVICE_ATTR_RO(feature_id);
384 ddev->feature_id = feature->id; in dfl_dev_add()
950 static u16 feature_id(u64 value) in feature_id() function
1153 fid = fid ? fid : feature_id(v); in create_feature_instance()
1325 feature_id(readq(binfo->ioaddr + ofst))); in parse_feature_private()
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0_5_ppt.c693 enum smu_feature_mask feature_id = 0; in smu_v13_0_5_clk_dpm_is_enabled() local
699 feature_id = SMU_FEATURE_DPM_FCLK_BIT; in smu_v13_0_5_clk_dpm_is_enabled()
703 feature_id = SMU_FEATURE_DPM_GFXCLK_BIT; in smu_v13_0_5_clk_dpm_is_enabled()
706 feature_id = SMU_FEATURE_DPM_SOCCLK_BIT; in smu_v13_0_5_clk_dpm_is_enabled()
710 feature_id = SMU_FEATURE_VCN_DPM_BIT; in smu_v13_0_5_clk_dpm_is_enabled()
716 return smu_cmn_feature_is_enabled(smu, feature_id); in smu_v13_0_5_clk_dpm_is_enabled()
Dsmu_v13_0_4_ppt.c706 enum smu_feature_mask feature_id = 0; in smu_v13_0_4_clk_dpm_is_enabled() local
712 feature_id = SMU_FEATURE_DPM_FCLK_BIT; in smu_v13_0_4_clk_dpm_is_enabled()
716 feature_id = SMU_FEATURE_DPM_GFXCLK_BIT; in smu_v13_0_4_clk_dpm_is_enabled()
719 feature_id = SMU_FEATURE_DPM_SOCCLK_BIT; in smu_v13_0_4_clk_dpm_is_enabled()
723 feature_id = SMU_FEATURE_VCN_DPM_BIT; in smu_v13_0_4_clk_dpm_is_enabled()
729 return smu_cmn_feature_is_enabled(smu, feature_id); in smu_v13_0_4_clk_dpm_is_enabled()
Dyellow_carp_ppt.c827 enum smu_feature_mask feature_id = 0; in yellow_carp_clk_dpm_is_enabled() local
833 feature_id = SMU_FEATURE_DPM_FCLK_BIT; in yellow_carp_clk_dpm_is_enabled()
837 feature_id = SMU_FEATURE_DPM_GFXCLK_BIT; in yellow_carp_clk_dpm_is_enabled()
840 feature_id = SMU_FEATURE_DPM_SOCCLK_BIT; in yellow_carp_clk_dpm_is_enabled()
844 feature_id = SMU_FEATURE_VCN_DPM_BIT; in yellow_carp_clk_dpm_is_enabled()
850 return smu_cmn_feature_is_enabled(smu, feature_id); in yellow_carp_clk_dpm_is_enabled()
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dvangogh_ppt.c891 enum smu_feature_mask feature_id = 0; in vangogh_clk_dpm_is_enabled() local
897 feature_id = SMU_FEATURE_DPM_FCLK_BIT; in vangogh_clk_dpm_is_enabled()
901 feature_id = SMU_FEATURE_DPM_GFXCLK_BIT; in vangogh_clk_dpm_is_enabled()
904 feature_id = SMU_FEATURE_DPM_SOCCLK_BIT; in vangogh_clk_dpm_is_enabled()
908 feature_id = SMU_FEATURE_VCN_DPM_BIT; in vangogh_clk_dpm_is_enabled()
914 if (!smu_cmn_feature_is_enabled(smu, feature_id)) in vangogh_clk_dpm_is_enabled()
/linux-6.6.21/scripts/mod/
Ddevicetable-offsets.c260 DEVID_FIELD(dfl_device_id, feature_id); in main()
/linux-6.6.21/drivers/staging/media/meson/vdec/
Dcodec_vp9.c496 enum SEG_LVL_FEATURES feature_id) in segfeature_active() argument
499 (seg->feature_mask[segment_id] & (1 << feature_id)); in segfeature_active()
503 enum SEG_LVL_FEATURES feature_id) in get_segdata() argument
505 return seg->feature_data[segment_id][feature_id]; in get_segdata()
/linux-6.6.21/drivers/platform/x86/intel/speed_select_if/
Disst_tpmi_core.c81 u64 feature_id :4; member
104 u64 feature_id :4; member

12