Home
last modified time | relevance | path

Searched defs:target (Results 1 – 25 of 118) sorted by relevance

12345

/Zephyr-latest/include/zephyr/sys/
Datomic_builtin.h23 static inline bool atomic_cas(atomic_t *target, atomic_val_t old_value, in atomic_cas()
31 static inline bool atomic_ptr_cas(atomic_ptr_t *target, atomic_ptr_val_t old_value, in atomic_ptr_cas()
39 static inline atomic_val_t atomic_add(atomic_t *target, atomic_val_t value) in atomic_add()
44 static inline atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value) in atomic_sub()
49 static inline atomic_val_t atomic_inc(atomic_t *target) in atomic_inc()
54 static inline atomic_val_t atomic_dec(atomic_t *target) in atomic_dec()
59 static inline atomic_val_t atomic_get(const atomic_t *target) in atomic_get()
64 static inline atomic_ptr_val_t atomic_ptr_get(const atomic_ptr_t *target) in atomic_ptr_get()
69 static inline atomic_val_t atomic_set(atomic_t *target, atomic_val_t value) in atomic_set()
78 static inline atomic_ptr_val_t atomic_ptr_set(atomic_ptr_t *target, atomic_ptr_val_t value) in atomic_ptr_set()
[all …]
Datomic_c.h30 static inline atomic_val_t atomic_inc(atomic_t *target) in atomic_inc()
36 static inline atomic_val_t atomic_dec(atomic_t *target) in atomic_dec()
50 static inline atomic_val_t atomic_clear(atomic_t *target) in atomic_clear()
56 static inline atomic_ptr_val_t atomic_ptr_clear(atomic_ptr_t *target) in atomic_ptr_clear()
Datomic.h127 static inline bool atomic_test_bit(const atomic_t *target, int bit) in atomic_test_bit()
147 static inline bool atomic_test_and_clear_bit(atomic_t *target, int bit) in atomic_test_and_clear_bit()
170 static inline bool atomic_test_and_set_bit(atomic_t *target, int bit) in atomic_test_and_set_bit()
191 static inline void atomic_clear_bit(atomic_t *target, int bit) in atomic_clear_bit()
209 static inline void atomic_set_bit(atomic_t *target, int bit) in atomic_set_bit()
228 static inline void atomic_set_bit_to(atomic_t *target, int bit, bool val) in atomic_set_bit_to()
/Zephyr-latest/include/zephyr/arch/xtensa/
Datomic_xtensa.h18 static ALWAYS_INLINE atomic_val_t atomic_get(const atomic_t *target) in atomic_get()
62 bool atomic_cas(atomic_t *target, atomic_val_t oldval, atomic_val_t newval) in atomic_cas()
69 bool atomic_ptr_cas(atomic_ptr_t *target, void *oldval, void *newval) in atomic_ptr_cas()
91 atomic_val_t atomic_set(atomic_t *target, atomic_val_t value) in atomic_set()
98 atomic_val_t atomic_add(atomic_t *target, atomic_val_t value) in atomic_add()
105 atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value) in atomic_sub()
112 atomic_val_t atomic_inc(atomic_t *target) in atomic_inc()
119 atomic_val_t atomic_dec(atomic_t *target) in atomic_dec()
125 static ALWAYS_INLINE atomic_val_t atomic_or(atomic_t *target, in atomic_or()
132 static ALWAYS_INLINE atomic_val_t atomic_xor(atomic_t *target, in atomic_xor()
[all …]
/Zephyr-latest/kernel/
Datomic_c.c81 bool z_impl_atomic_cas(atomic_t *target, atomic_val_t old_value, in z_impl_atomic_cas()
108 bool z_vrfy_atomic_cas(atomic_t *target, atomic_val_t old_value, in z_vrfy_atomic_cas()
118 bool z_impl_atomic_ptr_cas(atomic_ptr_t *target, atomic_ptr_val_t old_value, in z_impl_atomic_ptr_cas()
137 static inline bool z_vrfy_atomic_ptr_cas(atomic_ptr_t *target, in z_vrfy_atomic_ptr_cas()
161 atomic_val_t z_impl_atomic_add(atomic_t *target, atomic_val_t value) in z_impl_atomic_add()
191 atomic_val_t z_impl_atomic_sub(atomic_t *target, atomic_val_t value) in z_impl_atomic_sub()
220 atomic_val_t atomic_get(const atomic_t *target) in atomic_get()
225 atomic_ptr_val_t atomic_ptr_get(const atomic_ptr_t *target) in atomic_ptr_get()
242 atomic_val_t z_impl_atomic_set(atomic_t *target, atomic_val_t value) in z_impl_atomic_set()
259 atomic_ptr_val_t z_impl_atomic_ptr_set(atomic_ptr_t *target, in z_impl_atomic_ptr_set()
[all …]
/Zephyr-latest/scripts/west_commands/zspdx/
Dcmakefileapijson.py209 def parseTargetInstall(target, js): argument
223 def parseTargetLink(target, js): argument
239 def parseTargetArchive(target, js): argument
252 def parseTargetDependencies(target, js): argument
260 def parseTargetSources(target, js): argument
271 def parseTargetSourceGroups(target, js): argument
279 def parseTargetCompileGroups(target, js): argument
317 def parseTargetBacktraceGraph(target, js): argument
413 def linkTargetSource(target, targetSrc): argument
426 def linkTargetSourceGroup(target, targetSrcGrp): argument
[all …]
/Zephyr-latest/include/zephyr/arch/riscv/
Datomic.h21 static ALWAYS_INLINE atomic_val_t atomic_swap(const atomic_t *target, atomic_val_t newval) in atomic_swap()
33 static ALWAYS_INLINE atomic_val_t atomic_max(atomic_t *target, atomic_val_t value) in atomic_max()
45 static ALWAYS_INLINE atomic_val_t atomic_min(atomic_t *target, atomic_val_t value) in atomic_min()
57 static ALWAYS_INLINE atomic_val_t atomic_maxu(unsigned long *target, unsigned long value) in atomic_maxu()
69 static ALWAYS_INLINE atomic_val_t atomic_minu(unsigned long *target, unsigned long value) in atomic_minu()
/Zephyr-latest/tests/ztest/fail/
DCMakeLists.txt9 set(target testbinary) variable
15 set(target app) variable
/Zephyr-latest/tests/subsys/testsuite/fff_fake_contexts/
DCMakeLists.txt7 set(target testbinary) variable
10 set(target app) variable
/Zephyr-latest/drivers/sensor/amd_sb_tsi/
Dsb_tsi_emul.c24 static void sb_tsi_emul_set_reg(const struct emul *target, uint8_t reg, uint8_t val) in sb_tsi_emul_set_reg()
32 static uint8_t sb_tsi_emul_get_reg(const struct emul *target, uint8_t reg) in sb_tsi_emul_get_reg()
40 static void sb_tsi_emul_reset(const struct emul *target) in sb_tsi_emul_reset()
47 static int sb_tsi_emul_transfer_i2c(const struct emul *target, struct i2c_msg *msgs, in sb_tsi_emul_transfer_i2c()
96 static int sb_tsi_emul_init(const struct emul *target, const struct device *parent) in sb_tsi_emul_init()
102 static int sb_tsi_emul_set_channel(const struct emul *target, struct sensor_chan_spec ch, in sb_tsi_emul_set_channel()
124 static int sb_tsi_emul_get_sample_range(const struct emul *target, struct sensor_chan_spec ch, in sb_tsi_emul_get_sample_range()
/Zephyr-latest/drivers/sensor/bosch/bma4xx/
Dbma4xx_emul.c35 void bma4xx_emul_set_reg(const struct emul *target, uint8_t reg_addr, const uint8_t *val, in bma4xx_emul_set_reg()
44 void bma4xx_emul_get_reg(const struct emul *target, uint8_t reg_addr, uint8_t *val, size_t count) in bma4xx_emul_get_reg()
52 uint8_t bma4xx_emul_get_interrupt_config(const struct emul *target, uint8_t *int1_io_ctrl, in bma4xx_emul_get_interrupt_config()
62 static int bma4xx_emul_read_byte(const struct emul *target, int reg, uint8_t *val, int bytes) in bma4xx_emul_read_byte()
69 static int bma4xx_emul_write_byte(const struct emul *target, int reg, uint8_t val, int bytes) in bma4xx_emul_write_byte()
148 static int bma4xx_emul_init(const struct emul *target, const struct device *parent) in bma4xx_emul_init()
158 static int bma4xx_emul_transfer_i2c(const struct emul *target, struct i2c_msg *msgs, int num_msgs, in bma4xx_emul_transfer_i2c()
191 void bma4xx_emul_set_accel_data(const struct emul *target, q31_t value, int8_t shift, int8_t reg) in bma4xx_emul_set_accel_data()
219 static int bma4xx_emul_backend_set_channel(const struct emul *target, struct sensor_chan_spec ch, in bma4xx_emul_backend_set_channel()
253 static int bma4xx_emul_backend_get_sample_range(const struct emul *target, in bma4xx_emul_backend_get_sample_range()
/Zephyr-latest/drivers/sensor/adi/adltc2990/
Dadltc2990_emul.c31 void adltc2990_emul_set_reg(const struct emul *target, uint8_t reg_addr, const uint8_t *val) in adltc2990_emul_set_reg()
39 void adltc2990_emul_get_reg(const struct emul *target, uint8_t reg_addr, uint8_t *val) in adltc2990_emul_get_reg()
47 void adltc2990_emul_reset(const struct emul *target) in adltc2990_emul_reset()
54 static int adltc2990_emul_handle_write(const struct emul *target, uint8_t regn, uint8_t value) in adltc2990_emul_handle_write()
73 static int adltc2990_emul_transfer_i2c(const struct emul *target, struct i2c_msg *msgs, in adltc2990_emul_transfer_i2c()
118 static int adltc2990_emul_init(const struct emul *target, const struct device *parent) in adltc2990_emul_init()
/Zephyr-latest/drivers/sensor/f75303/
Df75303_emul.c28 static void f75303_emul_set_reg(const struct emul *target, uint8_t reg, uint8_t val) in f75303_emul_set_reg()
36 static uint8_t f75303_emul_get_reg(const struct emul *target, uint8_t reg) in f75303_emul_get_reg()
44 static void f75303_emul_reset(const struct emul *target) in f75303_emul_reset()
51 static int f75303_emul_transfer_i2c(const struct emul *target, struct i2c_msg *msgs, in f75303_emul_transfer_i2c()
100 static int f75303_emul_init(const struct emul *target, const struct device *parent) in f75303_emul_init()
106 static int f75303_emul_set_channel(const struct emul *target, struct sensor_chan_spec ch, in f75303_emul_set_channel()
142 static int f75303_emul_get_sample_range(const struct emul *target, struct sensor_chan_spec ch, in f75303_emul_get_sample_range()
/Zephyr-latest/drivers/sensor/asahi_kasei/akm09918c/
Dakm09918c_emul.c31 void akm09918c_emul_set_reg(const struct emul *target, uint8_t reg_addr, const uint8_t *val, in akm09918c_emul_set_reg()
40 void akm09918c_emul_get_reg(const struct emul *target, uint8_t reg_addr, uint8_t *val, size_t count) in akm09918c_emul_get_reg()
48 void akm09918c_emul_reset(const struct emul *target) in akm09918c_emul_reset()
57 static int akm09918c_emul_handle_write(const struct emul *target, uint8_t regn, uint8_t value) in akm09918c_emul_handle_write()
74 static int akm09918c_emul_transfer_i2c(const struct emul *target, struct i2c_msg *msgs, in akm09918c_emul_transfer_i2c()
128 static int akm09918c_emul_init(const struct emul *target, const struct device *parent) in akm09918c_emul_init()
136 static int akm09918c_emul_backend_set_channel(const struct emul *target, struct sensor_chan_spec ch, in akm09918c_emul_backend_set_channel()
180 static int akm09918c_emul_backend_get_sample_range(const struct emul *target, in akm09918c_emul_backend_get_sample_range()
/Zephyr-latest/drivers/sensor/tdk/icm42688/
Dicm42688_emul.c28 void icm42688_emul_set_reg(const struct emul *target, uint8_t reg_addr, const uint8_t *val, in icm42688_emul_set_reg()
37 void icm42688_emul_get_reg(const struct emul *target, uint8_t reg_addr, uint8_t *val, size_t count) in icm42688_emul_get_reg()
45 static void icm42688_emul_handle_write(const struct emul *target, uint8_t regn, uint8_t value) in icm42688_emul_handle_write()
63 static int icm42688_emul_io_spi(const struct emul *target, const struct spi_config *config, in icm42688_emul_io_spi()
107 static int icm42688_emul_init(const struct emul *target, const struct device *parent) in icm42688_emul_init()
127 static void icm42688_emul_get_accel_settings(const struct emul *target, int *fs_g, int *sensitivity, in icm42688_emul_get_accel_settings()
180 static void icm42688_emul_get_accel_ranges(const struct emul *target, q31_t *lower, q31_t *upper, in icm42688_emul_get_accel_ranges()
198 static void icm42688_emul_get_gyro_settings(const struct emul *target, int *fs_mdps, in icm42688_emul_get_gyro_settings()
271 static void icm42688_emul_get_gyro_ranges(const struct emul *target, q31_t *lower, q31_t *upper, in icm42688_emul_get_gyro_ranges()
298 static int icm42688_emul_backend_get_sample_range(const struct emul *target, in icm42688_emul_backend_get_sample_range()
[all …]
/Zephyr-latest/drivers/i3c/
Di3c_ccc.c18 int i3c_ccc_do_getbcr(struct i3c_device_desc *target, in i3c_ccc_do_getbcr()
41 int i3c_ccc_do_getdcr(struct i3c_device_desc *target, in i3c_ccc_do_getdcr()
64 int i3c_ccc_do_getpid(struct i3c_device_desc *target, in i3c_ccc_do_getpid()
105 int i3c_ccc_do_rstact(const struct i3c_device_desc *target, in i3c_ccc_do_rstact()
152 int i3c_ccc_do_setdasa(const struct i3c_device_desc *target, struct i3c_ccc_address da) in i3c_ccc_do_setdasa()
177 int i3c_ccc_do_setnewda(const struct i3c_device_desc *target, struct i3c_ccc_address new_da) in i3c_ccc_do_setnewda()
219 int i3c_ccc_do_events_set(struct i3c_device_desc *target, in i3c_ccc_do_events_set()
245 int i3c_ccc_do_entas(const struct i3c_device_desc *target, uint8_t as) in i3c_ccc_do_entas()
300 int i3c_ccc_do_setmwl(const struct i3c_device_desc *target, in i3c_ccc_do_setmwl()
327 int i3c_ccc_do_getmwl(const struct i3c_device_desc *target, in i3c_ccc_do_getmwl()
[all …]
/Zephyr-latest/drivers/fuel_gauge/
Demul_fuel_gauge_syscall_handlers.c12 static inline int z_vrfy_emul_fuel_gauge_is_battery_cutoff(const struct emul *target, bool *cutoff) in z_vrfy_emul_fuel_gauge_is_battery_cutoff()
19 static inline int z_vrfy_emul_fuel_gauge_set_battery_charging(const struct emul *target, in z_vrfy_emul_fuel_gauge_set_battery_charging()
/Zephyr-latest/tests/subsys/emul/src/
Demul_tester.c25 static int emul_tester_set_action(const struct emul *target, int action) in emul_tester_set_action()
35 static int emul_tester_get_action(const struct emul *target, int *action) in emul_tester_get_action()
44 static int emul_tester_transfer(const struct emul *target, struct i2c_msg *msgs, int num_msgs, in emul_tester_transfer()
64 static int emul_tester_init(const struct emul *target, const struct device *parent) in emul_tester_init()
/Zephyr-latest/drivers/fuel_gauge/bq27z746/
Demul_bq27z746.c38 static int emul_bq27z746_read_altmac(const struct emul *target, uint8_t *buf, size_t len) in emul_bq27z746_read_altmac()
95 static int emul_bq27z746_write(const struct emul *target, uint8_t *buf, size_t len) in emul_bq27z746_write()
110 static int emul_bq27z746_reg_read(const struct emul *target, int reg, int *val) in emul_bq27z746_reg_read()
248 static int emul_bq27z746_read(const struct emul *target, int reg, uint8_t *buf, size_t len) in emul_bq27z746_read()
274 static int bq27z746_emul_transfer_i2c(const struct emul *target, struct i2c_msg *msgs, int num_msgs, in bq27z746_emul_transfer_i2c()
333 static int emul_bq27z746_init(const struct emul *target, const struct device *parent) in emul_bq27z746_init()
/Zephyr-latest/include/zephyr/drivers/
Demul_sensor.h54 static inline bool emul_sensor_backend_is_supported(const struct emul *target) in emul_sensor_backend_is_supported()
71 static inline int emul_sensor_backend_set_channel(const struct emul *target, in emul_sensor_backend_set_channel()
104 static inline int emul_sensor_backend_get_sample_range(const struct emul *target, in emul_sensor_backend_get_sample_range()
130 static inline int emul_sensor_backend_set_attribute(const struct emul *target, in emul_sensor_backend_set_attribute()
164 static inline int emul_sensor_backend_get_attribute_metadata(const struct emul *target, in emul_sensor_backend_get_attribute_metadata()
/Zephyr-latest/drivers/fuel_gauge/max17048/
Demul_max17048.c37 static int emul_max17048_reg_write(const struct emul *target, int reg, int val) in emul_max17048_reg_write()
43 static int emul_max17048_reg_read(const struct emul *target, int reg, int *val) in emul_max17048_reg_read()
68 static int max17048_emul_transfer_i2c(const struct emul *target, struct i2c_msg *msgs, in max17048_emul_transfer_i2c()
138 static int emul_max17048_init(const struct emul *target, const struct device *parent) in emul_max17048_init()
/Zephyr-latest/drivers/fuel_gauge/sbs_gauge/
Demul_sbs_gauge.c65 static void emul_sbs_gauge_maybe_do_battery_cutoff(const struct emul *target, int reg, int val) in emul_sbs_gauge_maybe_do_battery_cutoff()
100 static int emul_sbs_gauge_reg_write(const struct emul *target, int reg, int val) in emul_sbs_gauge_reg_write()
135 static int emul_sbs_gauge_reg_read(const struct emul *target, int reg, int *val) in emul_sbs_gauge_reg_read()
191 static int emul_sbs_gauge_buffer_read(const struct emul *target, int reg, char *val) in emul_sbs_gauge_buffer_read()
223 static int sbs_gauge_emul_transfer_i2c(const struct emul *target, struct i2c_msg *msgs, in sbs_gauge_emul_transfer_i2c()
290 static int emul_sbs_fuel_gauge_set_battery_charging(const struct emul *target, uint32_t uV, int uA) in emul_sbs_fuel_gauge_set_battery_charging()
304 static int emul_sbs_fuel_gauge_is_battery_cutoff(const struct emul *target, bool *cutoff) in emul_sbs_fuel_gauge_is_battery_cutoff()
324 static void sbs_gauge_emul_reset(const struct emul *target) in sbs_gauge_emul_reset()
355 static int emul_sbs_sbs_gauge_init(const struct emul *target, const struct device *parent) in emul_sbs_sbs_gauge_init()
/Zephyr-latest/drivers/charger/
Demul_sbs_charger.c33 static int emul_sbs_charger_reg_write(const struct emul *target, int reg, int val) in emul_sbs_charger_reg_write()
50 static int emul_sbs_charger_reg_read(const struct emul *target, int reg, int *val) in emul_sbs_charger_reg_read()
69 static int sbs_charger_emul_transfer_i2c(const struct emul *target, struct i2c_msg *msgs, in sbs_charger_emul_transfer_i2c()
133 static int emul_sbs_sbs_charger_init(const struct emul *target, const struct device *parent) in emul_sbs_sbs_charger_init()
/Zephyr-latest/drivers/bbram/
Dbbram_it8xxx2_emul.c18 #define GET_CONFIG(target) \ argument
22 static int it8xxx2_emul_backend_set_data(const struct emul *target, size_t offset, size_t count, in it8xxx2_emul_backend_set_data()
35 static int it8xxx2_emul_backend_get_data(const struct emul *target, size_t offset, size_t count, in it8xxx2_emul_backend_get_data()
Dbbram_npcx_emul.c18 #define GET_CONFIG(target) \ argument
22 static int npcx_emul_backend_set_data(const struct emul *target, size_t offset, size_t count, in npcx_emul_backend_set_data()
35 static int npcx_emul_backend_get_data(const struct emul *target, size_t offset, size_t count, in npcx_emul_backend_get_data()

12345