/linux-6.1.9/fs/xfs/ |
D | xfs_buf_item.c | 97 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.1.9/drivers/vfio/ |
D | iova_bitmap.c | 406 unsigned long last_bit = (((iova + length - 1) - mapped->iova) >> in iova_bitmap_set() local 413 last_bit - cur_bit + 1); in iova_bitmap_set() 420 } while (cur_bit <= last_bit); in iova_bitmap_set()
|
/linux-6.1.9/drivers/media/pci/bt8xx/ |
D | bttv-input.c | 207 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()
|
D | bttvp.h | 129 u32 last_bit; /* last raw bit seen */ member
|
/linux-6.1.9/drivers/clocksource/ |
D | ingenic-timer.c | 281 int ret, last_bit = -1; in ingenic_tcu_init() local 323 last_bit + 1); in ingenic_tcu_init() 324 last_bit = timer->channel; in ingenic_tcu_init() 329 last_bit + 1); in ingenic_tcu_init()
|
/linux-6.1.9/security/selinux/ss/ |
D | ebitmap.c | 477 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.1.9/drivers/spi/ |
D | spi-mtk-snfi.c | 847 u32 last_bit; in mtk_snand_read_page_cache() local 859 last_bit = fls(snf->nfi_cfg.page_size + snf->nfi_cfg.oob_size); in mtk_snand_read_page_cache() 860 mask = (1 << last_bit) - 1; in mtk_snand_read_page_cache() 1039 u32 last_bit; in mtk_snand_write_page_cache() local 1047 last_bit = fls(snf->nfi_cfg.page_size + snf->nfi_cfg.oob_size); in mtk_snand_write_page_cache() 1048 mask = (1 << last_bit) - 1; in mtk_snand_write_page_cache()
|
/linux-6.1.9/drivers/fsi/ |
D | fsi-master-gpio.c | 135 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.1.9/sound/soc/codecs/ |
D | rt1011.c | 1853 int ret = 0, first_bit, last_bit; in rt1011_set_tdm_slot() local 1951 last_bit = __fls(tx_mask); in rt1011_set_tdm_slot() 1952 if (last_bit - first_bit > 1) { in rt1011_set_tdm_slot()
|
/linux-6.1.9/drivers/net/wireless/ath/ath5k/ |
D | phy.c | 199 u32 mask, data, last_bit, bits_shifted, first_bit; in ath5k_hw_rfb_op() local 246 last_bit = (position + bits_left > 8) ? 8 : in ath5k_hw_rfb_op() 249 mask = (((1 << last_bit) - 1) ^ ((1 << position) - 1)) << in ath5k_hw_rfb_op() 259 bits_shifted += last_bit - position; in ath5k_hw_rfb_op()
|
/linux-6.1.9/fs/ocfs2/ |
D | alloc.c | 7531 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()
|
/linux-6.1.9/drivers/misc/habanalabs/gaudi2/ |
D | gaudi2.c | 4736 u8 first_bit, last_bit; in gaudi2_init_msix_gw_table() local 4743 last_bit = GAUDI2_IRQ_NUM_USER_LAST % 32; in gaudi2_init_msix_gw_table() 4746 WREG32(msix_gw_table_base + first_reg_offset, GENMASK(last_bit, first_bit)); in gaudi2_init_msix_gw_table() 4751 WREG32(msix_gw_table_base + last_reg_offset, GENMASK(last_bit, 0)); in gaudi2_init_msix_gw_table()
|