Searched refs:gpioorg (Results 1 – 1 of 1) sorted by relevance
1401 u16 gpioorg; in hw_reset_dac() local1416 gpioorg = (u16)hw_read_20kx(hw, GPIO); in hw_reset_dac()1417 gpioorg &= 0xfffd; in hw_reset_dac()1418 hw_write_20kx(hw, GPIO, gpioorg); in hw_reset_dac()1420 hw_write_20kx(hw, GPIO, gpioorg | 0x2); in hw_reset_dac()1434 u16 gpioorg; in hw_dac_init() local1439 gpioorg = (u16)hw_read_20kx(hw, GPIO); in hw_dac_init()1440 gpioorg &= 0xffbf; /* set GPIO6 to low */ in hw_dac_init()1441 gpioorg |= 2; /* set GPIO1 to high */ in hw_dac_init()1442 hw_write_20kx(hw, GPIO, gpioorg); in hw_dac_init()[all …]