Home
last modified time | relevance | path

Searched refs:last_bit (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/fs/xfs/
Dxfs_buf_item.c97 int last_bit; in xfs_buf_item_size_segment() local
138 last_bit = first_bit; in xfs_buf_item_size_segment()
139 while (last_bit != -1) { in xfs_buf_item_size_segment()
147 last_bit + 1); in xfs_buf_item_size_segment()
155 } else if (next_bit != last_bit + 1 || in xfs_buf_item_size_segment()
157 last_bit = next_bit; in xfs_buf_item_size_segment()
162 last_bit++; in xfs_buf_item_size_segment()
279 int last_bit; in xfs_buf_item_format_segment() local
352 last_bit = first_bit; in xfs_buf_item_format_segment()
362 (uint)last_bit + 1); in xfs_buf_item_format_segment()
[all …]
/linux-6.6.21/drivers/vfio/
Diova_bitmap.c408 unsigned long last_bit = (((iova + length - 1) - mapped->iova) >> in iova_bitmap_set() local
416 last_bit - cur_bit + 1); in iova_bitmap_set()
426 } while (cur_bit <= last_bit); in iova_bitmap_set()
/linux-6.6.21/drivers/media/pci/bt8xx/
Dbttv-input.c207 if (ir->last_bit < 20) { in bttv_rc5_timer_end()
267 if (ir->last_bit < 28) { in bttv_rc5_irq()
268 ir->last_bit = (gap - ir_rc5_remote_gap / 2) / in bttv_rc5_irq()
270 ir->code |= 1 << ir->last_bit; in bttv_rc5_irq()
277 ir->last_bit = 0; in bttv_rc5_irq()
Dbttvp.h128 u32 last_bit; /* last raw bit seen */ member
/linux-6.6.21/drivers/clocksource/
Dingenic-timer.c280 int ret, last_bit = -1; in ingenic_tcu_init() local
322 last_bit + 1); in ingenic_tcu_init()
323 last_bit = timer->channel; in ingenic_tcu_init()
328 last_bit + 1); in ingenic_tcu_init()
/linux-6.6.21/security/selinux/ss/
Debitmap.c477 int bit, last_bit, last_startbit, rc; in ebitmap_write() local
482 last_bit = 0; in ebitmap_write()
489 last_bit = roundup(bit + 1, BITS_PER_U64); in ebitmap_write()
491 buf[1] = cpu_to_le32(last_bit); in ebitmap_write()
/linux-6.6.21/drivers/spi/
Dspi-mtk-snfi.c878 u32 last_bit; in mtk_snand_read_page_cache() local
890 last_bit = fls(snf->nfi_cfg.page_size + snf->nfi_cfg.oob_size); in mtk_snand_read_page_cache()
891 mask = (1 << last_bit) - 1; in mtk_snand_read_page_cache()
1070 u32 last_bit; in mtk_snand_write_page_cache() local
1078 last_bit = fls(snf->nfi_cfg.page_size + snf->nfi_cfg.oob_size); in mtk_snand_write_page_cache()
1079 mask = (1 << last_bit) - 1; in mtk_snand_write_page_cache()
/linux-6.6.21/drivers/fsi/
Dfsi-master-gpio.c135 uint64_t last_bit = ~0; in serial_out() local
153 if (last_bit ^ next_bit) { in serial_out()
155 last_bit = next_bit; in serial_out()
/linux-6.6.21/sound/soc/codecs/
Drt1011.c1851 int ret = 0, first_bit, last_bit; in rt1011_set_tdm_slot() local
1949 last_bit = __fls(tx_mask); in rt1011_set_tdm_slot()
1950 if (last_bit - first_bit > 1) { in rt1011_set_tdm_slot()
/linux-6.6.21/drivers/net/wireless/ath/ath5k/
Dphy.c200 u32 mask, data, last_bit, bits_shifted, first_bit; in ath5k_hw_rfb_op() local
247 last_bit = (position + bits_left > 8) ? 8 : in ath5k_hw_rfb_op()
250 mask = (((1 << last_bit) - 1) ^ ((1 << position) - 1)) << in ath5k_hw_rfb_op()
260 bits_shifted += last_bit - position; in ath5k_hw_rfb_op()
/linux-6.6.21/fs/ocfs2/
Dalloc.c7531 u32 first_bit, last_bit, minlen; in ocfs2_trim_mainbm() local
7595 last_bit = osb->bitmap_cpg; in ocfs2_trim_mainbm()
7597 last_bit = first_bit + len; in ocfs2_trim_mainbm()
7609 first_bit, last_bit, minlen); in ocfs2_trim_mainbm()