| /OK3568_Linux_fs/kernel/scripts/gdb/linux/ |
| H A D | dmesg.py | 42 off = printk_ringbuffer_type.get_type()['desc_ring'].bitpos // 8 48 off = prb_desc_ring_type.get_type()['count_bits'].bitpos // 8 51 off = prb_desc_ring_type.get_type()['descs'].bitpos // 8 57 off = prb_desc_ring_type.get_type()['infos'].bitpos // 8 62 off = printk_ringbuffer_type.get_type()['text_data_ring'].bitpos // 8 68 off = prb_data_ring_type.get_type()['size_bits'].bitpos // 8 70 off = prb_data_ring_type.get_type()['data'].bitpos // 8 74 counter_off = atomic_long_type.get_type()['counter'].bitpos // 8 76 sv_off = prb_desc_type.get_type()['state_var'].bitpos // 8 78 off = prb_desc_type.get_type()['text_blk_lpos'].bitpos // 8 [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/base/ |
| H A D | mpp_bitput.c | 25 bp->bitpos = 0; in mpp_set_bitput_ctx() 43 bp->bvalue |= invalue << bp->bitpos; // high bits value in mpp_put_bits() 44 if ((bp->bitpos + lbits) >= 64) { in mpp_put_bits() 46 bp->bvalue = invalue >> (64 - bp->bitpos); // low bits value in mpp_put_bits() 50 bp->bitpos = (bp->bitpos + lbits) & 63; in mpp_put_bits() 59 len = (align_bits - (word_offset + (bp->bitpos % align_bits))) % align_bits; in mpp_put_align()
|
| /OK3568_Linux_fs/kernel/drivers/gpio/ |
| H A D | gpio-siox.c | 50 unsigned int bitpos = 11 - offset; in gpio_siox_get_data() local 51 unsigned int gpiolevel = buf[bitpos / 8] & (1 << bitpos % 8); in gpio_siox_get_data() 53 ddata->getdata[bitpos / 8] & (1 << (bitpos % 8)); in gpio_siox_get_data() 153 unsigned int bitpos = 19 - offset; in gpio_siox_get() local 155 ret = ddata->setdata[0] & (1 << bitpos); in gpio_siox_get() 157 unsigned int bitpos = 11 - offset; in gpio_siox_get() local 159 ret = ddata->getdata[bitpos / 8] & (1 << (bitpos % 8)); in gpio_siox_get()
|
| /OK3568_Linux_fs/u-boot/drivers/rtc/ |
| H A D | ds1306.c | 219 unsigned char bitpos; /* bit position to receive */ in soft_spi_send() local 223 bitpos = 0x80; in soft_spi_send() 229 if (n & bitpos) in soft_spi_send() 238 bitpos >>= 1; /* Shift for next bit position */ in soft_spi_send() 250 unsigned char bitpos; /* bit position to receive */ in soft_spi_read() local 254 bitpos = 0x80; in soft_spi_read() 261 spi_byte |= bitpos; /* Set data accordingly */ in soft_spi_read() 264 bitpos >>= 1; /* Shift for next bit position */ in soft_spi_read()
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/mantis/ |
| H A D | mantis_ioc.c | 67 void mantis_gpio_set_bits(struct mantis_pci *mantis, u32 bitpos, u8 value) in mantis_gpio_set_bits() argument 71 dprintk(MANTIS_DEBUG, 1, "Set Bit <%d> to <%d>", bitpos, value); in mantis_gpio_set_bits() 74 mantis->gpio_status = cur | (1 << bitpos); in mantis_gpio_set_bits() 76 mantis->gpio_status = cur & (~(1 << bitpos)); in mantis_gpio_set_bits()
|
| H A D | mantis_core.c | 166 void gpio_set_bits(struct mantis_pci *mantis, u32 bitpos, u8 value) in gpio_set_bits() argument 172 mantis->gpio_status = cur | (1 << bitpos); in gpio_set_bits() 174 mantis->gpio_status = cur & (~(1 << bitpos)); in gpio_set_bits()
|
| H A D | mantis_ioc.h | 35 extern void mantis_gpio_set_bits(struct mantis_pci *mantis, u32 bitpos, u8 value);
|
| /OK3568_Linux_fs/kernel/drivers/crypto/qat/qat_common/ |
| H A D | icp_qat_fw.h | 8 #define QAT_FIELD_SET(flags, val, bitpos, mask) \ argument 9 { (flags) = (((flags) & (~((mask) << (bitpos)))) | \ 10 (((val) & (mask)) << (bitpos))) ; } 12 #define QAT_FIELD_GET(flags, bitpos, mask) \ argument 13 (((flags) >> (bitpos)) & (mask))
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/zte/ |
| H A D | pinctrl-zx.h | 39 u16 bitpos; member 57 .bitpos = bp, \ 72 .bitpos = bp, \
|
| H A D | pinctrl-zx.c | 65 u32 mask, offset, bitpos; in zx_set_mux() local 77 bitpos = data->bitpos; in zx_set_mux() 118 val &= ~(mask << bitpos); in zx_set_mux() 119 val |= (mval & mask) << bitpos; in zx_set_mux() 138 val &= ~(mask << bitpos); in zx_set_mux() 139 val |= (mval & mask) << bitpos; in zx_set_mux()
|
| /OK3568_Linux_fs/kernel/arch/x86/include/asm/ |
| H A D | bitops.h | 368 int bitpos = -1; in fls64() local 375 : "+r" (bitpos) in fls64() 377 return bitpos + 1; in fls64()
|
| /OK3568_Linux_fs/kernel/include/linux/mtd/ |
| H A D | map.h | 353 int bitpos; in map_word_load_partial() local 356 bitpos = i * 8; in map_word_load_partial() 358 bitpos = (map_bankwidth(map) - 1 - i) * 8; in map_word_load_partial() 360 orig.x[0] &= ~(0xff << bitpos); in map_word_load_partial() 361 orig.x[0] |= (unsigned long)buf[i-start] << bitpos; in map_word_load_partial()
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/mediatek/ |
| H A D | pinctrl-mtk-common-v2.c | 128 pfd->bitpos = bits % c->sz_reg; in mtk_hw_pin_field_lookup() 135 pfd->next = pfd->bitpos + c->x_bits > c->sz_reg ? c->x_addrs : 0; in mtk_hw_pin_field_lookup() 154 *l = 32 - pf->bitpos; in mtk_hw_bits_part() 165 mtk_rmw(hw, pf->index, pf->offset, pf->mask << pf->bitpos, in mtk_hw_write_cross_field() 166 (value & pf->mask) << pf->bitpos); in mtk_hw_write_cross_field() 180 >> pf->bitpos) & (BIT(nbits_l) - 1); in mtk_hw_read_cross_field() 201 mtk_rmw(hw, pf.index, pf.offset, pf.mask << pf.bitpos, in mtk_hw_set_value() 202 (value & pf.mask) << pf.bitpos); in mtk_hw_set_value() 222 >> pf.bitpos) & pf.mask; in mtk_hw_get_value()
|
| H A D | pinctrl-mtk-common-v2.h | 100 u8 bitpos; member
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/rkenc/jpege/ |
| H A D | hal_jpege_vepu540c.c | 150 RK_S32 bitpos; in hal_jpege_v540c_gen_regs() local 167 bitpos = jpege_bits_get_bitpos(bits); in hal_jpege_v540c_gen_regs() 168 task->length = (bitpos + 7) >> 3; in hal_jpege_v540c_gen_regs()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/vpu/jpege/ |
| H A D | hal_jpege_vepu1_v2.c | 210 RK_S32 bitpos; in hal_jpege_vepu1_gen_regs() local 271 bitpos = jpege_bits_get_bitpos(bits); in hal_jpege_vepu1_gen_regs() 272 bytepos = (bitpos + 7) >> 3; in hal_jpege_vepu1_gen_regs() 275 ctx->sw_bit = bitpos; in hal_jpege_vepu1_gen_regs()
|
| H A D | hal_jpege_vepu2_v2.c | 394 RK_S32 bitpos; in hal_jpege_vepu2_gen_regs() local 456 bitpos = jpege_bits_get_bitpos(bits); in hal_jpege_vepu2_gen_regs() 457 bytepos = (bitpos + 7) >> 3; in hal_jpege_vepu2_gen_regs() 460 ctx->sw_bit = bitpos; in hal_jpege_vepu2_gen_regs()
|
| /OK3568_Linux_fs/external/mpp/mpp/base/inc/ |
| H A D | mpp_bitput.h | 30 RK_U8 bitpos; //!< bit pos in 64bit member
|
| /OK3568_Linux_fs/kernel/drivers/edac/ |
| H A D | synopsys_edac.c | 288 u32 bitpos; member 382 p->ceinfo.bitpos = (regval & CE_LOG_BITPOS_MASK) >> CE_LOG_BITPOS_SHIFT; in zynq_get_error_info() 388 edac_dbg(3, "CE bit position: %d data: %d\n", p->ceinfo.bitpos, in zynq_get_error_info() 436 p->ceinfo.bitpos = (regval & ECC_STAT_BITNUM_MASK); in zynqmp_get_error_info() 491 pinf->bitpos, pinf->data); in handle_error() 496 pinf->bitpos, pinf->data); in handle_error()
|
| /OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/ |
| H A D | diskonchip.c | 184 int index, bitpos, pos = 1015 - errpos[i]; in doc_ecc_decode() local 194 bitpos = pos & 7; in doc_ecc_decode() 196 val = (uint8_t) (errval[i] >> (2 + bitpos)); in doc_ecc_decode() 202 bitpos = (bitpos + 10) & 7; in doc_ecc_decode() 203 if (bitpos == 0) in doc_ecc_decode() 204 bitpos = 8; in doc_ecc_decode() 206 val = (uint8_t) (errval[i] << (8 - bitpos)); in doc_ecc_decode()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/modes/ |
| H A D | xf86Cursors.c | 134 char bitpos; member 180 ret.bitpos = x & 7; in cursor_bitpos() 193 return (*bit.byte >> bit.bitpos) & 1; in get_bit() 204 *bit.byte |= 1 << bit.bitpos; in set_bit()
|
| /OK3568_Linux_fs/buildroot/package/binutils/2.37/ |
| H A D | 0005-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch | 45 + 0, /* bitpos */
|
| /OK3568_Linux_fs/buildroot/package/binutils/2.38/ |
| H A D | 0004-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch | 45 + 0, /* bitpos */
|
| /OK3568_Linux_fs/kernel/drivers/i3c/ |
| H A D | master.c | 350 int status, bitpos = addr * 2; in i3c_bus_get_addr_slot_status() local 355 status = bus->addrslots[bitpos / BITS_PER_LONG]; in i3c_bus_get_addr_slot_status() 356 status >>= bitpos % BITS_PER_LONG; in i3c_bus_get_addr_slot_status() 364 int bitpos = addr * 2; in i3c_bus_set_addr_slot_status() local 370 ptr = bus->addrslots + (bitpos / BITS_PER_LONG); in i3c_bus_set_addr_slot_status() 372 (bitpos % BITS_PER_LONG)); in i3c_bus_set_addr_slot_status() 373 *ptr |= (unsigned long)status << (bitpos % BITS_PER_LONG); in i3c_bus_set_addr_slot_status()
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/mpp/ |
| H A D | mpp_rkvenc2.c | 108 u32 bitpos; member 368 .bitpos = 0, 438 .bitpos = 0, 790 u32 bitpos = hw->fmt_reg.bitpos; in rkvenc_task_get_format() local 798 task->fmt = (val >> bitpos) & ((1 << bitlen) - 1); in rkvenc_task_get_format()
|