Home
last modified time | relevance | path

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

12345

/drivers/gpu/drm/sun4i/
Dsun8i_csc.c155 enum drm_color_encoding encoding, in sun8i_csc_set_coefficients() argument
163 table = yuv2rgb[range][encoding]; in sun8i_csc_set_coefficients()
166 table = yvu2rgb[range][encoding]; in sun8i_csc_set_coefficients()
179 enum drm_color_encoding encoding, in sun8i_de3_ccsc_set_coefficients() argument
187 table = yuv2rgb_de3[range][encoding]; in sun8i_de3_ccsc_set_coefficients()
190 table = yvu2rgb_de3[range][encoding]; in sun8i_de3_ccsc_set_coefficients()
230 enum drm_color_encoding encoding, in sun8i_csc_set_ccsc_coefficients() argument
237 mode, encoding, range); in sun8i_csc_set_ccsc_coefficients()
244 mode, encoding, range); in sun8i_csc_set_ccsc_coefficients()
Dsun8i_csc.h32 enum drm_color_encoding encoding,
/drivers/media/platform/vicodec/
Dcodec-fwht.c692 u32 encoding = 0; in encode_plane() local
715 encoding |= FWHT_FRAME_PCODED; in encode_plane()
746 encoding |= FWHT_FRAME_UNENCODED; in encode_plane()
754 if (encoding & FWHT_FRAME_UNENCODED) { in encode_plane()
771 encoding &= ~FWHT_FRAME_PCODED; in encode_plane()
773 return encoding; in encode_plane()
786 u32 encoding; in fwht_encode_frame() local
789 encoding = encode_plane(frm->luma, ref_frm->luma, &rlco, rlco_max, cf, in fwht_encode_frame()
792 if (encoding & FWHT_FRAME_UNENCODED) in fwht_encode_frame()
793 encoding |= FWHT_LUMA_UNENCODED; in fwht_encode_frame()
[all …]
Dcodec-v4l2-fwht.c236 u32 encoding; in v4l2_fwht_encode() local
256 encoding = fwht_encode_frame(&rf, &state->ref_frame, &cf, in v4l2_fwht_encode()
262 if (!(encoding & FWHT_FRAME_PCODED)) in v4l2_fwht_encode()
275 if (encoding & FWHT_LUMA_UNENCODED) in v4l2_fwht_encode()
277 if (encoding & FWHT_CB_UNENCODED) in v4l2_fwht_encode()
279 if (encoding & FWHT_CR_UNENCODED) in v4l2_fwht_encode()
281 if (encoding & FWHT_ALPHA_UNENCODED) in v4l2_fwht_encode()
283 if (!(encoding & FWHT_FRAME_PCODED)) in v4l2_fwht_encode()
/drivers/pci/pcie/
Daspm.c306 static u32 calc_l0s_latency(u32 encoding) in calc_l0s_latency() argument
308 if (encoding == 0x7) in calc_l0s_latency()
310 return (64 << encoding); in calc_l0s_latency()
314 static u32 calc_l0s_acceptable(u32 encoding) in calc_l0s_acceptable() argument
316 if (encoding == 0x7) in calc_l0s_acceptable()
318 return (64 << encoding); in calc_l0s_acceptable()
322 static u32 calc_l1_latency(u32 encoding) in calc_l1_latency() argument
324 if (encoding == 0x7) in calc_l1_latency()
326 return (1000 << encoding); in calc_l1_latency()
330 static u32 calc_l1_acceptable(u32 encoding) in calc_l1_acceptable() argument
[all …]
/drivers/net/wireless/intel/ipw2x00/
Dlibipw_wx.c300 struct iw_point *erq = &(wrqu->encoding); in libipw_wx_set_encode()
466 struct iw_point *erq = &(wrqu->encoding); in libipw_wx_get_encode()
507 struct iw_point *encoding = &wrqu->encoding; in libipw_wx_set_encodeext() local
519 idx = encoding->flags & IW_ENCODE_INDEX; in libipw_wx_set_encodeext()
541 if ((encoding->flags & IW_ENCODE_DISABLED) || in libipw_wx_set_encodeext()
667 struct iw_point *encoding = &wrqu->encoding; in libipw_wx_get_encodeext() local
672 max_key_len = encoding->length - sizeof(*ext); in libipw_wx_get_encodeext()
676 idx = encoding->flags & IW_ENCODE_INDEX; in libipw_wx_get_encodeext()
689 encoding->flags = idx + 1; in libipw_wx_get_encodeext()
695 encoding->flags |= IW_ENCODE_DISABLED; in libipw_wx_get_encodeext()
[all …]
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_wx.c277 struct iw_point *erq = &(wrqu->encoding); in ieee80211_wx_set_encode()
450 struct iw_point *erq = &(wrqu->encoding); in ieee80211_wx_get_encode()
495 struct iw_point *encoding = &wrqu->encoding; in ieee80211_wx_set_encode_ext() local
506 idx = encoding->flags & IW_ENCODE_INDEX; in ieee80211_wx_set_encode_ext()
532 if ((encoding->flags & IW_ENCODE_DISABLED) || in ieee80211_wx_set_encode_ext()
659 struct iw_point *encoding = &wrqu->encoding; in ieee80211_wx_get_encode_ext() local
664 max_key_len = encoding->length - sizeof(*ext); in ieee80211_wx_get_encode_ext()
668 idx = encoding->flags & IW_ENCODE_INDEX; in ieee80211_wx_get_encode_ext()
682 encoding->flags = idx + 1; in ieee80211_wx_get_encode_ext()
688 encoding->flags |= IW_ENCODE_DISABLED; in ieee80211_wx_get_encode_ext()
[all …]
/drivers/net/wan/
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()
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()
Dhd64572.c428 switch(port->encoding) { in sca_open()
492 static int sca_attach(struct net_device *dev, unsigned short encoding, in sca_attach() argument
495 if (encoding != ENCODING_NRZ && in sca_attach()
496 encoding != ENCODING_NRZI && in sca_attach()
497 encoding != ENCODING_FM_MARK && in sca_attach()
498 encoding != ENCODING_FM_SPACE && in sca_attach()
499 encoding != ENCODING_MANCHESTER) in sca_attach()
509 dev_to_port(dev)->encoding = encoding; in sca_attach()
Dhd64570.c464 switch(port->encoding) { in sca_open()
539 static int sca_attach(struct net_device *dev, unsigned short encoding, in sca_attach() argument
542 if (encoding != ENCODING_NRZ && in sca_attach()
543 encoding != ENCODING_NRZI && in sca_attach()
544 encoding != ENCODING_FM_MARK && in sca_attach()
545 encoding != ENCODING_FM_SPACE && in sca_attach()
546 encoding != ENCODING_MANCHESTER) in sca_attach()
556 dev_to_port(dev)->encoding = encoding; in sca_attach()
Dwanxl.c316 static int wanxl_attach(struct net_device *dev, unsigned short encoding, in wanxl_attach() argument
321 if (encoding != ENCODING_NRZ && in wanxl_attach()
322 encoding != ENCODING_NRZI) in wanxl_attach()
332 get_status(port)->encoding = encoding; in wanxl_attach()
Dhostess_sv11.c169 static int hostess_attach(struct net_device *dev, unsigned short encoding, in hostess_attach() argument
172 if (encoding == ENCODING_NRZ && parity == PARITY_CRC16_PR1_CCITT) in hostess_attach()
/drivers/staging/rtl8192u/
Dr8192U_wx.c528 if (wrqu->encoding.length != 0) { in r8192_wx_set_enc()
532 if (i == 1 && (4*i+1) == wrqu->encoding.length) in r8192_wx_set_enc()
534 if (i == 3 && (4*i+1) == wrqu->encoding.length) in r8192_wx_set_enc()
544 switch (wrqu->encoding.flags & IW_ENCODE_INDEX) { in r8192_wx_set_enc()
564 if (wrqu->encoding.length == 0x5) { in r8192_wx_set_enc()
578 else if (wrqu->encoding.length == 0xd) { in r8192_wx_set_enc()
738 struct iw_point *encoding = &wrqu->encoding; in r8192_wx_set_enc_ext() local
741 if ((encoding->flags & IW_ENCODE_DISABLED) || ext->alg == IW_ENCODE_ALG_NONE) in r8192_wx_set_enc_ext()
747 idx = encoding->flags & IW_ENCODE_INDEX; in r8192_wx_set_enc_ext()
/drivers/staging/vc04_services/bcm2835-camera/
Dmmal-msg-format.h58 u32 encoding; /* FourCC specifying encoding of the elementary member
84 u32 encoding; /* FourCC specifying encoding of the elementary member
Dbcm2835-camera.c1063 camera_port->format.encoding = MMAL_ENCODING_OPAQUE; in mmal_setup_components()
1065 camera_port->format.encoding = mfmt->mmal; in mmal_setup_components()
1068 if (camera_port->format.encoding == MMAL_ENCODING_RGB24) in mmal_setup_components()
1069 camera_port->format.encoding = MMAL_ENCODING_BGR24; in mmal_setup_components()
1070 else if (camera_port->format.encoding == MMAL_ENCODING_BGR24) in mmal_setup_components()
1071 camera_port->format.encoding = MMAL_ENCODING_RGB24; in mmal_setup_components()
1180 port->format.encoding = mfmt->mmal; in mmal_setup_components()
1223 if (port->format.encoding == in mmal_setup_components()
1262 port->format.encoding, in mmal_setup_components()
1610 format->encoding = MMAL_ENCODING_OPAQUE; in mmal_init()
[all …]
/drivers/input/misc/
Drotary_encoder.c42 enum rotary_encoder_encoding encoding; member
65 if (encoder->encoding == ROTENC_GRAY && ret & 1) in rotary_encoder_get_state()
224 encoder->encoding = ROTENC_GRAY; in rotary_encoder_probe()
228 encoder->encoding = ROTENC_BINARY; in rotary_encoder_probe()
/drivers/net/wireless/intersil/orinoco/
Dwext.c725 struct iw_point *encoding = &wrqu->encoding; in orinoco_ioctl_set_encodeext() local
735 idx = encoding->flags & IW_ENCODE_INDEX; in orinoco_ioctl_set_encodeext()
743 if (encoding->flags & IW_ENCODE_DISABLED) in orinoco_ioctl_set_encodeext()
819 struct iw_point *encoding = &wrqu->encoding; in orinoco_ioctl_get_encodeext() local
829 max_key_len = encoding->length - sizeof(*ext); in orinoco_ioctl_get_encodeext()
833 idx = encoding->flags & IW_ENCODE_INDEX; in orinoco_ioctl_get_encodeext()
841 encoding->flags = idx + 1; in orinoco_ioctl_get_encodeext()
848 encoding->flags |= IW_ENCODE_DISABLED; in orinoco_ioctl_get_encodeext()
854 encoding->flags |= IW_ENCODE_ENABLED; in orinoco_ioctl_get_encodeext()
860 encoding->flags |= IW_ENCODE_ENABLED; in orinoco_ioctl_get_encodeext()
/drivers/staging/rtl8192e/rtl8192e/
Drtl_wx.c687 if (wrqu->encoding.flags & IW_ENCODE_DISABLED) { in _rtl92e_wx_set_enc()
694 if (wrqu->encoding.length != 0) { in _rtl92e_wx_set_enc()
697 if (i == 1 && (4 * i + 1) == wrqu->encoding.length) in _rtl92e_wx_set_enc()
699 if (i == 3 && (4 * i + 1) == wrqu->encoding.length) in _rtl92e_wx_set_enc()
706 switch (wrqu->encoding.flags & IW_ENCODE_INDEX) { in _rtl92e_wx_set_enc()
725 if (wrqu->encoding.length == 0x5) { in _rtl92e_wx_set_enc()
730 else if (wrqu->encoding.length == 0xd) { in _rtl92e_wx_set_enc()
888 struct iw_point *encoding = &wrqu->encoding; in _rtl92e_wx_set_encode_ext() local
891 if ((encoding->flags & IW_ENCODE_DISABLED) || in _rtl92e_wx_set_encode_ext()
902 idx = encoding->flags & IW_ENCODE_INDEX; in _rtl92e_wx_set_encode_ext()
/drivers/staging/wlan-ng/
Dp80211conv.h78 unsigned int encoding; /* P80211ENUM_encoding_* */ member
122 __be32 encoding; member
/drivers/gpu/drm/
Ddrm_color_mgmt.c369 const char *drm_get_color_encoding_name(enum drm_color_encoding encoding) in drm_get_color_encoding_name() argument
371 if (WARN_ON(encoding >= ARRAY_SIZE(color_encoding_name))) in drm_get_color_encoding_name()
374 return color_encoding_name[encoding]; in drm_get_color_encoding_name()
/drivers/net/wireless/intersil/prism54/
Disl_ioctl.c1543 struct iw_point *encoding = &wrqu->encoding; in prism54_set_encodeext() local
1554 idx = (encoding->flags & IW_ENCODE_INDEX) - 1; in prism54_set_encodeext()
1565 if (encoding->flags & IW_ENCODE_DISABLED) in prism54_set_encodeext()
1614 if (encoding->flags & IW_ENCODE_DISABLED) { in prism54_set_encodeext()
1620 if (encoding->flags & IW_ENCODE_OPEN) { in prism54_set_encodeext()
1624 if (encoding->flags & IW_ENCODE_RESTRICTED) { in prism54_set_encodeext()
1632 if (encoding->flags & IW_ENCODE_MODE) { in prism54_set_encodeext()
1652 struct iw_point *encoding = &wrqu->encoding; in prism54_get_encodeext() local
1672 max_key_len = encoding->length - sizeof(*ext); in prism54_get_encodeext()
1676 idx = (encoding->flags & IW_ENCODE_INDEX) - 1; in prism54_get_encodeext()
[all …]
/drivers/staging/rtl8192e/
Drtllib_wx.c291 struct iw_point *erq = &(wrqu->encoding); in rtllib_wx_set_encode()
468 struct iw_point *erq = &(wrqu->encoding); in rtllib_wx_get_encode()
515 struct iw_point *encoding = &wrqu->encoding; in rtllib_wx_set_encode_ext() local
526 idx = encoding->flags & IW_ENCODE_INDEX; in rtllib_wx_set_encode_ext()
548 if ((encoding->flags & IW_ENCODE_DISABLED) || in rtllib_wx_set_encode_ext()
/drivers/net/wireless/realtek/rtw88/
Drx.c104 rx_status->encoding = RX_ENC_VHT; in rtw_rx_fill_rx_status()
106 rx_status->encoding = RX_ENC_HT; in rtw_rx_fill_rx_status()
/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_keys.h147 u16 encoding; /* block ID */ member
154 .encoding = _encoding, \

12345