/Zephyr-Core-3.5.0/subsys/net/lib/lwm2m/ |
D | lwm2m_obj_swmgmt.c | 205 static void set_sw_update_state(struct lwm2m_swmgmt_data *instance, uint8_t state) in set_sw_update_state() argument 209 instance->obj_inst_id, in set_sw_update_state() 218 static void set_sw_update_result(struct lwm2m_swmgmt_data *instance, uint8_t result) in set_sw_update_result() argument 222 instance->obj_inst_id, in set_sw_update_result() 231 static void set_sw_update_act_state(struct lwm2m_swmgmt_data *instance, bool state) in set_sw_update_act_state() argument 235 instance->obj_inst_id, in set_sw_update_act_state() 262 struct lwm2m_swmgmt_data *instance = NULL; in lwm2m_swmgmt_set_activate_cb() local 264 instance = find_index(obj_inst_id); in lwm2m_swmgmt_set_activate_cb() 265 if (!instance) { in lwm2m_swmgmt_set_activate_cb() 273 instance->activate_cb = cb; in lwm2m_swmgmt_set_activate_cb() [all …]
|
/Zephyr-Core-3.5.0/subsys/ipc/ipc_service/ |
D | ipc_service.c | 17 int ipc_service_open_instance(const struct device *instance) in ipc_service_open_instance() argument 21 if (!instance) { in ipc_service_open_instance() 26 backend = (const struct ipc_service_backend *) instance->api; in ipc_service_open_instance() 38 return backend->open_instance(instance); in ipc_service_open_instance() 41 int ipc_service_close_instance(const struct device *instance) in ipc_service_close_instance() argument 45 if (!instance) { in ipc_service_close_instance() 50 backend = (const struct ipc_service_backend *) instance->api; in ipc_service_close_instance() 62 return backend->close_instance(instance); in ipc_service_close_instance() 65 int ipc_service_register_endpoint(const struct device *instance, in ipc_service_register_endpoint() argument 71 if (!instance || !ept || !cfg) { in ipc_service_register_endpoint() [all …]
|
/Zephyr-Core-3.5.0/subsys/ipc/ipc_service/lib/ |
D | ipc_rpmsg.c | 18 struct ipc_rpmsg_instance *instance; in ns_bind_cb() local 23 instance = CONTAINER_OF(p_rvdev->shpool, struct ipc_rpmsg_instance, shm_pool); in ns_bind_cb() 26 ept = &instance->endpoint[i]; in ns_bind_cb() 36 dest, instance->cb, rpmsg_service_unbind); in ns_bind_cb() 42 if (instance->bound_cb) { in ns_bind_cb() 43 instance->bound_cb(ept); in ns_bind_cb() 49 int ipc_rpmsg_register_ept(struct ipc_rpmsg_instance *instance, unsigned int role, in ipc_rpmsg_register_ept() argument 54 if (!instance || !ept) { in ipc_rpmsg_register_ept() 58 rdev = rpmsg_virtio_get_rpmsg_device(&instance->rvdev); in ipc_rpmsg_register_ept() 66 RPMSG_ADDR_ANY, instance->cb, rpmsg_service_unbind); in ipc_rpmsg_register_ept() [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/ipc/ |
D | ipc_service_backend.h | 40 int (*open_instance)(const struct device *instance); 52 int (*close_instance)(const struct device *instance); 71 int (*send)(const struct device *instance, void *token, 87 int (*register_endpoint)(const struct device *instance, 104 int (*deregister_endpoint)(const struct device *instance, void *token); 119 int (*get_tx_buffer_size)(const struct device *instance, void *token); 141 int (*get_tx_buffer)(const struct device *instance, void *token, 159 int (*drop_tx_buffer)(const struct device *instance, void *token, 181 int (*send_nocopy)(const struct device *instance, void *token, 199 int (*hold_rx_buffer)(const struct device *instance, void *token, [all …]
|
/Zephyr-Core-3.5.0/scripts/pylib/twister/twisterlib/ |
D | runner.py | 231 self.instance = None 274 self.instance.status = "passed" 275 if not self.instance.run: 276 self.instance.add_missing_case_status("skipped", "Test was built only") 277 results = {'msg': msg, "returncode": p.returncode, "instance": self.instance} 299 self.instance.status = "skipped" 300 self.instance.reason = "{} overflow".format(overflow_found[0]) 301 change_skip_to_error_if_integration(self.options, self.instance) 303 self.instance.status = "skipped" 304 self.instance.reason = "imgtool overflow" [all …]
|
D | handlers.py | 68 def __init__(self, instance, type_str="build"): argument 82 self.name = instance.name 83 self.instance = instance 84 self.sourcedir = instance.testsuite.source_dir 85 self.build_dir = instance.build_dir 97 return math.ceil(self.instance.testsuite.timeout * 98 self.instance.platform.timeout_multiplier * 107 for instance in harness.recording: 108 cw.writerow(instance) 120 expected_suite_names = self.instance.testsuite.ztest_suite_names [all …]
|
D | harness.py | 64 self.instance: TestInstance | None = None 68 def configure(self, instance): argument 69 self.instance = instance 70 config = instance.testsuite.harness_config 71 self.id = instance.testsuite.id 72 self.run_id = instance.run_id 73 if instance.testsuite.ignore_faults: 114 def configure(self, instance): argument 115 super(Robot, self).configure(instance) 116 self.instance = instance [all …]
|
D | reports.py | 246 for instance in self.instances.values(): 248 handler_log = os.path.join(instance.build_dir, "handler.log") 249 build_log = os.path.join(instance.build_dir, "build.log") 250 device_log = os.path.join(instance.build_dir, "device.log") 252 handler_time = instance.metrics.get('handler_time', 0) 253 used_ram = instance.metrics.get ("used_ram", 0) 254 used_rom = instance.metrics.get("used_rom",0) 255 available_ram = instance.metrics.get("available_ram", 0) 256 available_rom = instance.metrics.get("available_rom", 0) 258 "name": instance.testsuite.name, [all …]
|
D | testplan.py | 570 instance = TestInstance(self.testsuites[testsuite], platform, self.env.outdir) 572 instance.run_id = ts.get("run_id") 578 instance.run = instance.check_runnable( 585 instance.metrics['handler_time'] = ts.get('execution_time', 0) 586 instance.metrics['used_ram'] = ts.get("used_ram", 0) 587 instance.metrics['used_rom'] = ts.get("used_rom",0) 588 instance.metrics['available_ram'] = ts.get('available_ram', 0) 589 instance.metrics['available_rom'] = ts.get('available_rom', 0) 594 instance.status = None 595 instance.reason = None [all …]
|
/Zephyr-Core-3.5.0/drivers/serial/ |
D | uart_sedi.c | 57 .instance = DT_INST_PROP(n, peripheral_id), \ 81 dev->config)->instance) 90 sedi_uart_t instance; member 163 int ret = sedi_uart_set_power(config->instance, SEDI_POWER_SUSPEND); in uart_suspend_device() 177 ret = sedi_uart_set_power(config->instance, SEDI_POWER_FULL); in uart_resume_device_from_suspend() 221 sedi_uart_t instance = GET_CONTROLLER_INSTANCE(dev); in uart_sedi_poll_in() local 225 sedi_uart_get_status(instance, (uint32_t *) &status); in uart_sedi_poll_in() 235 if (sedi_uart_read(instance, data, (uint32_t *)&status)) { in uart_sedi_poll_in() 245 sedi_uart_t instance = GET_CONTROLLER_INSTANCE(dev); in uart_sedi_poll_out() local 247 sedi_uart_write(instance, data); in uart_sedi_poll_out() [all …]
|
/Zephyr-Core-3.5.0/subsys/ipc/ipc_service/backends/ |
D | ipc_icmsg_me_initiator.c | 28 const struct device *instance = priv; in bound() local 29 struct backend_data_t *dev_data = instance->data; in bound() 36 const struct device *instance = priv; in received() local 37 struct backend_data_t *dev_data = instance->data; in received() 73 static int open(const struct device *instance) in open() argument 75 const struct icmsg_config_t *conf = instance->config; in open() 76 struct backend_data_t *dev_data = instance->data; in open() 79 (void *)instance); in open() 103 static int register_ept(const struct device *instance, void **token, in register_ept() argument 106 const struct icmsg_config_t *conf = instance->config; in register_ept() [all …]
|
D | ipc_icmsg_me_follower.c | 131 const struct device *instance = priv; in bound() local 132 struct backend_data_t *dev_data = instance->data; in bound() 139 const struct device *instance = priv; in received() local 140 const struct icmsg_config_t *conf = instance->config; in received() 141 struct backend_data_t *dev_data = instance->data; in received() 191 static int open(const struct device *instance) in open() argument 193 const struct icmsg_config_t *conf = instance->config; in open() 194 struct backend_data_t *dev_data = instance->data; in open() 197 (void *)instance); in open() 200 static int register_ept(const struct device *instance, void **token, in register_ept() argument [all …]
|
D | ipc_icmsg.c | 17 static int register_ept(const struct device *instance, void **token, in register_ept() argument 20 const struct icmsg_config_t *conf = instance->config; in register_ept() 21 struct icmsg_data_t *dev_data = instance->data; in register_ept() 29 static int deregister_ept(const struct device *instance, void *token) in deregister_ept() argument 31 const struct icmsg_config_t *conf = instance->config; in deregister_ept() 32 struct icmsg_data_t *dev_data = instance->data; in deregister_ept() 37 static int send(const struct device *instance, void *token, in send() argument 40 const struct icmsg_config_t *conf = instance->config; in send() 41 struct icmsg_data_t *dev_data = instance->data; in send() 52 static int backend_init(const struct device *instance) in backend_init() argument
|
D | ipc_rpmsg_static_vrings.c | 310 static void mbox_callback(const struct device *instance, uint32_t channel, in mbox_callback() argument 318 static int mbox_init(const struct device *instance) in mbox_init() argument 320 const struct backend_config_t *conf = instance->config; in mbox_init() 321 struct backend_data_t *data = instance->data; in mbox_init() 340 static int mbox_deinit(const struct device *instance) in mbox_deinit() argument 342 const struct backend_config_t *conf = instance->config; in mbox_deinit() 343 struct backend_data_t *data = instance->data; in mbox_deinit() 424 static int register_ept(const struct device *instance, void **token, in register_ept() argument 427 struct backend_data_t *data = instance->data; in register_ept() 455 static int deregister_ept(const struct device *instance, void *token) in deregister_ept() argument [all …]
|
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ticker/ |
D | ticker.c | 447 static void ticker_by_next_slot_get(struct ticker_instance *instance, argument 460 node = instance->nodes; 465 (*ticks_current != instance->ticks_current)) { 467 _ticker_id_head = instance->ticker_id_head; 468 *ticks_current = instance->ticks_current; 549 static uint8_t ticker_enqueue(struct ticker_instance *instance, uint8_t id) argument 559 node = &instance->nodes[0]; 562 current = instance->ticker_id_head; 594 instance->ticker_id_head = id; 622 static uint8_t ticker_enqueue(struct ticker_instance *instance, uint8_t id) argument [all …]
|
/Zephyr-Core-3.5.0/modules/hal_nordic/nrfx/ |
D | Kconfig | 36 bool "EGU0 driver instance" 41 bool "EGU1 driver instance" 46 bool "EGU2 driver instance" 51 bool "EGU3 driver instance" 56 bool "EGU4 driver instance" 61 bool "EGU5 driver instance" 81 bool "I2S0 driver instance" 125 bool "PWM0 driver instance" 130 bool "PWM1 driver instance" 135 bool "PWM2 driver instance" [all …]
|
/Zephyr-Core-3.5.0/drivers/clock_control/ |
D | clock_control_mcux_ccm_rev2.c | 35 uint32_t clock_root, peripheral, instance; in mcux_ccm_get_subsys_rate() local 38 instance = (clock_name & IMX_CCM_INSTANCE_MASK); in mcux_ccm_get_subsys_rate() 42 clock_root = kCLOCK_Root_Lpi2c1 + instance; in mcux_ccm_get_subsys_rate() 48 clock_root = kCLOCK_Root_Lpspi1 + instance; in mcux_ccm_get_subsys_rate() 54 clock_root = kCLOCK_Root_Lpuart1 + instance; in mcux_ccm_get_subsys_rate() 61 clock_root = kCLOCK_Root_Usdhc1 + instance; in mcux_ccm_get_subsys_rate() 82 clock_root = kCLOCK_Root_Can1 + instance; in mcux_ccm_get_subsys_rate() 88 clock_root = kCLOCK_Root_Gpt1 + instance; in mcux_ccm_get_subsys_rate()
|
D | clock_control_mcux_ccm.c | 59 uint32_t instance = clock_name & IMX_CCM_INSTANCE_MASK; in mcux_ccm_on() local 67 CLOCK_EnableClock(uart_clocks[instance]); in mcux_ccm_on() 71 (void)instance; in mcux_ccm_on() 80 uint32_t instance = clock_name & IMX_CCM_INSTANCE_MASK; in mcux_ccm_off() local 88 CLOCK_DisableClock(uart_clocks[instance]); in mcux_ccm_off() 92 (void)instance; in mcux_ccm_off() 141 uint32_t instance = clock_name & IMX_CCM_INSTANCE_MASK; in mcux_ccm_get_subsys_rate() local 142 clock_root_t clk_root = lpuart_clk_root[instance]; in mcux_ccm_get_subsys_rate() 199 uint32_t instance = clock_name & IMX_CCM_INSTANCE_MASK; in mcux_ccm_get_subsys_rate() local 200 clock_root_control_t clk_root = uart_clk_root[instance]; in mcux_ccm_get_subsys_rate()
|
/Zephyr-Core-3.5.0/tests/subsys/ipc/ipc_service/src/ |
D | backend.c | 27 static int send(const struct device *instance, void *token, in send() argument 34 config = instance->config; in send() 35 data = instance->data; in send() 45 static int register_ept(const struct device *instance, in register_ept() argument 49 struct backend_data_t *data = instance->data; in register_ept() 56 static int deregister_ept(const struct device *instance, void *token) in deregister_ept() argument 58 struct backend_data_t *data = instance->data; in deregister_ept()
|
/Zephyr-Core-3.5.0/drivers/ethernet/ |
D | phy_cyclonev.c | 90 int alt_eth_phy_config(uint16_t instance, struct eth_cyclonev_priv *p); 91 int alt_eth_phy_reset(uint16_t instance, struct eth_cyclonev_priv *p); 93 uint16_t instance, struct eth_cyclonev_priv *p); 221 int alt_eth_phy_config(uint16_t instance, struct eth_cyclonev_priv *p) in alt_eth_phy_config() argument 229 rc = alt_eth_phy_write_register_extended(instance, MII_KSZPHY_CLK_CONTROL_PAD_SKEW, in alt_eth_phy_config() 235 rc = alt_eth_phy_write_register_extended(instance, MII_KSZPHY_RX_DATA_PAD_SKEW, in alt_eth_phy_config() 244 rc = alt_eth_phy_read_register(instance, PHY_BSR, &rdval, p); in alt_eth_phy_config() 252 rc = alt_eth_phy_read_register(instance, PHY_AUTON, &rdval, p); in alt_eth_phy_config() 259 rc = alt_eth_phy_write_register(instance, PHY_AUTON, rdval, p); in alt_eth_phy_config() 266 rc = alt_eth_phy_write_register(instance, PHY_1GCTL, in alt_eth_phy_config() [all …]
|
/Zephyr-Core-3.5.0/scripts/tests/twister/ |
D | test_harness.py | 46 instance = TestInstance(testsuite=mock_testsuite, platform=mock_platform, outdir="") 49 harness.configure(instance) 72 assert gtest.instance.get_case_by_name("id.suite_name.test_name") is not None 74 gtest.instance.get_case_by_name("id.suite_name.test_name").status == "started" 94 assert gtest.instance.get_case_by_name("id.suite_name.test_name") is not None 95 assert gtest.instance.get_case_by_name("id.suite_name.test_name").status == "passed" 114 assert gtest.instance.get_case_by_name("id.suite_name.test_name") is not None 115 assert gtest.instance.get_case_by_name("id.suite_name.test_name").status == "failed" 135 assert gtest.instance.get_case_by_name("id.suite_name.test_name") is not None 136 assert gtest.instance.get_case_by_name("id.suite_name.test_name").status == "passed" [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/net/ |
D | dns_sd.h | 112 .instance = _instance, \ 161 #define DNS_SD_REGISTER_TCP_SERVICE(id, instance, service, domain, text, \ argument 164 DNS_SD_REGISTER_SERVICE(id, instance, service, "_tcp", domain, \ 192 #define DNS_SD_REGISTER_UDP_SERVICE(id, instance, service, domain, text, \ argument 195 DNS_SD_REGISTER_SERVICE(id, instance, service, "_udp", domain, \ 223 const char *instance; member
|
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/ |
D | ticker.c | 50 void *instance) in hal_ticker_instance0_sched() argument 65 m.param = instance; in hal_ticker_instance0_sched() 89 m.param = instance; in hal_ticker_instance0_sched() 112 m.param = instance; in hal_ticker_instance0_sched() 135 m.param = instance; in hal_ticker_instance0_sched() 150 m.param = instance; in hal_ticker_instance0_sched() 173 m.param = instance; in hal_ticker_instance0_sched()
|
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/ |
D | ticker.c | 50 void *instance) in hal_ticker_instance0_sched() argument 66 m.param = instance; in hal_ticker_instance0_sched() 91 m.param = instance; in hal_ticker_instance0_sched() 114 m.param = instance; in hal_ticker_instance0_sched() 137 m.param = instance; in hal_ticker_instance0_sched() 152 m.param = instance; in hal_ticker_instance0_sched() 175 m.param = instance; in hal_ticker_instance0_sched()
|
/Zephyr-Core-3.5.0/subsys/net/l2/openthread/ |
D | openthread.c | 156 void otPlatRadioGetIeeeEui64(otInstance *instance, uint8_t *ieee_eui64) in otPlatRadioGetIeeeEui64() argument 158 ARG_UNUSED(instance); in otPlatRadioGetIeeeEui64() 163 void otTaskletsSignalPending(otInstance *instance) in otTaskletsSignalPending() argument 184 otThreadDeviceRoleToString(otThreadGetDeviceRole(ot_context->instance)) in ot_state_changed_handler() 188 switch (otThreadGetDeviceRole(ot_context->instance)) { in ot_state_changed_handler() 309 otThreadSetEnabled(ot_context->instance, true); in ot_joiner_start_handler() 324 while (otTaskletsArePending(ot_context->instance)) { in openthread_process() 325 otTaskletsProcess(ot_context->instance); in openthread_process() 328 otSysProcessDrivers(ot_context->instance); in openthread_process() 398 otInstance *ot_instance = ot_context->instance; in openthread_start() [all …]
|