Lines Matching refs:brdctl
1750 uint8_t brdctl; in ahc_new_term_detect() local
1759 brdctl = read_brdctl(ahc); in ahc_new_term_detect()
1760 *eeprom_present = brdctl & BRDDAT7; in ahc_new_term_detect()
1761 *enableSEC_high = (brdctl & BRDDAT6); in ahc_new_term_detect()
1762 *enableSEC_low = (brdctl & BRDDAT5); in ahc_new_term_detect()
1763 *enablePRI_high = (brdctl & BRDDAT4); in ahc_new_term_detect()
1764 *enablePRI_low = (brdctl & BRDDAT3); in ahc_new_term_detect()
1772 uint8_t brdctl; in aic787X_cable_detect() local
1788 brdctl = read_brdctl(ahc); in aic787X_cable_detect()
1789 *internal50_present = (brdctl & BRDDAT6) ? 0 : 1; in aic787X_cable_detect()
1790 *internal68_present = (brdctl & BRDDAT7) ? 0 : 1; in aic787X_cable_detect()
1803 brdctl = read_brdctl(ahc); in aic787X_cable_detect()
1804 *externalcable_present = (brdctl & BRDDAT6) ? 0 : 1; in aic787X_cable_detect()
1805 *eeprom_present = (brdctl & BRDDAT7) ? 1 : 0; in aic787X_cable_detect()
1812 uint8_t brdctl; in aic785X_cable_detect() local
1825 brdctl = ahc_inb(ahc, BRDCTL); in aic785X_cable_detect()
1826 *internal50_present = (brdctl & BRDDAT5) ? 0 : 1; in aic785X_cable_detect()
1827 *externalcable_present = (brdctl & BRDDAT6) ? 0 : 1; in aic785X_cable_detect()
1869 uint8_t brdctl; in write_brdctl() local
1872 brdctl = BRDSTB; in write_brdctl()
1874 brdctl |= BRDCS; in write_brdctl()
1876 brdctl = 0; in write_brdctl()
1878 brdctl = BRDSTB|BRDCS; in write_brdctl()
1880 ahc_outb(ahc, BRDCTL, brdctl); in write_brdctl()
1882 brdctl |= value; in write_brdctl()
1883 ahc_outb(ahc, BRDCTL, brdctl); in write_brdctl()
1886 brdctl |= BRDSTB_ULTRA2; in write_brdctl()
1888 brdctl &= ~BRDSTB; in write_brdctl()
1889 ahc_outb(ahc, BRDCTL, brdctl); in write_brdctl()
1892 brdctl = 0; in write_brdctl()
1894 brdctl &= ~BRDCS; in write_brdctl()
1895 ahc_outb(ahc, BRDCTL, brdctl); in write_brdctl()
1901 uint8_t brdctl; in read_brdctl() local
1905 brdctl = BRDRW; in read_brdctl()
1907 brdctl |= BRDCS; in read_brdctl()
1909 brdctl = BRDRW_ULTRA2; in read_brdctl()
1911 brdctl = BRDRW|BRDCS; in read_brdctl()
1913 ahc_outb(ahc, BRDCTL, brdctl); in read_brdctl()