/Linux-v6.1/fs/xfs/ |
D | xfs_buf_item.c | 63 int first_bit, in xfs_buf_item_straddle() argument 68 first = xfs_buf_offset(bp, offset + (first_bit << XFS_BLF_SHIFT)); in xfs_buf_item_straddle() 70 offset + ((first_bit + nbits) << XFS_BLF_SHIFT)); in xfs_buf_item_straddle() 94 int first_bit; in xfs_buf_item_size_segment() local 99 first_bit = xfs_next_bit(blfp->blf_data_map, blfp->blf_map_size, 0); in xfs_buf_item_size_segment() 100 if (first_bit == -1) in xfs_buf_item_size_segment() 108 blfp->blf_map_size, first_bit); in xfs_buf_item_size_segment() 116 xfs_buf_item_straddle(bp, offset, first_bit, nbits)) in xfs_buf_item_size_segment() 128 first_bit = xfs_next_bit(blfp->blf_data_map, blfp->blf_map_size, in xfs_buf_item_size_segment() 129 (uint)first_bit + nbits + 1); in xfs_buf_item_size_segment() [all …]
|
/Linux-v6.1/sound/soc/codecs/ |
D | rt1019.c | 395 int ret = 0, first_bit; in rt1019_set_tdm_slot() local 444 first_bit = __ffs(rx_mask); in rt1019_set_tdm_slot() 445 switch (first_bit) { in rt1019_set_tdm_slot() 454 (first_bit << RT1019_TDM_I2S_TX_L_DAC1_1_SFT) | in rt1019_set_tdm_slot() 455 ((first_bit + 1) << RT1019_TDM_I2S_TX_R_DAC1_1_SFT)); in rt1019_set_tdm_slot() 465 ((first_bit - 1) << RT1019_TDM_I2S_TX_L_DAC1_1_SFT) | in rt1019_set_tdm_slot() 466 (first_bit << RT1019_TDM_I2S_TX_R_DAC1_1_SFT)); in rt1019_set_tdm_slot()
|
D | rt1015.c | 894 int ret = 0, first_bit; in rt1015_set_tdm_slot() local 944 first_bit = __ffs(rx_mask); in rt1015_set_tdm_slot() 945 switch (first_bit) { in rt1015_set_tdm_slot() 954 (first_bit << RT1015_TDM_I2S_TX_L_DAC1_1_SFT) | in rt1015_set_tdm_slot() 955 ((first_bit+1) << RT1015_TDM_I2S_TX_R_DAC1_1_SFT)); in rt1015_set_tdm_slot() 965 ((first_bit-1) << RT1015_TDM_I2S_TX_L_DAC1_1_SFT) | in rt1015_set_tdm_slot() 966 (first_bit << RT1015_TDM_I2S_TX_R_DAC1_1_SFT)); in rt1015_set_tdm_slot()
|
D | rt1011.c | 1853 int ret = 0, first_bit, last_bit; in rt1011_set_tdm_slot() local 1907 first_bit = __ffs(rx_mask); in rt1011_set_tdm_slot() 1908 switch (first_bit) { in rt1011_set_tdm_slot() 1920 (first_bit << RT1011_TDM_I2S_TX_L_DAC1_1_SFT) | in rt1011_set_tdm_slot() 1921 ((first_bit+1) << RT1011_TDM_I2S_TX_R_DAC1_1_SFT)); in rt1011_set_tdm_slot() 1934 ((first_bit-1) << RT1011_TDM_I2S_TX_L_DAC1_1_SFT) | in rt1011_set_tdm_slot() 1935 (first_bit << RT1011_TDM_I2S_TX_R_DAC1_1_SFT)); in rt1011_set_tdm_slot() 1950 first_bit = __ffs(tx_mask); in rt1011_set_tdm_slot() 1952 if (last_bit - first_bit > 1) { in rt1011_set_tdm_slot() 1961 RT1011_TDM_ADCDAT1_DATA_LOCATION, first_bit); in rt1011_set_tdm_slot() [all …]
|
/Linux-v6.1/tools/perf/util/ |
D | perf_event_attr_fprintf.c | 17 bool first_bit = true; in __p_bits() local 22 buf += scnprintf(buf, size, "%s%s", first_bit ? "" : "|", bits[i].name); in __p_bits() 23 first_bit = false; in __p_bits()
|
/Linux-v6.1/arch/x86/kernel/cpu/resctrl/ |
D | ctrlmondata.c | 98 unsigned long first_bit, zero_bit, val; in cbm_validate() local 114 first_bit = find_first_bit(&val, cbm_len); in cbm_validate() 115 zero_bit = find_next_zero_bit(&val, cbm_len, first_bit); in cbm_validate() 124 if ((zero_bit - first_bit) < r->cache.min_cbm_bits) { in cbm_validate()
|
D | pseudo_lock.c | 116 unsigned long first_bit; in pseudo_lock_minor_get() local 118 first_bit = find_first_bit(&pseudo_lock_minor_avail, MINORBITS); in pseudo_lock_minor_get() 120 if (first_bit == MINORBITS) in pseudo_lock_minor_get() 123 __clear_bit(first_bit, &pseudo_lock_minor_avail); in pseudo_lock_minor_get() 124 *minor = first_bit; in pseudo_lock_minor_get()
|
D | rdtgroup.c | 2709 unsigned long first_bit, zero_bit; in cbm_ensure_valid() local 2715 first_bit = find_first_bit(&val, cbm_len); in cbm_ensure_valid() 2716 zero_bit = find_next_zero_bit(&val, cbm_len, first_bit); in cbm_ensure_valid()
|
/Linux-v6.1/drivers/net/wireless/ath/ath5k/ |
D | phy.c | 199 u32 mask, data, last_bit, bits_shifted, first_bit; in ath5k_hw_rfb_op() local 222 first_bit = rfreg->field.pos; in ath5k_hw_rfb_op() 232 if (!(col <= 3 && num_bits <= 32 && first_bit + num_bits <= 319)) { in ath5k_hw_rfb_op() 237 entry = ((first_bit - 1) / 8) + offset; in ath5k_hw_rfb_op() 238 position = (first_bit - 1) % 8; in ath5k_hw_rfb_op()
|
/Linux-v6.1/fs/ocfs2/ |
D | alloc.c | 7531 u32 first_bit, last_bit, minlen; in ocfs2_trim_mainbm() local 7584 first_bit = start; in ocfs2_trim_mainbm() 7586 first_bit = start - ocfs2_blocks_to_clusters(sb, in ocfs2_trim_mainbm() 7594 if (first_bit + len >= 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() 7619 len -= osb->bitmap_cpg - first_bit; in ocfs2_trim_mainbm() 7620 first_bit = 0; in ocfs2_trim_mainbm()
|
/Linux-v6.1/drivers/misc/habanalabs/gaudi2/ |
D | gaudi2.c | 4736 u8 first_bit, last_bit; in gaudi2_init_msix_gw_table() local 4741 first_bit = GAUDI2_IRQ_NUM_USER_FIRST % 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() 4750 WREG32(msix_gw_table_base + first_reg_offset, GENMASK(31, first_bit)); in gaudi2_init_msix_gw_table()
|