Home
last modified time | relevance | path

Searched refs:caps (Results 1 – 25 of 1295) sorted by relevance

12345678910>>...52

/openbmc/linux/drivers/media/platform/qcom/venus/
H A Dhfi_platform_v4.c7 static const struct hfi_plat_caps caps[] = { variable
12 .caps[0] = {HFI_CAPABILITY_FRAME_WIDTH, 96, 4096, 1},
16 .caps[4] = {HFI_CAPABILITY_SCALE_X, 4096, 65536, 1},
17 .caps[5] = {HFI_CAPABILITY_SCALE_Y, 4096, 65536, 1},
19 .caps[7] = {HFI_CAPABILITY_FRAMERATE, 1, 480, 1},
21 .caps[9] = {HFI_CAPABILITY_MAX_WORKMODES, 1, 3, 1},
151 .caps[13] = {HFI_CAPABILITY_BFRAME, 0, 1, 1},
188 .caps[13] = {HFI_CAPABILITY_BFRAME, 0, 1, 1},
225 .caps[13] = {HFI_CAPABILITY_BFRAME, 0, 1, 1},
250 *entries = ARRAY_SIZE(caps); in get_capabilities()
[all …]
H A Dhfi_platform_v6.c7 static const struct hfi_plat_caps caps[] = { variable
12 .caps[0] = {HFI_CAPABILITY_FRAME_WIDTH, 128, 8192, 1},
16 .caps[3] = {HFI_CAPABILITY_BITRATE, 1, 220000000, 1},
17 .caps[4] = {HFI_CAPABILITY_SCALE_X, 65536, 65536, 1},
20 .caps[7] = {HFI_CAPABILITY_FRAMERATE, 1, 960, 1},
45 .caps[7] = {HFI_CAPABILITY_FRAMERATE, 1, 960, 1},
151 .caps[13] = {HFI_CAPABILITY_BFRAME, 0, 1, 1},
188 .caps[13] = {HFI_CAPABILITY_BFRAME, 0, 1, 1},
225 .caps[13] = {HFI_CAPABILITY_BFRAME, 0, 0, 1},
250 *entries = ARRAY_SIZE(caps); in get_capabilities()
[all …]
H A Dhfi_parser.c19 struct hfi_plat_caps *caps = core->caps, *cap; in init_codecs() local
48 cap = &caps[i]; in for_each_codec()
80 for_each_codec(core->caps, ARRAY_SIZE(core->caps), in parse_alloc_mode()
111 for_each_codec(core->caps, ARRAY_SIZE(core->caps), codecs, domain, in parse_profile_level()
123 memcpy(&cap->caps[cap->num_caps], caps, num * sizeof(*caps)); in fill_caps()
140 for_each_codec(core->caps, ARRAY_SIZE(core->caps), codecs, domain, in parse_caps()
236 caps = inst->core->caps; in parser_fini()
240 cap = &caps[i]; in parser_fini()
275 memset(core->caps, 0, sizeof(*caps) * MAX_CODEC_NUM); in hfi_platform_parser()
276 memcpy(core->caps, caps, sizeof(*caps) * entries); in hfi_platform_parser()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath5k/
H A Dcaps.c39 ee_header = caps->cap_eeprom.ee_header; in ath5k_hw_set_capabilities()
46 caps->cap_range.range_5ghz_min = 5120; in ath5k_hw_set_capabilities()
47 caps->cap_range.range_5ghz_max = 5430; in ath5k_hw_set_capabilities()
48 caps->cap_range.range_2ghz_min = 0; in ath5k_hw_set_capabilities()
49 caps->cap_range.range_2ghz_max = 0; in ath5k_hw_set_capabilities()
91 if (!caps->cap_needs_2GHz_ovr) { in ath5k_hw_set_capabilities()
94 caps->cap_mode); in ath5k_hw_set_capabilities()
99 caps->cap_mode); in ath5k_hw_set_capabilities()
115 caps->cap_has_phyerr_counters = true; in ath5k_hw_set_capabilities()
121 caps->cap_has_mrr_support = true; in ath5k_hw_set_capabilities()
[all …]
/openbmc/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_cfg.c21 .caps = MDP_CAP_SMP |
110 .caps = MDP_CAP_SMP |
191 .caps = MDP_CAP_SMP |
278 .caps = MDP_CAP_SMP |
379 .caps = MDP_CAP_SMP |
451 .caps = MDP_CAP_SMP |
530 .caps = MDP_CAP_SMP |
630 .caps = MDP_CAP_DSC |
743 .caps = MDP_CAP_SMP |
840 .caps = MDP_CAP_CDM |
[all …]
H A Dmdp5_pipe.c10 uint32_t caps, uint32_t blkcfg, in mdp5_pipe_assign() argument
45 if (caps & ~cur->caps) in mdp5_pipe_assign()
52 if (cur->caps & MDP_PIPE_CAP_CURSOR && in mdp5_pipe_assign()
59 if (!(*hwpipe) || (hweight_long(cur->caps & ~caps) < in mdp5_pipe_assign()
60 hweight_long((*hwpipe)->caps & ~caps))) { in mdp5_pipe_assign()
70 if (r_cur->caps != cur->caps) in mdp5_pipe_assign()
110 (*hwpipe)->name, plane->name, caps); in mdp5_pipe_assign()
115 (*r_hwpipe)->name, plane->name, caps); in mdp5_pipe_assign()
160 uint32_t reg_offset, uint32_t caps) in mdp5_pipe_init() argument
171 hwpipe->caps = caps; in mdp5_pipe_init()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ctrl.c14 memset(caps, 0, sizeof(*caps)); in nfp_net_tlv_caps_reset()
15 caps->me_freq_mhz = 1200; in nfp_net_tlv_caps_reset()
16 caps->mbox_off = NFP_NET_CFG_MBOX_BASE; in nfp_net_tlv_caps_reset()
37 caps->crypto_ops = readl(data); in nfp_net_tls_parse_crypto_ops()
45 struct nfp_net_tlv_caps *caps) in nfp_net_tlv_caps_parse() argument
51 nfp_net_tlv_caps_reset(caps); in nfp_net_tlv_caps_parse()
99 caps->me_freq_mhz = readl(data); in nfp_net_tlv_caps_parse()
103 caps->mbox_off = 0; in nfp_net_tlv_caps_parse()
104 caps->mbox_len = 0; in nfp_net_tlv_caps_parse()
107 caps->mbox_len = length; in nfp_net_tlv_caps_parse()
[all …]
/openbmc/ipmitool/lib/
H A Dhpm2.c52 struct hpm2_lan_attach_capabilities caps; member
127 caps->lan_channel_mask = BSWAP_16(caps->lan_channel_mask); in hpm2_get_capabilities()
133 caps->hpm2_revision_id); in hpm2_get_capabilities()
137 if (!caps->lan_channel_mask) { in hpm2_get_capabilities()
148 if (caps->hpm2_lan_params_start < 0xC0) { in hpm2_get_capabilities()
150 caps->hpm2_lan_params_start); in hpm2_get_capabilities()
157 caps->hpm2_lan_params_rev); in hpm2_get_capabilities()
176 caps->hpm2_sol_params_start); in hpm2_get_capabilities()
183 caps->hpm2_sol_params_rev); in hpm2_get_capabilities()
249 caps->max_inbound_pld_size = BSWAP_16(caps->max_inbound_pld_size); in hpm2_get_lan_channel_capabilities()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_dwb.c47 if (caps) { in dwb1_get_caps()
48 caps->adapter_id = 0; /* we only support 1 adapter currently */ in dwb1_get_caps()
49 caps->hw_version = DCN_VERSION_1_0; in dwb1_get_caps()
50 caps->num_pipes = 2; in dwb1_get_caps()
51 memset(&caps->reserved, 0, sizeof(caps->reserved)); in dwb1_get_caps()
52 memset(&caps->reserved2, 0, sizeof(caps->reserved2)); in dwb1_get_caps()
53 caps->sw_version = dwb_ver_1_0; in dwb1_get_caps()
54 caps->caps.support_dwb = true; in dwb1_get_caps()
55 caps->caps.support_ogam = false; in dwb1_get_caps()
56 caps->caps.support_wbscl = true; in dwb1_get_caps()
[all …]
/openbmc/linux/net/bluetooth/
H A Dhci_codec.c12 void *caps, in hci_codec_list_add() argument
31 memcpy(entry->caps, caps, len); in hci_codec_list_add()
105 len += sizeof(caps->len) + caps->len; in hci_read_codec_capabilities()
106 skb_pull(skb, sizeof(caps->len) + caps->len); in hci_read_codec_capabilities()
156 memset(&caps, 0, sizeof(caps)); in hci_read_supported_codecs()
159 caps.direction = 0x00; in hci_read_supported_codecs()
177 caps.id = 0xFF; in hci_read_supported_codecs()
224 memset(&caps, 0, sizeof(caps)); in hci_read_supported_codecs_v2()
229 &caps); in hci_read_supported_codecs_v2()
244 caps.id = 0xFF; in hci_read_supported_codecs_v2()
[all …]
/openbmc/linux/arch/powerpc/perf/
H A Dhv-common.c8 unsigned long hv_perf_caps_get(struct hv_perf_caps *caps) in hv_perf_caps_get() argument
13 struct hv_gpci_system_performance_capabilities caps; in hv_perf_caps_get() member
31 pr_devel("capability_mask: 0x%x\n", arg.caps.capability_mask); in hv_perf_caps_get()
33 caps->version = arg.params.counter_info_version_out; in hv_perf_caps_get()
34 caps->collect_privileged = !!arg.caps.perf_collect_privileged; in hv_perf_caps_get()
35 caps->ga = !!(arg.caps.capability_mask & HV_GPCI_CM_GA); in hv_perf_caps_get()
36 caps->expanded = !!(arg.caps.capability_mask & HV_GPCI_CM_EXPANDED); in hv_perf_caps_get()
37 caps->lab = !!(arg.caps.capability_mask & HV_GPCI_CM_LAB); in hv_perf_caps_get()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dmain.c335 dev->caps.port_mask[i] = dev->caps.port_type[i]; in mlx4_set_port_mask()
603 dev->caps.port_type[i] = dev->caps.suggested_type[i] ? in mlx4_dev_cap()
632 dev->caps.possible_type[i] = dev->caps.port_type[i]; in mlx4_dev_cap()
867 struct mlx4_caps *caps = &dev->caps; in mlx4_slave_special_qp_cap() local
871 caps->spec_qps = kcalloc(caps->num_ports, sizeof(*caps->spec_qps), GFP_KERNEL); in mlx4_slave_special_qp_cap()
887 caps->port_mask[i] = caps->port_type[i]; in mlx4_slave_special_qp_cap()
1028 if (dev->caps.uar_page_size * (dev->caps.num_uars - in mlx4_slave_cap()
1033 dev->caps.uar_page_size * dev->caps.num_uars, in mlx4_slave_cap()
1819 dev->caps.num_mgms + dev->caps.num_amgms, in mlx4_init_icm()
1820 dev->caps.num_mgms + dev->caps.num_amgms, in mlx4_init_icm()
[all …]
/openbmc/linux/tools/power/cpupower/utils/helpers/
H A Dcpuid.c60 cpu_info->caps = 0; in get_cpu_info()
122 cpu_info->caps |= CPUPOWER_CAP_INV_TSC; in get_cpu_info()
126 cpu_info->caps |= CPUPOWER_CAP_APERF; in get_cpu_info()
133 cpu_info->caps |= CPUPOWER_CAP_AMD_CPB; in get_cpu_info()
151 cpu_info->caps |= CPUPOWER_CAP_AMD_RDPRU; in get_cpu_info()
154 cpu_info->caps |= CPUPOWER_CAP_AMD_PSTATE; in get_cpu_info()
160 cpu_info->caps &= ~CPUPOWER_CAP_AMD_CPB; in get_cpu_info()
161 cpu_info->caps &= ~CPUPOWER_CAP_AMD_CPB_MSR; in get_cpu_info()
170 cpu_info->caps |= CPUPOWER_CAP_INTEL_IDA; in get_cpu_info()
176 cpu_info->caps |= CPUPOWER_CAP_PERF_BIAS; in get_cpu_info()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_domain.c9 ((dmn)->info.caps.dmn_type##_sw_owner || \
10 ((dmn)->info.caps.dmn_type##_sw_owner_v2 && \
281 struct mlx5dr_cmd_caps *caps = &dmn->info.caps; in dr_domain_add_vport_cap() local
308 struct mlx5dr_cmd_caps *caps = &dmn->info.caps; in dr_domain_is_esw_mgr_vport() local
317 struct mlx5dr_cmd_caps *caps = &dmn->info.caps; in mlx5dr_domain_get_vport_cap() local
324 return &caps->vports.uplink_caps; in mlx5dr_domain_get_vport_cap()
355 if (!dmn->info.caps.eswitch_manager) in dr_domain_query_fdb_caps()
362 dmn->info.caps.fdb_sw_owner = dmn->info.caps.esw_caps.sw_owner; in dr_domain_query_fdb_caps()
363 dmn->info.caps.fdb_sw_owner_v2 = dmn->info.caps.esw_caps.sw_owner_v2; in dr_domain_query_fdb_caps()
364 dmn->info.caps.esw_rx_drop_address = dmn->info.caps.esw_caps.drop_icm_address_rx; in dr_domain_query_fdb_caps()
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/strace/strace/
H A Dupdate-gawk-paths.patch38 diff --git a/tests-m32/caps.awk b/tests-m32/caps.awk
40 --- a/tests-m32/caps.awk
41 +++ b/tests-m32/caps.awk
68 diff --git a/tests-mx32/caps.awk b/tests-mx32/caps.awk
70 --- a/tests-mx32/caps.awk
98 diff --git a/tests/caps.awk b/tests/caps.awk
100 --- a/tests/caps.awk
101 +++ b/tests/caps.awk
128 diff --git a/tests-m32/caps-abbrev.awk b/tests-m32/caps-abbrev.awk
138 diff --git a/tests-mx32/caps-abbrev.awk b/tests-mx32/caps-abbrev.awk
[all …]
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dvas-sysfs.c23 struct vas_cop_feat_caps *caps; member
48 err = vas_reconfig_capabilties(caps->win_type, creds); in update_total_credits_store()
125 struct vas_cop_feat_caps *caps; in vas_type_show() local
129 caps = centry->caps; in vas_type_show()
135 return entry->show(caps, buf); in vas_type_show()
142 struct vas_cop_feat_caps *caps; in vas_type_store() local
146 caps = centry->caps; in vas_type_store()
151 return entry->store(caps, buf, count); in vas_type_store()
180 struct vas_cop_feat_caps *caps = centry->caps; in vas_caps_kobj_name() local
182 if (caps->descriptor == VAS_GZIP_QOS_CAPABILITIES) { in vas_caps_kobj_name()
[all …]
H A Dvas.c303 struct vas_caps *caps; in vas_allocate_window() local
340 cop_feat_caps = &caps->caps; in vas_allocate_window()
432 caps->nr_open_windows++; in vas_allocate_window()
455 caps->nr_open_wins_progress--; in vas_allocate_window()
509 caps = &vascaps[win->win_type].caps; in vas_deallocate_window()
581 caps = &vcaps->caps; in get_vas_capabilities()
614 rc = sysfs_add_vas_caps(caps); in get_vas_capabilities()
635 struct vas_cop_feat_caps *caps = &vcaps->caps; in reconfig_open_windows() local
702 caps->win_type); in reconfig_open_windows()
844 caps = &vcaps->caps; in vas_reconfig_capabilties()
[all …]
/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_main.c70 if (port >= hr_dev->caps.num_ports) in hns_roce_add_gid()
84 if (port >= hr_dev->caps.num_ports) in hns_roce_del_gid()
770 hr_dev->caps.num_mtpts); in hns_roce_init_hem()
778 hr_dev->caps.num_qps); in hns_roce_init_hem()
788 hr_dev->caps.num_qps); in hns_roce_init_hem()
800 hr_dev->caps.num_qps); in hns_roce_init_hem()
810 hr_dev->caps.num_cqs); in hns_roce_init_hem()
832 hr_dev->caps.sccc_sz, in hns_roce_init_hem()
833 hr_dev->caps.num_qps); in hns_roce_init_hem()
865 if (hr_dev->caps.gmv_entry_sz) { in hns_roce_init_hem()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_dwb.c48 if (caps) { in dwb3_get_caps()
50 caps->hw_version = DCN_VERSION_3_0; in dwb3_get_caps()
51 caps->num_pipes = 2; in dwb3_get_caps()
52 memset(&caps->reserved, 0, sizeof(caps->reserved)); in dwb3_get_caps()
53 memset(&caps->reserved2, 0, sizeof(caps->reserved2)); in dwb3_get_caps()
54 caps->sw_version = dwb_ver_2_0; in dwb3_get_caps()
55 caps->caps.support_dwb = true; in dwb3_get_caps()
56 caps->caps.support_ogam = true; in dwb3_get_caps()
57 caps->caps.support_wbscl = true; in dwb3_get_caps()
58 caps->caps.support_ocsc = false; in dwb3_get_caps()
[all …]
/openbmc/linux/drivers/gpu/drm/stm/
H A Dltdc.c1377 if (ldev->caps.ycbcr_input) { in ltdc_plane_atomic_update()
1599 if (ldev->caps.ycbcr_input) { in ltdc_plane_create()
1624 if (ldev->caps.ycbcr_input) { in ltdc_plane_create()
1668 if (ldev->caps.crc) in ltdc_crtc_init()
1821 ldev->caps.nb_irq = 2; in ltdc_get_caps()
1825 ldev->caps.crc = false; in ltdc_get_caps()
1839 ldev->caps.nb_irq = 4; in ltdc_get_caps()
1843 ldev->caps.crc = false; in ltdc_get_caps()
1857 ldev->caps.nb_irq = 2; in ltdc_get_caps()
1861 ldev->caps.crc = true; in ltdc_get_caps()
[all …]
/openbmc/linux/drivers/gpu/drm/omapdrm/
H A Domap_overlay.c28 u32 caps, u32 fourcc) in omap_plane_find_free_overlay() argument
33 DBG("caps: %x fourcc: %x", caps, fourcc); in omap_plane_find_free_overlay()
39 cur->idx, cur->id, cur->caps); in omap_plane_find_free_overlay()
46 if (caps & ~cur->caps) in omap_plane_find_free_overlay()
69 u32 caps, u32 fourcc, struct omap_hw_overlay **overlay, in omap_overlay_assign() argument
86 caps, fourcc); in omap_overlay_assign()
101 r_ovl->name, plane->name, caps); in omap_overlay_assign()
157 enum omap_overlay_caps caps) in omap_overlay_init() argument
167 overlay->caps = caps; in omap_overlay_init()
179 enum omap_overlay_caps caps; in omap_hwoverlays_init() local
[all …]
/openbmc/linux/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_format_caps.c16 const struct komeda_format_caps *caps; in komeda_get_format_caps() local
22 caps = &table->format_caps[id]; in komeda_get_format_caps()
24 if (fourcc != caps->fourcc) in komeda_get_format_caps()
28 return caps; in komeda_get_format_caps()
30 if (has_bits(afbc_features, caps->supported_afbc_features) && in komeda_get_format_caps()
31 has_bit(afbc_layout, caps->supported_afbc_layouts)) in komeda_get_format_caps()
32 return caps; in komeda_get_format_caps()
99 const struct komeda_format_caps *caps; in komeda_format_mod_supported() local
101 caps = komeda_get_format_caps(table, fourcc, modifier); in komeda_format_mod_supported()
102 if (!caps) in komeda_format_mod_supported()
[all …]
/openbmc/linux/drivers/pmdomain/mediatek/
H A Dmt8186-pm-domains.h64 .caps = MTK_SCPD_KEEP_DEFAULT_OFF,
74 .caps = MTK_SCPD_KEEP_DEFAULT_OFF,
84 .caps = MTK_SCPD_ACTIVE_WAKEUP,
94 .caps = MTK_SCPD_ACTIVE_WAKEUP,
133 .caps = MTK_SCPD_KEEP_DEFAULT_OFF,
143 .caps = MTK_SCPD_KEEP_DEFAULT_OFF,
163 .caps = MTK_SCPD_KEEP_DEFAULT_OFF,
183 .caps = MTK_SCPD_KEEP_DEFAULT_OFF,
193 .caps = MTK_SCPD_KEEP_DEFAULT_OFF,
203 .caps = MTK_SCPD_KEEP_DEFAULT_OFF,
[all …]
H A Dmt8188-pm-domains.h72 .caps = MTK_SCPD_KEEP_DEFAULT_OFF,
82 .caps = MTK_SCPD_KEEP_DEFAULT_OFF,
92 .caps = MTK_SCPD_KEEP_DEFAULT_OFF,
112 .caps = MTK_SCPD_KEEP_DEFAULT_OFF,
120 .caps = MTK_SCPD_KEEP_DEFAULT_OFF,
128 .caps = MTK_SCPD_KEEP_DEFAULT_OFF,
178 .caps = MTK_SCPD_ALWAYS_ON,
258 .caps = MTK_SCPD_KEEP_DEFAULT_OFF,
351 .caps = MTK_SCPD_KEEP_DEFAULT_OFF,
367 .caps = MTK_SCPD_KEEP_DEFAULT_OFF,
[all …]
/openbmc/linux/drivers/vfio/pci/
H A Dvfio_pci_zdev.c23 static int zpci_base_cap(struct zpci_dev *zdev, struct vfio_info_cap *caps) in zpci_base_cap() argument
38 return vfio_info_add_capability(caps, &cap.header, sizeof(cap)); in zpci_base_cap()
44 static int zpci_group_cap(struct zpci_dev *zdev, struct vfio_info_cap *caps) in zpci_group_cap() argument
60 return vfio_info_add_capability(caps, &cap.header, sizeof(cap)); in zpci_group_cap()
81 ret = vfio_info_add_capability(caps, &cap->header, cap_size); in zpci_util_cap()
106 ret = vfio_info_add_capability(caps, &cap->header, cap_size); in zpci_pfip_cap()
117 struct vfio_info_cap *caps) in vfio_pci_info_zdev_add_caps() argument
125 ret = zpci_base_cap(zdev, caps); in vfio_pci_info_zdev_add_caps()
129 ret = zpci_group_cap(zdev, caps); in vfio_pci_info_zdev_add_caps()
134 ret = zpci_util_cap(zdev, caps); in vfio_pci_info_zdev_add_caps()
[all …]

12345678910>>...52