Lines Matching refs:brdctl
1825 uint8_t brdctl; in ahc_new_term_detect() local
1834 brdctl = read_brdctl(ahc); in ahc_new_term_detect()
1835 *eeprom_present = brdctl & BRDDAT7; in ahc_new_term_detect()
1836 *enableSEC_high = (brdctl & BRDDAT6); in ahc_new_term_detect()
1837 *enableSEC_low = (brdctl & BRDDAT5); in ahc_new_term_detect()
1838 *enablePRI_high = (brdctl & BRDDAT4); in ahc_new_term_detect()
1839 *enablePRI_low = (brdctl & BRDDAT3); in ahc_new_term_detect()
1847 uint8_t brdctl; in aic787X_cable_detect() local
1863 brdctl = read_brdctl(ahc); in aic787X_cable_detect()
1864 *internal50_present = (brdctl & BRDDAT6) ? 0 : 1; in aic787X_cable_detect()
1865 *internal68_present = (brdctl & BRDDAT7) ? 0 : 1; in aic787X_cable_detect()
1878 brdctl = read_brdctl(ahc); in aic787X_cable_detect()
1879 *externalcable_present = (brdctl & BRDDAT6) ? 0 : 1; in aic787X_cable_detect()
1880 *eeprom_present = (brdctl & BRDDAT7) ? 1 : 0; in aic787X_cable_detect()
1887 uint8_t brdctl; in aic785X_cable_detect() local
1900 brdctl = ahc_inb(ahc, BRDCTL); in aic785X_cable_detect()
1901 *internal50_present = (brdctl & BRDDAT5) ? 0 : 1; in aic785X_cable_detect()
1902 *externalcable_present = (brdctl & BRDDAT6) ? 0 : 1; in aic785X_cable_detect()
1944 uint8_t brdctl; in write_brdctl() local
1947 brdctl = BRDSTB; in write_brdctl()
1949 brdctl |= BRDCS; in write_brdctl()
1951 brdctl = 0; in write_brdctl()
1953 brdctl = BRDSTB|BRDCS; in write_brdctl()
1955 ahc_outb(ahc, BRDCTL, brdctl); in write_brdctl()
1957 brdctl |= value; in write_brdctl()
1958 ahc_outb(ahc, BRDCTL, brdctl); in write_brdctl()
1961 brdctl |= BRDSTB_ULTRA2; in write_brdctl()
1963 brdctl &= ~BRDSTB; in write_brdctl()
1964 ahc_outb(ahc, BRDCTL, brdctl); in write_brdctl()
1967 brdctl = 0; in write_brdctl()
1969 brdctl &= ~BRDCS; in write_brdctl()
1970 ahc_outb(ahc, BRDCTL, brdctl); in write_brdctl()
1976 uint8_t brdctl; in read_brdctl() local
1980 brdctl = BRDRW; in read_brdctl()
1982 brdctl |= BRDCS; in read_brdctl()
1984 brdctl = BRDRW_ULTRA2; in read_brdctl()
1986 brdctl = BRDRW|BRDCS; in read_brdctl()
1988 ahc_outb(ahc, BRDCTL, brdctl); in read_brdctl()