/Zephyr-latest/arch/x86/core/ia32/ |
D | tls.c | 25 struct segment_descriptor *sd = &_gdt.entries[ENTRY_NUM]; in z_x86_tls_update_gdt() local 27 sd->base_low = thread->tls & 0xFFFFU; in z_x86_tls_update_gdt() 28 sd->base_mid = (thread->tls >> 16) & 0xFFU; in z_x86_tls_update_gdt() 29 sd->base_hi = (thread->tls >> 24) & 0xFFU; in z_x86_tls_update_gdt() 37 struct segment_descriptor *sd = &_gdt.entries[ENTRY_NUM]; in z_x86_early_tls_update_gdt() local 47 sd->base_low = POINTER_TO_UINT(self_ptr) & 0xFFFFU; in z_x86_early_tls_update_gdt() 48 sd->base_mid = (POINTER_TO_UINT(self_ptr) >> 16) & 0xFFU; in z_x86_early_tls_update_gdt() 49 sd->base_hi = (POINTER_TO_UINT(self_ptr) >> 24) & 0xFFU; in z_x86_early_tls_update_gdt()
|
/Zephyr-latest/tests/bluetooth/adv/src/ |
D | main.c | 23 static const struct bt_data sd[] = { variable 43 sd, ARRAY_SIZE(sd)); in ZTEST() 50 sd, ARRAY_SIZE(sd)); in ZTEST()
|
/Zephyr-latest/drivers/wifi/simplelink/ |
D | simplelink_sockets.c | 33 #define SD_TO_OBJ(sd) ((void *)(sd + 1)) argument 250 int sd; in simplelink_socket() local 279 sd = sl_Socket(family, type, sl_proto); in simplelink_socket() 280 if (sd >= 0) { in simplelink_socket() 286 retval = sl_SetSockOpt(sd, SL_SOL_SOCKET, in simplelink_socket() 291 (void)sl_Close(sd); in simplelink_socket() 297 retval = sd; in simplelink_socket() 309 int sd = OBJ_TO_SD(obj); in simplelink_close() local 312 retval = sl_Close(sd); in simplelink_close() 419 int sd = OBJ_TO_SD(obj); in simplelink_accept() local [all …]
|
/Zephyr-latest/samples/subsys/zbus/uart_bridge/src/ |
D | peripheral.c | 38 struct sensor_data_msg sd = {0, 0}; in peripheral_thread() local 43 sd.a += 1; in peripheral_thread() 44 sd.b += 10; in peripheral_thread() 46 zbus_chan_pub(&sensor_data_chan, &sd, K_MSEC(250)); in peripheral_thread()
|
/Zephyr-latest/drivers/wifi/winc1500/ |
D | wifi_winc1500.c | 297 struct socket_data *sd; in winc1500_get() local 316 sd = &w1500_data.socket_data[sock]; in winc1500_get() 318 k_sem_init(&sd->wait_sem, 0, 1); in winc1500_get() 320 sd->context = *context; in winc1500_get() 591 struct socket_data *sd = &w1500_data.socket_data[sock]; in winc1500_put() local 598 net_pkt_unref(sd->rx_pkt); in winc1500_put() 600 memset(sd, 0, sizeof(struct socket_data)); in winc1500_put() 780 static void handle_socket_msg_connect(struct socket_data *sd, void *pvMsg) in handle_socket_msg_connect() argument 788 net_context_set_state(sd->context, NET_CONTEXT_CONNECTED); in handle_socket_msg_connect() 791 if (sd->connect_cb) { in handle_socket_msg_connect() [all …]
|
/Zephyr-latest/samples/boards/st/power_mgmt/stm32wb_ble/src/ |
D | main.c | 42 static const struct bt_data sd[] = { variable 63 sd, ARRAY_SIZE(sd)); in bt_ready() 94 sd, ARRAY_SIZE(sd)); in bt_ready()
|
/Zephyr-latest/samples/subsys/zbus/remote_mock/src/ |
D | peripheral.c | 26 struct sensor_data_msg sd = {0}; in peripheral_thread() local 29 sd.value += 1; in peripheral_thread() 32 zbus_chan_pub(&sensor_data_chan, &sd, K_MSEC(250))); in peripheral_thread()
|
/Zephyr-latest/subsys/bluetooth/services/nus/ |
D | bt_nus_auto_start_bt.c | 19 static const struct bt_data sd[] = { variable 30 err = bt_le_adv_start(BT_LE_ADV_CONN_FAST_1, ad, ARRAY_SIZE(ad), sd, ARRAY_SIZE(sd)); in bt_nus_auto_start()
|
/Zephyr-latest/tests/subsys/zbus/runtime_observers_registration/src/ |
D | main.c | 71 struct sensor_data_msg sd = {.a = 10, .b = 100}; in ZTEST() local 76 zassert_equal(0, zbus_chan_pub(&chan1, &sd, K_MSEC(500)), NULL); in ZTEST() 83 zassert_equal(0, zbus_chan_pub(&chan1, &sd, K_MSEC(500)), NULL); in ZTEST() 92 zassert_equal(0, zbus_chan_pub(&chan1, &sd, K_MSEC(500)), NULL); in ZTEST() 98 zassert_equal(0, zbus_chan_pub(&chan2, &sd, K_MSEC(500)), NULL); in ZTEST() 106 zassert_equal(0, zbus_chan_pub(&chan2, &sd, K_MSEC(500)), NULL); in ZTEST() 125 zassert_equal(0, zbus_chan_pub(&chan2, &sd, K_MSEC(500)), NULL); in ZTEST() 130 zassert_equal(-ENOMSG, zbus_chan_pub(&chan2, &sd, K_MSEC(500)), NULL); in ZTEST() 194 struct sensor_data_msg sd = {.a = 70, .b = 116}; in ZTEST() local 201 zassert_equal(0, zbus_chan_pub(&chan4, &sd, K_MSEC(500)), NULL); in ZTEST()
|
/Zephyr-latest/samples/bluetooth/beacon/src/ |
D | main.c | 39 static const struct bt_data sd[] = { variable 58 sd, ARRAY_SIZE(sd)); in bt_ready()
|
/Zephyr-latest/include/zephyr/arch/x86/ia32/ |
D | segmentation.h | 374 static inline void z_sd_set_seg_offset(struct segment_descriptor *sd, in z_sd_set_seg_offset() argument 378 sd->offset_low = offset & 0xFFFFU; in z_sd_set_seg_offset() 379 sd->offset_hi = offset >> 16U; in z_sd_set_seg_offset() 380 sd->segment_selector = segment_selector; in z_sd_set_seg_offset() 381 sd->always_0_0 = 0U; in z_sd_set_seg_offset() 393 static inline void z_init_irq_gate(struct segment_descriptor *sd, in z_init_irq_gate() argument 397 z_sd_set_seg_offset(sd, seg_selector, offset); in z_init_irq_gate() 398 sd->dpl = dpl; in z_init_irq_gate() 399 sd->descriptor_type = DT_TYPE_SYSTEM; in z_init_irq_gate() 400 sd->present = 1U; in z_init_irq_gate() [all …]
|
/Zephyr-latest/samples/subsys/mgmt/mcumgr/smp_svr/src/ |
D | bluetooth.c | 25 static const struct bt_data sd[] = { variable 33 rc = bt_le_adv_start(BT_LE_ADV_CONN_FAST_1, ad, ARRAY_SIZE(ad), sd, ARRAY_SIZE(sd)); in advertise()
|
/Zephyr-latest/samples/bluetooth/peripheral_dis/src/ |
D | main.c | 29 static const struct bt_data sd[] = { variable 103 err = bt_le_adv_start(BT_LE_ADV_CONN_FAST_1, ad, ARRAY_SIZE(ad), sd, ARRAY_SIZE(sd)); in main()
|
/Zephyr-latest/drivers/wifi/infineon/ |
D | airoc_whd_hal_sdio.c | 120 static struct sdio_func *airoc_wifi_get_sdio_func(struct sd_card *sd, whd_bus_function_t function) in airoc_wifi_get_sdio_func() argument 122 struct airoc_wifi_data *data = CONTAINER_OF(sd, struct airoc_wifi_data, card); in airoc_wifi_get_sdio_func() 123 struct sdio_func *func[] = {&sd->func0, &data->sdio_func1, &data->sdio_func2}; in airoc_wifi_get_sdio_func() 137 struct sd_card *sd = whd_driver->bus_priv->sdio_obj; in whd_bus_sdio_cmd52() local 138 struct sdio_func *func = airoc_wifi_get_sdio_func(sd, function); in whd_bus_sdio_cmd52() 165 struct sd_card *sd = whd_driver->bus_priv->sdio_obj; in whd_bus_sdio_cmd53() local 166 struct sdio_func *func = airoc_wifi_get_sdio_func(sd, function); in whd_bus_sdio_cmd53() 212 struct sd_card *sd = whd_driver->bus_priv->sdio_obj; in whd_bus_sdio_irq_enable() local 216 ret = sdhc_enable_interrupt(sd->sdhc, whd_bus_sdio_irq_handler, SDHC_INT_SDIO, in whd_bus_sdio_irq_enable() 219 ret = sdhc_disable_interrupt(sd->sdhc, SDHC_INT_SDIO); in whd_bus_sdio_irq_enable()
|
/Zephyr-latest/soc/intel/intel_adsp/tools/ |
D | cavstool.py | 263 sd = Regs(hdamem + 0x0080 + (hda_ostream_id * 0x20)) 264 sd.CTL = 0x00 265 sd.CBL = 0x08 266 sd.LVI = 0x0c 267 sd.BDPL = 0x18 268 sd.BDPU = 0x1c 269 sd.freeze() 302 return (hda, sd, dsp, hda_ostream_id) 429 sd.CTL = 1 430 while (sd.CTL & 1) == 0: pass [all …]
|
/Zephyr-latest/samples/bluetooth/peripheral_ht/src/ |
D | main.c | 34 static const struct bt_data sd[] = { variable 65 err = bt_le_adv_start(BT_LE_ADV_CONN_FAST_1, ad, ARRAY_SIZE(ad), sd, ARRAY_SIZE(sd)); in bt_ready()
|
/Zephyr-latest/samples/subsys/logging/ble_backend/src/ |
D | main.c | 21 static const struct bt_data sd[] = { variable 29 err = bt_le_adv_start(BT_LE_ADV_CONN_FAST_1, ad, ARRAY_SIZE(ad), sd, ARRAY_SIZE(sd)); in start_adv()
|
/Zephyr-latest/samples/bluetooth/peripheral_gatt_write/src/ |
D | peripheral_gatt_write.c | 24 static const struct bt_data sd[] = { variable 70 err = bt_le_adv_start(BT_LE_ADV_CONN_FAST_1, ad, ARRAY_SIZE(ad), sd, ARRAY_SIZE(sd)); in peripheral_gatt_write()
|
/Zephyr-latest/samples/bluetooth/peripheral_nus/src/ |
D | main.c | 19 static const struct bt_data sd[] = { variable 64 err = bt_le_adv_start(BT_LE_ADV_CONN_FAST_1, ad, ARRAY_SIZE(ad), sd, ARRAY_SIZE(sd)); in main()
|
/Zephyr-latest/samples/bluetooth/peripheral_hids/src/ |
D | main.c | 34 static const struct bt_data sd[] = { variable 103 err = bt_le_adv_start(BT_LE_ADV_CONN_FAST_1, ad, ARRAY_SIZE(ad), sd, ARRAY_SIZE(sd)); in bt_ready()
|
/Zephyr-latest/samples/bluetooth/peripheral_hr/src/ |
D | main.c | 35 static const struct bt_data sd[] = { variable 207 err = bt_le_adv_start(BT_LE_ADV_CONN_FAST_1, ad, ARRAY_SIZE(ad), sd, ARRAY_SIZE(sd)); in main() 284 err = bt_le_adv_start(BT_LE_ADV_CONN_FAST_1, ad, ARRAY_SIZE(ad), sd, in main() 285 ARRAY_SIZE(sd)); in main()
|
/Zephyr-latest/samples/bluetooth/peripheral_sc_only/src/ |
D | main.c | 27 static const struct bt_data sd[] = { variable 148 err = bt_le_adv_start(BT_LE_ADV_CONN_FAST_1, ad, ARRAY_SIZE(ad), sd, ARRAY_SIZE(sd)); in main()
|
/Zephyr-latest/arch/x86/zefi/ |
D | zefi.py | 56 sd = seg.data() 58 % (len(sd), h.p_vaddr, len(data_blob))) 59 data_segs.append((h.p_vaddr, len(sd), len(data_blob))) 60 data_blob = data_blob + sd
|
/Zephyr-latest/tests/subsys/zbus/integration/src/ |
D | main.c | 112 struct sensor_data_msg sd = {0, 0}; in peripheral_thread() local 123 sd.a = a; in peripheral_thread() 124 sd.b = b; in peripheral_thread() 128 zbus_chan_pub(&sensor_data_chan, &sd, K_MSEC(250)); in peripheral_thread() 154 struct sensor_data_msg *sd; in context_reset() local 157 sd = (struct sensor_data_msg *)sensor_data_chan.message; in context_reset() 158 sd->a = 0; in context_reset() 159 sd->b = 1; in context_reset()
|
/Zephyr-latest/samples/bluetooth/iso_peripheral/src/ |
D | main.c | 25 static const struct bt_data sd[] = { variable 180 err = bt_le_adv_start(BT_LE_ADV_CONN_FAST_1, ad, ARRAY_SIZE(ad), sd, ARRAY_SIZE(sd)); in main()
|