Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/security/selinux/ss/
H A Debitmap.c35 if (e1->highbit != e2->highbit) in ebitmap_cmp()
77 dst->highbit = src->highbit; in ebitmap_cpy()
195 ebmap->highbit = e_iter->startbit + EBITMAP_SIZE; in ebitmap_netlbl_import()
225 if (e1->highbit < e2->highbit) in ebitmap_contains()
265 if (e->highbit < bit) in ebitmap_get_bit()
304 e->highbit = prev->startbit in ebitmap_set_bit()
307 e->highbit = 0; in ebitmap_set_bit()
333 e->highbit = new->startbit + EBITMAP_SIZE; in ebitmap_set_bit()
360 e->highbit = 0; in ebitmap_destroy()
382 e->highbit = le32_to_cpu(buf[1]); in ebitmap_read()
[all …]
H A Debitmap.h42 u32 highbit; /* highest position in the total bitmap */ member
45 #define ebitmap_length(e) ((e)->highbit)
/OK3568_Linux_fs/kernel/drivers/ata/
H A Dlibata-core.c854 int highbit = fls(xfer_mask) - 1; in ata_xfer_mask2mode() local
858 if (highbit >= ent->shift && highbit < ent->shift + ent->bits) in ata_xfer_mask2mode()
859 return ent->base + highbit - ent->shift; in ata_xfer_mask2mode()
949 int highbit; in ata_mode_string() local
951 highbit = fls(xfer_mask) - 1; in ata_mode_string()
952 if (highbit >= 0 && highbit < ARRAY_SIZE(xfer_mode_str)) in ata_mode_string()
953 return xfer_mode_str[highbit]; in ata_mode_string()
3151 int quiet, highbit; in ata_down_xfermask_limit() local
3163 highbit = fls(pio_mask) - 1; in ata_down_xfermask_limit()
3164 pio_mask &= ~(1 << highbit); in ata_down_xfermask_limit()
[all …]
/OK3568_Linux_fs/kernel/drivers/video/fbdev/core/
H A 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()
/OK3568_Linux_fs/kernel/include/linux/
H A Dsvga.h16 u8 highbit; member
/OK3568_Linux_fs/kernel/drivers/media/pci/bt8xx/
H A Dbttv-cards.c3252 u32 highbit; in td3116_muxsel() local
3254 highbit = (input & 0x8) >> 3 ; in td3116_muxsel()
3258 value |= ((input & 0x7) << 1) << (4 * highbit); in td3116_muxsel()
3263 value |= ((highbit ^ 0x1) << 4) | highbit; in td3116_muxsel()
/OK3568_Linux_fs/kernel/mm/
H A Dpercpu.c229 int highbit = fls(size); /* size is in bytes */ in __pcpu_size_to_slot() local
230 return max(highbit - PCPU_SLOT_BASE_SHIFT + 2, 1); in __pcpu_size_to_slot()
/OK3568_Linux_fs/kernel/drivers/isdn/hardware/mISDN/
H A Dhfcmulti.c670 unsigned short highbit; in vpm_read_address() local
673 highbit = cpld_read_reg(c, 1); in vpm_read_address()
675 addr = addr | (highbit << 8); in vpm_read_address()