Home
last modified time | relevance | path

Searched refs:PCF8591_CHANNELS (Results 1 – 2 of 2) sorted by relevance

/openbsd/sys/arch/sparc64/dev/
H A Dpcf8591_ofw.c27 #define PCF8591_CHANNELS 4 macro
40 struct pcfadc_channel sc_channels[PCF8591_CHANNELS];
71 u_char chanuse[PCF8591_CHANNELS * 4], desc[PCF8591_CHANNELS * 32]; in pcfadc_attach()
73 u_int8_t junk[PCF8591_CHANNELS + 1]; in pcfadc_attach()
74 u_int32_t transinfo[PCF8591_CHANNELS * 4]; in pcfadc_attach()
98 if (sc->sc_nchan > PCF8591_CHANNELS) { in pcfadc_attach()
145 if (chanuse[(i * 4)] > PCF8591_CHANNELS || /* channel # */ in pcfadc_attach()
195 u_int8_t data[PCF8591_CHANNELS + 1]; in pcfadc_refresh()
200 NULL, 0, data, PCF8591_CHANNELS + 1, 0)) { in pcfadc_refresh()
H A Dpcf8591_envctrl.c28 #define PCF8591_CHANNELS 4 macro
54 struct ecadc_channel sc_channels[PCF8591_CHANNELS];
88 u_int8_t junk[PCF8591_CHANNELS + 1]; in ecadc_attach()
192 u_int8_t data[PCF8591_CHANNELS + 1]; in ecadc_refresh()
204 NULL, 0, data, PCF8591_CHANNELS + 1, 0)) { in ecadc_refresh()