Home
last modified time | relevance | path

Searched refs:pat (Results 1 – 13 of 13) sorted by relevance

/drivers/video/
Dsysfillrect.c26 unsigned long pat, unsigned n, int bits) in bitfill_aligned() argument
40 *dst = comp(pat, *dst, first); in bitfill_aligned()
46 *dst = comp(pat, *dst, first); in bitfill_aligned()
54 *dst++ = pat; in bitfill_aligned()
55 *dst++ = pat; in bitfill_aligned()
56 *dst++ = pat; in bitfill_aligned()
57 *dst++ = pat; in bitfill_aligned()
58 *dst++ = pat; in bitfill_aligned()
59 *dst++ = pat; in bitfill_aligned()
60 *dst++ = pat; in bitfill_aligned()
[all …]
Dcfbfillrect.c40 unsigned long pat, unsigned n, int bits, u32 bswapmask) in bitfill_aligned() argument
54 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); in bitfill_aligned()
60 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); in bitfill_aligned()
68 FB_WRITEL(pat, dst++); in bitfill_aligned()
69 FB_WRITEL(pat, dst++); in bitfill_aligned()
70 FB_WRITEL(pat, dst++); in bitfill_aligned()
71 FB_WRITEL(pat, dst++); in bitfill_aligned()
72 FB_WRITEL(pat, dst++); in bitfill_aligned()
73 FB_WRITEL(pat, dst++); in bitfill_aligned()
74 FB_WRITEL(pat, dst++); in bitfill_aligned()
[all …]
Damifb.c1818 static void bitfill32(unsigned long *dst, int dst_idx, u32 pat, u32 n) in bitfill32() argument
1820 unsigned long val = pat; in bitfill32()
1874 static void bitxor32(unsigned long *dst, int dst_idx, u32 pat, u32 n) in bitxor32() argument
1876 unsigned long val = pat; in bitxor32()
/drivers/isdn/mISDN/
Ddsp_tones.c371 struct pattern *pat; in dsp_tone_copy() local
381 pat = (struct pattern *)tone->pattern; in dsp_tone_copy()
391 if (!pat->seq[index]) { in dsp_tone_copy()
396 if (count < pat->seq[index]) in dsp_tone_copy()
401 count -= pat->seq[index]; in dsp_tone_copy()
405 start = count % (*(pat->siz[index])); in dsp_tone_copy()
407 if (num+count > pat->seq[index]) in dsp_tone_copy()
408 num = pat->seq[index] - count; in dsp_tone_copy()
409 if (num+start > (*(pat->siz[index]))) in dsp_tone_copy()
410 num = (*(pat->siz[index])) - start; in dsp_tone_copy()
[all …]
/drivers/video/console/
Dfbcon_rotate.h23 static inline int pattern_test_bit(u32 x, u32 y, u32 pitch, const char *pat) in pattern_test_bit() argument
27 pat +=index; in pattern_test_bit()
28 return (*pat) & (0x80 >> bit); in pattern_test_bit()
31 static inline void pattern_set_bit(u32 x, u32 y, u32 pitch, char *pat) in pattern_set_bit() argument
35 pat += index; in pattern_set_bit()
37 (*pat) |= 0x80 >> bit; in pattern_set_bit()
/drivers/mtd/nand/
Dcafe_nand.c396 unsigned short syn[8], pat[4]; in cafe_nand_read_page() local
408 pat); in cafe_nand_read_page()
420 if (pat[i] > 0xff) in cafe_nand_read_page()
423 buf[0] ^= pat[i]; in cafe_nand_read_page()
425 buf[2047] ^= pat[i] >> 4; in cafe_nand_read_page()
426 oob[0] ^= pat[i] << 4; in cafe_nand_read_page()
429 oob[3*p/2 - 2048] ^= pat[i] >> 4; in cafe_nand_read_page()
430 oob[3*p/2 - 2047] ^= pat[i] << 4; in cafe_nand_read_page()
432 oob[3*p/2 - 2049] ^= pat[i] >> 8; in cafe_nand_read_page()
433 oob[3*p/2 - 2048] ^= pat[i]; in cafe_nand_read_page()
[all …]
/drivers/net/e1000e/
Dethtool.c724 u32 pat, val; in reg_pattern_test() local
727 for (pat = 0; pat < ARRAY_SIZE(test); pat++) { in reg_pattern_test()
729 (test[pat] & write)); in reg_pattern_test()
731 if (val != (test[pat] & write & mask)) { in reg_pattern_test()
734 (test[pat] & write & mask)); in reg_pattern_test()
/drivers/usb/gadget/
Dm66592-udc.h599 static inline void m66592_mdfy(struct m66592 *m66592, u16 val, u16 pat, in m66592_mdfy() argument
604 tmp = tmp & (~pat); in m66592_mdfy()
/drivers/usb/host/
Dr8a66597.h605 u16 val, u16 pat, unsigned long offset) in r8a66597_mdfy() argument
609 tmp = tmp & (~pat); in r8a66597_mdfy()
/drivers/infiniband/hw/ipath/
Dipath_sd7220.c151 int ret, pat, tries, chn; in ipath_resync_ibepb() local
165 pat = ret ^ 0xA5; /* alternate F0 and 55 */ in ipath_resync_ibepb()
166 ret = ipath_sd7220_reg_mod(dd, IB_7220_SERDES, loc, pat, 0xFF); in ipath_resync_ibepb()
176 if (ret != pat) { in ipath_resync_ibepb()
/drivers/block/paride/
Dbpck.c35 #define t2(pat) {PC ^= pat; out_p(2,PC);} argument
/drivers/net/igb/
Digb_ethtool.c929 u32 pat, val; in reg_pattern_test() local
932 for (pat = 0; pat < ARRAY_SIZE(_test); pat++) { in reg_pattern_test()
933 writel((_test[pat] & write), (adapter->hw.hw_addr + reg)); in reg_pattern_test()
935 if (val != (_test[pat] & write & mask)) { in reg_pattern_test()
938 reg, val, (_test[pat] & write & mask)); in reg_pattern_test()
/drivers/media/video/pvrusb2/
Dpvrusb2-hdw.c1806 v4l2_std_id pat; /* Pattern to match */ member
1822 .pat = V4L2_STD_B|V4L2_STD_GH,
1826 .pat = V4L2_STD_MN,
1830 .pat = V4L2_STD_PAL_I,
1834 .pat = V4L2_STD_SECAM_L|V4L2_STD_SECAM_LC,
1838 .pat = V4L2_STD_DK,
1897 ((std_eeprom_maps[idx].pat ^ in pvr2_hdw_setup_std()
1900 (std_eeprom_maps[idx].pat != in pvr2_hdw_setup_std()