Searched refs:bitpos (Results 1 - 23 of 23) sorted by relevance

/linux-master/scripts/gdb/linux/
H A Ddmesg.py41 off = printk_ringbuffer_type.get_type()['desc_ring'].bitpos // 8
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
59 off = printk_ringbuffer_type.get_type()['text_data_ring'].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
73 begin_off = off + (prb_data_blk_lpos_type.get_type()['begin'].bitpos //
[all...]
H A Dutils.py154 atomic_long_counter_offset = atomic_long_type.get_type()['counter'].bitpos
/linux-master/drivers/gpio/
H A Dgpio-siox.c49 unsigned int bitpos = 11 - offset; local
50 unsigned int gpiolevel = buf[bitpos / 8] & (1 << bitpos % 8);
52 ddata->getdata[bitpos / 8] & (1 << (bitpos % 8));
149 unsigned int bitpos = 19 - offset; local
151 ret = ddata->setdata[0] & (1 << bitpos);
153 unsigned int bitpos = 11 - offset; local
155 ret = ddata->getdata[bitpos / 8] & (1 << (bitpos
[all...]
/linux-master/drivers/misc/mchp_pci1xxxx/
H A Dmchp_pci1xxxx_gpio.c64 unsigned int bitpos, bool set)
70 data |= BIT(bitpos);
72 data &= ~BIT(bitpos);
202 unsigned int bitpos = gpio % 32; local
206 bitpos, false);
208 bitpos, false);
212 bitpos, true);
217 bitpos, false);
218 pci1xxx_assign_bit(priv->reg_base, MODE_OFFSET(gpio), bitpos,
223 bitpos, tru
63 pci1xxx_assign_bit(void __iomem *base_addr, unsigned int reg_offset, unsigned int bitpos, bool set) argument
[all...]
/linux-master/drivers/media/pci/mantis/
H A Dmantis_ioc.c67 void mantis_gpio_set_bits(struct mantis_pci *mantis, u32 bitpos, u8 value) argument
71 dprintk(MANTIS_DEBUG, 1, "Set Bit <%d> to <%d>", bitpos, value);
74 mantis->gpio_status = cur | (1 << bitpos);
76 mantis->gpio_status = cur & (~(1 << bitpos));
H A Dmantis_ioc.h35 extern void mantis_gpio_set_bits(struct mantis_pci *mantis, u32 bitpos, u8 value);
/linux-master/drivers/mfd/
H A Drz-mtu3.c217 u8 bitpos; local
225 bitpos = ch->channel_number;
228 bitpos = 6;
231 bitpos = 7;
234 bitpos = 2;
237 bitpos = 3;
240 bitpos = 0;
244 return bitpos;
253 u8 bitpos; local
256 bitpos
274 u8 bitpos; local
[all...]
/linux-master/arch/riscv/kvm/
H A Daia.c246 int bitpos = aia_irq2bitpos[irq]; local
248 if (bitpos < 0)
251 switch (bitpos / BITS_PER_LONG) {
273 return (hviprio >> (bitpos % BITS_PER_LONG)) & TOPI_IPRIO_MASK;
279 int bitpos = aia_irq2bitpos[irq]; local
281 if (bitpos < 0)
284 switch (bitpos / BITS_PER_LONG) {
306 hviprio &= ~(TOPI_IPRIO_MASK << (bitpos % BITS_PER_LONG));
307 hviprio |= (unsigned long)prio << (bitpos % BITS_PER_LONG);
309 switch (bitpos / BITS_PER_LON
[all...]
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dicp_qat_fw.h8 #define QAT_FIELD_SET(flags, val, bitpos, mask) \
9 { (flags) = (((flags) & (~((mask) << (bitpos)))) | \
10 (((val) & (mask)) << (bitpos))) ; }
12 #define QAT_FIELD_GET(flags, bitpos, mask) \
13 (((flags) >> (bitpos)) & (mask))
/linux-master/drivers/clk/renesas/
H A Drzg2l-cpg.h53 #define DDIV_PACK(offset, bitpos, size) \
54 (((offset) << 20) | ((bitpos) << 12) | ((size) << 8))
63 #define SEL_PLL_PACK(offset, bitpos, size) \
64 (((offset) << 20) | ((bitpos) << 12) | ((size) << 8))
/linux-master/arch/x86/boot/compressed/
H A Dsev.c454 int bitpos; local
485 bitpos = sev_check_cpu_support();
486 if (bitpos < 0) {
518 sme_me_mask = BIT_ULL(bitpos);
/linux-master/arch/x86/include/asm/
H A Dbitops.h408 int bitpos = -1; local
418 : "+r" (bitpos)
420 return bitpos + 1;
/linux-master/include/linux/mtd/
H A Dmap.h353 int bitpos; local
356 bitpos = i * 8;
358 bitpos = (map_bankwidth(map) - 1 - i) * 8;
360 orig.x[0] &= ~(0xff << bitpos);
361 orig.x[0] |= (unsigned long)buf[i-start] << bitpos;
/linux-master/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common-v2.c133 pfd->bitpos = bits % c->sz_reg;
140 pfd->next = pfd->bitpos + c->x_bits > c->sz_reg ? c->x_addrs : 0;
159 *l = 32 - pf->bitpos;
170 mtk_rmw(hw, pf->index, pf->offset, pf->mask << pf->bitpos,
171 (value & pf->mask) << pf->bitpos);
185 >> pf->bitpos) & (BIT(nbits_l) - 1);
206 mtk_rmw(hw, pf.index, pf.offset, pf.mask << pf.bitpos,
207 (value & pf.mask) << pf.bitpos);
227 >> pf.bitpos) & pf.mask;
H A Dpinctrl-mtk-common-v2.h118 * @bitpos: the start bit relative to the register
126 u8 bitpos; member in struct:mtk_pin_field
/linux-master/drivers/edac/
H A Dsynopsys_edac.c270 * @bitpos: Bit position.
279 u32 bitpos; member in struct:ecc_error_info
373 p->ceinfo.bitpos = (regval & CE_LOG_BITPOS_MASK) >> CE_LOG_BITPOS_SHIFT;
379 edac_dbg(3, "CE bit position: %d data: %d\n", p->ceinfo.bitpos,
427 p->ceinfo.bitpos = (regval & ECC_STAT_BITNUM_MASK);
482 pinf->bitpos, pinf->data);
487 pinf->bitpos, pinf->data);
/linux-master/drivers/mtd/nand/raw/
H A Ddiskonchip.c184 int index, bitpos, pos = 1015 - errpos[i]; local
194 bitpos = pos & 7;
196 val = (uint8_t) (errval[i] >> (2 + bitpos));
202 bitpos = (bitpos + 10) & 7;
203 if (bitpos == 0)
204 bitpos = 8;
206 val = (uint8_t) (errval[i] << (8 - bitpos));
/linux-master/drivers/net/wireless/realtek/rtw88/
H A Dcoex.h386 void rtw_coex_write_scbd(struct rtw_dev *rtwdev, u16 bitpos, bool set);
H A Dcoex.c366 void rtw_coex_write_scbd(struct rtw_dev *rtwdev, u16 bitpos, bool set) argument
381 if (!chip->new_scbd10_def && (bitpos & COEX_SCBD_FIX2M)) {
388 val |= bitpos;
390 val &= ~bitpos;
/linux-master/drivers/i3c/
H A Dmaster.c349 int bitpos = addr * 2; local
354 status = bus->addrslots[bitpos / BITS_PER_LONG];
355 status >>= bitpos % BITS_PER_LONG;
363 int bitpos = addr * 2; local
369 ptr = bus->addrslots + (bitpos / BITS_PER_LONG);
371 (bitpos % BITS_PER_LONG));
372 *ptr |= (unsigned long)status << (bitpos % BITS_PER_LONG);
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Ddma.c457 u8 bitpos = 0; local
459 bitpos++;
460 return bitpos;
/linux-master/drivers/pci/controller/
H A Dpcie-microchip-host.c446 u32 bitpos = data->hwirq; local
448 writel_relaxed(BIT(bitpos), bridge_base_addr + ISTATUS_MSI);
/linux-master/crypto/
H A Dtestmgr.c919 size_t bitpos; local
921 bitpos = prandom_u32_below(rng, size * 8);
922 buf[bitpos / 8] ^= 1 << (bitpos % 8);

Completed in 348 milliseconds