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

/u-boot/drivers/gpio/
H A Dsh_pfc.c255 int k, m, n, pos, bit_pos; local
269 for (bit_pos = 0; bit_pos < r_width; bit_pos += curr_width) {
/u-boot/drivers/pinctrl/
H A Dpinctrl-single.c387 u32 offset, val, mask, bit_pos, val_pos, mask_pos, submask; local
423 bit_pos = __ffs(mask);
424 pin_num_from_lsb = bit_pos / priv->bits_per_pin;
425 mask_pos = pdata->mask << bit_pos;
/u-boot/drivers/mtd/nand/raw/
H A Datmel_nand.c448 int byte_pos, bit_pos, sector_size, pos; local
457 bit_pos = tmp % 8;
464 *(buf + byte_pos) ^= (1 << bit_pos);
468 "Bit flip in data area, byte_pos: %d, bit_pos: %d, 0x%02x -> 0x%02x\n",
469 pos, bit_pos, err_byte, *(buf + byte_pos));
475 ecc[tmp] ^= (1 << bit_pos);
479 "Bit flip in OOB, oob_byte_pos: %d, bit_pos: %d, 0x%02x -> 0x%02x\n",
480 pos, bit_pos, err_byte, ecc[tmp]);
H A Domap_gpmc.c600 uint32_t byte_pos, bit_pos; local
683 bit_pos = error_loc[count] % 8;
685 dat[byte_pos] ^= 1 << bit_pos;
688 read_ecc[byte_pos - SECTOR_BYTES] ^= 1 << bit_pos;
/u-boot/drivers/pinctrl/renesas/
H A Dpfc.c218 unsigned int bit_pos; local
225 for (bit_pos = 0; bit_pos < r_width; bit_pos += curr_width, m++) {
/u-boot/drivers/net/octeontx/
H A Dnicvf_queues.c19 u64 reg, int bit_pos, int bits, int val)
26 bit_mask = (bit_mask << bit_pos);
30 if (((reg_val & bit_mask) >> bit_pos) == val)
18 nicvf_poll_reg(struct nicvf *nic, int qidx, u64 reg, int bit_pos, int bits, int val) argument
/u-boot/arch/mips/mach-octeon/include/mach/
H A Dcvmx-pow.h2236 int bit_pos = xgrp.xgrp % 64; local
2254 grp_msk.s.grp_msk |= (1ull << bit_pos);
2256 grp_msk.s.grp_msk &= ~(1ull << bit_pos);
2264 grp_msk.s.grp_msk |= (1ull << bit_pos);
2266 grp_msk.s.grp_msk &= ~(1ull << bit_pos);

Completed in 123 milliseconds