Home
last modified time | relevance | path

Searched refs:delay_us (Results 1 – 8 of 8) sorted by relevance

/Zephyr-Core-3.7.0/soc/mediatek/mtk_adsp/
Dcpuclk.c78 static inline void delay_us(int us) in delay_us() function
91 delay_us(1); in set_pll_power()
93 delay_us(1); in set_pll_power()
95 delay_us(20); in set_pll_power()
98 delay_us(1); in set_pll_power()
100 delay_us(1); in set_pll_power()
/Zephyr-Core-3.7.0/drivers/w1/
Dw1_ds2477_85_common.c104 uint16_t delay_us = cfg->mode_timing[data->master_reg.od_active].t_reset; in ds2477_85_reset_bus() local
110 ret = cfg->w1_script_cmd(dev, delay_us, SCRIPT_OW_RESET, &tx_data, 1, &rx_data, 1); in ds2477_85_reset_bus()
128 uint16_t delay_us = cfg->mode_timing[data->master_reg.od_active].t_slot; in ds2477_85_read_bit() local
132 ret = cfg->w1_script_cmd(dev, delay_us, SCRIPT_OW_READ_BIT, NULL, 0, &rx_data, 1); in ds2477_85_read_bit()
144 uint16_t delay_us = cfg->mode_timing[data->master_reg.od_active].t_slot; in ds2477_85_write_bit() local
149 ret = cfg->w1_script_cmd(dev, delay_us, SCRIPT_OW_WRITE_BIT, &tx_data, 1, &rx_data, 1); in ds2477_85_write_bit()
161 uint16_t delay_us = cfg->mode_timing[data->master_reg.od_active].t_slot * 8; in ds2477_85_read_byte() local
165 ret = cfg->w1_script_cmd(dev, delay_us, SCRIPT_OW_READ_BYTE, NULL, 0, &rx_data, 1); in ds2477_85_read_byte()
177 uint16_t delay_us = cfg->mode_timing[data->master_reg.od_active].t_slot * 8; in ds2477_85_write_byte() local
181 ret = cfg->w1_script_cmd(dev, delay_us, SCRIPT_OW_WRITE_BYTE, &tx_byte, 1, &rx_data, 1); in ds2477_85_write_byte()
/Zephyr-Core-3.7.0/drivers/regulator/
Dregulator_common.c10 static void regulator_delay(uint32_t delay_us) in regulator_delay() argument
12 if (delay_us > 0U) { in regulator_delay()
13 k_sleep(K_USEC(delay_us)); in regulator_delay()
/Zephyr-Core-3.7.0/drivers/ethernet/
Deth_numaker.c98 uint32_t delay_us; in reset_phy() local
103 delay_us = 200000U; in reset_phy()
105 delay_us, k_msleep(1)); in reset_phy()
113 delay_us = 3000000U; in reset_phy()
114 ret = WAIT_FOR(numaker_eth_link_ok(gmacdev), delay_us, k_msleep(1)); in reset_phy()
127 delay_us = 3000000U; in reset_phy()
130 delay_us, k_msleep(1)); in reset_phy()
/Zephyr-Core-3.7.0/drivers/ieee802154/
Dieee802154_b91.c256 delay_us(CONFIG_IEEE802154_B91_SET_TXRX_DELAY_US); in b91_send_ack()
503 delay_us(CONFIG_IEEE802154_B91_SET_TXRX_DELAY_US); in b91_start()
520 delay_us(CONFIG_IEEE802154_B91_SET_TXRX_DELAY_US); in b91_stop()
556 delay_us(CONFIG_IEEE802154_B91_SET_TXRX_DELAY_US); in b91_tx()
/Zephyr-Core-3.7.0/drivers/sensor/bosch/bmi270/
Dbmi270.h360 uint32_t delay_us);
Dbmi270.c60 uint32_t delay_us) in bmi270_reg_write_with_delay() argument
66 k_usleep(delay_us); in bmi270_reg_write_with_delay()
/Zephyr-Core-3.7.0/drivers/sensor/bosch/bmi160/
Dbmi160.c193 uint16_t delay_us; /* values taken from page 82 */ in bmi160_pmu_set() member
213 k_busy_wait(cmds[i].delay_us); in bmi160_pmu_set()