Lines Matching refs:gpioorg
1396 u16 gpioorg; in hw_reset_dac() local
1411 gpioorg = (u16)hw_read_20kx(hw, GPIO); in hw_reset_dac()
1412 gpioorg &= 0xfffd; in hw_reset_dac()
1413 hw_write_20kx(hw, GPIO, gpioorg); in hw_reset_dac()
1415 hw_write_20kx(hw, GPIO, gpioorg | 0x2); in hw_reset_dac()
1429 u16 gpioorg; in hw_dac_init() local
1434 gpioorg = (u16)hw_read_20kx(hw, GPIO); in hw_dac_init()
1435 gpioorg &= 0xffbf; /* set GPIO6 to low */ in hw_dac_init()
1436 gpioorg |= 2; /* set GPIO1 to high */ in hw_dac_init()
1437 hw_write_20kx(hw, GPIO, gpioorg); in hw_dac_init()
1442 gpioorg = (u16)hw_read_20kx(hw, GPIO); in hw_dac_init()
1443 gpioorg &= 0xffbf; in hw_dac_init()
1444 hw_write_20kx(hw, GPIO, gpioorg); in hw_dac_init()
1479 gpioorg = (u16)hw_read_20kx(hw, GPIO); in hw_dac_init()
1480 gpioorg = gpioorg | 0x40; in hw_dac_init()
1481 hw_write_20kx(hw, GPIO, gpioorg); in hw_dac_init()
1704 u16 gpioorg; in adc_init_SBx() local
1759 gpioorg = (u16)hw_read_20kx(hw, GPIO); in adc_init_SBx()
1760 gpioorg &= 0xfe7f; in adc_init_SBx()
1761 gpioorg |= input_source; in adc_init_SBx()
1762 hw_write_20kx(hw, GPIO, gpioorg); in adc_init_SBx()