Home
last modified time | relevance | path

Searched refs:i3c (Results 1 – 25 of 72) sorted by relevance

123

/Zephyr-latest/drivers/i3c/
Di3c_stm32.c115 I3C_TypeDef *i3c; /* Pointer to I3C module base addr */ member
226 I3C_TypeDef *i3c = config->i3c; in i3c_stm32_arbitration_header_config() local
231 LL_I3C_DisableArbitrationHeader(i3c); in i3c_stm32_arbitration_header_config()
234 LL_I3C_EnableArbitrationHeader(i3c); in i3c_stm32_arbitration_header_config()
565 I3C_TypeDef *i3c = cfg->i3c; in i3c_stm32_config_clk_wave() local
568 uint32_t i3c_bus_freq = data->drv_data.ctrl_config.scl.i3c; in i3c_stm32_config_clk_wave()
602 LL_I3C_ConfigClockWaveForm(i3c, clk_wave); in i3c_stm32_config_clk_wave()
635 I3C_TypeDef *i3c = config->i3c; in i3c_stm32_config_ctrl_bus_char() local
690 LL_I3C_SetFreeTiming(i3c, free_timing); in i3c_stm32_config_ctrl_bus_char()
691 LL_I3C_SetAvalTiming(i3c, aval); in i3c_stm32_config_ctrl_bus_char()
[all …]
DKconfig.nxp5 DT_COMPAT_NXP_MCUX_I3C := nxp,mcux-i3c
8 module-str = i3c-mcux
Di3c_common.c18 LOG_MODULE_REGISTER(i3c, CONFIG_I3C_LOG_LEVEL);
99 sys_slist_init(&data->attached_dev.devices.i3c); in i3c_addr_slots_init()
139 i3c_dev = &config->dev_list.i3c[i]; in i3c_addr_slots_init()
190 struct i3c_device_desc *desc = &dev_list->i3c[i]; in i3c_dev_list_find()
263 sys_slist_append(&data->attached_dev.devices.i3c, &target->node); in i3c_attach_i3c_device()
306 if (!sys_slist_is_empty(&data->attached_dev.devices.i3c)) { in i3c_detach_i3c_device()
307 if (!sys_slist_find_and_remove(&data->attached_dev.devices.i3c, &target->node)) { in i3c_detach_i3c_device()
561 struct i3c_device_desc *desc = &dev_list->i3c[i]; in i3c_bus_setdasa()
652 size_t num_of_targets = sys_slist_len(&data->attached_dev.devices.i3c) + in i3c_bus_deftgts()
779 struct i3c_device_desc *desc = &dev_list->i3c[i]; in i3c_bus_init()
[all …]
DKconfig.test7 # Hidden option for turning on the dummy driver for vnd,i3c devices
Di3c_test.c35 static DEVICE_API(i3c, vnd_i3c_api) = {
/Zephyr-latest/drivers/sensor/st/lps2xdf/
Dlps2xdf.h34 #if (DT_HAS_COMPAT_ON_BUS_STATUS_OKAY(st_lps22df, i3c) || \
35 DT_HAS_COMPAT_ON_BUS_STATUS_OKAY(st_ilps22qs, i3c) || \
36 DT_HAS_COMPAT_ON_BUS_STATUS_OKAY(st_lps28dfw, i3c))
37 #define ON_I3C_BUS(cfg) (cfg->i3c.bus != NULL)
82 #if (DT_HAS_COMPAT_ON_BUS_STATUS_OKAY(st_lps22df, i3c) || \
83 DT_HAS_COMPAT_ON_BUS_STATUS_OKAY(st_ilps22qs, i3c) || \
84 DT_HAS_COMPAT_ON_BUS_STATUS_OKAY(st_lps28dfw, i3c))
85 struct i3c_device_desc **i3c; member
98 #if (DT_HAS_COMPAT_ON_BUS_STATUS_OKAY(st_lps22df, i3c) || \
99 DT_HAS_COMPAT_ON_BUS_STATUS_OKAY(st_ilps22qs, i3c) || \
[all …]
Dlps2xdf_trigger.c102 #if (DT_HAS_COMPAT_ON_BUS_STATUS_OKAY(st_lps22df, i3c) ||\
103 DT_HAS_COMPAT_ON_BUS_STATUS_OKAY(st_lps28dfw, i3c))
180 #if (DT_HAS_COMPAT_ON_BUS_STATUS_OKAY(st_lps22df, i3c) ||\ in lps2xdf_init_interrupt()
181 DT_HAS_COMPAT_ON_BUS_STATUS_OKAY(st_lps28dfw, i3c)) in lps2xdf_init_interrupt()
182 if (cfg->i3c.bus != NULL) { in lps2xdf_init_interrupt()
Dilps22qs.c96 #if DT_HAS_COMPAT_ON_BUS_STATUS_OKAY(st_ilps22qs, i3c) in st_ilps22qs_init()
97 if (cfg->i3c.bus != NULL) { in st_ilps22qs_init()
103 data->i3c_dev = i3c_device_find(cfg->i3c.bus, &cfg->i3c.dev_id); in st_ilps22qs_init()
DKconfig16 select I3C if $(dt_compat_on_bus,$(DT_COMPAT_ST_LPS22DF),i3c) ||\
17 $(dt_compat_on_bus,$(DT_COMPAT_ST_ILPS22QS),i3c) ||\
18 $(dt_compat_on_bus,$(DT_COMPAT_ST_LPS28DFW),i3c)
Dlps22df.c174 #if DT_HAS_COMPAT_ON_BUS_STATUS_OKAY(st_lps22df, i3c) in st_lps22df_init()
175 if (cfg->i3c.bus != NULL) { in st_lps22df_init()
181 data->i3c_dev = i3c_device_find(cfg->i3c.bus, &cfg->i3c.dev_id); in st_lps22df_init()
Dlps28dfw.c181 #if DT_HAS_COMPAT_ON_BUS_STATUS_OKAY(st_lps28dfw, i3c) in st_lps28dfw_init()
182 if (cfg->i3c.bus != NULL) { in st_lps28dfw_init()
188 data->i3c_dev = i3c_device_find(cfg->i3c.bus, &cfg->i3c.dev_id); in st_lps28dfw_init()
Dlps2xdf.c197 .i3c = &lps2xdf_data_##name##_##inst.i3c_dev, \
199 .i3c.bus = DEVICE_DT_GET(DT_INST_BUS(inst)), \
200 .i3c.dev_id = I3C_DEVICE_ID_DT_INST(inst), \
214 (COND_CODE_1(DT_INST_ON_BUS(inst, i3c), \
/Zephyr-latest/drivers/sensor/nxp/p3t1755/
Dp3t1755.h16 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i3c)
45 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i3c)
46 struct i3c_device_desc **i3c; member
53 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i3c)
57 } i3c; member
66 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i3c)
Dp3t1755.c18 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i3c)
123 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i3c) in p3t1755_init()
124 if (config->i3c.bus != NULL) { in p3t1755_init()
125 data->i3c_dev = i3c_device_find(config->i3c.bus, &config->i3c.dev_id); in p3t1755_init()
175 .bus_cfg = {.i3c = &p3t1755_data_##inst.i3c_dev}, \
181 .i3c.bus = DEVICE_DT_GET(DT_INST_BUS(inst)), .i3c.dev_id = I3C_DEVICE_ID_DT_INST(inst),
186 COND_CODE_1(DT_INST_ON_BUS(n, i3c), \
/Zephyr-latest/drivers/sensor/st/lps22hh/
Dlps22hh.h26 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i3c)
39 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i3c)
40 struct i3c_device_desc **i3c; member
48 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i3c)
52 } i3c; member
77 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i3c)
Dlps22hh_trigger.c81 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i3c) in lps22hh_handle_interrupt()
82 if (cfg->i3c.bus != NULL) { in lps22hh_handle_interrupt()
150 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i3c)
174 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i3c) in lps22hh_init_interrupt()
175 && (cfg->i3c.bus == NULL) in lps22hh_init_interrupt()
202 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i3c) in lps22hh_init_interrupt()
203 if (cfg->i3c.bus == NULL) in lps22hh_init_interrupt()
231 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i3c) in lps22hh_init_interrupt()
232 if (cfg->i3c.bus != NULL) { in lps22hh_init_interrupt()
Dlps22hh.c189 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i3c) in lps22hh_init_chip()
190 if (cfg->i3c.bus != NULL) { in lps22hh_init_chip()
195 data->i3c_dev = i3c_device_find(cfg->i3c.bus, &cfg->i3c.dev_id); in lps22hh_init_chip()
215 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i3c) in lps22hh_init_chip()
216 if (cfg->i3c.bus != NULL) { in lps22hh_init_chip()
329 .i3c = &lps22hh_data_##inst.i3c_dev, \
331 .i3c.bus = DEVICE_DT_GET(DT_INST_BUS(inst)), \
332 .i3c.dev_id = I3C_DEVICE_ID_DT_INST(inst), \
351 (COND_CODE_1(DT_INST_ON_BUS(inst, i3c), \
/Zephyr-latest/tests/drivers/build_all/i3c/boards/
Dqemu_cortex_m3.overlay8 i3c0: i3c@88888888 {
9 compatible = "cdns,i3c";
16 i3c-scl-hz = <12500000>;
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/
Dlsm6dsv16x.h29 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i3c)
33 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i3c)
34 #define ON_I3C_BUS(cfg) (cfg->i3c.bus != NULL)
62 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i3c)
63 struct i3c_device_desc **i3c; member
86 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i3c)
92 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i3c)
96 } i3c; member
187 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i3c)
/Zephyr-latest/samples/sensor/thermometer/boards/
Dfrdm_mcxn947_mcxn947_cpu0.overlay19 i3c-scl-hz = <DT_FREQ_M(4)>;
20 i3c-od-scl-hz = <DT_FREQ_K(1500)>;
Dfrdm_mcxn947_mcxn947_cpu0_qspi.overlay19 i3c-scl-hz = <DT_FREQ_M(4)>;
20 i3c-od-scl-hz = <DT_FREQ_K(1500)>;
/Zephyr-latest/samples/sensor/lps22hh_i3c/boards/
Dmimxrt685_evk_mimxrt685s_cm33.overlay11 i3c-scl-hz = <400000>;
12 i3c-od-scl-hz = <400000>;
/Zephyr-latest/samples/sensor/lsm6dso_i2c_on_i3c/boards/
Dmimxrt685_evk_mimxrt685s_cm33.overlay11 i3c-scl-hz = <400000>;
12 i3c-od-scl-hz = <400000>;
/Zephyr-latest/boards/shields/p3t1755dp_ard_i3c/boards/
Dmimxrt1180_evk_mimxrt1189_cm33.overlay25 i3c-scl-hz = <DT_FREQ_K(400)>;
26 i3c-od-scl-hz = <DT_FREQ_K(100)>;
Dmimxrt1180_evk_mimxrt1189_cm7.overlay25 i3c-scl-hz = <DT_FREQ_K(400)>;
26 i3c-od-scl-hz = <DT_FREQ_K(100)>;

123