| /linux/tools/testing/selftests/drivers/net/netdevsim/ |
| H A D | ethtool-fec.sh | 21 $ETHTOOL --set-fec $NSIM_NETDEV encoding auto 29 $ETHTOOL --set-fec $NSIM_NETDEV encoding $o 37 $ETHTOOL --set-fec $NSIM_NETDEV encoding $o 45 $ETHTOOL --set-fec $NSIM_NETDEV encoding $o 53 $ETHTOOL --set-fec $NSIM_NETDEV encoding rs llrs 59 $ETHTOOL --set-fec $NSIM_NETDEV encoding rs off auto 66 $ETHTOOL --set-fec $NSIM_NETDEV encoding FIBRE 2>/dev/null 69 $ETHTOOL --set-fec $NSIM_NETDEV encoding bla-bla-bla 2>/dev/null 75 $ETHTOOL --set-fec $NSIM_NETDEV encoding auto 83 $ETHTOOL --set-fec $NSIM_NETDEV encoding auto RS [all …]
|
| /linux/drivers/gpu/drm/vkms/tests/ |
| H A D | vkms_format_test.c | 43 enum drm_color_encoding encoding; member 75 .encoding = DRM_COLOR_YCBCR_BT601, 100 .encoding = DRM_COLOR_YCBCR_BT601, 125 .encoding = DRM_COLOR_YCBCR_BT709, 150 .encoding = DRM_COLOR_YCBCR_BT709, 175 .encoding = DRM_COLOR_YCBCR_BT2020, 200 .encoding = DRM_COLOR_YCBCR_BT2020, 235 (DRM_FORMAT_NV12, param->encoding, param->range, &matrix); in vkms_format_test_yuv_u16_to_argb_u16() 259 drm_get_color_encoding_name(t->encoding), drm_get_color_range_name(t->range)); in vkms_format_test_yuv_u16_to_argb_u16_case_desc()
|
| /linux/drivers/media/platform/nxp/imx8-isi/ |
| H A D | imx8-isi-pipe.c | 41 .encoding = MXC_ISI_ENC_YUV, 46 .encoding = MXC_ISI_ENC_YUV, 53 .encoding = MXC_ISI_ENC_RGB, 59 .encoding = MXC_ISI_ENC_RGB, 67 .encoding = MXC_ISI_ENC_RAW, 73 .encoding = MXC_ISI_ENC_RAW, 79 .encoding = MXC_ISI_ENC_RAW, 85 .encoding = MXC_ISI_ENC_RAW, 91 .encoding = MXC_ISI_ENC_RAW, 97 .encoding = MXC_ISI_ENC_RAW, [all …]
|
| H A D | imx8-isi-video.c | 49 .encoding = MXC_ISI_ENC_YUV, 58 .encoding = MXC_ISI_ENC_YUV, 69 .encoding = MXC_ISI_ENC_YUV, 80 .encoding = MXC_ISI_ENC_YUV, 91 .encoding = MXC_ISI_ENC_YUV, 102 .encoding = MXC_ISI_ENC_YUV, 113 .encoding = MXC_ISI_ENC_YUV, 126 .encoding = MXC_ISI_ENC_RGB, 137 .encoding = MXC_ISI_ENC_RGB, 148 .encoding = MXC_ISI_ENC_RGB, [all …]
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | colorspaces-defs.rst | 11 default Y'CbCr encoding and the default quantization method. The second 14 transfer functions. The third is the Y'CbCr encoding identifier (enum 30 :c:type:`v4l2_hsv_encoding` specifies which encoding is used. 117 - Use the default Y'CbCr encoding as defined by the colorspace. 119 - Use the BT.601 Y'CbCr encoding. 121 - Use the Rec. 709 Y'CbCr encoding. 123 - Use the extended gamut xvYCC BT.601 encoding. 125 - Use the extended gamut xvYCC Rec. 709 encoding. 127 - Use the default non-constant luminance BT.2020 Y'CbCr encoding. 129 - Use the constant luminance BT.2020 Yc'CbcCrc encoding. [all …]
|
| H A D | colorspaces-details.rst | 16 ``V4L2_XFER_FUNC_709``. The default Y'CbCr encoding is 68 the following ``V4L2_YCBCR_ENC_601`` encoding: 94 default Y'CbCr encoding is ``V4L2_YCBCR_ENC_709``. The default Y'CbCr 123 extended gamut xvYCC encoding values outside that range are allowed. 144 the following ``V4L2_YCBCR_ENC_709`` encoding: 160 The ``V4L2_YCBCR_ENC_709`` encoding described above is the default for 162 in which case the BT.601 Y'CbCr encoding is used. 167 The xvYCC 709 encoding (``V4L2_YCBCR_ENC_XV709``, :ref:`xvycc`) is 168 similar to the Rec. 709 encoding, but it allows for R', G' and B' values 180 The xvYCC 601 encoding (``V4L2_YCBCR_ENC_XV601``, :ref:`xvycc`) is [all …]
|
| /linux/tools/testing/selftests/kvm/include/x86/ |
| H A D | vmx.h | 450 static inline int vmread(uint64_t encoding, uint64_t *value) in vmread() argument 456 return evmcs_vmread(encoding, value); in vmread() 460 : [encoding]"r"(encoding) in vmread() 471 static inline uint64_t vmreadz(uint64_t encoding) in vmreadz() argument 474 vmread(encoding, &value); in vmreadz() 478 static inline int vmwrite(uint64_t encoding, uint64_t value) in vmwrite() argument 483 return evmcs_vmwrite(encoding, value); in vmwrite() 487 : [value]"rm"(value), [encoding]"r"(encoding) in vmwrite()
|
| /linux/crypto/asymmetric_keys/ |
| H A D | public_key.c | 68 const char *encoding, const char *hash_algo, in software_key_determine_akcipher() argument 76 if (!encoding) in software_key_determine_akcipher() 83 if (strcmp(encoding, "pkcs1") == 0) { in software_key_determine_akcipher() 103 if (strcmp(encoding, "raw") != 0) in software_key_determine_akcipher() 113 if (strcmp(encoding, "x962") != 0 && in software_key_determine_akcipher() 114 strcmp(encoding, "p1363") != 0) in software_key_determine_akcipher() 135 encoding, pkey->pkey_algo); in software_key_determine_akcipher() 138 if (strcmp(encoding, "raw") != 0) in software_key_determine_akcipher() 148 if (strcmp(encoding, "raw") != 0) in software_key_determine_akcipher() 182 ret = software_key_determine_akcipher(pkey, params->encoding, in software_key_query() [all …]
|
| /linux/drivers/media/test-drivers/vicodec/ |
| H A D | codec-fwht.c | 693 u32 encoding = 0; in encode_plane() local 716 encoding |= FWHT_FRAME_PCODED; in encode_plane() 747 encoding |= FWHT_FRAME_UNENCODED; in encode_plane() 755 if (encoding & FWHT_FRAME_UNENCODED) { in encode_plane() 772 encoding &= ~FWHT_FRAME_PCODED; in encode_plane() 774 return encoding; in encode_plane() 787 u32 encoding; in fwht_encode_frame() local 790 encoding = encode_plane(frm->luma, ref_frm->luma, &rlco, rlco_max, cf, in fwht_encode_frame() 793 if (encoding & FWHT_FRAME_UNENCODED) in fwht_encode_frame() 794 encoding |= FWHT_LUMA_UNENCODED; in fwht_encode_frame() [all …]
|
| H A D | codec-v4l2-fwht.c | 220 u32 encoding; in v4l2_fwht_encode() local 240 encoding = fwht_encode_frame(&rf, &state->ref_frame, &cf, in v4l2_fwht_encode() 246 if (!(encoding & FWHT_FRAME_PCODED)) in v4l2_fwht_encode() 259 if (encoding & FWHT_LUMA_UNENCODED) in v4l2_fwht_encode() 261 if (encoding & FWHT_CB_UNENCODED) in v4l2_fwht_encode() 263 if (encoding & FWHT_CR_UNENCODED) in v4l2_fwht_encode() 265 if (encoding & FWHT_ALPHA_UNENCODED) in v4l2_fwht_encode() 267 if (!(encoding & FWHT_FRAME_PCODED)) in v4l2_fwht_encode()
|
| /linux/drivers/gpu/drm/amd/display/dc/link/ |
| H A D | link_validation.c | 457 enum dp_link_encoding encoding, in get_audio_layout_config() argument 465 if (encoding == DP_8b_10b_ENCODING) { in get_audio_layout_config() 475 } else if (encoding == DP_128b_132b_ENCODING) { in get_audio_layout_config() 489 enum dp_link_encoding encoding, in get_av_stream_map_lane_count() argument 495 if (encoding == DP_8b_10b_ENCODING) { in get_av_stream_map_lane_count() 500 } else if (encoding == DP_128b_132b_ENCODING) { in get_av_stream_map_lane_count() 510 enum dp_link_encoding encoding, in get_audio_sdp_overhead() argument 516 if (encoding == DP_8b_10b_ENCODING) { in get_audio_sdp_overhead() 521 } else if (encoding == DP_128b_132b_ENCODING) { in get_audio_sdp_overhead()
|
| /linux/net/mac80211/ |
| H A D | airtime.c | 536 switch (status->encoding) { in ieee80211_get_rate_duration() 562 switch (status->encoding) { in ieee80211_get_rate_duration() 592 if (status->encoding == RX_ENC_LEGACY) { in ieee80211_calc_rx_airtime() 640 stat->encoding = RX_ENC_EHT; in ieee80211_fill_rate_info() 642 stat->encoding = RX_ENC_HE; in ieee80211_fill_rate_info() 644 stat->encoding = RX_ENC_VHT; in ieee80211_fill_rate_info() 646 stat->encoding = RX_ENC_HT; in ieee80211_fill_rate_info() 648 stat->encoding = RX_ENC_LEGACY; in ieee80211_fill_rate_info() 653 switch (stat->encoding) { in ieee80211_fill_rate_info() 662 if (stat->encoding != RX_ENC_LEGACY) in ieee80211_fill_rate_info() [all …]
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_btf.h | 15 #define BTF_INT_ENC(encoding, bits_offset, nr_bits) \ argument 16 ((encoding) << 24 | (bits_offset) << 16 | (nr_bits)) 17 #define BTF_TYPE_INT_ENC(name, encoding, bits_offset, bits, sz) \ argument 19 BTF_INT_ENC(encoding, bits_offset, bits)
|
| /linux/drivers/gpu/drm/sun4i/ |
| H A D | sun8i_csc.c | 121 enum drm_color_encoding encoding, in sun8i_csc_setup() argument 128 table = yuv2rgb[range][encoding]; in sun8i_csc_setup() 162 enum drm_color_encoding encoding, in sun8i_de3_ccsc_setup() argument 170 table = yuv2rgb_de3[range][encoding]; in sun8i_de3_ccsc_setup()
|
| /linux/drivers/net/wireless/intel/ipw2x00/ |
| H A D | libipw_wx.c | 297 struct iw_point *erq = &(wrqu->encoding); in libipw_wx_set_encode() 462 struct iw_point *erq = &(wrqu->encoding); in libipw_wx_get_encode() 503 struct iw_point *encoding = &wrqu->encoding; in libipw_wx_set_encodeext() local 515 idx = encoding->flags & IW_ENCODE_INDEX; in libipw_wx_set_encodeext() 537 if ((encoding->flags & IW_ENCODE_DISABLED) || in libipw_wx_set_encodeext() 665 struct iw_point *encoding = &wrqu->encoding; in libipw_wx_get_encodeext() local 670 max_key_len = encoding->length - sizeof(*ext); in libipw_wx_get_encodeext() 674 idx = encoding->flags & IW_ENCODE_INDEX; in libipw_wx_get_encodeext() 687 encoding->flags = idx + 1; in libipw_wx_get_encodeext() 693 encoding->flags |= IW_ENCODE_DISABLED; in libipw_wx_get_encodeext() [all …]
|
| /linux/arch/sh/kernel/ |
| H A D | dwarf.c | 224 char encoding) in dwarf_read_encoded_value() argument 229 switch (encoding & 0x70) { in dwarf_read_encoded_value() 236 pr_debug("encoding=0x%x\n", (encoding & 0x70)); in dwarf_read_encoded_value() 240 if ((encoding & 0x07) == 0x00) in dwarf_read_encoded_value() 241 encoding |= DW_EH_PE_udata4; in dwarf_read_encoded_value() 243 switch (encoding & 0x0f) { in dwarf_read_encoded_value() 251 pr_debug("encoding=0x%x\n", encoding); in dwarf_read_encoded_value() 809 cie->encoding = *(char *)p++; in dwarf_parse_cie() 892 if (cie->encoding) in dwarf_parse_fde() 894 cie->encoding); in dwarf_parse_fde() [all …]
|
| /linux/drivers/net/wan/ |
| H A D | hdlc_raw.c | 67 if (new_settings.encoding == ENCODING_DEFAULT) in raw_ioctl() 68 new_settings.encoding = ENCODING_NRZ; in raw_ioctl() 73 result = hdlc->attach(dev, new_settings.encoding, in raw_ioctl()
|
| H A D | hdlc_raw_eth.c | 83 if (new_settings.encoding == ENCODING_DEFAULT) in raw_eth_ioctl() 84 new_settings.encoding = ENCODING_NRZ; in raw_eth_ioctl() 89 result = hdlc->attach(dev, new_settings.encoding, in raw_eth_ioctl()
|
| /linux/drivers/gpu/drm/amd/display/dc/dce/ |
| H A D | dce_audio.c | 274 enum dp_link_encoding encoding, in get_audio_layout_config() argument 280 if (encoding == DP_8b_10b_ENCODING) { in get_audio_layout_config() 290 } else if (encoding == DP_128b_132b_ENCODING) { in get_audio_layout_config() 304 enum dp_link_encoding encoding, in get_av_stream_map_lane_count() argument 310 if (encoding == DP_8b_10b_ENCODING) { in get_av_stream_map_lane_count() 315 } else if (encoding == DP_128b_132b_ENCODING) { in get_av_stream_map_lane_count() 325 enum dp_link_encoding encoding, in get_audio_sdp_overhead() argument 331 if (encoding == DP_8b_10b_ENCODING) { in get_audio_sdp_overhead() 336 } else if (encoding == DP_128b_132b_ENCODING) { in get_audio_sdp_overhead() 481 if (!dp_link_info->is_mst && dp_link_info->encoding == DP_8b_10b_ENCODING) in check_audio_bandwidth_dp() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/link/protocols/ |
| H A D | link_dp_training.c | 385 enum dp_link_encoding encoding = link_dp_get_encoding_format(link_settings); in get_dpcd_link_rate() local 387 if (encoding == DP_128b_132b_ENCODING) in get_dpcd_link_rate() 402 else if (encoding == DP_8b_10b_ENCODING) in get_dpcd_link_rate() 842 enum dp_link_encoding encoding = link_dp_get_encoding_format(link_setting); in dp_decide_lttpr_mode() local 844 if (encoding == DP_8b_10b_ENCODING) in dp_decide_lttpr_mode() 846 else if (encoding == DP_128b_132b_ENCODING) in dp_decide_lttpr_mode() 927 enum dp_link_encoding encoding = dc->link_srv->dp_get_encoding_format(<_settings->link_settings); in configure_lttpr_mode_non_transparent() local 929 if (encoding == DP_8b_10b_ENCODING) { in configure_lttpr_mode_non_transparent() 956 if (encoding == DP_8b_10b_ENCODING) { in configure_lttpr_mode_non_transparent() 1017 … link_training_result dpcd_exit_training_mode(struct dc_link *link, enum dp_link_encoding encoding) in dpcd_exit_training_mode() argument [all …]
|
| /linux/Documentation/bpf/ |
| H A D | btf.rst | 53 The magic is ``0xeB9F``, which has different encoding for big and little 124 The following sections detail encoding of each kind. 129 ``struct btf_type`` encoding requirement: 149 bool, for the int type. The char and bool encoding are mostly useful for 150 pretty print. At most one encoding can be specified for the int type. 175 bitfield encoding. Currently, both llvm and pahole generate 181 ``struct btf_type`` encoding requirement: 193 ``struct btf_type`` encoding requirement: 208 The ``struct btf_array`` encoding: 238 ``struct btf_type`` encoding requirement: [all …]
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | dp_mon.c | 22 rx_status->encoding = RX_ENC_LEGACY; in ath12k_dp_mon_fill_rx_stats_info() 135 rx_status->encoding = RX_ENC_HT; in ath12k_dp_mon_fill_rx_rate() 147 rx_status->encoding = RX_ENC_VHT; in ath12k_dp_mon_fill_rx_rate() 166 rx_status->encoding = RX_ENC_HE; in ath12k_dp_mon_fill_rx_rate() 177 rx_status->encoding = RX_ENC_EHT; in ath12k_dp_mon_fill_rx_rate() 431 rxs->encoding = RX_ENC_EHT; in ath12k_dp_mon_update_radiotap() 466 rxs->encoding = RX_ENC_HE; in ath12k_dp_mon_update_radiotap() 471 rxs->encoding = RX_ENC_HE; in ath12k_dp_mon_update_radiotap() 476 rxs->encoding = RX_ENC_VHT; in ath12k_dp_mon_update_radiotap() 479 rxs->encoding = RX_ENC_HT; in ath12k_dp_mon_update_radiotap() [all …]
|
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | toeplitz.py | 30 with open(rps_file, "r", encoding="utf-8") as fp: 36 with open(rfs_file, "r", encoding="utf-8") as fp: 44 encoding="utf-8") as fp: 105 with open(rps_file, "w", encoding="utf-8") as fp:
|
| /linux/tools/perf/util/ |
| H A D | tp_pmu.c | 112 char encoding[16 + 22]; in for_each_event_cb() local 130 snprintf(encoding, sizeof(encoding), "tracepoint/config=0x%x/", id); in for_each_event_cb() 131 info.encoding_desc = encoding; in for_each_event_cb()
|
| /linux/security/integrity/ |
| H A D | digsig_asymmetric.c | 113 pks.encoding = "pkcs1"; in asymmetric_verify() 116 pks.encoding = "x962"; in asymmetric_verify() 118 pks.encoding = "raw"; in asymmetric_verify()
|