/linux/scripts/gdb/linux/ |
A D | dmesg.py | 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 68 off = prb_data_ring_type.get_type()['size_bits'].bitpos // 8 70 off = prb_data_ring_type.get_type()['data'].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 82 ts_off = printk_info_type.get_type()['ts_nsec'].bitpos // 8 83 len_off = printk_info_type.get_type()['text_len'].bitpos // 8 94 off = prb_desc_ring_type.get_type()['tail_id'].bitpos // 8 [all …]
|
/linux/drivers/gpio/ |
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()
|
/linux/drivers/media/pci/mantis/ |
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()
|
A D | mantis_ioc.h | 35 extern void mantis_gpio_set_bits(struct mantis_pci *mantis, u32 bitpos, u8 value);
|
/linux/drivers/crypto/qat/qat_common/ |
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))
|
/linux/drivers/clk/renesas/ |
A D | rzg2l-cpg.h | 30 #define DDIV_PACK(offset, bitpos, size) \ argument 31 (((offset) << 20) | ((bitpos) << 12) | ((size) << 8)) 37 #define SEL_PLL_PACK(offset, bitpos, size) \ argument 38 (((offset) << 20) | ((bitpos) << 12) | ((size) << 8))
|
/linux/arch/x86/include/asm/ |
A D | bitops.h | 368 int bitpos = -1; in fls64() local 375 : "+r" (bitpos) in fls64() 377 return bitpos + 1; in fls64()
|
/linux/include/linux/mtd/ |
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()
|
/linux/drivers/pinctrl/mediatek/ |
A D | pinctrl-mtk-common-v2.c | 133 pfd->bitpos = bits % c->sz_reg; in mtk_hw_pin_field_lookup() 140 pfd->next = pfd->bitpos + c->x_bits > c->sz_reg ? c->x_addrs : 0; in mtk_hw_pin_field_lookup() 159 *l = 32 - pf->bitpos; in mtk_hw_bits_part() 170 mtk_rmw(hw, pf->index, pf->offset, pf->mask << pf->bitpos, in mtk_hw_write_cross_field() 171 (value & pf->mask) << pf->bitpos); in mtk_hw_write_cross_field() 185 >> pf->bitpos) & (BIT(nbits_l) - 1); in mtk_hw_read_cross_field() 206 mtk_rmw(hw, pf.index, pf.offset, pf.mask << pf.bitpos, in mtk_hw_set_value() 207 (value & pf.mask) << pf.bitpos); in mtk_hw_set_value() 227 >> pf.bitpos) & pf.mask; in mtk_hw_get_value()
|
A D | pinctrl-mtk-common-v2.h | 126 u8 bitpos; member
|
/linux/drivers/edac/ |
A D | synopsys_edac.c | 283 u32 bitpos; member 377 p->ceinfo.bitpos = (regval & CE_LOG_BITPOS_MASK) >> CE_LOG_BITPOS_SHIFT; in zynq_get_error_info() 383 edac_dbg(3, "CE bit position: %d data: %d\n", p->ceinfo.bitpos, in zynq_get_error_info() 430 p->ceinfo.bitpos = (regval & ECC_STAT_BITNUM_MASK); in zynqmp_get_error_info() 485 pinf->bitpos, pinf->data); in handle_error() 490 pinf->bitpos, pinf->data); in handle_error()
|
/linux/drivers/mtd/nand/raw/ |
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()
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_tc.c | 47 unsigned int bitpos; member 666 clear_bit(flow_node->bitpos, tc_info->tc_entries_bitmap); in otx2_tc_del_flow() 724 new_node->bitpos = find_first_zero_bit(tc_info->tc_entries_bitmap, in otx2_tc_add_flow() 727 req->entry = flow_cfg->flow_ent[flow_cfg->max_flows - new_node->bitpos - 1]; in otx2_tc_add_flow() 751 set_bit(new_node->bitpos, tc_info->tc_entries_bitmap); in otx2_tc_add_flow()
|
/linux/drivers/i3c/ |
A D | master.c | 346 int status, bitpos = addr * 2; in i3c_bus_get_addr_slot_status() local 351 status = bus->addrslots[bitpos / BITS_PER_LONG]; in i3c_bus_get_addr_slot_status() 352 status >>= bitpos % BITS_PER_LONG; in i3c_bus_get_addr_slot_status() 360 int bitpos = addr * 2; in i3c_bus_set_addr_slot_status() local 366 ptr = bus->addrslots + (bitpos / BITS_PER_LONG); in i3c_bus_set_addr_slot_status() 368 (bitpos % BITS_PER_LONG)); in i3c_bus_set_addr_slot_status() 369 *ptr |= (unsigned long)status << (bitpos % BITS_PER_LONG); in i3c_bus_set_addr_slot_status()
|
/linux/drivers/net/wireless/realtek/rtw88/ |
A D | coex.h | 384 void rtw_coex_write_scbd(struct rtw_dev *rtwdev, u16 bitpos, bool set);
|
A D | coex.c | 362 void rtw_coex_write_scbd(struct rtw_dev *rtwdev, u16 bitpos, bool set) in rtw_coex_write_scbd() argument 377 if (!chip->new_scbd10_def && (bitpos & COEX_SCBD_FIX2M)) { in rtw_coex_write_scbd() 384 val |= bitpos; in rtw_coex_write_scbd() 386 val &= ~bitpos; in rtw_coex_write_scbd()
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
A 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()
|
/linux/drivers/pci/controller/ |
A D | pcie-microchip-host.c | 434 u32 bitpos = data->hwirq; in mc_msi_bottom_irq_ack() local 437 writel_relaxed(BIT(bitpos), bridge_base_addr + ISTATUS_MSI); in mc_msi_bottom_irq_ack()
|
/linux/crypto/ |
A D | testmgr.c | 838 size_t bitpos; in flip_random_bit() local 840 bitpos = prandom_u32() % (size * 8); in flip_random_bit() 841 buf[bitpos / 8] ^= 1 << (bitpos % 8); in flip_random_bit()
|