FreeBSD/sys/dev/ppbus/lpbb.c
/* Reset bus by setting SDA first and then SCL. */
Reset bus by setting SDA first and then SCL.
Reset bus by setting SDA first and then SCL .
static void
lpbb_reset_bus(device_t dev)
{
	device_t ppbus = device_get_parent(dev);
	ppb_assert_locked(ppbus);
	ppb_wdtr(ppbus, (u_char)~SDA_out);
	ppb_wctr(ppbus, (u_char)(ppb_rctr(ppbus) | SCL_out));
}
static void lpbb_reset_bus ( device_t dev ) { device_t ppbus = device_get_parent ( dev ) ; ppb_assert_locked ( ppbus ) ; ppb_wdtr ( ppbus , ( u_char ) ~ SDA_out ) ; ppb_wctr ( ppbus , ( u_char ) ( ppb_rctr ( ppbus ) | SCL_out ) ) ; }
Reset bus by setting SDA first and then SCL.
Reset bus by setting SDA first and then SCL .