Home
last modified time | relevance | path

Searched refs:op (Results 1 – 25 of 169) sorted by relevance

1234567

/Zephyr-latest/arch/riscv/core/
Dfpu.S20 #define DO_FP_REGS(op, ptr) \ argument
21 op fa0, __z_riscv_fp_context_t_fa0_OFFSET (ptr); \
22 op fa1, __z_riscv_fp_context_t_fa1_OFFSET (ptr); \
23 op fa2, __z_riscv_fp_context_t_fa2_OFFSET (ptr); \
24 op fa3, __z_riscv_fp_context_t_fa3_OFFSET (ptr); \
25 op fa4, __z_riscv_fp_context_t_fa4_OFFSET (ptr); \
26 op fa5, __z_riscv_fp_context_t_fa5_OFFSET (ptr); \
27 op fa6, __z_riscv_fp_context_t_fa6_OFFSET (ptr); \
28 op fa7, __z_riscv_fp_context_t_fa7_OFFSET (ptr); \
29 op fs0, __z_riscv_fp_context_t_fs0_OFFSET (ptr); \
[all …]
Dswitch.S17 #define DO_CALLEE_SAVED(op, reg) \ argument
18 RV_E( op ra, _thread_offset_to_ra(reg) );\
19 RV_E( op s0, _thread_offset_to_s0(reg) );\
20 RV_E( op s1, _thread_offset_to_s1(reg) );\
21 RV_I( op s2, _thread_offset_to_s2(reg) );\
22 RV_I( op s3, _thread_offset_to_s3(reg) );\
23 RV_I( op s4, _thread_offset_to_s4(reg) );\
24 RV_I( op s5, _thread_offset_to_s5(reg) );\
25 RV_I( op s6, _thread_offset_to_s6(reg) );\
26 RV_I( op s7, _thread_offset_to_s7(reg) );\
[all …]
Dasm_macros.inc82 #define RV_E(op...) op
83 #define RV_I(op...) /* unavailable */
85 #define RV_E(op...) op
86 #define RV_I(op...) op
/Zephyr-latest/include/zephyr/arch/common/
Dffs.h31 static ALWAYS_INLINE unsigned int find_msb_set(uint32_t op) in find_msb_set() argument
33 if (op == 0) { in find_msb_set()
37 return 32 - __builtin_clz(op); in find_msb_set()
53 static ALWAYS_INLINE unsigned int find_lsb_set(uint32_t op) in find_lsb_set() argument
56 return __builtin_ffs(op); in find_lsb_set()
64 op = op ^ (op & (op - 1)); in find_lsb_set()
66 return find_msb_set(op); in find_lsb_set()
/Zephyr-latest/drivers/crypto/
Dcrypto_tc_shim.c28 static int do_cbc_encrypt(struct cipher_ctx *ctx, struct cipher_pkt *op, in do_cbc_encrypt() argument
33 if (tc_cbc_mode_encrypt(op->out_buf, in do_cbc_encrypt()
34 op->out_buf_max, in do_cbc_encrypt()
35 op->in_buf, op->in_len, in do_cbc_encrypt()
43 op->out_len = op->in_len; in do_cbc_encrypt()
48 static int do_cbc_decrypt(struct cipher_ctx *ctx, struct cipher_pkt *op, in do_cbc_decrypt() argument
56 if (iv != op->in_buf) { in do_cbc_decrypt()
61 if (tc_cbc_mode_decrypt(op->out_buf, in do_cbc_decrypt()
62 op->out_buf_max, in do_cbc_decrypt()
63 op->in_buf + TC_AES_BLOCK_SIZE, in do_cbc_decrypt()
[all …]
/Zephyr-latest/arch/mips/core/
Disr.S22 #define DO_CALLEE_SAVED(op, reg) \ argument
23 op s0, THREAD_O(s0)(reg) ;\
24 op s1, THREAD_O(s1)(reg) ;\
25 op s2, THREAD_O(s2)(reg) ;\
26 op s3, THREAD_O(s3)(reg) ;\
27 op s4, THREAD_O(s4)(reg) ;\
28 op s5, THREAD_O(s5)(reg) ;\
29 op s6, THREAD_O(s6)(reg) ;\
30 op s7, THREAD_O(s7)(reg) ;\
31 op s8, THREAD_O(s8)(reg) ;
[all …]
/Zephyr-latest/include/zephyr/arch/arm64/
Dhypercall.h10 int HYPERVISOR_console_io(int op, int cnt, char *str);
11 int HYPERVISOR_sched_op(int op, void *param);
12 int HYPERVISOR_event_channel_op(int op, void *param);
13 int HYPERVISOR_hvm_op(int op, void *param);
14 int HYPERVISOR_memory_op(int op, void *param);
15 int HYPERVISOR_grant_table_op(int op, void *uop, unsigned int count);
Dcache.h46 #define dc_ops(op, val) \ argument
48 __asm__ volatile ("dc " op ", %0" :: "r" (val) : "memory"); \
77 static ALWAYS_INLINE int arm64_dcache_range(void *addr, size_t size, int op) in arm64_dcache_range() argument
83 if (op != K_CACHE_INVD && op != K_CACHE_WB && op != K_CACHE_WB_INVD) { in arm64_dcache_range()
105 if (op == K_CACHE_INVD) { in arm64_dcache_range()
125 if (op == K_CACHE_INVD) { in arm64_dcache_range()
127 } else if (op == K_CACHE_WB) { in arm64_dcache_range()
129 } else if (op == K_CACHE_WB_INVD) { in arm64_dcache_range()
/Zephyr-latest/scripts/native_simulator/common/src/
Dnsi_internal.h27 static inline unsigned int nsi_find_lsb_set(uint32_t op) in nsi_find_lsb_set() argument
29 return __builtin_ffs(op); in nsi_find_lsb_set()
43 static inline unsigned int nsi_find_lsb_set64(uint64_t op) in nsi_find_lsb_set64() argument
45 return __builtin_ffsll(op); in nsi_find_lsb_set64()
/Zephyr-latest/subsys/bluetooth/mesh/
Dmsg.c42 ack->op = 0U; in bt_mesh_msg_ack_ctx_clear()
48 uint32_t op, uint16_t dst, void *user_data) in bt_mesh_msg_ack_ctx_prepare() argument
50 if (ack->op) { in bt_mesh_msg_ack_ctx_prepare()
55 ack->op = op; in bt_mesh_msg_ack_ctx_prepare()
77 uint32_t op, uint16_t addr, void **user_data) in bt_mesh_msg_ack_ctx_match() argument
79 if (ack->op != op || (BT_MESH_ADDR_IS_UNICAST(ack->dst) && ack->dst != addr)) { in bt_mesh_msg_ack_ctx_match()
113 err = bt_mesh_msg_ack_ctx_prepare(rsp->ack, rsp->op, in bt_mesh_msg_ackd_send()
Dlarge_comp_data_cli.c37 struct net_buf_simple *buf, uint32_t op, in data_status() argument
54 if (bt_mesh_msg_ack_ctx_match(&cli->ack_ctx, op, ctx->addr, (void **)&rsp)) { in data_status()
126 static int data_get(uint16_t net_idx, uint16_t addr, uint32_t op, uint32_t status_op, uint8_t page, in data_get() argument
129 BT_MESH_MODEL_BUF_DEFINE(msg, op, 3); in data_get()
133 .op = status_op, in data_get()
138 bt_mesh_model_msg_init(&msg, op); in data_get()
/Zephyr-latest/drivers/cache/
Dcache_nrf.c59 static inline int _cache_all(NRF_CACHE_Type *cache, enum k_nrf_cache_op op) in _cache_all() argument
64 if (op == K_NRF_CACHE_INVD) { in _cache_all()
70 switch (op) { in _cache_all()
97 static inline void _cache_line(NRF_CACHE_Type *cache, enum k_nrf_cache_op op, uintptr_t line_addr) in _cache_line() argument
104 switch (op) { in _cache_line()
128 static inline int _cache_range(NRF_CACHE_Type *cache, enum k_nrf_cache_op op, void *addr, in _cache_range() argument
150 _cache_line(cache, op, line_addr); in _cache_range()
159 static inline int _cache_checks(NRF_CACHE_Type *cache, enum k_nrf_cache_op op, void *addr, in _cache_checks() argument
168 return _cache_all(cache, op); in _cache_checks()
176 return _cache_range(cache, op, addr, size); in _cache_checks()
/Zephyr-latest/subsys/bluetooth/host/
Dhci_common.c28 struct net_buf *bt_hci_cmd_complete_create(uint16_t op, uint8_t plen) in bt_hci_cmd_complete_create() argument
37 cc->opcode = sys_cpu_to_le16(op); in bt_hci_cmd_complete_create()
42 struct net_buf *bt_hci_cmd_status_create(uint16_t op, uint8_t status) in bt_hci_cmd_status_create() argument
52 cs->opcode = sys_cpu_to_le16(op); in bt_hci_cmd_status_create()
/Zephyr-latest/subsys/mgmt/mcumgr/transport/src/
Dsmp_dummy.c302 uint16_t op; in mcumgr_dummy_parse_op() local
304 if (len < sizeof(op)) { in mcumgr_dummy_parse_op()
308 memcpy(&op, buf, sizeof(op)); in mcumgr_dummy_parse_op()
309 op = sys_be16_to_cpu(op); in mcumgr_dummy_parse_op()
311 if (op != MCUMGR_SERIAL_HDR_PKT && op != MCUMGR_SERIAL_HDR_FRAG) { in mcumgr_dummy_parse_op()
315 return op; in mcumgr_dummy_parse_op()
363 uint16_t op; in mcumgr_dummy_process_frag() local
373 op = mcumgr_dummy_parse_op(frag, frag_len); in mcumgr_dummy_process_frag()
374 switch (op) { in mcumgr_dummy_process_frag()
391 frag + sizeof(op), in mcumgr_dummy_process_frag()
[all …]
Dserial_util.c74 uint16_t op; in mcumgr_serial_process_frag() local
84 if (frag_len < sizeof(op)) { in mcumgr_serial_process_frag()
88 op = sys_be16_to_cpu(*(uint16_t *)frag); in mcumgr_serial_process_frag()
89 switch (op) { in mcumgr_serial_process_frag()
106 frag + sizeof(op), in mcumgr_serial_process_frag()
107 frag_len - sizeof(op)); in mcumgr_serial_process_frag()
113 if (op == MCUMGR_SERIAL_HDR_PKT) { in mcumgr_serial_process_frag()
/Zephyr-latest/drivers/espi/
Despi_mchp_xec_host_v2.c272 static int kbc0_rd_req(const struct device *dev, enum lpc_peripheral_opcode op, in kbc0_rd_req() argument
279 if (op >= E8042_START_OPCODE && op <= E8042_MAX_OPCODE) { in kbc0_rd_req()
285 switch (op) { in kbc0_rd_req()
310 static int kbc0_wr_req(const struct device *dev, enum lpc_peripheral_opcode op, in kbc0_wr_req() argument
319 if (op >= E8042_START_OPCODE && op <= E8042_MAX_OPCODE) { in kbc0_wr_req()
325 switch (op) { in kbc0_wr_req()
467 enum lpc_peripheral_opcode op, in eacpi_rd_req() argument
474 switch (op) { in eacpi_rd_req()
501 enum lpc_peripheral_opcode op, in eacpi_wr_req() argument
508 switch (op) { in eacpi_wr_req()
[all …]
Dhost_subs_npcx.c805 int npcx_host_periph_read_request(enum lpc_peripheral_opcode op, in npcx_host_periph_read_request() argument
808 if (op >= E8042_START_OPCODE && op <= E8042_MAX_OPCODE) { in npcx_host_periph_read_request()
817 switch (op) { in npcx_host_periph_read_request()
834 } else if (op >= EACPI_START_OPCODE && op <= EACPI_MAX_OPCODE) { in npcx_host_periph_read_request()
842 switch (op) { in npcx_host_periph_read_request()
866 else if (op >= ECUSTOM_START_OPCODE && op <= ECUSTOM_MAX_OPCODE) { in npcx_host_periph_read_request()
868 switch (op) { in npcx_host_periph_read_request()
887 int npcx_host_periph_write_request(enum lpc_peripheral_opcode op, in npcx_host_periph_write_request() argument
893 if (op >= E8042_START_OPCODE && op <= E8042_MAX_OPCODE) { in npcx_host_periph_write_request()
900 LOG_DBG("op 0x%x data %x", op, *data); in npcx_host_periph_write_request()
[all …]
/Zephyr-latest/scripts/west_commands/runners/
Dnrfutil.py100 def _insert_op(self, op): argument
101 op['operationId'] = f'{self._op_id}'
103 self._ops.append(op)
108 'operations': [op for op in self._ops]},
124 def do_exec_op(self, op, force=False): argument
129 self._insert_op(op)
Dnrf_common.py497 def _check_suit_starter(self, op): argument
498 op = op['operation']
499 if op['type'] not in ('erase', 'recover', 'program'):
501 if op['type'] == 'program' and op['chip_erase_mode'] != "ERASE_UICR":
521 def exec_op(self, op, defer=False, core=None, **kwargs): argument
523 def _exec_op(op, defer=False, core=None, **kwargs): argument
525 op = {'operation': {'type': _op}}
527 op['core'] = core
528 op['operation'].update(kwargs)
530 if defer or not self.do_exec_op(op, force=False):
[all …]
/Zephyr-latest/drivers/memc/
Dmemc_nxp_s32_qspi.h19 #define QSPI_LUT_OP(inst, pads, op) \ argument
22 | (Qspi_Ip_InstrOpType)(op)))
/Zephyr-latest/drivers/i2c/
Di2c_rtio_default.c17 __ASSERT_NO_MSG(iodev_sqe->sqe.op == RTIO_OP_RX); in i2c_msg_from_rx()
30 __ASSERT_NO_MSG(iodev_sqe->sqe.op == RTIO_OP_TX); in i2c_msg_from_tx()
43 __ASSERT_NO_MSG(iodev_sqe->sqe.op == RTIO_OP_TINY_TX); in i2c_msg_from_tiny_tx()
69 switch (txn_last->sqe.op) { in i2c_iodev_submit_work_handler()
76 LOG_ERR("Invalid op code %d for submission %p", txn_last->sqe.op, in i2c_iodev_submit_work_handler()
108 switch (txn_last->sqe.op) { in i2c_iodev_submit_work_handler()
/Zephyr-latest/soc/nuvoton/npcx/common/
Dsoc_host.h58 int npcx_host_periph_read_request(enum lpc_peripheral_opcode op,
74 int npcx_host_periph_write_request(enum lpc_peripheral_opcode op,
/Zephyr-latest/drivers/i3c/
Di3c_rtio_default.c18 __ASSERT_NO_MSG(iodev_sqe->sqe.op == RTIO_OP_RX); in i3c_msg_from_rx()
32 __ASSERT_NO_MSG(iodev_sqe->sqe.op == RTIO_OP_TX); in i3c_msg_from_tx()
46 __ASSERT_NO_MSG(iodev_sqe->sqe.op == RTIO_OP_TINY_TX); in i3c_msg_from_tiny_tx()
82 switch (txn_last->sqe.op) { in i3c_iodev_submit_work_handler()
89 LOG_ERR("Invalid op code %d for submission %p", txn_last->sqe.op, in i3c_iodev_submit_work_handler()
121 switch (txn_last->sqe.op) { in i3c_iodev_submit_work_handler()
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dmsg.h174 uint32_t op; /**< Opcode we're waiting for. */ member
224 uint32_t op, uint16_t dst, void *user_data);
235 return (ack->op != 0); in bt_mesh_msg_ack_ctx_busy()
271 uint32_t op, uint16_t addr, void **user_data);
/Zephyr-latest/subsys/shell/backends/
Dshell_telnet.c114 cmd->op = NVT_CMD_WILL_NOT; in telnet_reply_dont_command()
116 cmd->op = NVT_CMD_WILL; in telnet_reply_dont_command()
121 cmd->op = NVT_CMD_WILL_NOT; in telnet_reply_dont_command()
133 cmd->op = NVT_CMD_WILL; in telnet_reply_do_command()
140 cmd->op = NVT_CMD_WILL; in telnet_reply_do_command()
142 cmd->op = NVT_CMD_WILL_NOT; in telnet_reply_do_command()
147 cmd->op = NVT_CMD_WILL_NOT; in telnet_reply_do_command()
161 switch (cmd->op) { in telnet_reply_command()
179 LOG_DBG("Operation %u not handled", cmd->op); in telnet_reply_command()
239 static int telnet_command_length(uint8_t op) in telnet_command_length() argument
[all …]

1234567