Home
last modified time | relevance | path

Searched refs:bit_pos (Results 1 – 25 of 51) sorted by relevance

123

/openbmc/linux/fs/f2fs/
H A Ddir.c265 bit_pos++; in f2fs_find_target_dentry()
273 bit_pos++; in f2fs_find_target_dentry()
647 unsigned int bit_pos; in f2fs_has_enough_room() local
682 unsigned int bit_pos; in f2fs_add_regular_entry() local
750 bit_pos); in f2fs_add_regular_entry()
886 unsigned int bit_pos; in f2fs_delete_entry() local
957 bit_pos = 2; in f2fs_empty_dir()
959 bit_pos = 0; in f2fs_empty_dir()
962 bit_pos); in f2fs_empty_dir()
993 bit_pos = find_next_bit_le(d->bitmap, d->max, bit_pos); in f2fs_fill_dentries()
[all …]
H A Dinline.c492 while (bit_pos < d.max) { in f2fs_add_inline_entries()
499 bit_pos++; in f2fs_add_inline_entries()
503 de = &d.dentry[bit_pos]; in f2fs_add_inline_entries()
506 bit_pos++; in f2fs_add_inline_entries()
640 unsigned int bit_pos; in f2fs_add_inline_entry() local
655 if (bit_pos >= d.max) { in f2fs_add_inline_entry()
676 bit_pos); in f2fs_add_inline_entry()
706 unsigned int bit_pos; in f2fs_delete_inline_entry() local
733 unsigned int bit_pos = 2; in f2fs_empty_inline_dir() local
744 bit_pos = find_next_bit_le(d.bitmap, d.max, bit_pos); in f2fs_empty_inline_dir()
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_dmac_flt.c74 int otx2_dmacflt_add(struct otx2_nic *pf, const u8 *mac, u32 bit_pos) in otx2_dmacflt_add() argument
81 dmacindex = &pf->flow_cfg->bmap_to_dmacindex[bit_pos]; in otx2_dmacflt_add()
130 u32 bit_pos) in otx2_dmacflt_remove() argument
132 u32 dmacindex = pf->flow_cfg->bmap_to_dmacindex[bit_pos]; in otx2_dmacflt_remove()
177 int otx2_dmacflt_update(struct otx2_nic *pf, u8 *mac, u32 bit_pos) in otx2_dmacflt_update() argument
193 req->index = pf->flow_cfg->bmap_to_dmacindex[bit_pos]; in otx2_dmacflt_update()
204 pf->flow_cfg->bmap_to_dmacindex[bit_pos] = rsp->index; in otx2_dmacflt_update()
/openbmc/linux/drivers/scsi/cxlflash/
H A Dvlun.c156 u64 bit_pos = -1; in find_free_range() local
171 clear_bit(bit_pos, lam); in find_free_range()
175 return bit_pos; in find_free_range()
186 u64 bit_pos = -1; in ba_alloc() local
205 if (bit_pos == -1) { in ba_alloc()
209 if (bit_pos == -1) { in ba_alloc()
217 if (bit_pos == HIBIT) in ba_alloc()
239 int idx = 0, bit_pos = 0; in validate_alloc() local
242 bit_pos = aun % BITS_PER_LONG; in validate_alloc()
259 int idx = 0, bit_pos = 0; in ba_free() local
[all …]
/openbmc/linux/arch/arm64/kernel/probes/
H A Dsimulate-insn.c71 int bit_pos = ((opcode & (1 << 31)) >> 26) | ((opcode >> 19) & 0x1f); in check_tbz() local
73 return ((get_x_reg(regs, xn) >> bit_pos) & 0x1) == 0; in check_tbz()
79 int bit_pos = ((opcode & (1 << 31)) >> 26) | ((opcode >> 19) & 0x1f); in check_tbnz() local
81 return ((get_x_reg(regs, xn) >> bit_pos) & 0x1) != 0; in check_tbnz()
/openbmc/linux/drivers/block/drbd/
H A Ddrbd_proc.c193 unsigned long bit_pos; in drbd_syncer_progress() local
197 bit_pos = bm_bits - device->ov_left; in drbd_syncer_progress()
201 bit_pos = device->bm_resync_fo; in drbd_syncer_progress()
206 (int)(bit_pos / (bm_bits/100+1)), in drbd_syncer_progress()
207 (unsigned long long)bit_pos * BM_SECT_PER_BIT, in drbd_syncer_progress()
/openbmc/linux/arch/sh/drivers/
H A Dheartbeat.c37 new = (1 << hd->bit_pos[bit]); in heartbeat_toggle_bit()
110 hd->bit_pos = default_bit_pos; in heartbeat_drv_probe()
116 hd->mask |= (1 << hd->bit_pos[i]); in heartbeat_drv_probe()
/openbmc/linux/drivers/usb/gadget/udc/
H A Dmv_udc_core.c130 u32 bit_pos; in process_ep_req() local
255 u32 bit_pos, direction; in queue_dtd() local
474 (unsigned)bit_pos); in mv_ep_enable()
623 u32 bit_pos, direction; in mv_ep_fifo_flush() local
638 bit_pos = (1 << 16) | 1; in mv_ep_fifo_flush()
640 bit_pos = 1 << ep->ep_num; in mv_ep_fifo_flush()
652 (unsigned)bit_pos); in mv_ep_fifo_flush()
670 (unsigned)bit_pos); in mv_ep_fifo_flush()
752 u32 bit_pos; in mv_prime_ep() local
1785 u32 tmp, bit_pos; in irq_process_tr_complete() local
[all …]
/openbmc/linux/drivers/platform/x86/intel/telemetry/
H A Ddebugfs.c70 (BUF)[idx] = ((EVTLOG) >> (EVTDAT)[idx].bit_pos) & \
97 u32 bit_pos; member
121 u32 bit_pos; member
147 u32 bit_pos; member
162 u32 bit_pos; member
177 u32 bit_pos; member
204 u32 bit_pos; member
365 conf->pss_idle_data[conf->pss_idle_evts - 1].bit_pos) & in telem_pss_states_show()
624 conf->pss_idle_data[idx].bit_pos) & in telem_soc_states_show()
629 conf->pss_idle_data[idx].bit_pos) & in telem_soc_states_show()
/openbmc/linux/drivers/regulator/
H A Dtps65910-regulator.c855 TPS65910_EN1_LDO_ASS + regoffs, bit_pos); in tps65910_set_ext_sleep_config()
858 TPS65910_EN1_LDO_ASS + regoffs, bit_pos); in tps65910_set_ext_sleep_config()
868 TPS65910_EN2_LDO_ASS + regoffs, bit_pos); in tps65910_set_ext_sleep_config()
871 TPS65910_EN2_LDO_ASS + regoffs, bit_pos); in tps65910_set_ext_sleep_config()
883 TPS65910_EN3_LDO_ASS + regoffs, bit_pos); in tps65910_set_ext_sleep_config()
886 TPS65910_EN3_LDO_ASS + regoffs, bit_pos); in tps65910_set_ext_sleep_config()
898 TPS65910_SLEEP_KEEP_LDO_ON + regoffs, bit_pos); in tps65910_set_ext_sleep_config()
901 TPS65910_SLEEP_SET_LDO_OFF + regoffs, bit_pos); in tps65910_set_ext_sleep_config()
946 TPS65910_SLEEP_KEEP_LDO_ON + regoffs, bit_pos); in tps65910_set_ext_sleep_config()
950 TPS65910_SLEEP_SET_LDO_OFF + regoffs, bit_pos); in tps65910_set_ext_sleep_config()
[all …]
/openbmc/linux/drivers/mfd/
H A Dpalmas.c331 int bit_pos, ret; in palmas_ext_control_req_config() local
350 bit_pos = pmic_ddata->sleep_req_info[id].bit_pos; in palmas_ext_control_req_config()
354 reg_add, BIT(bit_pos), BIT(bit_pos)); in palmas_ext_control_req_config()
357 reg_add, BIT(bit_pos), 0); in palmas_ext_control_req_config()
/openbmc/linux/lib/xz/
H A Dxz_dec_bcj.c204 uint32_t bit_pos; in bcj_ia64() local
224 for (slot = 0, bit_pos = 5; slot < 3; ++slot, bit_pos += 41) { in bcj_ia64()
228 byte_pos = bit_pos >> 3; in bcj_ia64()
229 bit_res = bit_pos & 7; in bcj_ia64()
/openbmc/linux/arch/sh/include/asm/
H A Dheartbeat.h11 unsigned char *bit_pos; member
/openbmc/linux/drivers/pci/controller/dwc/
H A Dpci-keystone.c161 u32 bit_pos; in ks_pcie_msi_irq_ack() local
167 bit_pos = irq >> 3; in ks_pcie_msi_irq_ack()
170 BIT(bit_pos)); in ks_pcie_msi_irq_ack()
207 u32 bit_pos; in ks_pcie_msi_mask() local
215 bit_pos = irq >> 3; in ks_pcie_msi_mask()
218 BIT(bit_pos)); in ks_pcie_msi_mask()
231 u32 bit_pos; in ks_pcie_msi_unmask() local
239 bit_pos = irq >> 3; in ks_pcie_msi_unmask()
242 BIT(bit_pos)); in ks_pcie_msi_unmask()
/openbmc/linux/arch/sh/boards/mach-se/7751/
H A Dsetup.c22 .bit_pos = heartbeat_bit_pos,
/openbmc/linux/include/linux/
H A Dcper.h451 u16 bit_pos; member
471 u16 bit_pos; member
491 u16 bit_pos; member
/openbmc/u-boot/drivers/gpio/
H A Dsh_pfc.c251 int k, m, n, pos, bit_pos; in get_config_reg() local
265 for (bit_pos = 0; bit_pos < r_width; bit_pos += curr_width) { in get_config_reg()
/openbmc/linux/arch/sh/boards/mach-se/7206/
H A Dsetup.c52 .bit_pos = heartbeat_bit_pos,
/openbmc/linux/arch/sh/boards/mach-se/7721/
H A Dsetup.c20 .bit_pos = heartbeat_bit_pos,
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dhwmon.c210 unsigned long bit_pos; in mlx5_hwmon_init_sensors_indexes() local
216 for_each_set_bit(bit_pos, smap, BITS_PER_TYPE(sensor_map)) { in mlx5_hwmon_init_sensors_indexes()
217 hwmon->temp_channel_desc[i].sensor_index = bit_pos; in mlx5_hwmon_init_sensors_indexes()
/openbmc/linux/arch/sh/boards/
H A Dboard-polaris.c69 .bit_pos = heartbeat_bit_pos,
/openbmc/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_hw.c112 int chtls_set_tcb_tflag(struct sock *sk, unsigned int bit_pos, int val) in chtls_set_tcb_tflag() argument
114 return chtls_set_tcb_field(sk, 1, 1ULL << bit_pos, in chtls_set_tcb_tflag()
115 (u64)val << bit_pos); in chtls_set_tcb_tflag()
/openbmc/u-boot/drivers/pinctrl/renesas/
H A Dpfc.c200 unsigned int bit_pos; in sh_pfc_get_config_reg() local
207 for (bit_pos = 0; bit_pos < r_width; bit_pos += curr_width) { in sh_pfc_get_config_reg()
/openbmc/linux/sound/soc/tegra/
H A Dtegra210_ahub.c23 unsigned int reg, i, bit_pos = 0; in tegra_ahub_get_value_enum() local
37 bit_pos = ffs(reg_val) + in tegra_ahub_get_value_enum()
45 if (bit_pos == e->values[i]) { in tegra_ahub_get_value_enum()
64 unsigned int i, bit_pos, reg_idx = 0, reg_val = 0; in tegra_ahub_put_value_enum() local
73 bit_pos = (value - 1) % (8 * cmpnt->val_bytes); in tegra_ahub_put_value_enum()
74 reg_val = BIT(bit_pos); in tegra_ahub_put_value_enum()
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Domap_gpmc.c502 uint32_t byte_pos, bit_pos; in omap_correct_data_bch() local
558 bit_pos = error_loc[count] % 8; in omap_correct_data_bch()
560 dat[byte_pos] ^= 1 << bit_pos; in omap_correct_data_bch()
563 read_ecc[byte_pos - SECTOR_BYTES] ^= 1 << bit_pos; in omap_correct_data_bch()

123