Home
last modified time | relevance | path

Searched refs:bval (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/drivers/scsi/
Dscsiiom.c429 UCHAR sstatus, residual, bval; in dc390_DataIn_0() local
473 bval = DC390_read8 (Current_Fifo); in dc390_DataIn_0()
474 while( bval & 0x1f ) in dc390_DataIn_0()
477 if( (bval & 0x1f) == 1 ) in dc390_DataIn_0()
481 bval = DC390_read8 (Current_Fifo); in dc390_DataIn_0()
482 if( !(bval & 0x1f) ) in dc390_DataIn_0()
492 bval = DC390_read8 (Current_Fifo); in dc390_DataIn_0()
498 bval = DC390_read8 (DMA_Status); in dc390_DataIn_0()
499 if (bval & BLAST_COMPLETE) in dc390_DataIn_0()
505 dc390_laststatus &= ~0xff000000; dc390_laststatus |= bval << 24; in dc390_DataIn_0()
[all …]
Dtmscsim.c577 UCHAR bval; in dc390_EnDisableCE() local
579 bval = 0; in dc390_EnDisableCE()
584 PCI_WRITE_CONFIG_BYTE(PDEV, *regval, bval); in dc390_EnDisableCE()
586 PCI_WRITE_CONFIG_BYTE(PDEV, *regval, bval); in dc390_EnDisableCE()
705 UCHAR bval; in dc390_EEpromOutDI() local
707 bval = 0; in dc390_EEpromOutDI()
710 bval = 0x40; in dc390_EEpromOutDI()
712 PCI_WRITE_CONFIG_BYTE(PDEV, *regval, bval); in dc390_EEpromOutDI()
715 bval |= 0x80; in dc390_EEpromOutDI()
716 PCI_WRITE_CONFIG_BYTE(PDEV, *regval, bval); in dc390_EEpromOutDI()
[all …]
/linux-2.4.37.9/arch/ppc/xmon/
Dadb.c68 adb_bitwait(int bmask, int bval, int fmask, int fval) in adb_bitwait() argument
76 if ((ap->b & bmask) == bval && (ap->ifr & fmask) == fval) in adb_bitwait()
/linux-2.4.37.9/drivers/sound/
Dtrident.c996 u8 bval; in trident_rec_setup() local
1040 bval = inb(TRID_REG(card,ALI_SPDIF_CTRL)); in trident_rec_setup()
1041 if (bval & 0x10) in trident_rec_setup()
1043 outb(bval,TRID_REG(card,ALI_SPDIF_CTRL)); in trident_rec_setup()
3257 u8 bval = 0, R1 = 0, R2 = 0; in ali_detect_spdif_rate() local
3259 bval = inb(TRID_REG(card,ALI_SPDIF_CTRL)); in ali_detect_spdif_rate()
3260 bval |= 0x02; in ali_detect_spdif_rate()
3261 outb(bval,TRID_REG(card,ALI_SPDIF_CTRL)); in ali_detect_spdif_rate()
3263 bval = inb(TRID_REG(card,ALI_SPDIF_CTRL + 1)); in ali_detect_spdif_rate()
3264 bval |= 0x1F; in ali_detect_spdif_rate()
[all …]
/linux-2.4.37.9/drivers/isdn/
Disdn_tty.c3170 int bval; in isdn_tty_cmd_ATS() local
3194 bval = isdn_getnum(p); in isdn_tty_cmd_ATS()
3195 if (bval < 0 || bval > 1) in isdn_tty_cmd_ATS()
3197 if (bval) in isdn_tty_cmd_ATS()