Lines Matching refs:brdctl

1757 	uint8_t brdctl;  in ahc_new_term_detect()  local
1766 brdctl = read_brdctl(ahc); in ahc_new_term_detect()
1767 *eeprom_present = brdctl & BRDDAT7; in ahc_new_term_detect()
1768 *enableSEC_high = (brdctl & BRDDAT6); in ahc_new_term_detect()
1769 *enableSEC_low = (brdctl & BRDDAT5); in ahc_new_term_detect()
1770 *enablePRI_high = (brdctl & BRDDAT4); in ahc_new_term_detect()
1771 *enablePRI_low = (brdctl & BRDDAT3); in ahc_new_term_detect()
1779 uint8_t brdctl; in aic787X_cable_detect() local
1795 brdctl = read_brdctl(ahc); in aic787X_cable_detect()
1796 *internal50_present = (brdctl & BRDDAT6) ? 0 : 1; in aic787X_cable_detect()
1797 *internal68_present = (brdctl & BRDDAT7) ? 0 : 1; in aic787X_cable_detect()
1810 brdctl = read_brdctl(ahc); in aic787X_cable_detect()
1811 *externalcable_present = (brdctl & BRDDAT6) ? 0 : 1; in aic787X_cable_detect()
1812 *eeprom_present = (brdctl & BRDDAT7) ? 1 : 0; in aic787X_cable_detect()
1819 uint8_t brdctl; in aic785X_cable_detect() local
1832 brdctl = ahc_inb(ahc, BRDCTL); in aic785X_cable_detect()
1833 *internal50_present = (brdctl & BRDDAT5) ? 0 : 1; in aic785X_cable_detect()
1834 *externalcable_present = (brdctl & BRDDAT6) ? 0 : 1; in aic785X_cable_detect()
1876 uint8_t brdctl; in write_brdctl() local
1879 brdctl = BRDSTB; in write_brdctl()
1881 brdctl |= BRDCS; in write_brdctl()
1883 brdctl = 0; in write_brdctl()
1885 brdctl = BRDSTB|BRDCS; in write_brdctl()
1887 ahc_outb(ahc, BRDCTL, brdctl); in write_brdctl()
1889 brdctl |= value; in write_brdctl()
1890 ahc_outb(ahc, BRDCTL, brdctl); in write_brdctl()
1893 brdctl |= BRDSTB_ULTRA2; in write_brdctl()
1895 brdctl &= ~BRDSTB; in write_brdctl()
1896 ahc_outb(ahc, BRDCTL, brdctl); in write_brdctl()
1899 brdctl = 0; in write_brdctl()
1901 brdctl &= ~BRDCS; in write_brdctl()
1902 ahc_outb(ahc, BRDCTL, brdctl); in write_brdctl()
1908 uint8_t brdctl; in read_brdctl() local
1912 brdctl = BRDRW; in read_brdctl()
1914 brdctl |= BRDCS; in read_brdctl()
1916 brdctl = BRDRW_ULTRA2; in read_brdctl()
1918 brdctl = BRDRW|BRDCS; in read_brdctl()
1920 ahc_outb(ahc, BRDCTL, brdctl); in read_brdctl()