Home
last modified time | relevance | path

Searched refs:highbit (Results 1 – 4 of 4) sorted by relevance

/drivers/ata/
Dlibata-core.c923 int highbit = fls(xfer_mask) - 1; in ata_xfer_mask2mode() local
927 if (highbit >= ent->shift && highbit < ent->shift + ent->bits) in ata_xfer_mask2mode()
928 return ent->base + highbit - ent->shift; in ata_xfer_mask2mode()
1015 int highbit; in ata_mode_string() local
1017 highbit = fls(xfer_mask) - 1; in ata_mode_string()
1018 if (highbit >= 0 && highbit < ARRAY_SIZE(xfer_mode_str)) in ata_mode_string()
1019 return xfer_mode_str[highbit]; in ata_mode_string()
3163 int quiet, highbit; in ata_down_xfermask_limit() local
3175 highbit = fls(pio_mask) - 1; in ata_down_xfermask_limit()
3176 pio_mask &= ~(1 << highbit); in ata_down_xfermask_limit()
[all …]
/drivers/video/fbdev/core/
Dsvgalib.c30 while (bitnum <= regset->highbit) { in svga_wcrt_multi()
50 while (bitnum <= regset->highbit) { in svga_wseq_multi()
67 count += regset->highbit - regset->lowbit + 1; in svga_regset_size()
/drivers/media/pci/bt8xx/
Dbttv-cards.c3260 u32 highbit; in td3116_muxsel() local
3262 highbit = (input & 0x8) >> 3 ; in td3116_muxsel()
3266 value |= ((input & 0x7) << 1) << (4 * highbit); in td3116_muxsel()
3271 value |= ((highbit ^ 0x1) << 4) | highbit; in td3116_muxsel()
/drivers/isdn/hardware/mISDN/
Dhfcmulti.c684 unsigned short highbit; in vpm_read_address() local
687 highbit = cpld_read_reg(c, 1); in vpm_read_address()
689 addr = addr | (highbit << 8); in vpm_read_address()