Home
last modified time | relevance | path

Searched refs:encoding (Results 1 – 25 of 268) sorted by relevance

1234567891011

/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Dethtool-fec.sh21 $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/Documentation/userspace-api/media/v4l/
H A Dcolorspaces-defs.rst11 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 Dcolorspaces-details.rst16 ``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 …]
H A Dvidioc-subdev-enum-mbus-code.rst116 encoding. The application can ask to configure the colorspace of the
130 encoding. The application can ask to configure the Y'CbCr encoding of the
137 encoding. The application can ask to configure the HSV encoding of the
/linux/tools/testing/selftests/kvm/include/x86/
H A Dvmx.h389 static inline int __vmread(u64 encoding, u64 *value) in vmlaunch()
395 return evmcs_vmread(encoding, value); in vmlaunch()
397 __asm__ __volatile__("vmread %[encoding], %[value]; setna %[ret]" in vmlaunch()
399 : [encoding]"r"(encoding) in vmlaunch()
407 static inline u64 vmread(u64 encoding) in vmresume()
411 __GUEST_ASSERT(!__vmread(encoding, &value), in vmresume()
412 "vmread[0x%lx] hit VM-Fail", encoding); in vmresume()
416 static __always_inline int __vmwrite(u64 encoding, u64 value) in vmresume()
421 return evmcs_vmwrite(encoding, valu in vmresume()
450 vmread(u64 encoding,u64 * value) vmread() argument
471 vmreadz(u64 encoding) vmreadz() argument
478 vmwrite(u64 encoding,u64 value) vmwrite() argument
[all...]
/linux/drivers/media/test-drivers/vicodec/
H A Dcodec-fwht.c693 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 Dcodec-v4l2-fwht.c220 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/tools/testing/selftests/bpf/
H A Dtest_btf.h15 #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/net/mac80211/
H A Dairtime.c536 switch (status->encoding) { in ieee80211_get_rate_duration()
564 switch (status->encoding) { in ieee80211_get_rate_duration()
594 if (status->encoding == RX_ENC_LEGACY) { in ieee80211_calc_rx_airtime()
658 stat->encoding = RX_ENC_EHT; in ieee80211_fill_rate_info()
660 stat->encoding = RX_ENC_HE; in ieee80211_fill_rate_info()
662 stat->encoding = RX_ENC_VHT; in ieee80211_fill_rate_info()
664 stat->encoding = RX_ENC_HT; in ieee80211_fill_rate_info()
666 stat->encoding = RX_ENC_LEGACY; in ieee80211_fill_rate_info()
671 switch (stat->encoding) { in ieee80211_fill_rate_info()
680 if (stat->encoding ! in ieee80211_fill_rate_info()
[all...]
/linux/drivers/net/wireless/intel/ipw2x00/
H A Dlibipw_wx.c297 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 Ddwarf.c224 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 Dhdlc_raw.c67 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 Dhdlc_raw_eth.c83 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()
H A Dhd64572.c416 switch (port->encoding) { in sca_open()
496 static int sca_attach(struct net_device *dev, unsigned short encoding, in sca_attach() argument
499 if (encoding != ENCODING_NRZ && in sca_attach()
500 encoding != ENCODING_NRZI && in sca_attach()
501 encoding != ENCODING_FM_MARK && in sca_attach()
502 encoding != ENCODING_FM_SPACE && in sca_attach()
503 encoding != ENCODING_MANCHESTER) in sca_attach()
513 dev_to_port(dev)->encoding = encoding; in sca_attach()
H A Dhd64570.c459 switch (port->encoding) { in sca_open()
550 static int sca_attach(struct net_device *dev, unsigned short encoding, in sca_attach() argument
553 if (encoding != ENCODING_NRZ && in sca_attach()
554 encoding != ENCODING_NRZI && in sca_attach()
555 encoding != ENCODING_FM_MARK && in sca_attach()
556 encoding != ENCODING_FM_SPACE && in sca_attach()
557 encoding != ENCODING_MANCHESTER) in sca_attach()
567 dev_to_port(dev)->encoding = encoding; in sca_attach()
/linux/security/integrity/
H A Ddigsig_asymmetric.c114 pks.encoding = "pkcs1"; in asymmetric_verify()
117 pks.encoding = "x962"; in asymmetric_verify()
119 pks.encoding = "raw"; in asymmetric_verify()
211 * @encoding: The encoding the key type uses
223 const char *encoding,
241 .encoding = encoding,
/linux/tools/perf/util/
H A Dtp_pmu.c112 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/tools/testing/selftests/bpf/progs/
H A Dsyscall.c31 #define BTF_INT_ENC(encoding, bits_offset, nr_bits) \ argument
32 ((encoding) << 24 | (bits_offset) << 16 | (nr_bits))
33 #define BTF_TYPE_INT_ENC(name, encoding, bits_offset, bits, sz) \ argument
35 BTF_INT_ENC(encoding, bits_offset, bits)
/linux/tools/testing/selftests/kvm/arm64/
H A Dset_id_regs.c437 #define encoding_to_range_idx(encoding) \
438 KVM_ARM_FEATURE_ID_RANGE_IDX(sys_reg_Op0(encoding), sys_reg_Op1(encoding), \
439 sys_reg_CRn(encoding), sys_reg_CRm(encoding), \
440 sys_reg_Op2(encoding))
776 static void test_assert_id_reg_unchanged(struct kvm_vcpu *vcpu, u32 encoding) in test_assert_id_reg_unchanged()
778 size_t idx = encoding_to_range_idx(encoding); in test_assert_id_reg_unchanged()
781 observed = vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(encoding)); in test_assert_id_reg_unchanged()
782 TEST_ASSERT_EQ(reset_mutable_bits(encoding, test_reg_val in test_assert_id_reg_unchanged()
436 encoding_to_range_idx(encoding) global() argument
775 test_assert_id_reg_unchanged(struct kvm_vcpu * vcpu,u32 encoding) test_assert_id_reg_unchanged() argument
[all...]
/linux/Documentation/userspace-api/media/rc/
H A Drc-protos.rst32 This IR protocol uses manchester encoding to encode 14 bits. There is a
35 The scancode encoding is *not* consistent with the lirc daemon (lircd) rc5
79 This is done so it the scancodes and encoding is compatible with existing
191 The sony protocol is a pulse-width encoding. There are three variants,
192 which just differ in number of bits and scancode encoding.
218 The sony protocol is a pulse-width encoding. There are three variants,
219 which just differ in number of bits and scancode encoding.
245 The sony protocol is a pulse-width encoding. There are three variants,
246 which just differ in number of bits and scancode encoding.
305 The scancode has a somewhat unusual encoding.
/linux/tools/testing/selftests/drivers/net/hw/
H A Dtoeplitz.py32 with open(rps_file, "r", encoding="utf-8") as fp:
38 with open(rfs_file, "r", encoding="utf-8") as fp:
46 encoding="utf-8") as fp:
/linux/drivers/platform/raspberrypi/vchiq-mmal/
H A Dmmal-msg-format.h60 u32 encoding; /* FourCC specifying encoding of the elementary member
86 u32 encoding; /* FourCC specifying encoding of the elementary member
/linux/Documentation/sphinx/
H A Dkernel_include.py138 'encoding': directives.encoding,
155 def read_rawtext(self, path, encoding): argument
160 encoding=encoding,
386 encoding = self.options.get("encoding",
395 rawtext = self.read_rawtext(path, encoding)
/linux/drivers/input/misc/
H A Drotary_encoder.c42 enum rotary_encoder_encoding encoding; member
64 /* convert from gray encoding to normal */ in rotary_encoder_get_state()
65 if (encoder->encoding == ROTENC_GRAY && ret & 1) in rotary_encoder_get_state()
213 if (!device_property_present(dev, "rotary-encoder,encoding") || in rotary_encoder_probe()
214 !device_property_match_string(dev, "rotary-encoder,encoding", in rotary_encoder_probe()
217 encoder->encoding = ROTENC_GRAY; in rotary_encoder_probe()
218 } else if (!device_property_match_string(dev, "rotary-encoder,encoding", in rotary_encoder_probe()
221 encoder->encoding = ROTENC_BINARY; in rotary_encoder_probe()
223 dev_err(dev, "unknown encoding setting\n"); in rotary_encoder_probe()
/linux/Documentation/crypto/
H A Dkrb5.rst62 The encoding type is defined by the following structure::
82 * ``etype`` and ``ctype`` indicate the protocol number for this encoding
86 * ``name`` is the formal name of the encoding.
102 The encoding type is looked up by number using the following function::
149 All these functions take the encoding type and an indication the mode of crypto
193 Both of these functions take the encoding type, the transport key and the usage
220 data are indicated (which must match the encoding). If no confounder is set,
251 are indicated (which must match the encoding).

1234567891011