Searched refs:bit_pos (Results 1 - 25 of 50) sorted by relevance

12

/linux-master/arch/sh/include/asm/
H A Dheartbeat.h11 unsigned char *bit_pos; member in struct:heartbeat_data
/linux-master/drivers/soc/qcom/
H A Dqcom-pbs.c34 static int qcom_pbs_wait_for_ack(struct pbs_dev *pbs, u8 bit_pos) argument
40 val, val & BIT(bit_pos), DELAY, DELAY * RETRIES);
43 dev_err(pbs->dev, "Timeout for PBS ACK/NACK for bit %u\n", bit_pos);
49 dev_err(pbs->dev, "NACK from PBS for bit %u\n", bit_pos);
53 dev_dbg(pbs->dev, "PBS sequence for bit %u executed!\n", bit_pos);
77 u16 bit_pos; local
98 for (bit_pos = 0; bit_pos < 8; bit_pos++) {
99 if (!(bitmap & BIT(bit_pos)))
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_seq64.c168 unsigned long bit_pos; local
170 bit_pos = find_first_zero_bit(adev->seq64.used, adev->seq64.num_sem);
171 if (bit_pos >= adev->seq64.num_sem)
174 __set_bit(bit_pos, adev->seq64.used);
175 *va = bit_pos * sizeof(u64) + amdgpu_seq64_get_va_base(adev);
176 *cpu_addr = bit_pos + adev->seq64.cpu_base_addr;
191 unsigned long bit_pos; local
193 bit_pos = (va - amdgpu_seq64_get_va_base(adev)) / sizeof(u64);
194 if (bit_pos < adev->seq64.num_sem)
195 __clear_bit(bit_pos, ade
[all...]
/linux-master/fs/f2fs/
H A Ddir.c256 unsigned long bit_pos = 0; local
262 while (bit_pos < d->max) {
263 if (!test_bit_le(bit_pos, d->bitmap)) {
264 bit_pos++;
269 de = &d->dentry[bit_pos];
272 bit_pos++;
278 d->filename[bit_pos],
290 bit_pos += GET_DENTRY_SLOTS(le16_to_cpu(de->name_len));
646 unsigned int bit_pos; local
651 bit_pos
656 f2fs_update_dentry(nid_t ino, umode_t mode, struct f2fs_dentry_ptr *d, const struct fscrypt_str *name, f2fs_hash_t name_hash, unsigned int bit_pos) argument
681 unsigned int bit_pos; local
885 unsigned int bit_pos; local
934 unsigned int bit_pos; local
977 unsigned int bit_pos; local
[all...]
H A Dinline.c467 unsigned long bit_pos = 0; local
472 while (bit_pos < d.max) {
478 if (!test_bit_le(bit_pos, d.bitmap)) {
479 bit_pos++;
483 de = &d.dentry[bit_pos];
486 bit_pos++;
495 fname.disk_name.name = d.filename[bit_pos];
506 bit_pos += GET_DENTRY_SLOTS(le16_to_cpu(de->name_len));
620 unsigned int bit_pos; local
634 bit_pos
686 unsigned int bit_pos; local
713 unsigned int bit_pos = 2; local
[all...]
/linux-master/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) argument
81 dmacindex = &pf->flow_cfg->bmap_to_dmacindex[bit_pos];
130 u32 bit_pos)
132 u32 dmacindex = pf->flow_cfg->bmap_to_dmacindex[bit_pos];
177 int otx2_dmacflt_update(struct otx2_nic *pf, u8 *mac, u32 bit_pos) argument
193 req->index = pf->flow_cfg->bmap_to_dmacindex[bit_pos];
204 pf->flow_cfg->bmap_to_dmacindex[bit_pos] = rsp->index;
129 otx2_dmacflt_remove(struct otx2_nic *pf, const u8 *mac, u32 bit_pos) argument
/linux-master/arch/sh/boards/mach-se/7751/
H A Dsetup.c22 .bit_pos = heartbeat_bit_pos,
/linux-master/drivers/block/drbd/
H A Ddrbd_proc.c193 unsigned long bit_pos; local
197 bit_pos = bm_bits - device->ov_left;
201 bit_pos = device->bm_resync_fo;
206 (int)(bit_pos / (bm_bits/100+1)),
207 (unsigned long long)bit_pos * BM_SECT_PER_BIT,
/linux-master/drivers/scsi/cxlflash/
H A Dvlun.c156 u64 bit_pos = -1; local
163 bit_pos = find_first_bit(lam, num_bits);
167 __func__, bit_pos, bali->lun_alloc_map[i], i);
171 clear_bit(bit_pos, lam);
175 return bit_pos;
186 u64 bit_pos = -1; local
203 bit_pos = find_free_range(bali->free_curr_idx,
205 if (bit_pos == -1) {
206 bit_pos = find_free_range(bali->free_low_idx,
209 if (bit_pos
239 int idx = 0, bit_pos = 0; local
259 int idx = 0, bit_pos = 0; local
[all...]
/linux-master/arch/sh/drivers/
H A Dheartbeat.c37 new = (1 << hd->bit_pos[bit]);
110 hd->bit_pos = default_bit_pos;
116 hd->mask |= (1 << hd->bit_pos[i]);
/linux-master/arch/sh/boards/mach-se/7721/
H A Dsetup.c20 .bit_pos = heartbeat_bit_pos,
/linux-master/arch/sh/boards/mach-se/7206/
H A Dsetup.c52 .bit_pos = heartbeat_bit_pos,
/linux-master/arch/arm64/kernel/probes/
H A Dsimulate-insn.c71 int bit_pos = ((opcode & (1 << 31)) >> 26) | ((opcode >> 19) & 0x1f); local
73 return ((get_x_reg(regs, xn) >> bit_pos) & 0x1) == 0;
79 int bit_pos = ((opcode & (1 << 31)) >> 26) | ((opcode >> 19) & 0x1f); local
81 return ((get_x_reg(regs, xn) >> bit_pos) & 0x1) != 0;
/linux-master/drivers/regulator/
H A Dtps65910-regulator.c826 u8 bit_pos = (1 << pmic->ext_sleep_control[id] & 0xFF); local
855 TPS65910_EN1_LDO_ASS + regoffs, bit_pos);
858 TPS65910_EN1_LDO_ASS + regoffs, bit_pos);
868 TPS65910_EN2_LDO_ASS + regoffs, bit_pos);
871 TPS65910_EN2_LDO_ASS + regoffs, bit_pos);
883 TPS65910_EN3_LDO_ASS + regoffs, bit_pos);
886 TPS65910_EN3_LDO_ASS + regoffs, bit_pos);
898 TPS65910_SLEEP_KEEP_LDO_ON + regoffs, bit_pos);
901 TPS65910_SLEEP_SET_LDO_OFF + regoffs, bit_pos);
946 TPS65910_SLEEP_KEEP_LDO_ON + regoffs, bit_pos);
[all...]
/linux-master/lib/xz/
H A Dxz_dec_bcj.c204 uint32_t bit_pos; local
206 /* bit_pos split into byte and bit parts */
224 for (slot = 0, bit_pos = 5; slot < 3; ++slot, bit_pos += 41) {
228 byte_pos = bit_pos >> 3;
229 bit_res = bit_pos & 7;
/linux-master/drivers/usb/gadget/udc/
H A Dmv_udc_core.c130 u32 bit_pos; local
183 bit_pos = 1 << curr_req->ep->ep_num;
185 bit_pos = 1 << (16 + curr_req->ep->ep_num);
189 while (readl(&udc->op_regs->epstatus) & bit_pos)
255 u32 bit_pos, direction; local
263 bit_pos = 1 << (((direction == EP_DIR_OUT) ? 0 : 16) + ep->ep_num);
274 if (readl(&udc->op_regs->epprime) & bit_pos)
285 epstatus = readl(&udc->op_regs->epstatus) & bit_pos;
328 writel(bit_pos, &udc->op_regs->epprime);
441 u32 bit_pos, epctrl local
623 u32 bit_pos, direction; local
752 u32 bit_pos; local
1785 u32 tmp, bit_pos; local
[all...]
/linux-master/drivers/platform/x86/intel/telemetry/
H A Ddebugfs.c70 (BUF)[idx] = ((EVTLOG) >> (EVTDAT)[idx].bit_pos) & \
97 u32 bit_pos; member in struct:telem_pss_idle_stateinfo
121 u32 bit_pos; member in struct:telem_pcs_blkd_info
147 u32 bit_pos; member in struct:telem_pss_ltr_info
162 u32 bit_pos; member in struct:telem_pss_wakeup_info
177 u32 bit_pos; member in struct:telem_ioss_d0ix_stateinfo
204 u32 bit_pos; member in struct:telem_ioss_pg_info
365 conf->pss_idle_data[conf->pss_idle_evts - 1].bit_pos) &
624 conf->pss_idle_data[idx].bit_pos) &
629 conf->pss_idle_data[idx].bit_pos)
[all...]
/linux-master/drivers/mfd/
H A Dpalmas.c331 int bit_pos, ret; local
350 bit_pos = pmic_ddata->sleep_req_info[id].bit_pos;
354 reg_add, BIT(bit_pos), BIT(bit_pos));
357 reg_add, BIT(bit_pos), 0);
/linux-master/drivers/cdx/controller/
H A Dmcdi_functions.c218 u8 dev_num, bool enable, int bit_pos)
225 * Get flags and then set/reset bit at bit_pos according to
232 flags = flags & (u32)(~(BIT(bit_pos)));
234 flags |= (1 << bit_pos);
217 cdx_mcdi_ctrl_flag_set(struct cdx_mcdi *cdx, u8 bus_num, u8 dev_num, bool enable, int bit_pos) argument
/linux-master/arch/sh/boards/
H A Dboard-polaris.c69 .bit_pos = heartbeat_bit_pos,
/linux-master/drivers/pci/controller/dwc/
H A Dpci-keystone.c153 u32 bit_pos; local
159 bit_pos = irq >> 3;
162 BIT(bit_pos));
199 u32 bit_pos; local
207 bit_pos = irq >> 3;
210 BIT(bit_pos));
223 u32 bit_pos; local
231 bit_pos = irq >> 3;
234 BIT(bit_pos));
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dhwmon.c210 unsigned long bit_pos; local
216 for_each_set_bit(bit_pos, smap, BITS_PER_TYPE(sensor_map)) {
217 hwmon->temp_channel_desc[i].sensor_index = bit_pos;
/linux-master/arch/sh/boards/mach-se/770x/
H A Dsetup.c96 .bit_pos = heartbeat_bit_pos,
/linux-master/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) argument
114 return chtls_set_tcb_field(sk, 1, 1ULL << bit_pos,
115 (u64)val << bit_pos);
/linux-master/include/linux/
H A Dcper.h474 u16 bit_pos; member in struct:cper_sec_mem_err_old
494 u16 bit_pos; member in struct:cper_sec_mem_err
514 u16 bit_pos; member in struct:cper_mem_err_compact

Completed in 191 milliseconds

12