Home
last modified time | relevance | path

Searched refs:f (Results 1 – 20 of 20) sorted by relevance

/subsys/tracing/ctf/
A Dctf_map.h61 #define MAP0(f, x, peek, ...) f(x) MAP_NEXT(peek, MAP1)(f, peek, __VA_ARGS__) argument
62 #define MAP1(f, x, peek, ...) f(x) MAP_NEXT(peek, MAP0)(f, peek, __VA_ARGS__) argument
67 #define MAP_LIST0(f, x, peek, ...) f(x) MAP_LIST_NEXT(peek, MAP_LIST1)(f, peek, __VA_ARGS__) argument
68 #define MAP_LIST1(f, x, peek, ...) f(x) MAP_LIST_NEXT(peek, MAP_LIST0)(f, peek, __VA_ARGS__) argument
73 #define MAP(f, ...) EVAL(MAP1(f, __VA_ARGS__, ()()(), ()()(), ()()(), 0)) argument
79 #define MAP_LIST(f, ...) EVAL(MAP_LIST1(f, __VA_ARGS__, ()()(), ()()(), ()()(), 0)) argument
/subsys/net/lib/lwm2m/
A Dlwm2m_util.c46 f >>= 1; in lwm2m_float_to_b32()
49 f |= (1 << 23); in lwm2m_float_to_b32()
69 f |= 1 << (22 - i); in lwm2m_float_to_b32()
99 b32[3] = f & 0xFF; in lwm2m_float_to_b32()
107 int64_t v, f = 0; in lwm2m_float_to_b64() local
128 f >>= 1; in lwm2m_float_to_b64()
185 b64[7] = f & 0xFF; in lwm2m_float_to_b64()
193 int32_t f, k, i, e; in lwm2m_b32_to_float() local
218 f += b32[3]; in lwm2m_b32_to_float()
259 int64_t f, k; in lwm2m_b64_to_float() local
[all …]
A Dlwm2m_engine.h36 int (*f)(void); member
64 CONCAT(LWM2M, prio, init_function)) = {.f = init_function}
A Dlwm2m_engine.c1384 int ret = init->f(); in lwm2m_engine_init()
A Dlwm2m_registry.c1541 elements.f = *(double *)value; in lwm2m_engine_cache_write()
A Dlwm2m_message_handling.c1466 ret = engine_put_float(&msg->out, &msg->path, &buf.f); in lwm2m_read_cached_data()
/subsys/fs/ext2/
A Dext2_ops.c120 rc = ext2_inode_sync(f->f_inode); in ext2_close()
125 rc = ext2_inode_drop(f->f_inode); in ext2_close()
144 ssize_t r = ext2_inode_read(f->f_inode, dest, f->f_off, nbytes); in ext2_read()
149 f->f_off += r; in ext2_read()
161 if (f->f_flags & FS_O_APPEND) { in ext2_write()
162 f->f_off = f->f_inode->i_size; in ext2_write()
165 ssize_t r = ext2_inode_write(f->f_inode, src, f->f_off, nbytes); in ext2_write()
171 f->f_off += r; in ext2_write()
186 new_off = f->f_off + off; in ext2_lseek()
201 f->f_off = new_off; in ext2_lseek()
[all …]
/subsys/tracing/
A Dtracing_backend_posix_bottom.c13 FILE *f; in tracing_backend_posix_init_bottom() local
15 f = fopen(file_name, "wb"); in tracing_backend_posix_init_bottom()
16 if (f == NULL) { in tracing_backend_posix_init_bottom()
21 return (void *)f; in tracing_backend_posix_init_bottom()
/subsys/bluetooth/controller/util/
A Dmfifo.h54 uint8_t f; /* First. Read index */ \
63 mfifo_fifo_##name.f = mfifo_fifo_##name.l = 0
110 mfifo_enqueue_idx_get(mfifo_##name.n, mfifo_fifo_##name.f, \
175 mfifo_##name.n, mfifo_fifo_##name.f, \
225 mfifo_avail_count_get(mfifo_##name.n, mfifo_fifo_##name.f, \
248 mfifo_fifo_##name.f, mfifo_fifo_##name.l)
271 mfifo_fifo_##name.f, mfifo_fifo_##name.l)
302 mfifo_##name.n, mfifo_fifo_##name.f, \
351 &mfifo_fifo_##name.f)
/subsys/bluetooth/host/classic/
A Dl2cap_br_internal.h226 #define BT_L2CAP_I_FRAME_ENH_CONTROL_SET(tx_seq, f, req_seq, sar) \ argument
227 ((((tx_seq) & 0x3f) << 0x01) | (((f) & 0x01) << 0x07) | (((req_seq) & 0x3f) << 0x08) | \
237 #define BT_L2CAP_I_FRAME_EXT_CONTROL_SET(f, tx_seq, sar, req_seq) \ argument
238 ((((f) & 0x01) << 0x01) | (((req_seq) & 0x3fff) << 0x02) | (((sar) & 0x03) << 0x10) | \
258 #define BT_L2CAP_S_FRAME_ENH_CONTROL_SET(s, p, f, req_seq) \ argument
259 (((1) & 0x01) | (((s) & 0x03) << 0x02) | (((p) & 0x01) << 0x04) | (((f) & 0x01) << 0x07) | \
269 #define BT_L2CAP_S_FRAME_EXT_CONTROL_SET(f, req_seq, s, p) \ argument
270 (((1) & 0x01) | (((f) & 0x01) << 0x01) | (((req_seq) & 0x3fff) << 0x02) | \
A Dl2cap_br.c5324 if (f) { in bt_l2cap_br_update_f()
5360 uint8_t f = 0; in bt_l2cap_br_ret_fc_s_recv() local
5375 f = BT_L2CAP_S_FRAME_EXT_CONTROL_GET_F(ext_control); in bt_l2cap_br_ret_fc_s_recv()
5381 f = BT_L2CAP_S_FRAME_ENH_CONTROL_GET_F(control); in bt_l2cap_br_ret_fc_s_recv()
5386 err = bt_l2cap_br_update_f(br_chan, f); in bt_l2cap_br_ret_fc_s_recv()
5407 } else if (f) { in bt_l2cap_br_ret_fc_s_recv()
5471 LOG_WRN("RNR p=%d f=%d on chan %p", p, f, br_chan); in bt_l2cap_br_ret_fc_s_recv()
5510 if (f) { in bt_l2cap_br_ret_fc_s_recv()
5777 uint8_t f = 0; in bt_l2cap_br_ret_fc_i_recv() local
5793 f = BT_L2CAP_I_FRAME_ENH_CONTROL_GET_F(control); in bt_l2cap_br_ret_fc_i_recv()
[all …]
/subsys/mgmt/osdp/src/
A Dosdp_common.h23 #define ISSET_FLAG(p, f) (((p)->flags & (f)) == (f)) argument
24 #define SET_FLAG(p, f) ((p)->flags |= (f)) argument
25 #define CLEAR_FLAG(p, f) ((p)->flags &= ~(f)) argument
/subsys/bluetooth/controller/ll_sw/
A Dull_internal.h155 mfifo_fifo_##_name.f, &mfifo_fifo_##_name.l, \
172 mfifo_fifo_##_name.f, &mfifo_fifo_##_name.l, \
176 void ull_rxfifo_alloc(uint8_t s, uint8_t n, uint8_t f, uint8_t *l, uint8_t *m,
178 void *ull_rxfifo_release(uint8_t s, uint8_t n, uint8_t f, uint8_t *l, uint8_t *m,
A Dull.c1004 cmplt = tx_cmplt_get(handle, &mfifo_fifo_tx_ack.f, rx->hdr.ack_last); in ll_rx_get()
1006 uint8_t f, cmplt_prev, cmplt_curr; in ll_rx_get() local
1010 f = mfifo_fifo_tx_ack.f; in ll_rx_get()
1013 cmplt_curr = tx_cmplt_get(&h, &f, in ll_rx_get()
1085 cmplt = tx_cmplt_get(handle, &mfifo_fifo_tx_ack.f, tx_ack_last); in ll_rx_get()
2675 mfifo_tx_ack.n, mfifo_fifo_tx_ack.f, last, in tx_cmplt_get()
2791 mfifo_tx_ack.n, mfifo_fifo_tx_ack.f, in tx_cmplt_get()
3149 void ull_rxfifo_alloc(uint8_t s, uint8_t n, uint8_t f, uint8_t *l, uint8_t *m, in ull_rxfifo_alloc() argument
3154 while ((max--) && mfifo_enqueue_idx_get(n, f, *l, &idx)) { in ull_rxfifo_alloc()
3180 void *ull_rxfifo_release(uint8_t s, uint8_t n, uint8_t f, uint8_t *l, uint8_t *m, in ull_rxfifo_release() argument
[all …]
A Dull_conn.c1523 mfifo_fifo_conn_ack.f, last); in ull_conn_ack_by_last_peek()
/subsys/logging/backends/
A Dlog_backend_fs.c142 struct fs_file_t *f = &fs_file; in write_log_to_file() local
160 int size = fs_tell(f); in write_log_to_file()
167 rc = allocate_new_file(f); in write_log_to_file()
174 rc = fs_write(f, data, length); in write_log_to_file()
193 rc = allocate_new_file(f); in write_log_to_file()
/subsys/llext/
A Dllext_load.c218 #define REGIONS_OVERLAP_ON(x, y, f) \ argument
219 ((REGION_BOT(x, f) <= REGION_BOT(y, f) && REGION_TOP(x, f) >= REGION_BOT(y, f)) || \
220 (REGION_BOT(y, f) <= REGION_BOT(x, f) && REGION_TOP(y, f) >= REGION_BOT(x, f)))
/subsys/shell/
A DKconfig205 Ctrl+f, Ctrl+k, Ctrl+l, Ctrl+u, Ctrl+w, Alt+b, Alt+f
/subsys/mgmt/hawkbit/
A Dhawkbit.c555 static const char *hawkbit_status_finished(enum hawkbit_status_fini f) in hawkbit_status_finished() argument
557 switch (f) { in hawkbit_status_finished()
565 LOG_ERR("%d is invalid", (int)f); in hawkbit_status_finished()
/subsys/bluetooth/controller/hci/
A Dhci.c5615 struct scan_filter *f; local
5636 f = &scan_filters[filter];
5644 f->lengths[i] = cmd->patterns[i].pattern_len;
5645 memcpy(f->patterns[i], cmd->patterns[i].pattern, f->lengths[i]);
5648 f->count = cmd->num_patterns;
6603 struct scan_filter *f = &scan_filters[filter]; local
6606 for (uint8_t i = 0; i < f->count; i++) {
6608 if (len >= f->lengths[i] &&
6609 !memcmp(data, f->patterns[i], f->lengths[i])) {

Completed in 96 milliseconds