Home
last modified time | relevance | path

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

/linux-4.4.14/arch/alpha/include/asm/
Dbitops.h319 unsigned long bits, qofs, bofs; in ffz()
324 bofs = ffz_b(bits); in ffz()
326 return qofs*8 + bofs; in ffz()
339 unsigned long bits, qofs, bofs; in __ffs()
344 bofs = ffz_b(~bits); in __ffs()
346 return qofs*8 + bofs; in __ffs()
/linux-4.4.14/fs/logfs/
Dreadwrite.c733 u64 bix, bofs = li->li_data[INDIRECT_INDEX]; in logfs_read_loop() local
739 if (!bofs) in logfs_read_loop()
752 ret = logfs_segment_read(inode, ipage, bofs, bix, level); in logfs_read_loop()
758 bofs = block_get_pointer(ipage, get_bits(bix, SUBLEVEL(level))); in logfs_read_loop()
760 if (!bofs) in logfs_read_loop()
764 return logfs_segment_read(inode, page, bofs, bix, 0); in logfs_read_loop()
780 u64 bofs = li->li_data[INDIRECT_INDEX]; in logfs_exist_loop() local
785 if (!bofs) in logfs_exist_loop()
795 ret = logfs_segment_read(inode, ipage, bofs, bix, level); in logfs_exist_loop()
801 bofs = block_get_pointer(ipage, get_bits(bix, SUBLEVEL(level))); in logfs_exist_loop()
[all …]
/linux-4.4.14/drivers/net/irda/
Dsmsc-ircc2.c199 static void smsc_ircc_dma_xmit(struct smsc_ircc_cb *self, int bofs);
1225 int bofs; in smsc_ircc_hard_xmit_fir() local
1231 bofs = mtt * (self->io.speed / 1000) / 8000; in smsc_ircc_hard_xmit_fir()
1232 if (bofs > 4095) in smsc_ircc_hard_xmit_fir()
1233 bofs = 4095; in smsc_ircc_hard_xmit_fir()
1235 smsc_ircc_dma_xmit(self, bofs); in smsc_ircc_hard_xmit_fir()
1253 static void smsc_ircc_dma_xmit(struct smsc_ircc_cb *self, int bofs) in smsc_ircc_dma_xmit() argument
1272 outb(bofs & 0xff, iobase + IRCC_BOF_COUNT_LO); in smsc_ircc_dma_xmit()
1274 outb(ctrl | ((bofs >> 8) & 0x0f), iobase + IRCC_BOF_COUNT_HI); in smsc_ircc_dma_xmit()
/linux-4.4.14/drivers/input/touchscreen/
Dcyttsp4_core.c409 tch->bofs = (tch_old->loc & CY_BOFS_MASK) >> CY_BOFS_SHIFT; in cyttsp4_si_get_opcfg_data()
426 tch->bofs = (tch_new->loc & CY_BOFS_MASK) >> CY_BOFS_SHIFT; in cyttsp4_si_get_opcfg_data()
440 si->si_ofs.tch_abs[abs].bofs); in cyttsp4_si_get_opcfg_data()
748 int *axis, int size, int max, u8 *xy_data, int bofs) in cyttsp4_get_touch_axis() argument
758 xy_data[next], xy_data[next], bofs); in cyttsp4_get_touch_axis()
759 *axis = (*axis * 256) + (xy_data[next] >> bofs); in cyttsp4_get_touch_axis()
785 si->si_ofs.tch_abs[abs].bofs); in cyttsp4_get_touch()
Dcyttsp4_core.h268 size_t bofs; /* bit offset */ member