Searched refs:gpioorg (Results 1 – 1 of 1) sorted by relevance
1392 u16 gpioorg; in hw_reset_dac() local1407 gpioorg = (u16)hw_read_20kx(hw, GPIO); in hw_reset_dac()1408 gpioorg &= 0xfffd; in hw_reset_dac()1409 hw_write_20kx(hw, GPIO, gpioorg); in hw_reset_dac()1411 hw_write_20kx(hw, GPIO, gpioorg | 0x2); in hw_reset_dac()1425 u16 gpioorg; in hw_dac_init() local1430 gpioorg = (u16)hw_read_20kx(hw, GPIO); in hw_dac_init()1431 gpioorg &= 0xffbf; /* set GPIO6 to low */ in hw_dac_init()1432 gpioorg |= 2; /* set GPIO1 to high */ in hw_dac_init()1433 hw_write_20kx(hw, GPIO, gpioorg); in hw_dac_init()[all …]