Searched refs:get_idx (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/subsys/net/l2/ethernet/ |
D | bridge_shell.c | 14 static int get_idx(const struct shell *sh, char *index_str) in get_idx() function 34 br_idx = get_idx(sh, argv[1]); in cmd_bridge_addif() 46 if_idx = get_idx(sh, argv[i]); in cmd_bridge_addif() 82 br_idx = get_idx(sh, argv[1]); in cmd_bridge_delif() 94 if_idx = get_idx(sh, argv[i]); in cmd_bridge_delif() 158 br_idx = get_idx(sh, argv[1]); in cmd_bridge_show()
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | sockets_service.c | 36 #define get_idx(svc) (*(svc->idx)) macro 133 ctx.events[get_idx(svc) + i] = svc->pev[i].event; in net_socket_service_callback() 190 get_idx(svc) = count + 1; in socket_service_thread() 229 ctx.events[get_idx(svc) + j] = svc->pev[j].event; in socket_service_thread()
|
/Zephyr-latest/drivers/can/ |
D | can_mcan.c | 690 uint32_t get_idx; in can_mcan_get_message() local 702 get_idx = FIELD_GET(CAN_MCAN_RXF0S_F0GI, fifo_status); in can_mcan_get_message() 704 err = can_mcan_read_mram(dev, fifo_offset + get_idx * in can_mcan_get_message() 747 err = can_mcan_read_mram(dev, fifo_offset + get_idx * in can_mcan_get_message() 780 err = can_mcan_write_reg(dev, fifo_ack_reg, get_idx); in can_mcan_get_message()
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | cfg_srv.c | 382 uint16_t get_idx; in app_key_get() local 386 get_idx = net_buf_simple_pull_le16(buf); in app_key_get() 387 if (get_idx > 0xfff) { in app_key_get() 388 LOG_ERR("Invalid NetKeyIndex 0x%04x", get_idx); in app_key_get() 392 LOG_DBG("idx 0x%04x", get_idx); in app_key_get() 396 if (!bt_mesh_subnet_exists(get_idx)) { in app_key_get() 403 net_buf_simple_add_le16(&msg, get_idx); in app_key_get() 409 count = bt_mesh_app_keys_get(get_idx, app_idx, ARRAY_SIZE(app_idx), 0); in app_key_get()
|