Home
last modified time | relevance | path

Searched defs:inst (Results 1 – 25 of 648) sorted by relevance

12345678910>>...26

/Zephyr-Core-3.7.0/soc/ite/ec/common/
Dsoc_dt.h13 #define IT8XXX2_DEV_WUC(idx, inst) \ argument
15 #define IT8XXX2_DEV_WUC_MASK(idx, inst) \ argument
27 #define IT8XXX2_DT_INST_WUCCTRL(inst, idx) \ argument
37 #define IT8XXX2_DT_WUC_ITEMS_FUNC(idx, inst) \ argument
50 #define IT8XXX2_DT_INST_WUCCTRL_LEN(inst) \ argument
60 #define IT8XXX2_DT_WUC_ITEMS_LIST(inst) { \ argument
73 #define IT8XXX2_DT_GPIO_IRQ_FUNC(idx, inst) \ argument
83 #define IT8XXX2_DT_GPIO_IRQ_LIST(inst) { \ argument
/Zephyr-Core-3.7.0/subsys/bluetooth/audio/
Dhas_client.c38 struct bt_has_client *inst = &clients[bt_conn_index(conn)]; in inst_by_conn() local
47 static void inst_cleanup(struct bt_has_client *inst) in inst_cleanup()
54 static enum bt_has_capabilities get_capabilities(const struct bt_has_client *inst) in get_capabilities()
66 static void handle_read_preset_rsp(struct bt_has_client *inst, struct net_buf_simple *buf) in handle_read_preset_rsp()
102 static void handle_generic_update(struct bt_has_client *inst, struct net_buf_simple *buf, in handle_generic_update()
133 static void handle_preset_deleted(struct bt_has_client *inst, struct net_buf_simple *buf, in handle_preset_deleted()
144 static void handle_preset_availability(struct bt_has_client *inst, struct net_buf_simple *buf, in handle_preset_availability()
156 static void handle_preset_changed(struct bt_has_client *inst, struct net_buf_simple *buf) in handle_preset_changed()
203 struct bt_has_client *inst = CONTAINER_OF(params, struct bt_has_client, in control_point_notify_cb() local
240 static void discover_complete(struct bt_has_client *inst) in discover_complete()
[all …]
Daics.c127 struct bt_aics *inst = BT_AUDIO_CHRC_USER_DATA(attr); in read_aics_state() local
140 struct bt_aics *inst = BT_AUDIO_CHRC_USER_DATA(attr); in read_aics_gain_settings() local
153 struct bt_aics *inst = BT_AUDIO_CHRC_USER_DATA(attr); in read_type() local
171 struct bt_aics *inst = BT_AUDIO_CHRC_USER_DATA(attr); in read_input_status() local
193 static void notify_work_reschedule(struct bt_aics *inst, enum bt_aics_notify notify, in notify_work_reschedule()
207 static void notify(struct bt_aics *inst, enum bt_aics_notify notify, const struct bt_uuid *uuid, in notify()
223 struct bt_aics *inst = CONTAINER_OF(d_work, struct bt_aics, srv.notify_work); in notify_work_handler() local
241 static void value_changed(struct bt_aics *inst, enum bt_aics_notify notify) in value_changed()
254 struct bt_aics *inst = BT_AUDIO_CHRC_USER_DATA(attr); in write_aics_control() local
374 struct bt_aics *inst = BT_AUDIO_CHRC_USER_DATA(attr); in write_description() local
[all …]
Daics_client.c61 struct bt_aics *inst; in aics_client_notify_handler() local
128 struct bt_aics *inst = lookup_aics_by_handle(conn, params->single.handle); in aics_client_read_state_cb() local
177 struct bt_aics *inst = lookup_aics_by_handle(conn, params->single.handle); in aics_client_read_gain_settings_cb() local
226 struct bt_aics *inst = lookup_aics_by_handle(conn, params->single.handle); in aics_client_read_type_cb() local
271 struct bt_aics *inst = lookup_aics_by_handle(conn, params->single.handle); in aics_client_read_status_cb() local
310 static void aics_cp_notify_app(struct bt_aics *inst, uint8_t err) in aics_cp_notify_app()
353 struct bt_aics *inst = lookup_aics_by_handle(conn, params->single.handle); in internal_read_state_cb() local
406 struct bt_aics *inst = lookup_aics_by_handle(conn, params->handle); in aics_client_write_aics_cp_cb() local
448 static int aics_client_common_control(uint8_t opcode, struct bt_aics *inst) in aics_client_common_control()
498 struct bt_aics *inst = lookup_aics_by_handle(conn, params->single.handle); in aics_client_read_desc_cb() local
[all …]
Dvocs_client.c62 struct bt_vocs_client *inst; in vocs_client_notify_handler() local
127 struct bt_vocs_client *inst = lookup_vocs_by_handle(conn, params->single.handle); in vocs_client_read_offset_state_cb() local
168 struct bt_vocs_client *inst = lookup_vocs_by_handle(conn, params->single.handle); in vocs_client_read_location_cb() local
208 struct bt_vocs_client *inst = lookup_vocs_by_handle(conn, params->single.handle); in internal_read_volume_offset_state_cb() local
259 struct bt_vocs_client *inst = lookup_vocs_by_handle(conn, params->handle); in vocs_client_write_vocs_cp_cb() local
307 struct bt_vocs_client *inst = lookup_vocs_by_handle(conn, params->single.handle); in vocs_client_read_output_desc_cb() local
346 static bool valid_inst_discovered(struct bt_vocs_client *inst) in valid_inst_discovered()
357 struct bt_vocs_client *inst = CONTAINER_OF(params, struct bt_vocs_client, discover_params); in vocs_discover_func() local
439 int bt_vocs_client_state_get(struct bt_vocs_client *inst) in bt_vocs_client_state_get()
476 int bt_vocs_client_location_set(struct bt_vocs_client *inst, uint32_t location) in bt_vocs_client_location_set()
[all …]
Dtbs.c67 struct service_inst inst; member
78 struct service_inst inst; member
100 static bool inst_is_gtbs(const struct service_inst *inst) in inst_is_gtbs()
105 static uint8_t inst_index(const struct service_inst *inst) in inst_index()
137 static struct bt_tbs_call *lookup_call_in_inst(struct tbs_service_inst *inst, in lookup_call_in_inst()
178 static bool inst_check_attr(struct service_inst *inst, const struct bt_gatt_attr *attr) in inst_check_attr()
294 static void tbs_set_terminate_reason(struct tbs_service_inst *inst, in tbs_set_terminate_reason()
348 static struct bt_tbs_call *call_alloc(struct tbs_service_inst *inst, uint8_t state, const char *uri, in call_alloc()
384 static void net_buf_put_call_states_by_inst(const struct tbs_service_inst *inst, in net_buf_put_call_states_by_inst()
406 static void net_buf_put_call_states(const struct service_inst *inst, struct net_buf_simple *buf) in net_buf_put_call_states()
[all …]
Dvocs.c53 struct bt_vocs_server *inst = BT_AUDIO_CHRC_USER_DATA(attr); in read_offset_state() local
79 static void notify_work_reschedule(struct bt_vocs_server *inst, enum bt_vocs_notify notify, in notify_work_reschedule()
93 static void notify(struct bt_vocs_server *inst, enum bt_vocs_notify notify, in notify()
109 struct bt_vocs_server *inst = CONTAINER_OF(d_work, struct bt_vocs_server, notify_work); in notify_work_handler() local
126 static void value_changed(struct bt_vocs_server *inst, enum bt_vocs_notify notify) in value_changed()
137 struct bt_vocs_server *inst = BT_AUDIO_CHRC_USER_DATA(attr); in write_location() local
172 struct bt_vocs_server *inst = BT_AUDIO_CHRC_USER_DATA(attr); in read_location() local
183 struct bt_vocs_server *inst = BT_AUDIO_CHRC_USER_DATA(attr); in write_vocs_control() local
254 struct bt_vocs_server *inst = BT_AUDIO_CHRC_USER_DATA(attr); in write_output_desc() local
283 static int vocs_write(struct bt_vocs_server *inst, in vocs_write()
[all …]
/Zephyr-Core-3.7.0/soc/nuvoton/npcx/common/
Dsoc_dt.h40 #define NPCX_DT_INST_PROP_ENUM_OR(inst, prop, default_value) \ argument
61 #define NPCX_DT_CLK_CFG_ITEM(inst) \ argument
76 #define NPCX_DT_CLK_CFG_ITEM_BY_IDX(inst, i) \ argument
90 #define NPCX_DT_CLK_CFG_ITEM_BY_NAME(inst, name) \ argument
103 #define NPCX_DT_CLK_CFG_ITEMS_LEN(inst) DT_INST_PROP_LEN(inst, clocks) argument
113 #define NPCX_DT_CLK_CFG_ITEMS_FUNC(child, inst) \ argument
136 #define NPCX_DT_CLK_CFG_ITEMS_LIST(inst) { \ argument
149 #define NPCX_DT_PHANDLE_FROM_WUI_NAME(inst, name) \ argument
159 #define NPCX_DT_WUI_ITEM_BY_NAME(inst, name) \ argument
176 #define NPCX_DT_PHANDLE_FROM_WUI_MAPS(inst, i) \ argument
[all …]
/Zephyr-Core-3.7.0/include/zephyr/devicetree/
Dpwms.h331 #define DT_INST_PWMS_CTLR_BY_IDX(inst, idx) \ argument
343 #define DT_INST_PWMS_CTLR_BY_NAME(inst, name) \ argument
353 #define DT_INST_PWMS_CTLR(inst) DT_INST_PWMS_CTLR_BY_IDX(inst, 0) argument
363 #define DT_INST_PWMS_CELL_BY_IDX(inst, idx, cell) \ argument
375 #define DT_INST_PWMS_CELL_BY_NAME(inst, name, cell) \ argument
384 #define DT_INST_PWMS_CELL(inst, cell) \ argument
394 #define DT_INST_PWMS_CHANNEL_BY_IDX(inst, idx) \ argument
405 #define DT_INST_PWMS_CHANNEL_BY_NAME(inst, name) \ argument
414 #define DT_INST_PWMS_CHANNEL(inst) DT_INST_PWMS_CHANNEL_BY_IDX(inst, 0) argument
423 #define DT_INST_PWMS_PERIOD_BY_IDX(inst, idx) \ argument
[all …]
Dpinctrl.h311 #define DT_INST_PINCTRL_BY_IDX(inst, pc_idx, idx) \ argument
329 #define DT_INST_PINCTRL_0(inst, idx) \ argument
344 #define DT_INST_PINCTRL_BY_NAME(inst, name, idx) \ argument
358 #define DT_INST_PINCTRL_NAME_TO_IDX(inst, name) \ argument
371 #define DT_INST_PINCTRL_IDX_TO_NAME_TOKEN(inst, pc_idx) \ argument
384 #define DT_INST_PINCTRL_IDX_TO_NAME_UPPER_TOKEN(inst, pc_idx) \ argument
398 #define DT_INST_NUM_PINCTRLS_BY_IDX(inst, pc_idx) \ argument
411 #define DT_INST_NUM_PINCTRLS_BY_NAME(inst, name) \ argument
422 #define DT_INST_NUM_PINCTRL_STATES(inst) \ argument
435 #define DT_INST_PINCTRL_HAS_IDX(inst, pc_idx) \ argument
[all …]
Dclocks.h261 #define DT_INST_CLOCKS_HAS_IDX(inst, idx) \ argument
270 #define DT_INST_CLOCKS_HAS_NAME(inst, name) \ argument
278 #define DT_INST_NUM_CLOCKS(inst) \ argument
291 #define DT_INST_CLOCKS_CTLR_BY_IDX(inst, idx) \ argument
301 #define DT_INST_CLOCKS_CTLR(inst) DT_INST_CLOCKS_CTLR_BY_IDX(inst, 0) argument
314 #define DT_INST_CLOCKS_CTLR_BY_NAME(inst, name) \ argument
326 #define DT_INST_CLOCKS_CELL_BY_IDX(inst, idx, cell) \ argument
338 #define DT_INST_CLOCKS_CELL_BY_NAME(inst, name, cell) \ argument
347 #define DT_INST_CLOCKS_CELL(inst, cell) \ argument
Dreset.h178 #define DT_INST_RESET_CTLR_BY_IDX(inst, idx) \ argument
188 #define DT_INST_RESET_CTLR(inst) \ argument
202 #define DT_INST_RESET_CTLR_BY_NAME(inst, name) \ argument
214 #define DT_INST_RESET_CELL_BY_IDX(inst, idx, cell) \ argument
226 #define DT_INST_RESET_CELL_BY_NAME(inst, name, cell) \ argument
235 #define DT_INST_RESET_CELL(inst, cell) \ argument
289 #define DT_INST_RESET_ID_BY_IDX(inst, idx) \ argument
298 #define DT_INST_RESET_ID(inst) \ argument
Dio-channels.h100 #define DT_INST_IO_CHANNELS_CTLR_BY_IDX(inst, idx) \ argument
112 #define DT_INST_IO_CHANNELS_CTLR_BY_NAME(inst, name) \ argument
122 #define DT_INST_IO_CHANNELS_CTLR(inst) DT_INST_IO_CHANNELS_CTLR_BY_IDX(inst, 0) argument
221 #define DT_INST_IO_CHANNELS_INPUT_BY_IDX(inst, idx) \ argument
233 #define DT_INST_IO_CHANNELS_INPUT_BY_NAME(inst, name) \ argument
241 #define DT_INST_IO_CHANNELS_INPUT(inst) DT_INST_IO_CHANNELS_INPUT_BY_IDX(inst, 0) argument
Ddma.h102 #define DT_INST_DMAS_CTLR_BY_IDX(inst, idx) \ argument
114 #define DT_INST_DMAS_CTLR_BY_NAME(inst, name) \ argument
124 #define DT_INST_DMAS_CTLR(inst) DT_INST_DMAS_CTLR_BY_IDX(inst, 0) argument
176 #define DT_INST_DMAS_CELL_BY_IDX(inst, idx, cell) \ argument
232 #define DT_INST_DMAS_CELL_BY_NAME(inst, name, cell) \ argument
250 #define DT_INST_DMAS_HAS_IDX(inst, idx) \ argument
270 #define DT_INST_DMAS_HAS_NAME(inst, name) \ argument
Dspi.h221 #define DT_INST_SPI_DEV_HAS_CS_GPIOS(inst) \ argument
231 #define DT_INST_SPI_DEV_CS_GPIOS_CTLR(inst) \ argument
240 #define DT_INST_SPI_DEV_CS_GPIOS_PIN(inst) \ argument
250 #define DT_INST_SPI_DEV_CS_GPIOS_FLAGS(inst) \ argument
/Zephyr-Core-3.7.0/soc/infineon/cat1a/psoc6_legacy/
Dcypress_psoc6_dt.h111 #define CY_PSOC6_PIN_TO_GPIO_REG_ADDR(inst, i) \ argument
115 #define CY_PSOC6_PIN(inst, i) \ argument
119 #define CY_PSOC6_PIN_HSIOM(inst, i) \ argument
123 #define CY_PSOC6_PIN_FLAG(inst, i, flag) \ argument
127 #define CY_PSOC6_PIN_FLAGS(inst, i) \ argument
142 #define CY_PSOC6_DT_INST_PIN(inst, idx) \ argument
151 #define CY_PSOC6_DT_INST_NUM_PINS(inst) DT_INST_NUM_PINCTRLS_BY_IDX(inst, 0) argument
154 #define CY_PSOC6_PIN_ELEM(idx, inst) CY_PSOC6_DT_INST_PIN(inst, idx) argument
157 #define CY_PSOC6_DT_INST_PINS(inst) \ argument
/Zephyr-Core-3.7.0/include/zephyr/drivers/mspi/
Ddevicetree.h68 #define MSPI_DEVICE_CONFIG_DT_INST(inst) MSPI_DEVICE_CONFIG_DT(DT_DRV_INST(inst)) argument
109 #define MSPI_XIP_CONFIG_DT_INST(inst) MSPI_XIP_CONFIG_DT(DT_DRV_INST(inst)) argument
149 #define MSPI_SCRAMBLE_CONFIG_DT_INST(inst) MSPI_SCRAMBLE_CONFIG_DT(DT_DRV_INST(inst)) argument
174 #define MSPI_DEVICE_ID_DT_INST(inst) MSPI_DEVICE_ID_DT(DT_DRV_INST(inst)) argument
226 #define MSPI_DEV_CE_GPIOS_DT_SPEC_INST_GET(inst) \ argument
256 #define MSPI_CE_GPIOS_DT_SPEC_INST_GET(inst) \ argument
315 #define MSPI_CE_CONTROL_INIT_INST(inst, delay_) MSPI_CE_CONTROL_INIT(DT_DRV_INST(inst), delay_) argument
/Zephyr-Core-3.7.0/drivers/sensor/st/lis2dh/
Dlis2dh.c491 #define LIS2DH_DEVICE_INIT(inst) \ argument
502 #define IS_LSM303AGR_DEV(inst) \ argument
505 #define DISC_PULL_UP(inst) \ argument
508 #define ANYM_ON_INT1(inst) \ argument
511 #define ANYM_LATCH(inst) \ argument
514 #define ANYM_MODE(inst) \ argument
523 #define LIS2DH_CFG_INT(inst) \ argument
535 #define LIS2DH_CFG_INT(inst) argument
547 #define FRACTIONAL_BITS(inst) \ argument
553 #define LIS2DH_CFG_TEMPERATURE(inst) \ argument
[all …]
/Zephyr-Core-3.7.0/samples/bluetooth/hap_ha/src/
Dvcp_vol_renderer.c39 static void aics_state_cb(struct bt_aics *inst, int err, int8_t gain, uint8_t mute, uint8_t mode) in aics_state_cb()
49 static void aics_gain_setting_cb(struct bt_aics *inst, int err, uint8_t units, int8_t minimum, in aics_gain_setting_cb()
60 static void aics_input_type_cb(struct bt_aics *inst, int err, uint8_t input_type) in aics_input_type_cb()
69 static void aics_status_cb(struct bt_aics *inst, int err, bool active) in aics_status_cb()
78 static void aics_description_cb(struct bt_aics *inst, int err, char *description) in aics_description_cb()
86 static void vocs_state_cb(struct bt_vocs *inst, int err, int16_t offset) in vocs_state_cb()
95 static void vocs_location_cb(struct bt_vocs *inst, int err, uint32_t location) in vocs_location_cb()
104 static void vocs_description_cb(struct bt_vocs *inst, int err, char *description) in vocs_description_cb()
/Zephyr-Core-3.7.0/drivers/sensor/wsen/wsen_hids/
Dwsen_hids.c215 #define HIDS_DEVICE_INIT(inst) \ argument
226 #define HIDS_CFG_IRQ(inst) .gpio_drdy = GPIO_DT_SPEC_INST_GET(inst, drdy_gpios) argument
228 #define HIDS_CFG_IRQ(inst) argument
231 #define HIDS_CONFIG_COMMON(inst) \ argument
242 #define HIDS_CONFIG_SPI(inst) \ argument
256 #define HIDS_CONFIG_I2C(inst) \ argument
268 #define HIDS_DEFINE(inst) \ argument
/Zephyr-Core-3.7.0/drivers/sensor/wsen/wsen_pads/
Dwsen_pads.c209 #define PADS_DEVICE_INIT(inst) \ argument
220 #define PADS_CFG_IRQ(inst) .gpio_drdy = GPIO_DT_SPEC_INST_GET(inst, drdy_gpios) argument
222 #define PADS_CFG_IRQ(inst) argument
225 #define PADS_CONFIG_COMMON(inst) \ argument
236 #define PADS_CONFIG_SPI(inst) \ argument
250 #define PADS_CONFIG_I2C(inst) \ argument
262 #define PADS_DEFINE(inst) \ argument
/Zephyr-Core-3.7.0/include/zephyr/drivers/i3c/
Ddevicetree.h52 #define I3C_DEVICE_ID_DT_INST(inst) \ argument
87 #define I3C_DEVICE_DESC_DT_INST(inst) \ argument
125 #define I3C_DEVICE_ARRAY_DT_INST(inst) \ argument
166 #define I3C_DEVICE_DT_INST_DEFINE(inst, ...) \ argument
195 #define I3C_I2C_DEVICE_DESC_DT_INST(inst) \ argument
234 #define I3C_I2C_DEVICE_ARRAY_DT_INST(inst) \ argument
/Zephyr-Core-3.7.0/drivers/sensor/st/lps2xdf/
Dlps2xdf.c149 #define LPS2XDF_CFG_IRQ(inst) \ argument
154 #define LPS2XDF_CFG_IRQ(inst) argument
157 #define LPS2XDF_CONFIG_COMMON(inst, name) \ argument
170 #define LPS2XDF_CONFIG_SPI(inst, name) \ argument
179 #define LPS2XDF_CONFIG_I2C(inst, name) \ argument
188 #define LPS2XDF_CONFIG_I3C(inst, name) \ argument
199 #define LPS2XDF_CONFIG_I3C_OR_I2C(inst, name) \ argument
204 #define LPS2XDF_DEFINE(inst, name) \ argument
/Zephyr-Core-3.7.0/drivers/sensor/st/hts221/
Dhts221.c207 #define HTS221_DEVICE_INIT(inst) \ argument
222 #define HTS221_CFG_IRQ(inst) \ argument
225 #define HTS221_CFG_IRQ(inst) argument
228 #define HTS221_CONFIG_COMMON(inst) \ argument
238 #define HTS221_CONFIG_SPI(inst) \ argument
253 #define HTS221_CONFIG_I2C(inst) \ argument
267 #define HTS221_DEFINE(inst) \ argument
/Zephyr-Core-3.7.0/drivers/sensor/st/lps22hh/
Dlps22hh.c281 #define LPS22HH_CFG_IRQ(inst) \ argument
284 #define LPS22HH_CFG_IRQ(inst) argument
287 #define LPS22HH_CONFIG_COMMON(inst) \ argument
297 #define LPS22HH_CONFIG_SPI(inst) \ argument
312 #define LPS22HH_CONFIG_I2C(inst) \ argument
325 #define LPS22HH_CONFIG_I3C(inst) \ argument
336 #define LPS22HH_CONFIG_I3C_OR_I2C(inst) \ argument
346 #define LPS22HH_DEFINE(inst) \ argument

12345678910>>...26