Home
last modified time | relevance | path

Searched refs:udelay (Results 1 – 25 of 74) sorted by relevance

123

/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/
H A Dfman_memac_mii_acc.c53 udelay(1); in write_phy_reg_10g()
61 udelay(1); in write_phy_reg_10g()
69 udelay(1); in write_phy_reg_10g()
89 udelay(1); in read_phy_reg_10g()
97 udelay(1); in read_phy_reg_10g()
107 udelay(1); in read_phy_reg_10g()
127 udelay(1); in write_phy_reg_1g()
135 udelay(1); in write_phy_reg_1g()
143 udelay(1); in write_phy_reg_1g()
158 udelay(1); in read_phy_reg_1g()
[all …]
/freebsd/sys/dev/iicbus/
H A Diicbb.c76 u_int udelay; /* signal toggle delay in usec */ member
155 "delay", CTLFLAG_RD, &sc->udelay, in iicbb_attach()
283 * The caller is responsible for keeping SCL high for udelay. in iicbb_clockin()
306 * - pull SCL low and hold for udelay. in iicbb_clockout()
309 DELAY(sc->udelay); in iicbb_clockout()
321 DELAY(sc->udelay); in iicbb_sendbit()
354 /* Sample SDA until ACK (low) or udelay runs out. */ in iicbb_getack()
355 for (t = 0; t < sc->udelay; t++) { in iicbb_getack()
362 DELAY(sc->udelay - t); in iicbb_getack()
405 DELAY((sc->udelay in iicbb_readbyte()
[all...]
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x2/
H A Dpci_init.c145 udelay(1); in mt76x2_power_on_rf_patch()
151 udelay(1); in mt76x2_power_on_rf_patch()
154 udelay(125); in mt76x2_power_on_rf_patch()
157 udelay(50); in mt76x2_power_on_rf_patch()
169 udelay(10); in mt76x2_power_on_rf()
173 udelay(10); in mt76x2_power_on_rf()
177 udelay(10); in mt76x2_power_on_rf()
199 udelay(10); in mt76x2_power_on()
202 udelay(10); in mt76x2_power_on()
H A Dinit.c53 udelay(20); in mt76x2_set_wlan_state()
70 udelay(20); in mt76x2_reset_wlan()
76 udelay(20); in mt76x2_reset_wlan()
H A Dmac.c28 udelay(1); in mt76x2_mac_stop()
H A Dusb_init.c31 udelay(1); in mt76x2u_power_on_rf_patch()
37 udelay(1); in mt76x2u_power_on_rf_patch()
/freebsd/sys/dev/regulator/
H A Dregulator.c71 int *udelay);
74 int max_uvolt, int *udelay);
266 regnode_method_enable(struct regnode *regnode, bool enable, int *udelay) in regnode_method_enable() argument
272 *udelay = 0; in regnode_method_enable()
285 int *udelay) in regnode_method_set_voltage() argument
291 *udelay = 0; in regnode_method_set_voltage()
615 int udelay; in regnode_enable() local
633 rv = REGNODE_ENABLE(regnode, true, &udelay); in regnode_enable()
638 regnode_delay(udelay); in regnode_enable()
651 int udelay; in regnode_disable() local
[all …]
H A Dregulator_fixed.c74 int *udelay);
76 static int regnode_fixed_stop(struct regnode *regnode, int *udelay);
187 regnode_fixed_enable(struct regnode *regnode, bool enable, int *udelay) in regnode_fixed_enable() argument
197 *udelay = 0; in regnode_fixed_enable()
221 *udelay = sc->param->enable_delay; in regnode_fixed_enable()
230 regnode_fixed_stop(struct regnode *regnode, int *udelay) in regnode_fixed_stop() argument
240 *udelay = 0; in regnode_fixed_stop()
257 *udelay = sc->param->enable_delay; in regnode_fixed_stop()
H A Dregnode_if.m35 regnode_default_stop(struct regnode *regnode, int *udelay)
38 return(REGNODE_ENABLE(regnode, false, udelay));
59 int *udelay;
80 int *udelay;
107 int *udelay;
/freebsd/sys/dev/iicbus/pmic/rockchip/
H A Drk8xx_regulators.c44 int max_uvolt, int *udelay);
55 int rv, udelay, uvolt, status; in rk8xx_regnode_init() local
80 param->max_uvolt, &udelay); in rk8xx_regnode_init()
81 if (udelay != 0) in rk8xx_regnode_init()
82 DELAY(udelay); in rk8xx_regnode_init()
88 rk8xx_regnode_enable(struct regnode *regnode, bool enable, int *udelay) in rk8xx_regnode_enable() argument
105 *udelay = 0; in rk8xx_regnode_enable()
198 int max_uvolt, int *udelay) in rk8xx_regnode_set_voltage() argument
227 *udelay = 0; in rk8xx_regnode_set_voltage()
/freebsd/sys/dev/iicbus/pmic/silergy/
H A Dsy8106a.c125 sy8106a_regnode_enable(struct regnode *regnode, bool enable, int *udelay) in sy8106a_regnode_enable() argument
139 *udelay = sc->param->ramp_delay; in sy8106a_regnode_enable()
146 int max_uvolt, int *udelay) in sy8106a_regnode_set_voltage() argument
164 *udelay = sc->param->ramp_delay * in sy8106a_regnode_set_voltage()
H A Dsyr827.c106 syr827_regnode_enable(struct regnode *regnode, bool enable, int *udelay) in syr827_regnode_enable() argument
120 *udelay = sc->param->ramp_delay; in syr827_regnode_enable()
127 int max_uvolt, int *udelay) in syr827_regnode_set_voltage() argument
146 *udelay = sc->param->ramp_delay * in syr827_regnode_set_voltage()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Ddelay.h51 #define udelay(t) DELAY(t) macro
82 udelay(us); in fsleep()
H A Di2c-algo-bit.h41 int udelay; member
/freebsd/sys/dev/gpio/
H A Dgpioregulator.c100 gpioregulator_regnode_enable(struct regnode *regnode, bool enable, int *udelay) in gpioregulator_regnode_enable() argument
117 *udelay = sc->def->startup_delay_us; in gpioregulator_regnode_enable()
124 int max_uvolt, int *udelay) in gpioregulator_regnode_set_voltage() argument
150 *udelay = sc->def->startup_delay_us; in gpioregulator_regnode_set_voltage()
/freebsd/sys/dev/drm2/
H A Ddrm_dp_helper.c114 udelay(100); in drm_dp_link_train_clock_recovery_delay()
122 udelay(400); in drm_dp_link_train_channel_eq_delay()
/freebsd/sys/contrib/dev/iwlwifi/
H A Diwl-io.c58 udelay(IWL_POLL_INTERVAL); in iwl_poll_bit()
106 udelay(IWL_POLL_INTERVAL); in iwl_poll_direct_bit()
170 udelay(IWL_POLL_INTERVAL); in iwl_poll_prph_bit()
473 udelay(2); in iwl_finish_nic_init()
489 udelay(200); in iwl_finish_nic_init()
/freebsd/sys/arm/nvidia/
H A Das3722_regulators.c369 int *udelay);
371 int max_uvolt, int *udelay);
656 as3722_regnode_enable(struct regnode *regnode, bool val, int *udelay) in as3722_regnode_enable() argument
667 *udelay = sc->enable_usec; in as3722_regnode_enable()
673 int *udelay) in as3722_regnode_set_volt() argument
681 *udelay = 0; in as3722_regnode_set_volt()
/freebsd/sys/arm64/nvidia/tegra210/
H A Dmax77620_regulators.c345 int *udelay);
347 int max_uvolt, int *udelay);
819 max77620_regnode_enable(struct regnode *regnode, bool val, int *udelay) in max77620_regnode_enable() argument
829 *udelay = 0; in max77620_regnode_enable()
845 *udelay = sc->enable_usec; in max77620_regnode_enable()
851 int *udelay) in max77620_regnode_set_volt() argument
859 *udelay = 0; in max77620_regnode_set_volt()
/freebsd/sys/dev/iicbus/pmic/
H A Dfan53555.c202 fan53555_regnode_enable(struct regnode *regnode, bool enable, int *udelay) in fan53555_regnode_enable() argument
218 *udelay = sc->param->enable_delay; in fan53555_regnode_enable()
225 int max_uvolt, int *udelay) in fan53555_regnode_set_voltage() argument
239 *udelay = sc->param->ramp_delay; in fan53555_regnode_set_voltage()
H A Dact8846_regulator.c275 act8846_regnode_enable(struct regnode *regnode, bool enable, int *udelay) in act8846_regnode_enable() argument
287 *udelay = sc->param->enable_delay; in act8846_regnode_enable()
294 int max_uvolt, int *udelay) in act8846_regnode_set_voltage() argument
313 *udelay = sc->param->ramp_delay; in act8846_regnode_set_voltage()
/freebsd/sys/dev/ppbus/
H A Dppb_msq.h146 #define MS_DELAY(udelay) { MS_OP_DELAY, {{ (udelay) }}} argument
/freebsd/sys/contrib/openzfs/config/
H A Dkernel-usleep_range.m45 dnl # designed to be a drop-in replacement for udelay where a precise
/freebsd/sys/arm/allwinner/
H A Daxp81x.c709 int max_uvolt, int *udelay);
757 int rv, udelay; in axp8xx_regnode_init() local
769 param->max_uvolt, &udelay); in axp8xx_regnode_init()
771 DELAY(udelay); in axp8xx_regnode_init()
777 axp8xx_regnode_enable(struct regnode *regnode, bool enable, int *udelay) in axp8xx_regnode_enable() argument
802 *udelay = 0; in axp8xx_regnode_enable()
864 int max_uvolt, int *udelay) in axp8xx_regnode_set_voltage() argument
885 *udelay = 0; in axp8xx_regnode_set_voltage()
/freebsd/sys/dev/enic/
H A Denic_compat.h41 #define udelay(t) DELAY(t) macro

123