Searched refs:BMASK (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/video/console/ |
D | newport_con.c | 52 #define BMASK(c) (c << 24) macro 55 (regs)->go.zpattern = BMASK((cp)[0x0]); (regs)->go.zpattern = BMASK((cp)[0x1]); \ 56 (regs)->go.zpattern = BMASK((cp)[0x2]); (regs)->go.zpattern = BMASK((cp)[0x3]); \ 57 (regs)->go.zpattern = BMASK((cp)[0x4]); (regs)->go.zpattern = BMASK((cp)[0x5]); \ 58 (regs)->go.zpattern = BMASK((cp)[0x6]); (regs)->go.zpattern = BMASK((cp)[0x7]); \ 59 (regs)->go.zpattern = BMASK((cp)[0x8]); (regs)->go.zpattern = BMASK((cp)[0x9]); \ 60 (regs)->go.zpattern = BMASK((cp)[0xa]); (regs)->go.zpattern = BMASK((cp)[0xb]); \ 61 (regs)->go.zpattern = BMASK((cp)[0xc]); (regs)->go.zpattern = BMASK((cp)[0xd]); \ 62 (regs)->go.zpattern = BMASK((cp)[0xe]); (regs)->go.zpattern = BMASK((cp)[0xf]); \
|
/linux-6.12.1/drivers/infiniband/hw/qib/ |
D | qib_iba7322.c | 88 #define BMASK(msb, lsb) (((1 << ((msb) + 1 - (lsb))) - 1) << (lsb)) macro 5965 ibsd_wr_allchans(ppd, 13, (le2 << 7), BMASK(9, 7)); in qsfp_7322_event() 7835 ibsd_wr_allchans(ppd, 2, 0, BMASK(11, 9)); in serdes_7322_init_old() 7838 ibsd_wr_allchans(ppd, 11, (1 << 11), BMASK(12, 11)); in serdes_7322_init_old() 7844 ibsd_wr_allchans(ppd, 13, (le_val << 7), BMASK(9, 7)); in serdes_7322_init_old() 7854 ibsd_wr_allchans(ppd, 5, (0 << 8), BMASK(9, 8)); in serdes_7322_init_old() 7858 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 5, 8 << 11, BMASK(14, 11)); in serdes_7322_init_old() 7859 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 7, 8 << 4, BMASK(7, 4)); in serdes_7322_init_old() 7860 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 8, 8 << 11, BMASK(14, 11)); in serdes_7322_init_old() 7861 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 10, 8 << 4, BMASK(7, 4)); in serdes_7322_init_old() [all …]
|