Home
last modified time | relevance | path

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

12

/Zephyr-latest/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-latest/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()
Dled.h361 static inline int led_set_brightness_dt(const struct led_dt_spec *spec, in led_set_brightness_dt()
375 static inline int led_on_dt(const struct led_dt_spec *spec) in led_on_dt()
388 static inline int led_off_dt(const struct led_dt_spec *spec) in led_off_dt()
401 static inline bool led_is_ready_dt(const struct led_dt_spec *spec) in led_is_ready_dt()
Di2c.h467 static inline bool i2c_is_ready_dt(const struct i2c_dt_spec *spec) in i2c_is_ready_dt()
884 static inline int i2c_transfer_cb_dt(const struct i2c_dt_spec *spec, in i2c_transfer_cb_dt()
957 static inline int i2c_write_read_cb_dt(const struct i2c_dt_spec *spec, struct i2c_msg *msgs, in i2c_write_read_cb_dt()
1110 static inline int i2c_transfer_dt(const struct i2c_dt_spec *spec, in i2c_transfer_dt()
1297 static inline int i2c_write_dt(const struct i2c_dt_spec *spec, in i2c_write_dt()
1342 static inline int i2c_read_dt(const struct i2c_dt_spec *spec, in i2c_read_dt()
1400 static inline int i2c_write_read_dt(const struct i2c_dt_spec *spec, in i2c_write_read_dt()
1452 static inline int i2c_burst_read_dt(const struct i2c_dt_spec *spec, in i2c_burst_read_dt()
1515 static inline int i2c_burst_write_dt(const struct i2c_dt_spec *spec, in i2c_burst_write_dt()
1561 static inline int i2c_reg_read_byte_dt(const struct i2c_dt_spec *spec, in i2c_reg_read_byte_dt()
[all …]
Dgpio.h836 static inline bool gpio_is_ready_dt(const struct gpio_dt_spec *spec) in gpio_is_ready_dt()
951 static inline int gpio_pin_interrupt_configure_dt(const struct gpio_dt_spec *spec, in gpio_pin_interrupt_configure_dt()
1044 static inline int gpio_pin_configure_dt(const struct gpio_dt_spec *spec, in gpio_pin_configure_dt()
1134 static inline int gpio_pin_is_input_dt(const struct gpio_dt_spec *spec) in gpio_pin_is_input_dt()
1179 static inline int gpio_pin_is_output_dt(const struct gpio_dt_spec *spec) in gpio_pin_is_output_dt()
1236 static inline int gpio_pin_get_config_dt(const struct gpio_dt_spec *spec, in gpio_pin_get_config_dt()
1608 static inline int gpio_pin_get_dt(const struct gpio_dt_spec *spec) in gpio_pin_get_dt()
1697 static inline int gpio_pin_set_dt(const struct gpio_dt_spec *spec, int value) in gpio_pin_set_dt()
1733 static inline int gpio_pin_toggle_dt(const struct gpio_dt_spec *spec) in gpio_pin_toggle_dt()
1803 static inline int gpio_add_callback_dt(const struct gpio_dt_spec *spec, in gpio_add_callback_dt()
[all …]
Dspi.h725 static inline bool spi_cs_is_gpio_dt(const struct spi_dt_spec *spec) in spi_cs_is_gpio_dt()
738 static inline bool spi_is_ready_dt(const struct spi_dt_spec *spec) in spi_is_ready_dt()
805 static inline int spi_transceive_dt(const struct spi_dt_spec *spec, in spi_transceive_dt()
848 static inline int spi_read_dt(const struct spi_dt_spec *spec, in spi_read_dt()
889 static inline int spi_write_dt(const struct spi_dt_spec *spec, in spi_write_dt()
1094 struct spi_dt_spec *spec = (struct spi_dt_spec *)spi_iodev->data; in spi_is_ready_iodev() local
1144 static inline int spi_release_dt(const struct spi_dt_spec *spec) in spi_release_dt()
/Zephyr-latest/tests/drivers/spi/spi_loopback/src/
Dspi.c102 static int spi_complete_multiple(struct spi_dt_spec *spec) in spi_complete_multiple()
163 static int spi_complete_loop(struct spi_dt_spec *spec) in spi_complete_loop()
211 static int spi_null_tx_buf(struct spi_dt_spec *spec) in spi_null_tx_buf()
266 static int spi_rx_half_start(struct spi_dt_spec *spec) in spi_rx_half_start()
315 static int spi_rx_half_end(struct spi_dt_spec *spec) in spi_rx_half_end()
373 static int spi_rx_every_4(struct spi_dt_spec *spec) in spi_rx_every_4()
451 static int spi_rx_bigger_than_tx(struct spi_dt_spec *spec) in spi_rx_bigger_than_tx()
531 static int spi_complete_large_transfers(struct spi_dt_spec *spec) in spi_complete_large_transfers()
609 static int spi_async_call(struct spi_dt_spec *spec) in spi_async_call()
/Zephyr-latest/drivers/clock_control/
Dclock_control_nrf2_hsfll.c104 const struct nrf_clock_spec *spec) in hsfll_find_mgr()
136 const struct nrf_clock_spec *spec, in api_request_hsfll()
153 const struct nrf_clock_spec *spec) in api_release_hsfll()
169 const struct nrf_clock_spec *spec, in api_cancel_or_release_hsfll()
Dclock_control_nrf2_lfclk.c109 const struct nrf_clock_spec *spec) in lfclk_find_mgr()
143 const struct nrf_clock_spec *spec, in api_request_lfclk()
156 const struct nrf_clock_spec *spec) in api_release_lfclk()
168 const struct nrf_clock_spec *spec, in api_cancel_or_release_lfclk()
Dclock_control_nrf2_fll16m.c137 const struct nrf_clock_spec *spec) in fll16m_find_mgr()
175 const struct nrf_clock_spec *spec, in api_request_fll16m()
188 const struct nrf_clock_spec *spec) in api_release_fll16m()
200 const struct nrf_clock_spec *spec, in api_cancel_or_release_fll16m()
Dclock_control_nrf2_global_hsfll.c66 const struct nrf_clock_spec *spec) in global_hsfll_find_mgr()
98 const struct nrf_clock_spec *spec, in api_request_global_hsfll()
111 const struct nrf_clock_spec *spec) in api_release_global_hsfll()
123 const struct nrf_clock_spec *spec, in api_cancel_or_release_global_hsfll()
Dclock_control_nrf2_hfxo.c174 const struct nrf_clock_spec *spec) in is_clock_spec_valid()
197 const struct nrf_clock_spec *spec, in api_request_hfxo()
210 const struct nrf_clock_spec *spec) in api_release_hfxo()
222 const struct nrf_clock_spec *spec, in api_cancel_or_release_hfxo()
/Zephyr-latest/tests/drivers/input/gpio_keys/src/
Dmain.c20 struct gpio_dt_spec spec; member
57 const struct gpio_dt_spec *spec = &pin_cfg->spec; in ZTEST() local
/Zephyr-latest/modules/openthread/platform/
Ddiag.c170 static otError gpio_get_spec(uint32_t gpio_idx, const struct gpio_dt_spec **spec) in gpio_get_spec()
198 const struct gpio_dt_spec *spec; in otPlatDiagGpioSet() local
222 const struct gpio_dt_spec *spec; in otPlatDiagGpioGet() local
253 const struct gpio_dt_spec *spec; in otPlatDiagGpioSetMode() local
286 const struct gpio_dt_spec *spec; in otPlatDiagGpioGetMode() local
/Zephyr-latest/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-latest/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-latest/drivers/sensor/vishay/vcnl36825t/
Dvcnl36825t.c23 int vcnl36825t_read(const struct i2c_dt_spec *spec, uint8_t reg_addr, uint16_t *value) in vcnl36825t_read()
38 int vcnl36825t_write(const struct i2c_dt_spec *spec, uint8_t reg_addr, uint16_t value) in vcnl36825t_write()
46 int vcnl36825t_update(const struct i2c_dt_spec *spec, uint8_t reg_addr, uint16_t mask, in vcnl36825t_update()
/Zephyr-latest/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-latest/include/zephyr/drivers/clock_control/
Dnrf_clock_control.h236 const struct nrf_clock_spec *spec, in nrf_clock_control_request()
279 const struct nrf_clock_spec *spec) in nrf_clock_control_release()
311 const struct nrf_clock_spec *spec, in nrf_clock_control_cancel_or_release()
/Zephyr-latest/samples/boards/nordic/clock_control/src/
Dmain.c55 const struct nrf_clock_spec spec = { in main() local
/Zephyr-latest/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()

12