Home
last modified time | relevance | path

Searched refs:channel_id (Results 1 – 25 of 65) sorted by relevance

123

/external/u-boot/arch/arm/mach-socfpga/
Dfreeze_controller.c30 u32 channel_id; in sys_mgr_frzctrl_freeze_req() local
36 for (channel_id = 0; channel_id <= 2; channel_id++) { in sys_mgr_frzctrl_freeze_req()
38 &freeze_controller_base->vioctrl + channel_id); in sys_mgr_frzctrl_freeze_req()
61 frzctrl_channel_freeze[channel_id] = FREEZE_CTRL_FROZEN; in sys_mgr_frzctrl_freeze_req()
102 frzctrl_channel_freeze[channel_id] = FREEZE_CTRL_FROZEN; in sys_mgr_frzctrl_freeze_req()
111 u32 channel_id; in sys_mgr_frzctrl_thaw_req() local
118 for (channel_id = 0; channel_id <= 2; channel_id++) { in sys_mgr_frzctrl_thaw_req()
120 = (u32)(&freeze_controller_base->vioctrl + channel_id); in sys_mgr_frzctrl_thaw_req()
148 frzctrl_channel_freeze[channel_id] = FREEZE_CTRL_THAWED; in sys_mgr_frzctrl_thaw_req()
207 frzctrl_channel_freeze[channel_id] = FREEZE_CTRL_THAWED; in sys_mgr_frzctrl_thaw_req()
/external/webrtc/webrtc/test/
Dcall_test.cc125 EXPECT_EQ(0, voe_send_.base->StartSend(voe_send_.channel_id)); in Start()
131 EXPECT_EQ(0, voe_recv_.base->StartPlayout(voe_recv_.channel_id)); in Start()
132 EXPECT_EQ(0, voe_recv_.base->StartReceive(voe_recv_.channel_id)); in Start()
143 EXPECT_EQ(0, voe_recv_.base->StopReceive(voe_recv_.channel_id)); in Stop()
144 EXPECT_EQ(0, voe_recv_.base->StopPlayout(voe_recv_.channel_id)); in Stop()
150 EXPECT_EQ(0, voe_send_.base->StopSend(voe_send_.channel_id)); in Stop()
183 RTC_DCHECK(num_audio_streams == 0 || voe_send_.channel_id >= 0); in CreateSendConfig()
201 audio_send_config_.voe_channel_id = voe_send_.channel_id; in CreateSendConfig()
229 RTC_DCHECK(voe_send_.channel_id >= 0); in CreateMatchingReceiveConfigs()
233 audio_config.voe_channel_id = voe_recv_.channel_id; in CreateMatchingReceiveConfigs()
[all …]
Dmock_voice_engine.h33 testing::Invoke([](int channel_id) { in MockVoiceEngine()
43 MOCK_METHOD1(ChannelProxyFactory, voe::ChannelProxy*(int channel_id));
46 rtc::scoped_ptr<voe::ChannelProxy> GetChannelProxy(int channel_id) override { in GetChannelProxy() argument
47 return rtc::scoped_ptr<voe::ChannelProxy>(ChannelProxyFactory(channel_id)); in GetChannelProxy()
Dcall_test.h116 channel_id(-1), in VoiceEngineState()
123 int channel_id; member
/external/libese/apps/weaver/
Dweaver.c71 session->channel_id = 0; in ese_weaver_session_init()
116 session->channel_id = rx_buf[rx_len - 3]; in ese_weaver_session_open()
119 uint8_t chan = kSelectApplet[0] | session->channel_id; in ese_weaver_session_open()
152 if (!session->active || session->channel_id == 0) { in ese_weaver_session_close()
158 close_channel[0] |= session->channel_id; in ese_weaver_session_close()
159 close_channel[3] |= session->channel_id; in ese_weaver_session_close()
173 session->channel_id = 0; in ese_weaver_session_close()
183 if (!session->active || session->channel_id == 0) { in ese_weaver_get_num_slots()
193 get_num_slots[0] |= session->channel_id; in ese_weaver_get_num_slots()
226 if (!session->active || session->channel_id == 0) { in ese_weaver_write()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_module_group_metadata.cc209 int64 channel_id) const { in GetChannel()
210 CHECK(channel_id_map_.find(channel_id) != channel_id_map_.end()); in GetChannel()
211 return channels_[channel_id_map_.at(channel_id)]; in GetChannel()
214 bool HloModuleGroupMetadata::HasChannel(int64 channel_id) const { in HasChannel()
215 return channel_id_map_.find(channel_id) != channel_id_map_.end(); in HasChannel()
221 const Channel& channel = GetChannel(instruction->channel_id()); in PeerComputation()
331 TF_RET_CHECK(all_reduce_map_.find(hlo->channel_id()) == in RecordInstructions()
333 << "channel id " << hlo->channel_id() in RecordInstructions()
337 if (channel_id_map_.find(hlo->channel_id()) == channel_id_map_.end()) { in RecordInstructions()
339 channels_.back().id = hlo->channel_id(); in RecordInstructions()
[all …]
Dlayout_assignment.h245 bool IsChannelConstrained(int64 channel_id) const { in IsChannelConstrained() argument
246 return constraints_.contains(channel_id); in IsChannelConstrained()
251 Shape LayoutShapeForChannel(Shape shape, int64 channel_id) const { in LayoutShapeForChannel() argument
252 auto it = constraints_.find(channel_id); in LayoutShapeForChannel()
253 CHECK(it != constraints_.end()) << "Channel " << channel_id; in LayoutShapeForChannel()
260 const Layout& LayoutForChannel(int64 channel_id) const { in LayoutForChannel() argument
261 auto it = constraints_.find(channel_id); in LayoutForChannel()
262 CHECK(it != constraints_.end()) << "Channel " << channel_id; in LayoutForChannel()
269 const Layout* ConstrainChannel(int64 channel_id, const Layout& layout) { in ConstrainChannel() argument
270 auto it = constraints_.emplace(std::make_pair(channel_id, layout)); in ConstrainChannel()
Dhlo_module_group_util.cc102 HloInstruction* send = metadata_.GetChannel(instruction->channel_id()).send; in GlobalPredecessors()
109 metadata_.GetChannel(instruction->channel_id()).recv_done; in GlobalPredecessors()
182 HloInstruction* send = metadata_.GetChannel(instruction->channel_id()).send; in GlobalSuccessors()
189 metadata_.GetChannel(instruction->channel_id()).recv_done; in GlobalSuccessors()
Dhlo_computation.cc345 return inst->channel_id(); in ComputeInstructionPostOrder()
356 auto channel_id = get_channel_id(inst); in ComputeInstructionPostOrder() local
357 if (channel_id && channel_dependency_group.count(*channel_id)) { in ComputeInstructionPostOrder()
358 auto it = channel_dependency_group.find(*channel_id); in ComputeInstructionPostOrder()
383 auto channel_id = get_channel_id(current); in ComputeInstructionPostOrder() local
384 if (channel_id && channel_dependency_group.count(*channel_id)) { in ComputeInstructionPostOrder()
385 auto it = channel_dependency_group.find(*channel_id); in ComputeInstructionPostOrder()
402 channel_dependency_group[instruction->channel_id()].push_back( in ComputeChannelDependencies()
Dhlo_module_group_metadata.h135 const Channel& GetChannel(int64 channel_id) const;
138 bool HasChannel(int64 channel_id) const;
Dhlo_parser_test.cc312 %recv = (f32[], u32[], token[]) recv(token[] %token0), channel_id=15, sharding={maximal device=1} in CreateTestCases()
313 …ROOT %recv-done = (f32[], token[]) recv-done((f32[], u32[], token[]) %recv), channel_id=15, shardi… in CreateTestCases()
315 …%send = (f32[], u32[], token[]) send(f32[] %constant, token[] %token0), channel_id=16, sharding={m… in CreateTestCases()
316 …%send-done = token[] send-done((f32[], u32[], token[]) %send), channel_id=16, sharding={maximal de… in CreateTestCases()
327 %recv = (f32[], u32[], token[]) recv(token[] %token0), channel_id=15, is_host_transfer=true in CreateTestCases()
328 …ROOT %recv-done = (f32[], token[]) recv-done((f32[], u32[], token[]) %recv), channel_id=15, is_hos… in CreateTestCases()
330 …%send = (f32[], u32[], token[]) send(f32[] %constant, token[] %token0), channel_id=16, is_host_tra… in CreateTestCases()
331 …%send-done = token[] send-done((f32[], u32[], token[]) %send), channel_id=16, is_host_transfer=true in CreateTestCases()
1943 %recv = (f32[], u32[], token[]) recv(token[] %token0), channel_id=15 in CreateTestCases()
1944 %recv-done = (f32[], token[]) recv-done((f32[], u32[], token[]) %recv), channel_id=15 in CreateTestCases()
[all …]
/external/webrtc/webrtc/voice_engine/
Dchannel_manager.cc76 ChannelOwner ChannelManager::GetChannel(int32_t channel_id) { in GetChannel() argument
80 if (channels_[i].channel()->ChannelId() == channel_id) in GetChannel()
92 void ChannelManager::DestroyChannel(int32_t channel_id) { in DestroyChannel() argument
93 assert(channel_id >= 0); in DestroyChannel()
104 channel->DisassociateSendChannel(channel_id); in DestroyChannel()
106 if (channel->ChannelId() == channel_id) { in DestroyChannel()
Dvoice_engine_impl.cc67 int channel_id) { in GetChannelProxy() argument
68 RTC_DCHECK(channel_id >= 0); in GetChannelProxy()
72 new voe::ChannelProxy(channel_manager().GetChannel(channel_id))); in GetChannelProxy()
Dchannel_manager.h107 ChannelOwner GetChannel(int32_t channel_id);
110 void DestroyChannel(int32_t channel_id);
/external/libese/apps/boot/
Dboot.c63 session->channel_id = 0; in ese_boot_session_init()
108 session->channel_id = rx_buf[rx_len - 3]; in ese_boot_session_open()
111 uint8_t chan = kSelectApplet[0] | session->channel_id; in ese_boot_session_open()
143 if (!session->active || session->channel_id == 0) { in ese_boot_session_close()
149 close_channel[0] |= session->channel_id; in ese_boot_session_close()
150 close_channel[3] |= session->channel_id; in ese_boot_session_close()
164 session->channel_id = 0; in ese_boot_session_close()
184 uint8_t chan = kGetLockState[0] | session->channel_id; in ese_boot_lock_xget()
241 uint8_t chan = kGetLockState[0] | session->channel_id; in ese_boot_lock_get()
293 uint8_t chan = kLoadMetaClear[0] | session->channel_id; in ese_boot_meta_clear()
[all …]
/external/webrtc/webrtc/audio/
Daudio_state.cc58 void AudioState::CallbackOnError(int channel_id, int err_code) { in CallbackOnError() argument
62 RTC_DCHECK(channel_id == -1); in CallbackOnError()
64 << channel_id << "."; in CallbackOnError()
/external/webrtc/webrtc/p2p/base/
Dturnport.cc114 TurnChannelBindRequest(TurnPort* port, TurnEntry* entry, int channel_id,
136 TurnEntry(TurnPort* port, int channel_id,
141 int channel_id() const { return channel_id_; } in channel_id() function in cricket::TurnEntry
143 void set_channel_id(int channel_id) { channel_id_ = channel_id; } in set_channel_id() argument
819 void TurnPort::HandleChannelData(int channel_id, const char* data, in HandleChannelData() argument
845 TurnEntry* entry = FindEntry(channel_id); in HandleChannelData()
848 << "channel, channel_id=" << channel_id; in HandleChannelData()
948 return e->channel_id() == id; in MatchesChannelId()
950 TurnEntry* TurnPort::FindEntry(int channel_id) const { in FindEntry()
952 std::bind2nd(std::ptr_fun(MatchesChannelId), channel_id)); in FindEntry()
[all …]
Dturnserver.cc731 int channel_id = channel_attr->value() >> 16; in HandleChannelBindRequest() local
732 if (channel_id < kMinChannelNumber || channel_id > kMaxChannelNumber) { in HandleChannelBindRequest()
739 Channel* channel1 = FindChannel(channel_id); in HandleChannelBindRequest()
748 channel1 = new Channel(thread_, channel_id, peer_attr->GetAddress()); in HandleChannelBindRequest()
759 LOG_J(LS_INFO, this) << "Bound channel, id=" << channel_id in HandleChannelBindRequest()
770 uint16_t channel_id = rtc::GetBE16(data); in HandleChannelData() local
771 Channel* channel = FindChannel(channel_id); in HandleChannelData()
778 << channel_id; in HandleChannelData()
850 int channel_id) const { in FindChannel()
853 if ((*it)->id() == channel_id) in FindChannel()
Dturnport.h153 bool SetEntryChannelId(const rtc::SocketAddress& address, int channel_id);
223 void HandleChannelData(int channel_id, const char* data, size_t size,
238 TurnEntry* FindEntry(int channel_id) const;
/external/boringssl/src/ssl/
Dhandoff.cc296 !CBB_add_asn1_octet_string(&seq, s3->channel_id, in SSL_serialize_handback()
297 sizeof(s3->channel_id)) || in SSL_serialize_handback()
326 next_proto, alpn, hostname, channel_id, transcript, key_share; in SSL_apply_handback() local
372 !CBS_get_asn1(&seq, &channel_id, CBS_ASN1_OCTETSTRING) || in SSL_apply_handback()
373 CBS_len(&channel_id) != sizeof(s3->channel_id) || in SSL_apply_handback()
374 !CBS_copy_bytes(&channel_id, s3->channel_id, in SSL_apply_handback()
375 sizeof(s3->channel_id)) || in SSL_apply_handback()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_msg.c278 uint16_t channel_id; member
307 channel->channel_id = HIGH_WORD(dx); in svga_open_channel()
334 (VMW_HYPERVISOR_PORT | (channel->channel_id << 16)), in svga_close_channel()
371 VMW_HYPERVISOR_PORT | (channel->channel_id << 16), in svga_send_msg()
389 VMW_HYPERVISOR_HB_PORT | (channel->channel_id << 16), in svga_send_msg()
/external/python/google-api-python-client/googleapiclient/
Dchannel.py260 channel_id = headers[X_GOOG_CHANNEL_ID]
261 if channel.id != channel_id:
263 'Channel id mismatch: %s != %s' % (channel.id, channel_id))
/external/autotest/server/cros/ap_configurators/
Dwesterndigitaln600_ap_configurator.py260 channel_id = 'channel'
268 channel_id = 'channel_Aband'
274 self.wait_for_object_by_id(channel_id)
275 self.select_item_from_popup_by_id(channel_choices[position], channel_id)
/external/libese/third_party/NXPNFC_P61_JCOP_Kit/src/
DAla.cpp572 … Os_info->Channel_Info[cnt].channel_id = pTranscv_Info->sRecvData[recvBufferActualSize-3]; in ALA_OpenChannel()
609 pTranscv_Info->sSendData[0] = Os_info->Channel_Info[0].channel_id; in ALA_SelectAla()
730 pTranscv_Info->sSendData[xx++] = STORE_DATA_CLA | (Os_info->Channel_Info[0].channel_id); in ALA_StoreData()
1478 if(Os_info->Channel_Info[cnt].channel_id == pTranscv_Info->sSendData[3]) in ALA_SendtoEse()
1480 ALOGE("Closed channel id = 0x0%x", Os_info->Channel_Info[cnt].channel_id); in ALA_SendtoEse()
1508 … Os_info->Channel_Info[cnt].channel_id = pTranscv_Info->sRecvData[recvBufferActualSize-3]; in ALA_SendtoEse()
1578 pTranscv_Info->sSendData[0] = (0x80 | Os_info->Channel_Info[0].channel_id); in ALA_SendtoAla()
1580 … pTranscv_Info->sSendData[0] = (pTranscv_Info->sSendData[0] | Os_info->Channel_Info[0].channel_id); in ALA_SendtoAla()
1638 pTranscv_Info->sSendData[xx++] = Os_info->Channel_Info[cnt].channel_id; in ALA_CloseChannel()
1641 pTranscv_Info->sSendData[xx++] = Os_info->Channel_Info[cnt].channel_id; in ALA_CloseChannel()
[all …]
/external/grpc-grpc/src/core/lib/channel/
Dchannelz_registry.cc163 char* grpc_channelz_get_channel(intptr_t channel_id) { in grpc_channelz_get_channel() argument
165 grpc_core::channelz::ChannelzRegistry::Get(channel_id); in grpc_channelz_get_channel()

123