/kernel/linux/linux-5.10/scripts/gdb/linux/ |
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 …]
|
/kernel/linux/linux-5.10/drivers/gpio/ |
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()
|
/kernel/linux/linux-5.10/drivers/media/pci/mantis/ |
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()
|
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()
|
D | mantis_ioc.h | 35 extern void mantis_gpio_set_bits(struct mantis_pci *mantis, u32 bitpos, u8 value);
|
/kernel/linux/linux-5.10/drivers/pinctrl/zte/ |
D | pinctrl-zx.h | 39 u16 bitpos; member 57 .bitpos = bp, \ 72 .bitpos = bp, \
|
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()
|
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/ |
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))
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | bitops.h | 368 int bitpos = -1; in fls64() local 375 : "+r" (bitpos) in fls64() 377 return bitpos + 1; in fls64()
|
/kernel/linux/linux-5.10/include/linux/mtd/ |
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()
|
/kernel/linux/linux-5.10/drivers/pinctrl/mediatek/ |
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()
|
D | pinctrl-mtk-common-v2.h | 100 u8 bitpos; member
|
/kernel/linux/linux-5.10/drivers/edac/ |
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()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
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()
|
/kernel/linux/linux-5.10/drivers/i3c/ |
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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/ |
D | coex.h | 361 void rtw_coex_write_scbd(struct rtw_dev *rtwdev, u16 bitpos, bool set);
|
D | coex.c | 253 void rtw_coex_write_scbd(struct rtw_dev *rtwdev, u16 bitpos, bool set) in rtw_coex_write_scbd() argument 268 if (!chip->new_scbd10_def && (bitpos & COEX_SCBD_FIX2M)) { in rtw_coex_write_scbd() 275 val |= bitpos; in rtw_coex_write_scbd() 277 val &= ~bitpos; in rtw_coex_write_scbd()
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | dma.c | 457 u8 bitpos = 0; in dma_align_sizetobits() local 459 bitpos++; in dma_align_sizetobits() 460 return bitpos; in dma_align_sizetobits()
|
/kernel/linux/linux-5.10/crypto/ |
D | testmgr.c | 835 size_t bitpos; in flip_random_bit() local 837 bitpos = prandom_u32() % (size * 8); in flip_random_bit() 838 buf[bitpos / 8] ^= 1 << (bitpos % 8); in flip_random_bit()
|