/linux-6.3-rc2/scripts/gdb/linux/ |
A D | dmesg.py | 47 off = prb_desc_ring_type.get_type()['count_bits'].bitpos // 8 50 off = prb_desc_ring_type.get_type()['descs'].bitpos // 8 55 off = prb_desc_ring_type.get_type()['infos'].bitpos // 8 65 off = prb_data_ring_type.get_type()['size_bits'].bitpos // 8 67 off = prb_data_ring_type.get_type()['data'].bitpos // 8 70 sv_off = prb_desc_type.get_type()['state_var'].bitpos // 8 72 off = prb_desc_type.get_type()['text_blk_lpos'].bitpos // 8 76 ts_off = printk_info_type.get_type()['ts_nsec'].bitpos // 8 77 len_off = printk_info_type.get_type()['text_len'].bitpos // 8 88 off = prb_desc_ring_type.get_type()['tail_id'].bitpos // 8 [all …]
|
A D | utils.py | 131 atomic_long_counter_offset = atomic_long_type.get_type()['counter'].bitpos
|
/linux-6.3-rc2/drivers/misc/mchp_pci1xxxx/ |
A D | mchp_pci1xxxx_gpio.c | 70 data |= BIT(bitpos); in pci1xxx_assign_bit() 72 data &= ~BIT(bitpos); in pci1xxx_assign_bit() 202 bitpos, false); in pci1xxxx_gpio_set_type() 204 bitpos, false); in pci1xxxx_gpio_set_type() 208 bitpos, true); in pci1xxxx_gpio_set_type() 213 bitpos, false); in pci1xxxx_gpio_set_type() 219 bitpos, true); in pci1xxxx_gpio_set_type() 224 bitpos, true); in pci1xxxx_gpio_set_type() 226 bitpos, false); in pci1xxxx_gpio_set_type() 234 bitpos, false); in pci1xxxx_gpio_set_type() [all …]
|
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/drivers/clk/renesas/ |
A D | rzg2l-cpg.h | 57 #define DDIV_PACK(offset, bitpos, size) \ argument 58 (((offset) << 20) | ((bitpos) << 12) | ((size) << 8)) 67 #define SEL_PLL_PACK(offset, bitpos, size) \ argument 68 (((offset) << 20) | ((bitpos) << 12) | ((size) << 8))
|
/linux-6.3-rc2/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-6.3-rc2/arch/x86/include/asm/ |
A D | bitops.h | 403 int bitpos = -1; in fls64() local 410 : "+r" (bitpos) in fls64() 412 return bitpos + 1; in fls64()
|
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/drivers/edac/ |
A D | synopsys_edac.c | 280 u32 bitpos; member 374 p->ceinfo.bitpos = (regval & CE_LOG_BITPOS_MASK) >> CE_LOG_BITPOS_SHIFT; in zynq_get_error_info() 380 edac_dbg(3, "CE bit position: %d data: %d\n", p->ceinfo.bitpos, in zynq_get_error_info() 428 p->ceinfo.bitpos = (regval & ECC_STAT_BITNUM_MASK); in zynqmp_get_error_info() 483 pinf->bitpos, pinf->data); in handle_error() 488 pinf->bitpos, pinf->data); in handle_error()
|
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_tc.c | 53 unsigned int bitpos; member 774 clear_bit(flow_node->bitpos, tc_info->tc_entries_bitmap); in otx2_tc_del_flow() 832 new_node->bitpos = find_first_zero_bit(tc_info->tc_entries_bitmap, in otx2_tc_add_flow() 835 req->entry = flow_cfg->flow_ent[flow_cfg->max_flows - new_node->bitpos - 1]; in otx2_tc_add_flow() 859 set_bit(new_node->bitpos, tc_info->tc_entries_bitmap); in otx2_tc_add_flow()
|
/linux-6.3-rc2/drivers/i3c/ |
A D | master.c | 347 int bitpos = addr * 2; in i3c_bus_get_addr_slot_status() local 352 status = bus->addrslots[bitpos / BITS_PER_LONG]; in i3c_bus_get_addr_slot_status() 353 status >>= bitpos % BITS_PER_LONG; in i3c_bus_get_addr_slot_status() 361 int bitpos = addr * 2; in i3c_bus_set_addr_slot_status() local 367 ptr = bus->addrslots + (bitpos / BITS_PER_LONG); in i3c_bus_set_addr_slot_status() 369 (bitpos % BITS_PER_LONG)); in i3c_bus_set_addr_slot_status() 370 *ptr |= (unsigned long)status << (bitpos % BITS_PER_LONG); in i3c_bus_set_addr_slot_status()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw88/ |
A D | coex.h | 386 void rtw_coex_write_scbd(struct rtw_dev *rtwdev, u16 bitpos, bool set);
|
A D | coex.c | 366 void rtw_coex_write_scbd(struct rtw_dev *rtwdev, u16 bitpos, bool set) in rtw_coex_write_scbd() argument 381 if (!chip->new_scbd10_def && (bitpos & COEX_SCBD_FIX2M)) { in rtw_coex_write_scbd() 388 val |= bitpos; in rtw_coex_write_scbd() 390 val &= ~bitpos; in rtw_coex_write_scbd()
|
/linux-6.3-rc2/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-6.3-rc2/drivers/pci/controller/ |
A D | pcie-microchip-host.c | 440 u32 bitpos = data->hwirq; in mc_msi_bottom_irq_ack() local 442 writel_relaxed(BIT(bitpos), bridge_base_addr + ISTATUS_MSI); in mc_msi_bottom_irq_ack()
|
/linux-6.3-rc2/crypto/ |
A D | testmgr.c | 883 size_t bitpos; in flip_random_bit() local 885 bitpos = get_random_u32_below(size * 8); in flip_random_bit() 886 buf[bitpos / 8] ^= 1 << (bitpos % 8); in flip_random_bit()
|