Home
last modified time | relevance | path

Searched full:instance (Results 1 – 25 of 1344) sorted by relevance

12345678910>>...54

/Zephyr-latest/modules/hal_nordic/nrfx/
DKconfig32 bool "DPPI0 driver instance"
38 bool "DPPI00 driver instance"
44 bool "DPPI10 driver instance"
50 bool "DPPI20 driver instance"
56 bool "DPPI30 driver instance"
62 bool "DPPI020 driver instance"
68 bool "DPPI120 driver instance"
74 bool "DPPI130 driver instance"
80 bool "DPPI131 driver instance"
86 bool "DPPI132 driver instance"
[all …]
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_obj_swmgmt.c206 static void set_sw_update_state(struct lwm2m_swmgmt_data *instance, uint8_t state) in set_sw_update_state() argument
210 instance->obj_inst_id, in set_sw_update_state()
219 static void set_sw_update_result(struct lwm2m_swmgmt_data *instance, uint8_t result) in set_sw_update_result() argument
223 instance->obj_inst_id, in set_sw_update_result()
232 static void set_sw_update_act_state(struct lwm2m_swmgmt_data *instance, bool state) in set_sw_update_act_state() argument
236 instance->obj_inst_id, in set_sw_update_act_state()
257 LOG_DBG("No instance found for obj id %u", obj_inst_id); in find_index()
263 struct lwm2m_swmgmt_data *instance = NULL; in lwm2m_swmgmt_set_activate_cb() local
265 instance = find_index(obj_inst_id); in lwm2m_swmgmt_set_activate_cb()
266 if (!instance) { in lwm2m_swmgmt_set_activate_cb()
[all …]
Dlwm2m_obj_access_control.h12 * @brief Main access control logic. Checks if the server with instance id @p server_obj_inst are
13 * allowed to do @p operation on the object instance of object id @p obj_id
14 * and object instance id @p obj_inst_id. If access control is enabled, this should
17 * @param obj_id object id of the object instance having its rights checked.
18 * @param obj_inst_id object instance id of the object instance having its rights checked.
19 * @param server_obj_inst object instance id of the server attempting to do the operation.
31 * @brief Creates an access control object instance. Should be called every
32 * time an object instance is created.
34 * @param obj_id object id of the object instance getting an access control.
35 * @param obj_inst_id object instance id of the object instance getting access control.
[all …]
Dlwm2m_obj_server.h43 * with object instance id given by @p obj_inst_id.
45 * @param[in] obj_inst_id Object instance id of the server object instance
52 * with object instance id given by @p obj_inst_id.
54 * @param[in] obj_inst_id Object instance id of the server object instance
60 * @brief Returns the Short Server ID of the server object instance with
61 * object instance id given by @p obj_inst_id.
63 * @param[in] obj_inst_id Object instance id of the server object
69 * @brief Returns the object instance id of the server having ssid given by @p short_id.
72 * @return Object instance id or negative in case not found
77 * @brief Check if given server instance is not disabled
[all …]
Dlwm2m_registry.h12 * @brief Creates and registers an object instance to the registry. Object specified by
15 * @param[in] obj_id Object id of the object instance.
16 * @param[in] obj_inst_id Object instance id of the object instance to be created.
17 * @param[out] obj_inst Engine object instance buffer pointer.
24 * @brief Deletes the object instance given by @p obj_id / @p obj_inst_id.
26 * @param[in] obj_id Object id of the object instance to be deleted
27 * @param[in] obj_inst_id Object instance id of the object instance to be deleted
33 * @brief Get the engine object instance specified by @p msg->path. Usually only used in do_write
36 * @param[in] msg lwm2m message containing the path to the object instance.
37 * @param[out] obj_inst Engine object instance buffer pointer.
[all …]
/Zephyr-latest/include/zephyr/ipc/
Dipc_service_backend.h30 /** @brief Pointer to the function that will be used to open an instance
32 * @param[in] instance Instance pointer.
34 * @retval -EALREADY when the instance is already opened.
40 int (*open_instance)(const struct device *instance);
42 /** @brief Pointer to the function that will be used to close an instance
44 * @param[in] instance Instance pointer.
46 * @retval -EALREADY when the instance is not already inited.
52 int (*close_instance)(const struct device *instance);
56 * @param[in] instance Instance pointer.
61 * @retval -EINVAL when instance is invalid.
[all …]
Dipc_rpmsg.h34 * This callback is defined at instance level and it is called when an endpoint
35 * of the instance is bound.
37 * @param ept Endpoint of the instance just bound.
43 * Used to define an endpoint to be encapsulated in an RPMsg instance.
65 /** @brief RPMsg instance structure.
67 * Struct representation of an RPMsg instance.
70 /** Endpoints in the instance. */
79 /** EPT (instance) bound callback. */
82 /** EPT (instance) callback. */
85 /** Mutex for the instance. */
[all …]
Dicmsg.h61 /** @brief Open an icmsg instance
63 * Open an icmsg instance to be able to send and receive messages to a remote
64 * instance.
65 * This function is blocking until the handshake with the remote instance is
69 * remote instance is being performed.
72 * instance.
74 * instance.
76 * events generated by this icmsg instance. The pointed memory
77 * must be preserved while the icmsg instance is active.
82 * @retval -EALREADY when the instance is already opened.
[all …]
Dicmsg_me.h45 /** @brief Initialize an icmsg_me instance
48 * It initializes the underlying icmsg instance as one of the initialization
52 * underlying icmsg instance being created.
54 * instance. The structure shall be filled with zeros
56 * structure must be preserved while the icmsg_me instance
65 /** @brief Open an icmsg_me instance
67 * Open an icmsg_me instance to be able to send and receive messages to a
68 * remote instance.
69 * This function is blocking until the handshake with the remote instance is
73 * remote instance is being pefromed.
[all …]
Dipc_service.h43 * - INSTANCE: an instance is the external representation of a physical
47 * instance is peculiar to each backend. For example for
48 * OpenAMP-based backends, an instance is usually represented by a
52 * It's important to note that an instance per se is not used to
54 * user have to create (register) an endpoint in the instance
58 * instance, each one used to exchange data, possibly with different
66 * data between two domains (connected by the instance). An
67 * endpoint is always associated to an instance.
72 * 2) creating / registering the endpoints onto an instance at run
77 * the configuration parameters for the instance.
[all …]
/Zephyr-latest/subsys/ipc/ipc_service/
Dipc_service.c17 int ipc_service_open_instance(const struct device *instance) in ipc_service_open_instance() argument
21 if (!instance) { in ipc_service_open_instance()
22 LOG_ERR("Invalid 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()
46 LOG_ERR("Invalid 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()
[all …]
/Zephyr-latest/subsys/bluetooth/services/nus/
Dnus.c16 struct bt_nus_inst *instance = NULL; in nus_bt_chr_write() local
18 instance = bt_nus_inst_get_from_attr(attr); in nus_bt_chr_write()
19 __ASSERT_NO_MSG(instance); in nus_bt_chr_write()
21 SYS_SLIST_FOR_EACH_CONTAINER(instance->cbs, listener, _node) { in nus_bt_chr_write()
33 struct bt_nus_inst *instance = NULL; in nus_ccc_cfg_changed() local
35 instance = bt_nus_inst_get_from_attr(attr); in nus_ccc_cfg_changed()
36 __ASSERT_NO_MSG(instance); in nus_ccc_cfg_changed()
38 SYS_SLIST_FOR_EACH_CONTAINER(instance->cbs, listener, _node) { in nus_ccc_cfg_changed()
45 int bt_nus_inst_cb_register(struct bt_nus_inst *instance, struct bt_nus_cb *cb, void *ctx) in bt_nus_inst_cb_register() argument
51 if (!instance) { in bt_nus_inst_cb_register()
[all …]
/Zephyr-latest/subsys/ipc/ipc_service/lib/
Dipc_rpmsg.c18 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-latest/drivers/serial/
Duart_sedi.c45 /* Device init macro for UART instance. As multiple uart instances follow a
46 * similar definition of data structures differing only in the instance
57 .instance = DT_INST_PROP(n, peripheral_id), \
78 /* Convenient macro to get the controller instance. */
81 dev->config)->instance)
89 /* Specifies the uart instance for configuration. */
90 sedi_uart_t instance; member
92 /* Specifies the baudrate for the uart instance. */
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()
[all …]
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Drunner.py68 Most of the stats are at test instance level
518 self.instance = None
563 self.instance.build_time += duration
571 if not self.instance.run:
572 self.instance.status = TwisterStatus.NOTRUN
573 self.instance.add_missing_case_status(TwisterStatus.NOTRUN, "Test was built only")
575 self.instance.status = TwisterStatus.PASS
611 self.instance.status = TwisterStatus.SKIP
612 self.instance.reason = f"{overflow_found[0]} overflow"
613 change_skip_to_error_if_integration(self.options, self.instance)
[all …]
Dhandlers.py72 def __init__(self, instance, type_str: str, options: argparse.Namespace, argument
85 self.name = instance.name
86 self.instance = instance
87 self.sourcedir = instance.testsuite.source_dir
88 self.build_dir = instance.build_dir
99 return math.ceil(self.instance.testsuite.timeout *
100 self.instance.platform.timeout_multiplier *
113 expected_suite_names = self.instance.testsuite.ztest_suite_names
135 self.instance.status = TwisterStatus.FAIL
136 self.instance.execution_time = handler_time
[all …]
/Zephyr-latest/include/zephyr/logging/
Dlog_instance.h55 * Create static logging instance in read only memory.
73 /** @brief Initialize pointer to logger instance with explicitly provided object.
76 * the given instance, thus not created with @ref LOG_INSTANCE_REGISTER.
79 * @param _object Pointer to a logging instance object.
86 * Create a name for which contains module and instance names.
93 * Returns a pointer associated with given logging instance. When runtime filtering
94 * is enabled then dynamic instance is returned.
96 * @param _name Name of the instance.
98 * @return Pointer to the instance object (static or dynamic).
105 /** @brief Get pointer to a logging instance.
[all …]
/Zephyr-latest/soc/sensry/ganymed/sy1xx/common/
Dudma.c16 void sy1xx_udma_enable_clock(sy1xx_udma_module_t module, uint32_t instance) in sy1xx_udma_enable_clock() argument
24 if (instance >= SY1XX_MAX_UART_COUNT) { in sy1xx_udma_enable_clock()
27 udma_ctrl_per_cg |= 1 << (instance + 0); in sy1xx_udma_enable_clock()
31 if (instance >= SY1XX_MAX_I2C_COUNT) { in sy1xx_udma_enable_clock()
34 udma_ctrl_per_cg |= 1 << (instance + 10); in sy1xx_udma_enable_clock()
38 if (instance >= SY1XX_MAX_SPI_COUNT) { in sy1xx_udma_enable_clock()
41 udma_ctrl_per_cg |= 1 << (instance + 3); in sy1xx_udma_enable_clock()
45 if (instance >= SY1XX_MAX_ETH_COUNT) { in sy1xx_udma_enable_clock()
48 udma_ctrl_per_cg |= 1 << (instance + 20); in sy1xx_udma_enable_clock()
58 void sy1xx_udma_disable_clock(sy1xx_udma_module_t module, uint32_t instance) in sy1xx_udma_disable_clock() argument
[all …]
/Zephyr-latest/include/zephyr/modem/
Dcmux.h15 * DLCI2 <---> CMUX instance <--> Serial bus <--> Client <--> DLCI2
186 * @brief Contains CMUX instance configuration data
204 * @brief Initialize CMUX instance
205 * @param cmux CMUX instance
206 * @param config Configuration to apply to CMUX instance
223 * @brief Initialize DLCI instance and register it with CMUX instance
225 * @param cmux CMUX instance which the DLCI will be registered to
226 * @param dlci DLCI instance which will be registered and configured
227 * @param config Configuration to apply to DLCI instance
233 * @brief Attach CMUX instance to pipe
[all …]
Dpipe.h76 * @param pipe Pipe instance to initialize
77 * @param data Pipe data to bind to pipe instance
78 * @param api Pipe API implementation to bind to pipe instance
89 * @param pipe Pipe instance
104 * @param pipe Pipe instance
117 * @param pipe Pipe instance
159 * @param pipe Pipe instance
166 * @param pipe Pipe instance
181 * @param pipe Pipe instance
198 * @param pipe Pipe instance
[all …]
Dppp.h76 /* Network interface instance is bound to */
129 * @brief Attach pipe to instance and connect
131 * @param ppp Modem PPP instance
132 * @param pipe Pipe to attach to modem PPP instance
137 * @brief Get network interface modem PPP instance is bound to
139 * @param ppp Modem PPP instance
140 * @returns Pointer to network interface modem PPP instance is bound to
145 * @brief Release pipe from instance
147 * @param ppp Modem PPP instance
156 * @brief Initialize modem PPP instance device
[all …]
Dchat.h27 * @param chat Pointer to chat instance instance
47 /** Set if modem chat instance shall use wildcards when matching */
51 /** Type of modem chat instance */
152 * @param chat Pointer to chat instance instance
207 * @brief Chat instance internal context
310 * @brief Initialize modem pipe chat instance
311 * @param chat Chat instance
312 * @param config Configuration which shall be applied to Chat instance
313 * @note Chat instance must be attached to pipe
318 * @brief Attach modem chat instance to pipe
[all …]
/Zephyr-latest/drivers/clock_control/
Dclock_control_mcux_ccm_rev2.c21 uint32_t peripheral, instance; in mcux_ccm_on() local
24 instance = (clock_name & IMX_CCM_INSTANCE_MASK); in mcux_ccm_on()
44 (void)instance; in mcux_ccm_on()
60 uint32_t clock_root, peripheral, instance; in mcux_ccm_get_subsys_rate() local
63 instance = (clock_name & IMX_CCM_INSTANCE_MASK); in mcux_ccm_get_subsys_rate()
68 clock_root = kCLOCK_Root_Lpi2c0102 + instance; in mcux_ccm_get_subsys_rate()
72 clock_root = kCLOCK_Root_Lpi2c1 + instance; in mcux_ccm_get_subsys_rate()
80 clock_root = kCLOCK_Root_I3c1 + instance; in mcux_ccm_get_subsys_rate()
86 clock_root = kCLOCK_Root_Lpspi1 + instance; in mcux_ccm_get_subsys_rate()
94 clock_root = kCLOCK_Root_Lpuart0102 + instance; in mcux_ccm_get_subsys_rate()
[all …]
/Zephyr-latest/dts/bindings/gpio/
Dnordic,nrf-gpiote.yaml19 instance:
23 The GPIOTE instance number. GPIOTE instance GPIOTE0 has:
25 instance = <0>;
29 instance = <1>;
/Zephyr-latest/subsys/ipc/ipc_service/backends/
Dipc_icmsg.c17 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

12345678910>>...54