| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/ |
| H A D | simple-card.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/simple-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 14 frame-master: 15 description: Indicates dai-link frame master. 16 $ref: /schemas/types.yaml#/definitions/phandle-array 19 bitclock-master: 20 description: Indicates dai-link bit clock master [all …]
|
| /OK3568_Linux_fs/kernel/sound/isa/sb/ |
| H A D | emu8000_pcm.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 * define the following if you want to use this pcm with non-interleaved mode 21 /* NOTE: for using the non-interleaved mode with alsa-lib, you have to set 34 * besides, for the time being, the non-interleaved mode doesn't work well on 35 * alsa-lib... 65 * open up channels for the simultaneous data transfer and playback 68 emu8k_open_dram_for_pcm(struct snd_emu8000 *emu, int channels) in emu8k_open_dram_for_pcm() argument 73 snd_emux_lock_voice(emu->emu, 0); in emu8k_open_dram_for_pcm() 74 if (channels > 1) in emu8k_open_dram_for_pcm() 75 snd_emux_lock_voice(emu->emu, 1); in emu8k_open_dram_for_pcm() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | example2.c | 17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 31 * Reads input file and displays a few seconds of wave-form, starting from 40 * display the wave-form: */ in main() 50 ++argv, --argc; /* Move to 1st parameter */ in main() 54 ++argv, --argc; /* Move past this parameter */ in main() 58 ++argv, --argc; /* Move past this parameter */ in main() 63 ++argv, --argc; /* Move past this parameter */ in main() 67 seek = start_secs * in->signal.rate * in->signal.channels + .5; in main() 69 seek -= seek % in->signal.channels; in main() 73 /* Convert block size (in seconds) to a number of samples: */ in main() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/iio/adc/ |
| H A D | da9150-gpadc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 23 /* Channels */ 88 complete(&gpadc->complete); in da9150_gpadc_irq() 98 mutex_lock(&gpadc->lock); in da9150_gpadc_read_adc() 101 da9150_reg_write(gpadc->da9150, DA9150_GPADC_MAN, in da9150_gpadc_read_adc() 105 /* Consume left-over completion from a previous timeout */ in da9150_gpadc_read_adc() 106 try_wait_for_completion(&gpadc->complete); in da9150_gpadc_read_adc() 109 wait_for_completion_timeout(&gpadc->complete, msecs_to_jiffies(5)); in da9150_gpadc_read_adc() 112 da9150_bulk_read(gpadc->da9150, DA9150_GPADC_RES_A, 2, result_regs); in da9150_gpadc_read_adc() 114 mutex_unlock(&gpadc->lock); in da9150_gpadc_read_adc() [all …]
|
| H A D | ad7887.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2010-2011 Analog Devices Inc. 28 #define AD7887_REF_DIS BIT(5) /* on-chip reference disable */ 29 #define AD7887_DUAL BIT(4) /* dual-channel mode */ 30 #define AD7887_CH_AIN1 BIT(3) /* convert on channel 1, DUAL=1 */ 31 #define AD7887_CH_AIN0 0 /* convert on channel 0, DUAL=0,1 */ 44 * struct ad7887_chip_info - chip specifc information 46 * @channels: channels specification 47 * @num_channels: number of channels 48 * @dual_channels: channels specification in dual mode [all …]
|
| /OK3568_Linux_fs/kernel/drivers/interconnect/qcom/ |
| H A D | icc-rpmh.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 #include <dt-bindings/interconnect/qcom,icc.h> 15 * struct qcom_icc_provider - Qualcomm specific interconnect provider 31 * struct bcm_db - Auxiliary data pertaining to each Bus Clock Manager (BCM) 32 * @unit: divisor used to convert bytes/sec bw value to an RPMh msg 33 * @width: multiplier used to convert bytes/sec bw value to an RPMh msg 50 * struct qcom_icc_node - Qualcomm specific interconnect nodes 55 * @channels: num of channels at this node 67 u16 channels; member 76 * struct qcom_icc_bcm - Qualcomm specific hardware accelerator nodes [all …]
|
| /OK3568_Linux_fs/kernel/sound/core/oss/ |
| H A D | linear.c | 2 * Linear conversion Plug-In 4 * Abramo Bagnara <abramo@alsa-project.org> 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 48 memcpy(p + data->copy_ofs, src + data->src_ofs, data->copy_bytes); in do_convert() 49 if (data->cvt_endian) in do_convert() 51 tmp ^= data->flip; in do_convert() 52 memcpy(dst, p + data->dst_ofs, data->dst_bytes); in do_convert() 55 static void convert(struct snd_pcm_plugin *plugin, in convert() function 60 struct linear_priv *data = (struct linear_priv *)plugin->extra_data; in convert() 62 int nchannels = plugin->src_format.channels; in convert() [all …]
|
| H A D | mulaw.c | 2 * Mu-Law conversion Plug-In Interface 4 * Uros Bizjak <uros@kss-loka.si> 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 29 #define SIGN_BIT (0x80) /* Sign bit for a u-law byte. */ 31 #define NSEGS (8) /* Number of u-law segments. */ 55 * linear2ulaw() - Convert a linear PCM value to u-law 58 * is biased by adding 33 which shifts the encoding range from (0 - 8158) to 59 * (33 - 8191). The result can be seen in the following encoding table: 62 * ------------------------ --------------- 75 * four bits wxyz. * The trailing bits (a - h) are ignored. [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/iio/ |
| H A D | iio.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 37 * struct iio_chan_spec_ext_info - Extended channel info attribute 39 * @shared: Whether this attribute is shared between all channels. 56 * struct iio_enum - Enum channel info attribute 87 * IIO_ENUM() - Initialize enum extended channel attribute 89 * @_shared: Whether the attribute is shared between all channels 104 * IIO_ENUM_AVAILABLE() - Initialize enum available extended channel attribute 120 * struct iio_mount_matrix - iio mounting matrix 138 * IIO_MOUNT_MATRIX() - Initialize mount matrix extended channel attribute 139 * @_shared: Whether the attribute is shared between all channels [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | bcmwifi_channels.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * Copyright (C) 1999-2017, Broadcom Corporation 28 * <<Broadcom-WL-IPTag/Open:>> 30 * $Id: bcmwifi_channels.h 612483 2016-01-14 03:44:27Z $ 48 #define CH_5MHZ_APART 1 /* 2G band channels are 5 Mhz apart */ 51 /* maximum # channels the s/w supports */ 52 #define MAXCHANNEL 224 /* max # supported channels. The max channel no is above, 54 * DO NOT MAKE it > 255: channels are uint8's all over 56 #define MAXCHANNEL_NUM (MAXCHANNEL - 1) /* max channel number */ 60 uint8 vec[MAXCHANNEL/8]; /* bitvec of channels */ [all …]
|
| H A D | bcmwifi_channels.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Misc utility routines used by kernel or app-level. 4 * Contents are wifi-specific, used by any kernel or app-level 7 * Copyright (C) 1999-2017, Broadcom Corporation 28 * <<Broadcom-WL-IPTag/Open:>> 30 * $Id: bcmwifi_channels.c 612483 2016-01-14 03:44:27Z $ 40 #define tolower(c) (bcm_isupper((c)) ? ((c) + 'a' - 'A') : (c)) 59 * [<band> 'g'] <channel> ['/'<bandwidth> [<ctl-sideband>]['/'<1st80channel>'-'<2nd80channel>]] 69 * <primary-sideband>: 72 * For 2.4GHz band 40MHz channels, the same primary channel may be the [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | bcmwifi_channels.h | 8 * Copyright (C) 1999-2017, Broadcom Corporation 29 * <<Broadcom-WL-IPTag/Open:>> 31 * $Id: bcmwifi_channels.h 695288 2017-04-19 17:20:39Z $ 48 #define CH_5MHZ_APART 1 /* 2G band channels are 5 Mhz apart */ 55 /* maximum # channels the s/w supports */ 56 #define MAXCHANNEL 224 /* max # supported channels. The max channel no is above, 58 * DO NOT MAKE it > 255: channels are uint8's all over 60 #define MAXCHANNEL_NUM (MAXCHANNEL - 1) /* max channel number */ 66 uint8 vec[MAXCHANNEL/8]; /* bitvec of channels */ 73 (ABS(wf_chspec_ctlchan(sp1) - wf_chspec_ctlchan(sp2)) < (sep)) [all …]
|
| H A D | bcmwifi_channels.c | 2 * Misc utility routines used by kernel or app-level. 3 * Contents are wifi-specific, used by any kernel or app-level 8 * Copyright (C) 1999-2017, Broadcom Corporation 29 * <<Broadcom-WL-IPTag/Open:>> 31 * $Id: bcmwifi_channels.c 695288 2017-04-19 17:20:39Z $ 41 #define tolower(c) (bcm_isupper((c)) ? ((c) + 'a' - 'A') : (c)) 62 * [<band> 'g'] <channel> ['/'<bandwidth> [<primary-sideband>]['/'<1st80channel>'-'<2nd80channel>]] 72 * <primary-sideband>: 75 * For 2.4GHz band 40MHz channels, the same primary channel may be the 81 * 40MHz, the U/L specificaion is not allowed since the channels are [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/OpenCV-android-sdk/sdk/native/jni/include/opencv2/core/ |
| H A D | ippasync.hpp | 13 // Copyright (C) 2000-2015, Intel Corporation, all rights reserved. 62 C/C++](http://software.intel.com/en-us/intel-ipp-preview) library. [Getting Started 68 //! convert OpenCV data type to hppDataType 77 depth == CV_64F ? HPP_DATA_TYPE_64F : -1; in toHppType() 82 //! convert hppDataType to OpenCV data type 90 hppType == HPP_DATA_TYPE_64F ? CV_64F : -1; in toCvType() 95 /** @brief Convert hppiMatrix to Mat. 102 @param cn number of channels. 138 @param cn number of channels. 153 If you want to use zero-copy for GPU you should to have 4KB aligned matrix data. See details [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/core/ |
| H A D | ippasync.hpp | 13 // Copyright (C) 2000-2015, Intel Corporation, all rights reserved. 62 C/C++](http://software.intel.com/en-us/intel-ipp-preview) library. [Getting Started 68 //! convert OpenCV data type to hppDataType 77 depth == CV_64F ? HPP_DATA_TYPE_64F : -1; in toHppType() 82 //! convert hppDataType to OpenCV data type 90 hppType == HPP_DATA_TYPE_64F ? CV_64F : -1; in toCvType() 95 /** @brief Convert hppiMatrix to Mat. 102 @param cn number of channels. 138 @param cn number of channels. 153 If you want to use zero-copy for GPU you should to have 4KB aligned matrix data. See details [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-armhf/include/opencv2/core/ |
| H A D | ippasync.hpp | 13 // Copyright (C) 2000-2015, Intel Corporation, all rights reserved. 62 C/C++](http://software.intel.com/en-us/intel-ipp-preview) library. [Getting Started 68 //! convert OpenCV data type to hppDataType 77 depth == CV_64F ? HPP_DATA_TYPE_64F : -1; in toHppType() 82 //! convert hppDataType to OpenCV data type 90 hppType == HPP_DATA_TYPE_64F ? CV_64F : -1; in toCvType() 95 /** @brief Convert hppiMatrix to Mat. 102 @param cn number of channels. 138 @param cn number of channels. 153 If you want to use zero-copy for GPU you should to have 4KB aligned matrix data. See details [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | bcmwifi_channels.h | 8 * Copyright (C) 1999-2017, Broadcom Corporation 29 * <<Broadcom-WL-IPTag/Open:>> 31 * $Id: bcmwifi_channels.h 695288 2017-04-19 17:20:39Z $ 48 #define CH_5MHZ_APART 1 /* 2G band channels are 5 Mhz apart */ 58 /* maximum # channels the s/w supports */ 59 #define MAXCHANNEL 240 /* max # supported channels. The max channel no is 233, 61 * DO NOT MAKE it > 255: channels are uint8's all over 63 #define MAXCHANNEL_NUM (MAXCHANNEL - 7) /* max channel number */ 69 uint8 vec[MAXCHANNEL/8]; /* bitvec of channels */ 76 (ABS(wf_chspec_ctlchan(sp1) - wf_chspec_ctlchan(sp2)) < (sep)) [all …]
|
| H A D | bcmwifi_channels.c | 2 * Misc utility routines used by kernel or app-level. 3 * Contents are wifi-specific, used by any kernel or app-level 8 * Copyright (C) 1999-2017, Broadcom Corporation 29 * <<Broadcom-WL-IPTag/Open:>> 31 * $Id: bcmwifi_channels.c 695288 2017-04-19 17:20:39Z $ 41 #define tolower(c) (bcm_isupper((c)) ? ((c) + 'a' - 'A') : (c)) 62 * [<band> 'g'] <channel> ['/'<bandwidth> [<primary-sideband>]['/'<1st80channel>'-'<2nd80channel>]] 72 * <primary-sideband>: 75 * For 2.4GHz band 40MHz channels, the same primary channel may be the 81 * 40MHz, the U/L specificaion is not allowed since the channels are [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | bcmwifi_channels.h | 8 * Copyright (C) 1999-2017, Broadcom Corporation 29 * <<Broadcom-WL-IPTag/Open:>> 31 * $Id: bcmwifi_channels.h 695288 2017-04-19 17:20:39Z $ 48 #define CH_5MHZ_APART 1 /* 2G band channels are 5 Mhz apart */ 58 /* maximum # channels the s/w supports */ 59 #define MAXCHANNEL 240 /* max # supported channels. The max channel no is 233, 61 * DO NOT MAKE it > 255: channels are uint8's all over 63 #define MAXCHANNEL_NUM (MAXCHANNEL - 7) /* max channel number */ 69 uint8 vec[MAXCHANNEL/8]; /* bitvec of channels */ 76 (ABS(wf_chspec_ctlchan(sp1) - wf_chspec_ctlchan(sp2)) < (sep)) [all …]
|
| H A D | bcmwifi_channels.c | 2 * Misc utility routines used by kernel or app-level. 3 * Contents are wifi-specific, used by any kernel or app-level 8 * Copyright (C) 1999-2017, Broadcom Corporation 29 * <<Broadcom-WL-IPTag/Open:>> 31 * $Id: bcmwifi_channels.c 695288 2017-04-19 17:20:39Z $ 41 #define tolower(c) (bcm_isupper((c)) ? ((c) + 'a' - 'A') : (c)) 62 * [<band> 'g'] <channel> ['/'<bandwidth> [<primary-sideband>]['/'<1st80channel>'-'<2nd80channel>]] 72 * <primary-sideband>: 75 * For 2.4GHz band 40MHz channels, the same primary channel may be the 81 * 40MHz, the U/L specificaion is not allowed since the channels are [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | bcmwifi_channels.c | 2 * Misc utility routines used by kernel or app-level. 3 * Contents are wifi-specific, used by any kernel or app-level 23 * <<Broadcom-WL-IPTag/Dual:>> 32 #define tolower(c) (bcm_isupper((c)) ? ((c) + 'a' - 'A') : (c)) 55 * [<band>'g']<channel>['/'<bandwidth>[<primary-sideband>] 56 * ['/'<1st-channel-segment>'-'<2nd-channel-segment>]] 64 * 240MHz, 320MHz, or 160+160MHz channels. 67 * <primary-sideband>: 70 * For 2.4GHz band 40MHz channels, the same primary channel may be the 76 * 40MHz, the U/L specification is not necessary or allowed since the channels are [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | bcmwifi_channels.c | 2 * Misc utility routines used by kernel or app-level. 3 * Contents are wifi-specific, used by any kernel or app-level 23 * <<Broadcom-WL-IPTag/Dual:>> 32 #define tolower(c) (bcm_isupper((c)) ? ((c) + 'a' - 'A') : (c)) 55 * [<band>'g']<channel>['/'<bandwidth>[<primary-sideband>] 56 * ['/'<1st-channel-segment>'-'<2nd-channel-segment>]] 64 * 240MHz, 320MHz, or 160+160MHz channels. 67 * <primary-sideband>: 70 * For 2.4GHz band 40MHz channels, the same primary channel may be the 76 * 40MHz, the U/L specification is not necessary or allowed since the channels are [all …]
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20/ |
| H A D | 0005-playbin3-Fix-qt-videoplayer-cannot-change-video-stat.patch | 2 From: Jeffy Chen <jeffy.chen@rock-chips.com> 6 Change-Id: I765bbe0caebe333855bd16fdd0843e0257491246 7 Signed-off-by: shine.liu <shine.liu@rock-chips.com> 8 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> 9 --- 10 gst/playback/gstplaybin3.c | 256 ++++++++++++++++++++++++++++++++++++- 11 1 file changed, 252 insertions(+), 4 deletions(-) 13 diff --git a/gst/playback/gstplaybin3.c b/gst/playback/gstplaybin3.c 15 --- a/gst/playback/gstplaybin3.c 17 @@ -532,6 +532,16 @@ struct _GstPlayBin3Class [all …]
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22/ |
| H A D | 0005-playbin3-Fix-Qt-videoplayer-cannot-change-video-stat.patch | 2 From: Jeffy Chen <jeffy.chen@rock-chips.com> 6 Change-Id: I765bbe0caebe333855bd16fdd0843e0257491246 7 Signed-off-by: shine.liu <shine.liu@rock-chips.com> 8 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> 9 --- 13 diff --git a/gst/playback/gstplaybin3.c b/gst/playback/gstplaybin3.c 15 --- a/gst/playback/gstplaybin3.c 17 @@ -388,6 +388,16 @@ struct _GstPlayBin3Class 19 /* get the last video sample and convert it to the given caps */ 34 @@ -421,6 +431,12 @@ enum [all …]
|
| /OK3568_Linux_fs/buildroot/package/gstreamer1/gst1-plugins-base/ |
| H A D | 0005-playbin3-Fix-Qt-videoplayer-cannot-change-video-stat.patch | 2 From: Jeffy Chen <jeffy.chen@rock-chips.com> 6 Change-Id: I765bbe0caebe333855bd16fdd0843e0257491246 7 Signed-off-by: shine.liu <shine.liu@rock-chips.com> 8 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> 9 --- 13 diff --git a/gst/playback/gstplaybin3.c b/gst/playback/gstplaybin3.c 15 --- a/gst/playback/gstplaybin3.c 17 @@ -388,6 +388,16 @@ struct _GstPlayBin3Class 19 /* get the last video sample and convert it to the given caps */ 34 @@ -421,6 +431,12 @@ enum [all …]
|