Lines Matching refs:gpioorg
1392 u16 gpioorg; in hw_reset_dac() local
1407 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() local
1430 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()
1438 gpioorg = (u16)hw_read_20kx(hw, GPIO); in hw_dac_init()
1439 gpioorg &= 0xffbf; in hw_dac_init()
1440 hw_write_20kx(hw, GPIO, gpioorg); in hw_dac_init()
1475 gpioorg = (u16)hw_read_20kx(hw, GPIO); in hw_dac_init()
1476 gpioorg = gpioorg | 0x40; in hw_dac_init()
1477 hw_write_20kx(hw, GPIO, gpioorg); in hw_dac_init()
1700 u16 gpioorg; in adc_init_SBx() local
1755 gpioorg = (u16)hw_read_20kx(hw, GPIO); in adc_init_SBx()
1756 gpioorg &= 0xfe7f; in adc_init_SBx()
1757 gpioorg |= input_source; in adc_init_SBx()
1758 hw_write_20kx(hw, GPIO, gpioorg); in adc_init_SBx()