Lines Matching refs:brdctl
7657 unsigned char brdctl, value; in read_brdctl() local
7665 brdctl = BRDRW_ULTRA2; in read_brdctl()
7666 aic_outb(p, brdctl, BRDCTL); in read_brdctl()
7672 brdctl = BRDRW; in read_brdctl()
7676 brdctl |= BRDCS; in read_brdctl()
7678 aic_outb(p, brdctl, BRDCTL); in read_brdctl()
7697 unsigned char brdctl; in write_brdctl() local
7705 brdctl = value; in write_brdctl()
7706 aic_outb(p, brdctl, BRDCTL); in write_brdctl()
7708 brdctl |= BRDSTB_ULTRA2; in write_brdctl()
7709 aic_outb(p, brdctl, BRDCTL); in write_brdctl()
7711 brdctl &= ~BRDSTB_ULTRA2; in write_brdctl()
7712 aic_outb(p, brdctl, BRDCTL); in write_brdctl()
7719 brdctl = BRDSTB; in write_brdctl()
7723 brdctl |= BRDCS; in write_brdctl()
7725 brdctl = BRDSTB | BRDCS; in write_brdctl()
7726 aic_outb(p, brdctl, BRDCTL); in write_brdctl()
7728 brdctl |= value; in write_brdctl()
7729 aic_outb(p, brdctl, BRDCTL); in write_brdctl()
7731 brdctl &= ~BRDSTB; in write_brdctl()
7732 aic_outb(p, brdctl, BRDCTL); in write_brdctl()
7734 brdctl &= ~BRDCS; in write_brdctl()
7735 aic_outb(p, brdctl, BRDCTL); in write_brdctl()
7751 unsigned char brdctl; in aic785x_cable_detect() local
7757 brdctl = aic_inb(p, BRDCTL); in aic785x_cable_detect()
7759 *int_50 = !(brdctl & BRDDAT5); in aic785x_cable_detect()
7760 *ext_present = !(brdctl & BRDDAT6); in aic785x_cable_detect()
7780 unsigned char brdctl; in aic2940_uwpro_wide_cable_detect() local
7794 brdctl = read_brdctl(p); in aic2940_uwpro_wide_cable_detect()
7795 *int_68 = !(brdctl & BRDDAT7); in aic2940_uwpro_wide_cable_detect()
7802 brdctl = read_brdctl(p); in aic2940_uwpro_wide_cable_detect()
7804 *ext_68 = !(brdctl & BRDDAT6); in aic2940_uwpro_wide_cable_detect()
7805 *eeprom = !(brdctl & BRDDAT7); in aic2940_uwpro_wide_cable_detect()
7826 unsigned char brdctl; in aic787x_cable_detect() local
7840 brdctl = read_brdctl(p); in aic787x_cable_detect()
7841 *int_50 = !(brdctl & BRDDAT6); in aic787x_cable_detect()
7842 *int_68 = !(brdctl & BRDDAT7); in aic787x_cable_detect()
7849 brdctl = read_brdctl(p); in aic787x_cable_detect()
7851 *ext_present = !(brdctl & BRDDAT6); in aic787x_cable_detect()
7852 *eeprom = !(brdctl & BRDDAT7); in aic787x_cable_detect()
7874 unsigned char brdctl; in aic7xxx_ultra2_term_detect() local
7876 brdctl = read_brdctl(p); in aic7xxx_ultra2_term_detect()
7878 *eprom_present = (brdctl & BRDDAT7); in aic7xxx_ultra2_term_detect()
7879 *enableSE_high = (brdctl & BRDDAT6); in aic7xxx_ultra2_term_detect()
7880 *enableSE_low = (brdctl & BRDDAT5); in aic7xxx_ultra2_term_detect()
7881 *enableLVD_high = (brdctl & BRDDAT4); in aic7xxx_ultra2_term_detect()
7882 *enableLVD_low = (brdctl & BRDDAT3); in aic7xxx_ultra2_term_detect()