Home
last modified time | relevance | path

Searched refs:slot_id (Results 1 – 25 of 32) sorted by relevance

12

/external/crosvm/devices/src/usb/xhci/
Dcommand_ring_controller.rs90 fn slot(&self, slot_id: u8) -> Result<Arc<DeviceSlot>> { in slot()
91 self.slots.slot(slot_id).ok_or(Error::BadSlotId(slot_id)) in slot()
97 slot_id: u8, in command_completion_callback()
103 .send_command_completion_trb(completion_code, slot_id, GuestAddress(trb_addr)) in command_completion_callback()
109 for slot_id in 1..=MAX_SLOTS { in enable_slot()
110 if self.slot(slot_id)?.enable() { in enable_slot()
114 slot_id, in enable_slot()
135 let slot_id = trb.get_slot_id(); in disable_slot() localVariable
136 if valid_slot_id(slot_id) { in disable_slot()
140 .disable_slot(slot_id, move |completion_code| { in disable_slot()
[all …]
Ddevice_slot.rs102 for slot_id in 1..=MAX_SLOTS { in new()
104 slot_id, in new()
120 pub fn slot(&self, slot_id: u8) -> Option<Arc<DeviceSlot>> { in slot()
121 if valid_slot_id(slot_id) { in slot()
122 Some(self.slots[slot_id as usize - 1].clone()) in slot()
126 slot_id, MAX_SLOTS in slot()
177 slot_id: u8, in disable_slot()
180 usb_debug!("device slot {} is being disabled", slot_id); in disable_slot()
183 &self.slots[slot_id as usize - 1], in disable_slot()
193 slot_id: u8, in reset_slot()
[all …]
Dtransfer_ring_controller.rs29 slot_id: u8, field
44 self.slot_id, in handle_transfer_descriptor()
71 slot_id: u8, in new()
75 format!("transfer ring slot_{} ep_{}", slot_id, endpoint_id), in new()
82 slot_id, in new()
Dxhci_transfer.rs167 slot_id: u8, in create_transfer()
189 slot_id, in create_transfer()
234 slot_id: u8, field
253 self.slot_id, self.endpoint_id, self.transfer_dir, self.transfer_trbs in fmt()
348 self.slot_id, in on_transfer_complete()
364 self.slot_id, in on_transfer_complete()
377 self.slot_id, in on_transfer_complete()
427 self.slot_id, in validate_transfer()
Dinterrupter.rs97 slot_id: u8, in send_command_completion_trb()
109 ctrb.set_slot_id(slot_id); in send_command_completion_trb()
120 slot_id: u8, in send_transfer_event_trb()
131 event_trb.set_slot_id(slot_id); in send_transfer_event_trb()
Dxhci_abi.rs454 slot_id: B8, field
467 slot_id: B8, field
480 slot_id: B8, field
492 slot_id: B8, field
507 slot_id: B8, field
522 slot_id: B8, field
539 slot_id: B8, field
552 slot_id: B8, field
568 slot_id: B8, field
581 slot_id: B8, field
Dxhci_regs.rs125 pub fn valid_slot_id(slot_id: u8) -> bool { in valid_slot_id()
127 slot_id > 0 && slot_id <= MAX_SLOTS in valid_slot_id()
/external/arm-trusted-firmware/plat/socionext/synquacer/drivers/mhu/
Dsq_mhu.c37 void mhu_secure_message_start(unsigned int slot_id) in mhu_secure_message_start() argument
39 assert(slot_id <= MHU_MAX_SLOT_ID); in mhu_secure_message_start()
45 (1 << slot_id)) in mhu_secure_message_start()
49 void mhu_secure_message_send(unsigned int slot_id) in mhu_secure_message_send() argument
51 assert(slot_id <= MHU_MAX_SLOT_ID); in mhu_secure_message_send()
53 (1 << slot_id))); in mhu_secure_message_send()
56 mmio_write_32(PLAT_SQ_MHU_BASE + CPU_INTR_S_SET, 1 << slot_id); in mhu_secure_message_send()
70 void mhu_secure_message_end(unsigned int slot_id) in mhu_secure_message_end() argument
72 assert(slot_id <= MHU_MAX_SLOT_ID); in mhu_secure_message_end()
78 mmio_write_32(PLAT_SQ_MHU_BASE + SCP_INTR_S_CLEAR, 1 << slot_id); in mhu_secure_message_end()
Dsq_mhu.h12 void mhu_secure_message_start(unsigned int slot_id);
13 void mhu_secure_message_send(unsigned int slot_id);
15 void mhu_secure_message_end(unsigned int slot_id);
/external/arm-trusted-firmware/drivers/arm/css/mhu/
Dcss_mhu.c40 void mhu_secure_message_start(unsigned int slot_id) in mhu_secure_message_start() argument
42 assert(slot_id <= MHU_MAX_SLOT_ID); in mhu_secure_message_start()
48 (1 << slot_id)) in mhu_secure_message_start()
52 void mhu_secure_message_send(unsigned int slot_id) in mhu_secure_message_send() argument
54 assert(slot_id <= MHU_MAX_SLOT_ID); in mhu_secure_message_send()
56 (1 << slot_id))); in mhu_secure_message_send()
59 mmio_write_32(PLAT_CSS_MHU_BASE + CPU_INTR_S_SET, 1 << slot_id); in mhu_secure_message_send()
72 void mhu_secure_message_end(unsigned int slot_id) in mhu_secure_message_end() argument
74 assert(slot_id <= MHU_MAX_SLOT_ID); in mhu_secure_message_end()
80 mmio_write_32(PLAT_CSS_MHU_BASE + SCP_INTR_S_CLEAR, 1 << slot_id); in mhu_secure_message_end()
/external/arm-trusted-firmware/plat/brcm/common/
Dbrcm_mhu.c39 void mhu_secure_message_start(unsigned int slot_id) in mhu_secure_message_start() argument
43 assert(slot_id <= MHU_MAX_SLOT_ID); in mhu_secure_message_start()
49 (1 << slot_id))) in mhu_secure_message_start()
59 void mhu_secure_message_send(unsigned int slot_id) in mhu_secure_message_send() argument
63 assert(slot_id <= MHU_MAX_SLOT_ID); in mhu_secure_message_send()
65 (1 << slot_id))); in mhu_secure_message_send()
68 mmio_setbits_32(PLAT_BRCM_MHU_BASE + CPU_INTR_S_SET, 1 << slot_id); in mhu_secure_message_send()
103 void mhu_secure_message_end(unsigned int slot_id) in mhu_secure_message_end() argument
105 assert(slot_id <= MHU_MAX_SLOT_ID); in mhu_secure_message_end()
111 mmio_clrbits_32(PLAT_BRCM_MHU_BASE + SCP_INTR_S_CLEAR, 1 << slot_id); in mhu_secure_message_end()
Dbrcm_mhu.h12 void mhu_secure_message_start(unsigned int slot_id);
13 void mhu_secure_message_send(unsigned int slot_id);
15 void mhu_secure_message_end(unsigned int slot_id);
/external/arm-trusted-firmware/plat/arm/board/corstone700/common/drivers/mhu/
Dmhu.c30 void mhu_secure_message_start(uintptr_t address, unsigned int slot_id) in mhu_secure_message_start() argument
36 assert(slot_id <= MHU_MAX_SLOT_ID); in mhu_secure_message_start()
48 (1 << slot_id)); in mhu_secure_message_start()
63 unsigned int slot_id, in mhu_secure_message_send() argument
70 assert(slot_id <= MHU_MAX_SLOT_ID); in mhu_secure_message_send()
72 (1 << slot_id)) == 0U); in mhu_secure_message_send()
94 void mhu_secure_message_end(uintptr_t address, unsigned int slot_id) in mhu_secure_message_end() argument
96 assert(slot_id <= MHU_MAX_SLOT_ID); in mhu_secure_message_end()
Dmhu.h30 void mhu_secure_message_start(uintptr_t address, unsigned int slot_id);
32 unsigned int slot_id,
34 void mhu_secure_message_end(uintptr_t address, unsigned int slot_id);
/external/libese/apps/weaver/
Dweaver.c242 uint8_t slot_id[4]; in ese_weaver_write() local
243 put_uint32(slot_id, slotId); in ese_weaver_write()
244 tx[2].base = slot_id; in ese_weaver_write()
245 tx[2].len = sizeof(slot_id); in ese_weaver_write()
296 uint8_t slot_id[4]; in ese_weaver_read() local
297 put_uint32(slot_id, slotId); in ese_weaver_read()
298 tx[2].base = slot_id; in ese_weaver_read()
299 tx[2].len = sizeof(slot_id); in ese_weaver_read()
381 uint8_t slot_id[4]; in ese_weaver_erase_value() local
382 put_uint32(slot_id, slotId); in ese_weaver_erase_value()
[all …]
/external/libchrome/base/threading/
Dsequence_local_storage_map.cc50 void* SequenceLocalStorageMap::Get(int slot_id) { in Get() argument
51 const auto it = sls_map_.find(slot_id); in Get()
58 int slot_id, in Set() argument
60 auto it = sls_map_.find(slot_id); in Set()
63 sls_map_.emplace(slot_id, std::move(value_destructor_pair)); in Set()
Dsequence_local_storage_slot.cc20 int slot_id = g_sequence_local_storage_slot_generator.GetNext(); in GetNextSequenceLocalStorageSlotNumber() local
21 DCHECK_LT(slot_id, std::numeric_limits<int>::max()); in GetNextSequenceLocalStorageSlotNumber()
22 return slot_id; in GetNextSequenceLocalStorageSlotNumber()
Dsequence_local_storage_map.h57 void* Get(int slot_id);
61 void Set(int slot_id, ValueDestructorPair value_destructor_pair);
/external/arm-trusted-firmware/include/drivers/arm/css/
Dcss_mhu.h12 void mhu_secure_message_start(unsigned int slot_id);
13 void mhu_secure_message_send(unsigned int slot_id);
15 void mhu_secure_message_end(unsigned int slot_id);
/external/arm-trusted-firmware/drivers/allwinner/
Dsunxi_msgbox.c57 void mhu_secure_message_start(unsigned int slot_id __unused) in mhu_secure_message_start()
68 void mhu_secure_message_send(unsigned int slot_id) in mhu_secure_message_send() argument
70 mmio_write_32(SUNXI_MSGBOX_BASE + MSG_DATA_REG(TX_CHAN), BIT(slot_id)); in mhu_secure_message_send()
89 void mhu_secure_message_end(unsigned int slot_id) in mhu_secure_message_end() argument
/external/llvm-project/lldb/source/Plugins/Process/Windows/Common/
DProcessWindows.cpp412 uint32_t slot_id = reg_ctx->GetTriggeredHardwareBreakpointSlotId(); in RefreshStateAfterStop() local
413 if (slot_id != LLDB_INVALID_INDEX32) { in RefreshStateAfterStop()
414 int id = m_watchpoint_ids[slot_id]; in RefreshStateAfterStop()
422 wp_sp->SetHardwareIndex(slot_id); in RefreshStateAfterStop()
765 reg_ctx->AddHardwareBreakpoint(p.second.slot_id, p.second.address, in OnCreateThread()
847 for (info.slot_id = 0; in EnableWatchpoint()
848 info.slot_id < RegisterContextWindows::GetNumHardwareBreakpointSlots(); in EnableWatchpoint()
849 info.slot_id++) in EnableWatchpoint()
850 if (m_watchpoint_ids[info.slot_id] == LLDB_INVALID_BREAK_ID) in EnableWatchpoint()
852 if (info.slot_id == RegisterContextWindows::GetNumHardwareBreakpointSlots()) { in EnableWatchpoint()
[all …]
/external/openssh/
Dpkcs11.h140 #define slot_id slotID macro
299 ck_slot_id_t slot_id; member
736 (ck_slot_id_t slot_id, struct ck_slot_info *info));
738 (ck_slot_id_t slot_id, struct ck_token_info *info));
742 (ck_slot_id_t slot_id,
746 (ck_slot_id_t slot_id, ck_mechanism_type_t type,
749 (ck_slot_id_t slot_id, unsigned char *pin,
760 (ck_slot_id_t slot_id, ck_flags_t flags,
764 _CK_DECLARE_FUNCTION (C_CloseAllSessions, (ck_slot_id_t slot_id));
1302 #undef slot_id
/external/libchrome/crypto/
Dnss_util.cc422 CK_SLOT_ID slot_id) { in GetTPMSlotForIdInThreadPool() argument
430 PK11SlotInfo* slot = SECMOD_LookupSlot(chaps_module->moduleID, slot_id); in GetTPMSlotForIdInThreadPool()
432 LOG(ERROR) << "TPM slot " << slot_id << " not found."; in GetTPMSlotForIdInThreadPool()
471 CK_SLOT_ID slot_id) { in InitializeTPMForChromeOSUser() argument
489 slot_id, tpm_args_ptr), in InitializeTPMForChromeOSUser()
859 CK_SLOT_ID slot_id) { in InitializeTPMForChromeOSUser() argument
860 g_nss_singleton.Get().InitializeTPMForChromeOSUser(username_hash, slot_id); in InitializeTPMForChromeOSUser()
/external/autotest/client/bin/input/
Dinput_device.py325 slot_id = self._convert_slot_index_to_slot_id(slot_index)
326 self.mt_slots[slot_index][c].value = values[slot_id]
608 slot_id = self._convert_slot_index_to_slot_id(slot_index)
609 slot_dict[slot_id] = slot
614 for slot_id, slot in slot_dict.items():
615 print('slot #%d' % slot_id)
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/xhci-hcd/xhci_address_ctx/
Dformat14 field:int slot_id; offset:36; size:4; signed:1;

12