Searched refs:bit_start (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/arch/powerpc/perf/ |
D | hv-common.h | 20 #define EVENT_DEFINE_RANGE_FORMAT(name, attr_var, bit_start, bit_end) \ argument 21 PMU_FORMAT_ATTR(name, #attr_var ":" #bit_start "-" #bit_end); \ 22 EVENT_DEFINE_RANGE(name, attr_var, bit_start, bit_end) 31 #define EVENT_DEFINE_RANGE_FORMAT_LITE(name, attr_var, bit_start, bit_end) \ argument 32 PMU_FORMAT_ATTR(name, #attr_var ":" #bit_start "-" #bit_end); 34 #define EVENT_DEFINE_RANGE(name, attr_var, bit_start, bit_end) \ argument 37 BUILD_BUG_ON((bit_start > bit_end) \ 39 return (((1ull << (bit_end - bit_start)) - 1) << 1) + 1; \ 43 return (event->attr.attr_var >> (bit_start)) & \
|
/linux-6.1.9/drivers/gpu/drm/hisilicon/kirin/ |
D | dw_dsi_reg.h | 88 static inline void dw_update_bits(void __iomem *addr, u32 bit_start, in dw_update_bits() argument 94 tmp = orig & ~(mask << bit_start); in dw_update_bits() 95 tmp |= (val & mask) << bit_start; in dw_update_bits()
|
D | kirin_ade_reg.h | 215 static inline void ade_update_bits(void __iomem *addr, u32 bit_start, in ade_update_bits() argument 221 tmp = orig & ~(mask << bit_start); in ade_update_bits() 222 tmp |= (val & mask) << bit_start; in ade_update_bits()
|
/linux-6.1.9/drivers/irqchip/ |
D | irq-ls-scfg-msi.c | 39 unsigned int bit_start; member 203 pos = msir->bit_start; in ls_scfg_msi_irq_handler() 256 msir->bit_start = 32 - ((msir->index + 1) * in ls_scfg_msi_setup_hwirq() 258 msir->bit_end = msir->bit_start + in ls_scfg_msi_setup_hwirq() 261 msir->bit_start = 0; in ls_scfg_msi_setup_hwirq()
|
/linux-6.1.9/fs/f2fs/ |
D | dir.c | 653 int bit_start = 0; in f2fs_room_for_filename() local 656 zero_start = find_next_zero_bit_le(bitmap, max_slots, bit_start); in f2fs_room_for_filename() 664 bit_start = zero_end + 1; in f2fs_room_for_filename()
|
/linux-6.1.9/drivers/media/usb/cx231xx/ |
D | cx231xx-core.c | 1707 u16 register_address, u8 bit_start, u8 bit_end, in cx231xx_reg_mask_write() argument 1715 if (bit_start > (size - 1) || bit_end > (size - 1)) in cx231xx_reg_mask_write() 1732 for (i = bit_end; i > bit_start && i > 0; i--) in cx231xx_reg_mask_write() 1735 value <<= bit_start; in cx231xx_reg_mask_write()
|
D | cx231xx.h | 755 u16 register_address, u8 bit_start, u8 bit_end,
|
/linux-6.1.9/fs/btrfs/ |
D | extent_io.c | 2790 int bit_start = 0; in submit_eb_subpage() local 2795 while (bit_start < fs_info->subpage_info->bitmap_nr_bits) { in submit_eb_subpage() 2811 if (!test_bit(bit_start + fs_info->subpage_info->dirty_offset, in submit_eb_subpage() 2815 bit_start++; in submit_eb_subpage() 2819 start = page_start + bit_start * fs_info->sectorsize; in submit_eb_subpage() 2820 bit_start += sectors_per_node; in submit_eb_subpage()
|