Home
last modified time | relevance | path

Searched refs:discenable (Results 1 – 8 of 8) sorted by relevance

/src/sys/dev/aic7xxx/
H A Daic7770.c338 uint16_t discenable; in aha2840_load_seeprom() local
341 discenable = 0; in aha2840_load_seeprom()
351 discenable |= (0x01 << i); in aha2840_load_seeprom()
354 ahc_outb(ahc, DISC_DSB, ~(discenable & 0xff)); in aha2840_load_seeprom()
355 ahc_outb(ahc, DISC_DSB + 1, ~((discenable >> 8) & 0xff)); in aha2840_load_seeprom()
H A Daic79xx_osm.c739 uint16_t *discenable; in ahd_set_tran_settings() local
756 discenable = &tstate->discenable; in ahd_set_tran_settings()
764 discenable = &ahd->user_discenable; in ahd_set_tran_settings()
775 *discenable |= devinfo.target_mask; in ahd_set_tran_settings()
777 *discenable &= ~devinfo.target_mask; in ahd_set_tran_settings()
824 if ((*discenable & devinfo.target_mask) == 0) in ahd_set_tran_settings()
881 if ((tstate->discenable & devinfo.target_mask) != 0) in ahd_get_tran_settings()
1020 if ((tstate->discenable & mask) != 0 in ahd_execute_scb()
H A Daic7xxx_osm.c612 uint16_t *discenable; in ahc_action() local
630 discenable = &tstate->discenable; in ahc_action()
642 discenable = &ahc->user_discenable; in ahc_action()
656 *discenable |= devinfo.target_mask; in ahc_action()
658 *discenable &= ~devinfo.target_mask; in ahc_action()
862 if ((tstate->discenable & devinfo.target_mask) != 0) in ahc_get_tran_settings()
1062 if ((tstate->discenable & mask) != 0 in ahc_execute_scb()
H A Daic7xxx_pci.c1492 uint16_t discenable; in ahc_parse_pci_eeprom() local
1495 discenable = 0; in ahc_parse_pci_eeprom()
1516 discenable |= target_mask; in ahc_parse_pci_eeprom()
1594 ahc_outb(ahc, DISC_DSB, ~(discenable & 0xff)); in ahc_parse_pci_eeprom()
1595 ahc_outb(ahc, DISC_DSB + 1, ~((discenable >> 8) & 0xff)); in ahc_parse_pci_eeprom()
H A Daic7xxx.h747 uint16_t discenable; /* Disconnection allowed */ member
H A Daic79xx.h798 uint16_t discenable; /* Disconnection allowed */ member
H A Daic7xxx.c4783 u_int discenable; in ahc_init() local
4996 discenable = ALL_TARGETS_MASK; in ahc_init()
5000 discenable = ~((ahc_inb(ahc, DISC_DSB + 1) << 8) in ahc_init()
5110 ahc->user_discenable = discenable; in ahc_init()
H A Daic79xx.c6834 tstate->discenable |= target_mask; in ahd_default_config()
6917 tstate->discenable &= ~target_mask; in ahd_parse_cfgdata()
6920 tstate->discenable |= target_mask; in ahd_parse_cfgdata()