Home
last modified time | relevance | path

Searched refs:channel (Results 1 – 25 of 2319) sorted by relevance

12345678910>>...93

/external/u-boot/drivers/dma/
DMCD_dmaApi.c46 static void MCD_resmActions(int channel);
308 int MCD_dmaStatus(int channel) in MCD_dmaStatus() argument
312 if ((channel < 0) || (channel >= NCHANNELS)) in MCD_dmaStatus()
315 tcrValue = MCD_dmaBar->taskControl[channel]; in MCD_dmaStatus()
318 if (MCD_chStatus[channel] == MCD_RUNNING in MCD_dmaStatus()
319 || MCD_chStatus[channel] == MCD_IDLE) in MCD_dmaStatus()
320 MCD_chStatus[channel] = MCD_DONE; in MCD_dmaStatus()
324 if (MCD_chStatus[channel] == MCD_RUNNING in MCD_dmaStatus()
325 || MCD_chStatus[channel] == MCD_IDLE) { in MCD_dmaStatus()
329 if ((MCD_dmaBar->ptdDebug >> channel) & 0x1) in MCD_dmaStatus()
[all …]
Dapbh_dma.c29 int mxs_dma_validate_chan(int channel) in mxs_dma_validate_chan() argument
33 if ((channel < 0) || (channel >= MXS_MAX_DMA_CHANNELS)) in mxs_dma_validate_chan()
36 pchan = mxs_dma_channels + channel; in mxs_dma_validate_chan()
65 static int mxs_dma_read_semaphore(int channel) in mxs_dma_read_semaphore() argument
72 ret = mxs_dma_validate_chan(channel); in mxs_dma_read_semaphore()
76 tmp = readl(&apbh_regs->ch[channel].hw_apbh_ch_sema); in mxs_dma_read_semaphore()
108 static int mxs_dma_enable(int channel) in mxs_dma_enable() argument
117 ret = mxs_dma_validate_chan(channel); in mxs_dma_enable()
121 pchan = mxs_dma_channels + channel; in mxs_dma_enable()
136 sem = mxs_dma_read_semaphore(channel); in mxs_dma_enable()
[all …]
/external/webrtc/talk/media/webrtc/
Dfakewebrtcvoiceengine.h55 #define WEBRTC_CHECK_CHANNEL(channel) \ argument
56 if (channels_.find(channel) == channels_.end()) return -1;
226 uint32_t GetLocalSSRC(int channel) { in GetLocalSSRC() argument
227 return channels_[channel]->send_ssrc; in GetLocalSSRC()
229 bool GetPlayout(int channel) { in GetPlayout() argument
230 return channels_[channel]->playout; in GetPlayout()
232 bool GetSend(int channel) { in GetSend() argument
233 return channels_[channel]->send; in GetSend()
235 bool GetVAD(int channel) { in GetVAD() argument
236 return channels_[channel]->vad; in GetVAD()
[all …]
/external/webrtc/webrtc/test/
Dmock_voice_engine.h67 MOCK_METHOD3(SetRxNsStatus, int(int channel, bool enable, NsModes mode));
68 MOCK_METHOD3(GetRxNsStatus, int(int channel, bool& enabled, NsModes& mode));
69 MOCK_METHOD3(SetRxAgcStatus, int(int channel, bool enable, AgcModes mode));
70 MOCK_METHOD3(GetRxAgcStatus, int(int channel, bool& enabled, AgcModes& mode));
71 MOCK_METHOD2(SetRxAgcConfig, int(int channel, AgcConfig config));
72 MOCK_METHOD2(GetRxAgcConfig, int(int channel, AgcConfig& config));
74 int(int channel, VoERxVadCallback& observer));
75 MOCK_METHOD1(DeRegisterRxVadObserver, int(int channel));
76 MOCK_METHOD1(VoiceActivityIndicator, int(int channel));
109 MOCK_METHOD1(DeleteChannel, int(int channel));
[all …]
/external/ImageMagick/MagickCore/
Dstatistic.c137 channel[CompositePixelChannel]; member
185 pixels[i][j].channel[k]=0.0; in AcquirePixelThreadSet()
218 distance+=color_1->channel[i]-(double) color_2->channel[i]; in IntensityCompare()
553 evaluate_pixel[j].channel[k]=0.0; in EvaluateImages()
572 PixelChannel channel = GetPixelChannelChannel(image,i); in EvaluateImages() local
573 PixelTrait evaluate_traits=GetPixelChannelTraits(image,channel); in EvaluateImages()
574 PixelTrait traits = GetPixelChannelTraits(next,channel); in EvaluateImages()
580 evaluate_pixel[j].channel[i]=ApplyEvaluateOperator( in EvaluateImages()
581 random_info[id],GetPixelChannel(image,channel,p),op, in EvaluateImages()
582 evaluate_pixel[j].channel[i]); in EvaluateImages()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dio_manager.c23 errcode_t io_channel_set_options(io_channel channel, const char *opts) in io_channel_set_options() argument
28 EXT2_CHECK_MAGIC(channel, EXT2_ET_MAGIC_IO_CHANNEL); in io_channel_set_options()
33 if (!channel->manager->set_option) in io_channel_set_options()
51 retval = (channel->manager->set_option)(channel, ptr, arg); in io_channel_set_options()
60 errcode_t io_channel_write_byte(io_channel channel, unsigned long offset, in io_channel_write_byte() argument
63 EXT2_CHECK_MAGIC(channel, EXT2_ET_MAGIC_IO_CHANNEL); in io_channel_write_byte()
65 if (channel->manager->write_byte) in io_channel_write_byte()
66 return channel->manager->write_byte(channel, offset, in io_channel_write_byte()
72 errcode_t io_channel_read_blk64(io_channel channel, unsigned long long block, in io_channel_read_blk64() argument
75 EXT2_CHECK_MAGIC(channel, EXT2_ET_MAGIC_IO_CHANNEL); in io_channel_read_blk64()
[all …]
Dunix_io.c115 static errcode_t unix_get_stats(io_channel channel, io_stats *stats) in unix_get_stats() argument
121 EXT2_CHECK_MAGIC(channel, EXT2_ET_MAGIC_IO_CHANNEL); in unix_get_stats()
122 data = (struct unix_private_data *) channel->private_data; in unix_get_stats()
157 static errcode_t raw_read_blk(io_channel channel, in raw_read_blk() argument
169 size = (count < 0) ? -count : count * channel->block_size; in raw_read_blk()
171 location = ((ext2_loff_t) block * channel->block_size) + data->offset; in raw_read_blk()
183 if ((channel->align == 0) || in raw_read_blk()
184 (IS_ALIGNED(buf, channel->align) && in raw_read_blk()
185 IS_ALIGNED(size, channel->align))) { in raw_read_blk()
194 ((channel->align == 0) || in raw_read_blk()
[all …]
Dinode_io.c50 static errcode_t inode_open(const char *name, int flags, io_channel *channel);
51 static errcode_t inode_close(io_channel channel);
52 static errcode_t inode_set_blksize(io_channel channel, int blksize);
53 static errcode_t inode_read_blk(io_channel channel, unsigned long block,
55 static errcode_t inode_write_blk(io_channel channel, unsigned long block,
57 static errcode_t inode_flush(io_channel channel);
58 static errcode_t inode_write_byte(io_channel channel, unsigned long offset,
60 static errcode_t inode_read_blk64(io_channel channel,
62 static errcode_t inode_write_blk64(io_channel channel,
114 static errcode_t inode_open(const char *name, int flags, io_channel *channel) in inode_open() argument
[all …]
/external/python/cpython3/Lib/test/
Dtest_smtpd.py44 channel = smtpd.SMTPChannel(server, conn, addr, decode_data=True)
47 channel.socket.queue_recv(line)
48 channel.handle_read()
75 def send_data(self, channel, data, enable_SMTPUTF8=False): argument
77 channel.socket.queue_recv(line)
78 channel.handle_read()
93 channel = smtpd.SMTPChannel(server, conn, addr, decode_data=True)
95 self.send_data(channel, b'From: test\n\nhello\n')
109 channel = smtpd.SMTPChannel(server, conn, addr)
111 self.send_data(channel, b'From: test\n\nh\xc3\xa9llo\xff\n')
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dsync_buffer_unittest.cc27 for (size_t channel = 0; channel < kChannels; ++channel) { in TEST() local
29 EXPECT_EQ(0, sync_buffer[channel][i]); in TEST()
58 for (size_t channel = 0; channel < kChannels; ++channel) { in TEST() local
60 new_data[channel][i] = i; in TEST()
71 for (size_t channel = 0; channel < kChannels; ++channel) { in TEST() local
73 EXPECT_EQ(new_data[channel][i], in TEST()
74 sync_buffer[channel][sync_buffer.next_index() + i]); in TEST()
83 for (size_t channel = 0; channel < kChannels; ++channel) { in TEST() local
85 EXPECT_EQ(0, sync_buffer[channel][i]); in TEST()
98 for (size_t channel = 0; channel < kChannels; ++channel) { in TEST() local
[all …]
Daudio_multi_vector_unittest.cc88 for (size_t channel = 0; channel < num_channels_; ++channel) { in TEST_P() local
90 vec[channel][i] = static_cast<int16_t>(i); in TEST_P()
92 const AudioVector& audio_vec = vec[channel]; in TEST_P()
109 for (size_t channel = 0; channel < vec.Channels(); ++channel) { in TEST_P() local
111 EXPECT_EQ(static_cast<int16_t>((channel + 1) * 100 + i), vec[channel][i]); in TEST_P()
112 EXPECT_EQ(vec[channel][i], vec_copy[channel][i]); in TEST_P()
141 for (size_t channel = 0; channel < num_channels_; ++channel) { in TEST_P() local
143 vec1[channel][i] = static_cast<int16_t>(i + 100 * channel); in TEST_P()
144 vec2[channel][i] = in TEST_P()
145 static_cast<int16_t>(i + 100 * channel + array_length()); in TEST_P()
[all …]
Dbackground_noise.cc38 for (size_t channel = 0; channel < num_channels_; ++channel) { in Reset() local
39 channel_parameters_[channel].Reset(); in Reset()
128 int32_t BackgroundNoise::Energy(size_t channel) const { in Energy()
129 assert(channel < num_channels_); in Energy()
130 return channel_parameters_[channel].energy; in Energy()
133 void BackgroundNoise::SetMuteFactor(size_t channel, int16_t value) { in SetMuteFactor() argument
134 assert(channel < num_channels_); in SetMuteFactor()
135 channel_parameters_[channel].mute_factor = value; in SetMuteFactor()
138 int16_t BackgroundNoise::MuteFactor(size_t channel) const { in MuteFactor()
139 assert(channel < num_channels_); in MuteFactor()
[all …]
/external/grpc-grpc/src/core/lib/surface/
Dchannel.cc85 grpc_channel* channel; in grpc_channel_create_with_builder() local
93 reinterpret_cast<void**>(&channel)); in grpc_channel_create_with_builder()
100 return channel; in grpc_channel_create_with_builder()
103 channel->target = target; in grpc_channel_create_with_builder()
104 channel->is_client = grpc_channel_stack_type_is_client(channel_stack_type); in grpc_channel_create_with_builder()
112 gpr_mu_init(&channel->registered_call_mu); in grpc_channel_create_with_builder()
113 channel->registered_calls = nullptr; in grpc_channel_create_with_builder()
116 &channel->call_size_estimate, in grpc_channel_create_with_builder()
117 (gpr_atm)CHANNEL_STACK_FROM_CHANNEL(channel)->call_stack_size + in grpc_channel_create_with_builder()
120 grpc_compression_options_init(&channel->compression_options); in grpc_channel_create_with_builder()
[all …]
Dchannel.h47 grpc_channel* channel, grpc_call* parent_call, uint32_t propagation_mask,
52 grpc_channel_stack* grpc_channel_get_channel_stack(grpc_channel* channel);
55 grpc_channel* channel);
61 grpc_mdelem grpc_channel_get_reffed_status_elem(grpc_channel* channel,
64 size_t grpc_channel_get_call_size_estimate(grpc_channel* channel);
65 void grpc_channel_update_call_size_estimate(grpc_channel* channel, size_t size);
68 void grpc_channel_internal_ref(grpc_channel* channel, const char* reason);
69 void grpc_channel_internal_unref(grpc_channel* channel, const char* reason);
70 #define GRPC_CHANNEL_INTERNAL_REF(channel, reason) \ argument
71 grpc_channel_internal_ref(channel, reason)
[all …]
/external/webrtc/webrtc/voice_engine/
Dvoe_rtp_rtcp_impl.cc48 int VoERTP_RTCPImpl::SetLocalSSRC(int channel, unsigned int ssrc) { in SetLocalSSRC() argument
50 "SetLocalSSRC(channel=%d, %lu)", channel, ssrc); in SetLocalSSRC()
55 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); in SetLocalSSRC()
56 voe::Channel* channelPtr = ch.channel(); in SetLocalSSRC()
65 int VoERTP_RTCPImpl::GetLocalSSRC(int channel, unsigned int& ssrc) { in GetLocalSSRC() argument
70 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); in GetLocalSSRC()
71 voe::Channel* channelPtr = ch.channel(); in GetLocalSSRC()
80 int VoERTP_RTCPImpl::GetRemoteSSRC(int channel, unsigned int& ssrc) { in GetRemoteSSRC() argument
85 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); in GetRemoteSSRC()
86 voe::Channel* channelPtr = ch.channel(); in GetRemoteSSRC()
[all …]
Dvoe_codec_impl.cc63 int VoECodecImpl::SetSendCodec(int channel, const CodecInst& codec) { in SetSendCodec() argument
65 "SetSendCodec(channel=%d, codec)", channel); in SetSendCodec()
93 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); in SetSendCodec()
94 voe::Channel* channelPtr = ch.channel(); in SetSendCodec()
114 int VoECodecImpl::GetSendCodec(int channel, CodecInst& codec) { in GetSendCodec() argument
119 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); in GetSendCodec()
120 voe::Channel* channelPtr = ch.channel(); in GetSendCodec()
134 int VoECodecImpl::SetBitRate(int channel, int bitrate_bps) { in SetBitRate() argument
141 _shared->channel_manager().GetChannel(channel).channel()->SetBitRate( in SetBitRate()
146 int VoECodecImpl::GetRecCodec(int channel, CodecInst& codec) { in GetRecCodec() argument
[all …]
/external/antlr/runtime/Ruby/lib/antlr3/template/
Dgroup-file-lexer.rb119 channel = ANTLR3::DEFAULT_CHANNEL
128 @state.channel = channel
143 channel = ANTLR3::DEFAULT_CHANNEL
152 @state.channel = channel
167 channel = ANTLR3::DEFAULT_CHANNEL
176 @state.channel = channel
191 channel = ANTLR3::DEFAULT_CHANNEL
200 @state.channel = channel
215 channel = ANTLR3::DEFAULT_CHANNEL
224 @state.channel = channel
[all …]
/external/grpc-grpc/src/php/ext/grpc/
Dchannel.c46 void free_grpc_channel_wrapper(grpc_channel_wrapper* channel, bool free_channel) { in free_grpc_channel_wrapper() argument
48 grpc_channel_destroy(channel->wrapped); in free_grpc_channel_wrapper()
49 channel->wrapped = NULL; in free_grpc_channel_wrapper()
51 free(channel->target); in free_grpc_channel_wrapper()
52 free(channel->args_hashstr); in free_grpc_channel_wrapper()
53 free(channel->creds_hashstr); in free_grpc_channel_wrapper()
54 free(channel->key); in free_grpc_channel_wrapper()
55 channel->target = NULL; in free_grpc_channel_wrapper()
56 channel->args_hashstr = NULL; in free_grpc_channel_wrapper()
57 channel->creds_hashstr = NULL; in free_grpc_channel_wrapper()
[all …]
/external/u-boot/arch/x86/cpu/quark/
Dmrc_util.c126 void training_message(uint8_t channel, uint8_t rank, uint8_t byte_lane) in training_message() argument
129 DPF(D_INFO, "CH%01X RK%01X BL%01X\n", channel, rank, byte_lane); in training_message()
137 void set_rcvn(uint8_t channel, uint8_t rank, in set_rcvn() argument
147 channel, rank, byte_lane, pi_count); in set_rcvn()
155 channel * DDRIODQ_CH_OFFSET; in set_rcvn()
171 channel * DDRIODQ_CH_OFFSET); in set_rcvn()
182 channel * DDRIODQ_CH_OFFSET; in set_rcvn()
200 training_message(channel, rank, byte_lane); in set_rcvn()
213 uint32_t get_rcvn(uint8_t channel, uint8_t rank, uint8_t byte_lane) in get_rcvn() argument
227 channel * DDRIODQ_CH_OFFSET; in get_rcvn()
[all …]
/external/wpa_supplicant_8/src/drivers/
Ddriver_macsec_qca.c276 u32 *channel) in macsec_qca_lookup_channel() argument
283 *channel = i; in macsec_qca_lookup_channel()
294 u32 channel) in macsec_qca_register_channel() argument
296 os_memcpy(&map[channel].sci, sci, sizeof(struct ieee802_1x_mka_sci)); in macsec_qca_register_channel()
302 u32 *channel) in macsec_qca_lookup_receive_channel() argument
305 channel); in macsec_qca_lookup_receive_channel()
311 u32 channel) in macsec_qca_register_receive_channel() argument
314 channel); in macsec_qca_register_receive_channel()
320 u32 *channel) in macsec_qca_lookup_transmit_channel() argument
323 channel); in macsec_qca_lookup_transmit_channel()
[all …]
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/
DChannelTest.cs50 var channel = new Channel("localhost", ChannelCredentials.Insecure); in State_IdleAfterCreation()
51 Assert.AreEqual(ChannelState.Idle, channel.State); in State_IdleAfterCreation()
52 channel.ShutdownAsync().Wait(); in State_IdleAfterCreation()
58 var channel = new Channel("localhost", ChannelCredentials.Insecure); in WaitForStateChangedAsync_InvalidArgument()
59 …Assert.ThrowsAsync(typeof(ArgumentException), async () => await channel.WaitForStateChangedAsync(C… in WaitForStateChangedAsync_InvalidArgument()
60 channel.ShutdownAsync().Wait(); in WaitForStateChangedAsync_InvalidArgument()
66 var channel = new Channel("127.0.0.1", ChannelCredentials.Insecure); in ResolvedTarget()
67 Assert.IsTrue(channel.ResolvedTarget.Contains("127.0.0.1")); in ResolvedTarget()
68 channel.ShutdownAsync().Wait(); in ResolvedTarget()
74 var channel = new Channel("localhost", ChannelCredentials.Insecure); in Shutdown_AllowedOnlyOnce()
[all …]
/external/curl/tests/data/
Dtest57152 rtp: part 2 channel 1 size 10
53 rtp: part 2 channel 0 size 500
54 rtp: part 2 channel 0 size 196
55 rtp: part 2 channel 0 size 124
56 rtp: part 2 channel 0 size 824
57 rtp: part 3 channel 1 size 10
58 rtp: part 3 channel 0 size 50
59 rtp: part 4 channel 0 size 798
60 rtp: part 4 channel 0 size 42
61 rtp: part 4 channel 1 size 30
[all …]
/external/grpc-grpc/src/php/tests/unit_tests/
DCallInvokerTest.php54 * @param Channel|InterceptorChannel $channel (optional) re-use channel object
56 public function __construct($hostname, $opts, $channel = null) argument
58 parent::__construct($hostname, $opts, $channel);
84 private $channel; variable in CallInvokerUpdateChannel
87 return $this->channel;
91 $this->channel = new \Grpc\Channel('localhost:50050', $opts);
92 return $this->channel;
95 public function UnaryCall($channel, $method, $deserialize, $options) { argument
96 return new UnaryCall($channel, $method, $deserialize, $options);
99 public function ClientStreamingCall($channel, $method, $deserialize, $options) { argument
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_format_pack.py68 for channel in channels:
69 if channel.type == VOID:
70 if channel.size:
71 print ' unsigned %s:%u;' % (channel.name, channel.size)
72 elif channel.type == UNSIGNED:
73 print ' unsigned %s:%u;' % (channel.name, channel.size)
74 elif channel.type in (SIGNED, FIXED):
75 print ' int %s:%u;' % (channel.name, channel.size)
76 elif channel.type == FLOAT:
77 if channel.size == 64:
[all …]
/external/grpc-grpc/src/python/grpcio_tests/tests/fork/
Dmethods.py39 channel = grpc.secure_channel(target, channel_credentials)
41 channel = grpc.insecure_channel(target)
42 return channel
144 def _async_unary_same_channel(channel): argument
154 stub = test_pb2_grpc.TestServiceStub(channel)
162 def _async_unary_new_channel(channel, args): argument
170 stub = test_pb2_grpc.TestServiceStub(channel)
178 def _blocking_unary_same_channel(channel): argument
188 stub = test_pb2_grpc.TestServiceStub(channel)
195 def _blocking_unary_new_channel(channel, args): argument
[all …]

12345678910>>...93