Lines Matching refs:gpioorg
1402 u16 gpioorg; in hw_reset_dac() local
1417 gpioorg = (u16)hw_read_20kx(hw, GPIO); in hw_reset_dac()
1418 gpioorg &= 0xfffd; in hw_reset_dac()
1419 hw_write_20kx(hw, GPIO, gpioorg); in hw_reset_dac()
1421 hw_write_20kx(hw, GPIO, gpioorg | 0x2); in hw_reset_dac()
1435 u16 gpioorg; in hw_dac_init() local
1440 gpioorg = (u16)hw_read_20kx(hw, GPIO); in hw_dac_init()
1441 gpioorg &= 0xffbf; /* set GPIO6 to low */ in hw_dac_init()
1442 gpioorg |= 2; /* set GPIO1 to high */ in hw_dac_init()
1443 hw_write_20kx(hw, GPIO, gpioorg); in hw_dac_init()
1448 gpioorg = (u16)hw_read_20kx(hw, GPIO); in hw_dac_init()
1449 gpioorg &= 0xffbf; in hw_dac_init()
1450 hw_write_20kx(hw, GPIO, gpioorg); in hw_dac_init()
1485 gpioorg = (u16)hw_read_20kx(hw, GPIO); in hw_dac_init()
1486 gpioorg = gpioorg | 0x40; in hw_dac_init()
1487 hw_write_20kx(hw, GPIO, gpioorg); in hw_dac_init()
1710 u16 gpioorg; in adc_init_SBx() local
1765 gpioorg = (u16)hw_read_20kx(hw, GPIO); in adc_init_SBx()
1766 gpioorg &= 0xfe7f; in adc_init_SBx()
1767 gpioorg |= input_source; in adc_init_SBx()
1768 hw_write_20kx(hw, GPIO, gpioorg); in adc_init_SBx()