Home
last modified time | relevance | path

Searched defs:spec (Results 1 – 25 of 37) sorted by relevance

12

/Zephyr-Core-3.7.0/drivers/w1/
Dw1_ds2482_84_common.h105 static inline int ds2482_84_write(const struct i2c_dt_spec *spec, uint8_t cmd, const uint8_t *data) in ds2482_84_write()
119 static inline int ds2482_84_read(const struct i2c_dt_spec *spec, uint8_t rp, uint8_t *reg) in ds2482_84_read()
155 static inline int ds2482_84_reset_bus(const struct i2c_dt_spec *spec) in ds2482_84_reset_bus()
176 static inline int ds2482_84_reset_device(const struct i2c_dt_spec *spec) in ds2482_84_reset_device()
197 static inline int ds2482_84_single_bit(const struct i2c_dt_spec *spec, uint8_t bit_msk) in ds2482_84_single_bit()
218 static inline int ds2482_84_read_bit(const struct i2c_dt_spec *spec) in ds2482_84_read_bit()
223 static inline int ds2482_84_write_bit(const struct i2c_dt_spec *spec, bool bit) in ds2482_84_write_bit()
228 static inline int ds2482_84_read_byte(const struct i2c_dt_spec *spec) in ds2482_84_read_byte()
254 static inline int ds2482_84_write_byte(const struct i2c_dt_spec *spec, uint8_t byte) in ds2482_84_write_byte()
275 static inline int ds2482_84_write_config(const struct i2c_dt_spec *spec, uint8_t cfg) in ds2482_84_write_config()
Dw1_zephyr_gpio.c97 const struct gpio_dt_spec spec; member
140 const struct gpio_dt_spec *spec = &cfg->spec; in w1_gpio_reset_bus() local
176 const struct gpio_dt_spec *spec = &cfg->spec; in w1_gpio_read_bit() local
211 const struct gpio_dt_spec *spec = &cfg->spec; in w1_gpio_write_bit() local
287 const struct gpio_dt_spec *spec = &cfg->spec; in w1_gpio_init() local
/Zephyr-Core-3.7.0/include/zephyr/drivers/
Dmbox.h239 static inline bool mbox_is_ready_dt(const struct mbox_dt_spec *spec) in mbox_is_ready_dt()
288 static inline int mbox_send_dt(const struct mbox_dt_spec *spec, in mbox_send_dt()
336 static inline int mbox_register_callback_dt(const struct mbox_dt_spec *spec, in mbox_register_callback_dt()
385 static inline int mbox_mtu_get_dt(const struct mbox_dt_spec *spec) in mbox_mtu_get_dt()
441 static inline int mbox_set_enabled_dt(const struct mbox_dt_spec *spec, in mbox_set_enabled_dt()
478 static inline int mbox_max_channels_get_dt(const struct mbox_dt_spec *spec) in mbox_max_channels_get_dt()
Dreset.h249 static inline int reset_status_dt(const struct reset_dt_spec *spec, uint8_t *status) in reset_status_dt()
291 static inline int reset_line_assert_dt(const struct reset_dt_spec *spec) in reset_line_assert_dt()
333 static inline int reset_line_deassert_dt(const struct reset_dt_spec *spec) in reset_line_deassert_dt()
374 static inline int reset_line_toggle_dt(const struct reset_dt_spec *spec) in reset_line_toggle_dt()
Dgpio.h835 static inline bool gpio_is_ready_dt(const struct gpio_dt_spec *spec) in gpio_is_ready_dt()
940 static inline int gpio_pin_interrupt_configure_dt(const struct gpio_dt_spec *spec, in gpio_pin_interrupt_configure_dt()
1028 static inline int gpio_pin_configure_dt(const struct gpio_dt_spec *spec, in gpio_pin_configure_dt()
1112 static inline int gpio_pin_is_input_dt(const struct gpio_dt_spec *spec) in gpio_pin_is_input_dt()
1157 static inline int gpio_pin_is_output_dt(const struct gpio_dt_spec *spec) in gpio_pin_is_output_dt()
1207 static inline int gpio_pin_get_config_dt(const struct gpio_dt_spec *spec, in gpio_pin_get_config_dt()
1556 static inline int gpio_pin_get_dt(const struct gpio_dt_spec *spec) in gpio_pin_get_dt()
1645 static inline int gpio_pin_set_dt(const struct gpio_dt_spec *spec, int value) in gpio_pin_set_dt()
1681 static inline int gpio_pin_toggle_dt(const struct gpio_dt_spec *spec) in gpio_pin_toggle_dt()
1741 static inline int gpio_add_callback_dt(const struct gpio_dt_spec *spec, in gpio_add_callback_dt()
[all …]
Di2c.h467 static inline bool i2c_is_ready_dt(const struct i2c_dt_spec *spec) in i2c_is_ready_dt()
868 static inline int i2c_transfer_cb_dt(const struct i2c_dt_spec *spec, in i2c_transfer_cb_dt()
941 static inline int i2c_write_read_cb_dt(const struct i2c_dt_spec *spec, struct i2c_msg *msgs, in i2c_write_read_cb_dt()
1078 static inline int i2c_transfer_dt(const struct i2c_dt_spec *spec, in i2c_transfer_dt()
1265 static inline int i2c_write_dt(const struct i2c_dt_spec *spec, in i2c_write_dt()
1310 static inline int i2c_read_dt(const struct i2c_dt_spec *spec, in i2c_read_dt()
1368 static inline int i2c_write_read_dt(const struct i2c_dt_spec *spec, in i2c_write_read_dt()
1420 static inline int i2c_burst_read_dt(const struct i2c_dt_spec *spec, in i2c_burst_read_dt()
1483 static inline int i2c_burst_write_dt(const struct i2c_dt_spec *spec, in i2c_burst_write_dt()
1529 static inline int i2c_reg_read_byte_dt(const struct i2c_dt_spec *spec, in i2c_reg_read_byte_dt()
[all …]
Dadc.h744 static inline int adc_channel_setup_dt(const struct adc_dt_spec *spec) in adc_channel_setup_dt()
795 static inline int adc_read_dt(const struct adc_dt_spec *spec, in adc_read_dt()
906 static inline int adc_raw_to_millivolts_dt(const struct adc_dt_spec *spec, in adc_raw_to_millivolts_dt()
954 static inline int adc_sequence_init_dt(const struct adc_dt_spec *spec, in adc_sequence_init_dt()
975 static inline bool adc_is_ready_dt(const struct adc_dt_spec *spec) in adc_is_ready_dt()
Dspi.h680 static inline bool spi_cs_is_gpio_dt(const struct spi_dt_spec *spec) in spi_cs_is_gpio_dt()
693 static inline bool spi_is_ready_dt(const struct spi_dt_spec *spec) in spi_is_ready_dt()
760 static inline int spi_transceive_dt(const struct spi_dt_spec *spec, in spi_transceive_dt()
803 static inline int spi_read_dt(const struct spi_dt_spec *spec, in spi_read_dt()
844 static inline int spi_write_dt(const struct spi_dt_spec *spec, in spi_write_dt()
1049 struct spi_dt_spec *spec = spi_iodev->data; in spi_is_ready_iodev() local
1257 static inline int spi_release_dt(const struct spi_dt_spec *spec) in spi_release_dt()
Dpwm.h583 static inline int pwm_set_dt(const struct pwm_dt_spec *spec, uint32_t period, in pwm_set_dt()
604 static inline int pwm_set_pulse_dt(const struct pwm_dt_spec *spec, in pwm_set_pulse_dt()
938 static inline bool pwm_is_ready_dt(const struct pwm_dt_spec *spec) in pwm_is_ready_dt()
/Zephyr-Core-3.7.0/modules/openthread/platform/
Ddiag.c130 static otError gpio_get_spec(uint32_t gpio_idx, const struct gpio_dt_spec **spec) in gpio_get_spec()
158 const struct gpio_dt_spec *spec; in otPlatDiagGpioSet() local
182 const struct gpio_dt_spec *spec; in otPlatDiagGpioGet() local
213 const struct gpio_dt_spec *spec; in otPlatDiagGpioSetMode() local
246 const struct gpio_dt_spec *spec; in otPlatDiagGpioGetMode() local
/Zephyr-Core-3.7.0/tests/drivers/spi/spi_loopback/src/
Dspi.c101 static int spi_complete_multiple(struct spi_dt_spec *spec) in spi_complete_multiple()
162 static int spi_complete_loop(struct spi_dt_spec *spec) in spi_complete_loop()
210 static int spi_null_tx_buf(struct spi_dt_spec *spec) in spi_null_tx_buf()
265 static int spi_rx_half_start(struct spi_dt_spec *spec) in spi_rx_half_start()
314 static int spi_rx_half_end(struct spi_dt_spec *spec) in spi_rx_half_end()
372 static int spi_rx_every_4(struct spi_dt_spec *spec) in spi_rx_every_4()
450 static int spi_rx_bigger_than_tx(struct spi_dt_spec *spec) in spi_rx_bigger_than_tx()
525 static int spi_complete_large_transfers(struct spi_dt_spec *spec) in spi_complete_large_transfers()
603 static int spi_async_call(struct spi_dt_spec *spec) in spi_async_call()
/Zephyr-Core-3.7.0/tests/drivers/input/gpio_keys/src/
Dmain.c19 struct gpio_dt_spec spec; member
56 const struct gpio_dt_spec *spec = &pin_cfg->spec; in ZTEST() local
/Zephyr-Core-3.7.0/drivers/sensor/vishay/vcnl36825t/
Dvcnl36825t.c21 static int vcnl36825t_read(const struct i2c_dt_spec *spec, uint8_t reg_addr, uint16_t *value) in vcnl36825t_read()
36 static int vcnl36825t_write(const struct i2c_dt_spec *spec, uint8_t reg_addr, uint16_t value) in vcnl36825t_write()
44 static int vcnl36825t_update(const struct i2c_dt_spec *spec, uint8_t reg_addr, uint16_t mask, in vcnl36825t_update()
/Zephyr-Core-3.7.0/tests/drivers/gpio/gpio_hogs/src/
Dmain.c19 static void assert_gpio_hog_direction(const struct gpio_dt_spec *spec, bool output) in assert_gpio_hog_direction()
57 static void assert_gpio_hog_config(const struct gpio_dt_spec *spec, gpio_flags_t expected) in assert_gpio_hog_config()
/Zephyr-Core-3.7.0/samples/basic/threads/src/
Dmain.c40 struct gpio_dt_spec spec; member
56 const struct gpio_dt_spec *spec = &led->spec; in blink() local
/Zephyr-Core-3.7.0/include/zephyr/drivers/adc/
Dcurrent_sense_shunt.h40 static inline void current_sense_shunt_scale_dt(const struct current_sense_shunt_dt_spec *spec, in current_sense_shunt_scale_dt()
Dvoltage_divider.h45 static inline int voltage_divider_scale_dt(const struct voltage_divider_dt_spec *spec, in voltage_divider_scale_dt()
Dcurrent_sense_amplifier.h48 current_sense_amplifier_scale_dt(const struct current_sense_amplifier_dt_spec *spec, in current_sense_amplifier_scale_dt()
/Zephyr-Core-3.7.0/drivers/crypto/
Dcrypto_ataes132a_priv.h139 static inline int burst_write_i2c(const struct i2c_dt_spec *spec, in burst_write_i2c()
160 static inline int burst_read_i2c(const struct i2c_dt_spec *spec, in burst_read_i2c()
180 static inline int read_reg_i2c(const struct i2c_dt_spec *spec, in read_reg_i2c()
186 static inline int write_reg_i2c(const struct i2c_dt_spec *spec, in write_reg_i2c()
/Zephyr-Core-3.7.0/tests/drivers/mspi/api/src/
Dmain.c70 const struct mspi_dt_spec spec = { in ZTEST() local
/Zephyr-Core-3.7.0/drivers/video/
Dov5640.c372 static int ov5640_read_reg(const struct i2c_dt_spec *spec, const uint16_t addr, void *val, in ov5640_read_reg()
414 static int ov5640_write_reg(const struct i2c_dt_spec *spec, const uint16_t addr, const uint8_t val) in ov5640_write_reg()
432 static int ov5640_modify_reg(const struct i2c_dt_spec *spec, const uint16_t addr, in ov5640_modify_reg()
445 static int ov5640_write_multi_regs(const struct i2c_dt_spec *spec, const struct ov5640_reg *regs, in ov5640_write_multi_regs()
/Zephyr-Core-3.7.0/drivers/gpio/
Dgpio_hogs.c96 const struct gpio_hog_dt_spec *spec; in gpio_hogs_init() local
/Zephyr-Core-3.7.0/drivers/clock_control/
Dclock_control_pwm.c41 const struct pwm_dt_spec *spec; in clock_control_pwm_on() local
/Zephyr-Core-3.7.0/tests/drivers/adc/adc_rescale/src/
Dmain.c36 static int init_adc(const struct adc_dt_spec *spec, int input_mv) in init_adc()
/Zephyr-Core-3.7.0/tests/drivers/sensor/icm42688/src/
Dmain.c225 const struct gpio_dt_spec spec = GPIO_DT_SPEC_GET(NODE, int_gpios); in ZTEST_F() local

12