pat 699 arch/x86/include/asm/kvm_host.h u64 pat; pat 389 arch/x86/kvm/mtrr.c vcpu->arch.pat = data; pat 422 arch/x86/kvm/mtrr.c *pdata = vcpu->arch.pat; pat 1648 arch/x86/kvm/svm.c save->g_pat = svm->vcpu.arch.pat; pat 4312 arch/x86/kvm/svm.c vcpu->arch.pat = data; pat 2346 arch/x86/kvm/vmx/nested.c vcpu->arch.pat = vmcs12->guest_ia32_pat; pat 2348 arch/x86/kvm/vmx/nested.c vmcs_write64(GUEST_IA32_PAT, vmx->vcpu.arch.pat); pat 3874 arch/x86/kvm/vmx/nested.c vcpu->arch.pat = vmcs12->host_ia32_pat; pat 3968 arch/x86/kvm/vmx/nested.c vcpu->arch.pat = vmcs_read64(GUEST_IA32_PAT); pat 2026 arch/x86/kvm/vmx/vmx.c vcpu->arch.pat = data; pat 4208 arch/x86/kvm/vmx/vmx.c vmcs_write64(GUEST_IA32_PAT, vmx->vcpu.arch.pat); pat 9497 arch/x86/kvm/x86.c vcpu->arch.pat = MSR_IA32_CR_PAT_DEFAULT; pat 194 arch/x86/mm/pat.c static void __init_cache_modes(u64 pat) pat 202 arch/x86/mm/pat.c cache = pat_get_cache_mode((pat >> (i * 8)) & 7, pat 213 arch/x86/mm/pat.c static void pat_bsp_init(u64 pat) pat 228 arch/x86/mm/pat.c wrmsrl(MSR_IA32_CR_PAT, pat); pat 231 arch/x86/mm/pat.c __init_cache_modes(pat); pat 234 arch/x86/mm/pat.c static void pat_ap_init(u64 pat) pat 244 arch/x86/mm/pat.c wrmsrl(MSR_IA32_CR_PAT, pat); pat 249 arch/x86/mm/pat.c u64 pat = 0; pat 264 arch/x86/mm/pat.c rdmsrl(MSR_IA32_CR_PAT, pat); pat 267 arch/x86/mm/pat.c if (!pat) { pat 286 arch/x86/mm/pat.c pat = PAT(0, WB) | PAT(1, WT) | PAT(2, UC_MINUS) | PAT(3, UC) | pat 290 arch/x86/mm/pat.c __init_cache_modes(pat); pat 305 arch/x86/mm/pat.c u64 pat; pat 334 arch/x86/mm/pat.c pat = PAT(0, WB) | PAT(1, WC) | PAT(2, UC_MINUS) | PAT(3, UC) | pat 363 arch/x86/mm/pat.c pat = PAT(0, WB) | PAT(1, WC) | PAT(2, UC_MINUS) | PAT(3, UC) | pat 368 arch/x86/mm/pat.c pat_bsp_init(pat); pat 371 arch/x86/mm/pat.c pat_ap_init(pat); pat 35 drivers/block/paride/bpck.c #define t2(pat) {PC ^= pat; out_p(2,PC);} pat 2908 drivers/gpu/drm/i915/i915_gem_gtt.c u64 pat; pat 2910 drivers/gpu/drm/i915/i915_gem_gtt.c pat = GEN8_PPAT(0, GEN8_PPAT_WB | GEN8_PPAT_LLC) | /* for normal objects, no eLLC */ pat 2919 drivers/gpu/drm/i915/i915_gem_gtt.c I915_WRITE(GEN8_PRIVATE_PAT_LO, lower_32_bits(pat)); pat 2920 drivers/gpu/drm/i915/i915_gem_gtt.c I915_WRITE(GEN8_PRIVATE_PAT_HI, upper_32_bits(pat)); pat 2925 drivers/gpu/drm/i915/i915_gem_gtt.c u64 pat; pat 2946 drivers/gpu/drm/i915/i915_gem_gtt.c pat = GEN8_PPAT(0, CHV_PPAT_SNOOP) | pat 2955 drivers/gpu/drm/i915/i915_gem_gtt.c I915_WRITE(GEN8_PRIVATE_PAT_LO, lower_32_bits(pat)); pat 2956 drivers/gpu/drm/i915/i915_gem_gtt.c I915_WRITE(GEN8_PRIVATE_PAT_HI, upper_32_bits(pat)); pat 135 drivers/gpu/drm/omapdrm/omap_dmm_priv.h struct pat *last_pat; pat 358 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c struct pat *pat; pat 364 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c pat = alloc_dma(txn, sizeof(*pat), &pat_pa); pat 369 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c pat->area = *area; pat 372 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c pat->area.y0 += engine->tcm->y_offset; pat 373 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c pat->area.y1 += engine->tcm->y_offset; pat 375 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c pat->ctrl = (struct pat_ctrl){ pat 382 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c pat->data_pa = data_pa; pat 392 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c txn->last_pat = pat; pat 500 drivers/gpu/drm/qxl/qxl_dev.h QXLPHYSICAL pat; pat 177 drivers/infiniband/hw/qib/qib_sd7220.c int ret, pat, tries, chn; pat 191 drivers/infiniband/hw/qib/qib_sd7220.c pat = ret ^ 0xA5; /* alternate F0 and 55 */ pat 192 drivers/infiniband/hw/qib/qib_sd7220.c ret = qib_sd7220_reg_mod(dd, IB_7220_SERDES, loc, pat, 0xFF); pat 202 drivers/infiniband/hw/qib/qib_sd7220.c if (ret != pat) { pat 378 drivers/isdn/mISDN/dsp_tones.c struct pattern *pat; pat 388 drivers/isdn/mISDN/dsp_tones.c pat = (struct pattern *)tone->pattern; pat 398 drivers/isdn/mISDN/dsp_tones.c if (!pat->seq[index]) { pat 403 drivers/isdn/mISDN/dsp_tones.c if (count < pat->seq[index]) pat 408 drivers/isdn/mISDN/dsp_tones.c count -= pat->seq[index]; pat 412 drivers/isdn/mISDN/dsp_tones.c start = count % (*(pat->siz[index])); pat 414 drivers/isdn/mISDN/dsp_tones.c if (num + count > pat->seq[index]) pat 415 drivers/isdn/mISDN/dsp_tones.c num = pat->seq[index] - count; pat 416 drivers/isdn/mISDN/dsp_tones.c if (num + start > (*(pat->siz[index]))) pat 417 drivers/isdn/mISDN/dsp_tones.c num = (*(pat->siz[index])) - start; pat 419 drivers/isdn/mISDN/dsp_tones.c memcpy(data, pat->data[index] + start, num); pat 464 drivers/isdn/mISDN/dsp_tones.c struct pattern *pat = (struct pattern *)tone->pattern; pat 471 drivers/isdn/mISDN/dsp_tones.c if (!pat->seq[index]) pat 476 drivers/isdn/mISDN/dsp_tones.c if (pat->data[index] == DATA_S) pat 479 drivers/isdn/mISDN/dsp_tones.c dsp_tone_hw_message(dsp, pat->data[index], *(pat->siz[index])); pat 481 drivers/isdn/mISDN/dsp_tones.c tone->tl.expires = jiffies + (pat->seq[index] * HZ) / 8000; pat 498 drivers/isdn/mISDN/dsp_tones.c struct pattern *pat; pat 515 drivers/isdn/mISDN/dsp_tones.c pat = NULL; pat 519 drivers/isdn/mISDN/dsp_tones.c pat = &pattern[i]; pat 524 drivers/isdn/mISDN/dsp_tones.c if (!pat) { pat 532 drivers/isdn/mISDN/dsp_tones.c tonet->pattern = pat; pat 539 drivers/isdn/mISDN/dsp_tones.c dsp_tone_hw_message(dsp, pat->data[0], *(pat->siz[0])); pat 543 drivers/isdn/mISDN/dsp_tones.c tonet->tl.expires = jiffies + (pat->seq[0] * HZ) / 8000; pat 114 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c unsigned pat; pat 118 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c for (pat = 0; pat < TPG_MAX_PAT_LINES; pat++) { pat 122 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->lines[pat][plane] = pat 124 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (!tpg->lines[pat][plane]) pat 128 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->downsampled_lines[pat][plane] = pat 130 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (!tpg->downsampled_lines[pat][plane]) pat 156 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c unsigned pat; pat 159 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c for (pat = 0; pat < TPG_MAX_PAT_LINES; pat++) pat 161 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c vfree(tpg->lines[pat][plane]); pat 162 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->lines[pat][plane] = NULL; pat 165 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c vfree(tpg->downsampled_lines[pat][plane]); pat 166 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->downsampled_lines[pat][plane] = NULL; pat 1756 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c unsigned pat; pat 1772 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c for (pat = 0; pat < tpg_get_pat_lines(tpg); pat++) { pat 1784 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c color1 = tpg_get_color(tpg, pat, real_x); pat 1795 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c color2 = tpg_get_color(tpg, pat, real_x); pat 1809 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c u8 *pos = tpg->lines[pat][p] + tpg_hdiv(tpg, p, x); pat 1819 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c for (pat = 0; pat < pat_lines; pat++) { pat 1820 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c unsigned next_pat = (pat + 1) % pat_lines; pat 1824 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c u8 *pos1 = tpg->lines[pat][p]; pat 1826 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c u8 *dest = tpg->downsampled_lines[pat][p]; pat 1823 drivers/media/usb/pvrusb2/pvrusb2-hdw.c v4l2_std_id pat; /* Pattern to match */ pat 1839 drivers/media/usb/pvrusb2/pvrusb2-hdw.c .pat = V4L2_STD_B|V4L2_STD_GH, pat 1843 drivers/media/usb/pvrusb2/pvrusb2-hdw.c .pat = V4L2_STD_MN, pat 1847 drivers/media/usb/pvrusb2/pvrusb2-hdw.c .pat = V4L2_STD_PAL_I, pat 1851 drivers/media/usb/pvrusb2/pvrusb2-hdw.c .pat = V4L2_STD_SECAM_L|V4L2_STD_SECAM_LC, pat 1855 drivers/media/usb/pvrusb2/pvrusb2-hdw.c .pat = V4L2_STD_DK, pat 1910 drivers/media/usb/pvrusb2/pvrusb2-hdw.c ((std_eeprom_maps[idx].pat ^ pat 1913 drivers/media/usb/pvrusb2/pvrusb2-hdw.c (std_eeprom_maps[idx].pat != pat 385 drivers/mtd/nand/raw/cafe_nand.c unsigned short syn[8], pat[4]; pat 398 drivers/mtd/nand/raw/cafe_nand.c pat); pat 410 drivers/mtd/nand/raw/cafe_nand.c if (pat[i] > 0xff) pat 413 drivers/mtd/nand/raw/cafe_nand.c buf[0] ^= pat[i]; pat 415 drivers/mtd/nand/raw/cafe_nand.c buf[2047] ^= pat[i] >> 4; pat 416 drivers/mtd/nand/raw/cafe_nand.c oob[0] ^= pat[i] << 4; pat 419 drivers/mtd/nand/raw/cafe_nand.c oob[3*p/2 - 2048] ^= pat[i] >> 4; pat 420 drivers/mtd/nand/raw/cafe_nand.c oob[3*p/2 - 2047] ^= pat[i] << 4; pat 422 drivers/mtd/nand/raw/cafe_nand.c oob[3*p/2 - 2049] ^= pat[i] >> 8; pat 423 drivers/mtd/nand/raw/cafe_nand.c oob[3*p/2 - 2048] ^= pat[i]; pat 426 drivers/mtd/nand/raw/cafe_nand.c buf[3*p/2] ^= pat[i] >> 4; pat 427 drivers/mtd/nand/raw/cafe_nand.c buf[3*p/2 + 1] ^= pat[i] << 4; pat 429 drivers/mtd/nand/raw/cafe_nand.c buf[3*p/2 - 1] ^= pat[i] >> 8; pat 430 drivers/mtd/nand/raw/cafe_nand.c buf[3*p/2] ^= pat[i]; pat 1984 drivers/mtd/nand/raw/nand_base.c nand_op_parser_must_split_instr(const struct nand_op_parser_pattern_elem *pat, pat 1988 drivers/mtd/nand/raw/nand_base.c switch (pat->type) { pat 1990 drivers/mtd/nand/raw/nand_base.c if (!pat->ctx.addr.maxcycles) pat 1994 drivers/mtd/nand/raw/nand_base.c pat->ctx.addr.maxcycles) { pat 1995 drivers/mtd/nand/raw/nand_base.c *start_offset += pat->ctx.addr.maxcycles; pat 2002 drivers/mtd/nand/raw/nand_base.c if (!pat->ctx.data.maxlen) pat 2006 drivers/mtd/nand/raw/nand_base.c pat->ctx.data.maxlen) { pat 2007 drivers/mtd/nand/raw/nand_base.c *start_offset += pat->ctx.data.maxlen; pat 2031 drivers/mtd/nand/raw/nand_base.c nand_op_parser_match_pat(const struct nand_op_parser_pattern *pat, pat 2039 drivers/mtd/nand/raw/nand_base.c for (i = 0, ninstrs = 0; i < pat->nelems && instr < end; i++) { pat 2047 drivers/mtd/nand/raw/nand_base.c if (instr->type != pat->elems[i].type) { pat 2048 drivers/mtd/nand/raw/nand_base.c if (!pat->elems[i].optional) pat 2062 drivers/mtd/nand/raw/nand_base.c if (nand_op_parser_must_split_instr(&pat->elems[i], instr, pat 2088 drivers/mtd/nand/raw/nand_base.c for (; i < pat->nelems; i++) { pat 2089 drivers/mtd/nand/raw/nand_base.c if (!pat->elems[i].optional) pat 771 drivers/net/ethernet/intel/e1000e/ethtool.c u32 pat, val; pat 775 drivers/net/ethernet/intel/e1000e/ethtool.c for (pat = 0; pat < ARRAY_SIZE(test); pat++) { pat 777 drivers/net/ethernet/intel/e1000e/ethtool.c (test[pat] & write)); pat 779 drivers/net/ethernet/intel/e1000e/ethtool.c if (val != (test[pat] & write & mask)) { pat 782 drivers/net/ethernet/intel/e1000e/ethtool.c (test[pat] & write & mask)); pat 19 drivers/net/ethernet/intel/i40e/i40e_diag.c u32 pat, val, orig_val; pat 24 drivers/net/ethernet/intel/i40e/i40e_diag.c pat = patterns[i]; pat 25 drivers/net/ethernet/intel/i40e/i40e_diag.c wr32(hw, reg, (pat & mask)); pat 27 drivers/net/ethernet/intel/i40e/i40e_diag.c if ((val & mask) != (pat & mask)) { pat 30 drivers/net/ethernet/intel/i40e/i40e_diag.c __func__, reg, pat, val); pat 1207 drivers/net/ethernet/intel/igb/igb_ethtool.c u32 pat, val; pat 1210 drivers/net/ethernet/intel/igb/igb_ethtool.c for (pat = 0; pat < ARRAY_SIZE(_test); pat++) { pat 1211 drivers/net/ethernet/intel/igb/igb_ethtool.c wr32(reg, (_test[pat] & write)); pat 1213 drivers/net/ethernet/intel/igb/igb_ethtool.c if (val != (_test[pat] & write & mask)) { pat 1216 drivers/net/ethernet/intel/igb/igb_ethtool.c reg, val, (_test[pat] & write & mask)); pat 1418 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c u32 pat, val, before; pat 1426 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c for (pat = 0; pat < ARRAY_SIZE(test_pattern); pat++) { pat 1428 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c ixgbe_write_reg(&adapter->hw, reg, test_pattern[pat] & write); pat 1430 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c if (val != (test_pattern[pat] & write & mask)) { pat 1432 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c reg, val, (test_pattern[pat] & write & mask)); pat 611 drivers/net/ethernet/intel/ixgbevf/ethtool.c u32 pat, val, before; pat 617 drivers/net/ethernet/intel/ixgbevf/ethtool.c for (pat = 0; pat < ARRAY_SIZE(register_test_patterns); pat++) { pat 620 drivers/net/ethernet/intel/ixgbevf/ethtool.c register_test_patterns[pat] & write); pat 622 drivers/net/ethernet/intel/ixgbevf/ethtool.c if (val != (register_test_patterns[pat] & write & mask)) { pat 626 drivers/net/ethernet/intel/ixgbevf/ethtool.c register_test_patterns[pat] & write & mask); pat 3215 drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_is_pattern_supported(struct cfg80211_pkt_pattern *pat, s8 *byte_seq, pat 3221 drivers/net/wireless/marvell/mwifiex/cfg80211.c for (j = 0; j < DIV_ROUND_UP(pat->pattern_len, 8); j++) { pat 3223 drivers/net/wireless/marvell/mwifiex/cfg80211.c if (pat->mask[j] & 1 << k) { pat 3225 drivers/net/wireless/marvell/mwifiex/cfg80211.c &pat->pattern[j * 8 + k], 1); pat 3238 drivers/net/wireless/marvell/mwifiex/cfg80211.c pat->pkt_offset++; pat 1220 drivers/scsi/bfa/bfa_defs.h u32 pat; /* Pattern */ pat 4858 drivers/scsi/bfa/bfa_ioc.c u32 i, pat; pat 4859 drivers/scsi/bfa/bfa_ioc.c pat = (diag->fwping.count & 0x1) ? ~(diag->fwping.data) : pat 4874 drivers/scsi/bfa/bfa_ioc.c if (*((u32 *)diag->fwping.dbuf_kva + i) != pat) { pat 4876 drivers/scsi/bfa/bfa_ioc.c bfa_trc(diag, pat); pat 5945 drivers/scsi/bfa/bfa_svc.c enum bfa_port_speed speed, u32 lpcnt, u32 pat, pat 6031 drivers/scsi/bfa/bfa_svc.c loopback.pattern = pat; pat 6640 drivers/scsi/bfa/bfa_svc.c bfa_dport_enable(struct bfa_s *bfa, u32 lpcnt, u32 pat, pat 6737 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, pat); pat 6739 drivers/scsi/bfa/bfa_svc.c dport->payload = (pat) ? pat : LB_PATTERN_DEFAULT; pat 6810 drivers/scsi/bfa/bfa_svc.c bfa_dport_start(struct bfa_s *bfa, u32 lpcnt, u32 pat, pat 6853 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, pat); pat 6856 drivers/scsi/bfa/bfa_svc.c dport->payload = (pat) ? pat : LB_PATTERN_DEFAULT; pat 740 drivers/scsi/bfa/bfa_svc.h enum bfa_port_speed speed, u32 lpcnt, u32 pat, pat 747 drivers/scsi/bfa/bfa_svc.h bfa_status_t bfa_dport_enable(struct bfa_s *bfa, u32 lpcnt, u32 pat, pat 751 drivers/scsi/bfa/bfa_svc.h bfa_status_t bfa_dport_start(struct bfa_s *bfa, u32 lpcnt, u32 pat, pat 1644 drivers/scsi/bfa/bfad_bsg.c &iocmd->memtest, iocmd->pat, pat 1667 drivers/scsi/bfa/bfad_bsg.c iocmd->speed, iocmd->lpcnt, iocmd->pat, pat 1801 drivers/scsi/bfa/bfad_bsg.c iocmd->pat, bfad_hcb_comp, &fcomp); pat 1843 drivers/scsi/bfa/bfad_bsg.c iocmd->pat, bfad_hcb_comp, pat 575 drivers/scsi/bfa/bfad_bsg.h u32 pat; pat 587 drivers/scsi/bfa/bfad_bsg.h u32 pat; pat 603 drivers/scsi/bfa/bfad_bsg.h u16 pat; pat 547 drivers/usb/gadget/udc/m66592-udc.h static inline void m66592_mdfy(struct m66592 *m66592, u16 val, u16 pat, pat 552 drivers/usb/gadget/udc/m66592-udc.h tmp = tmp & (~pat); pat 180 drivers/usb/gadget/udc/r8a66597-udc.h u16 val, u16 pat, unsigned long offset) pat 184 drivers/usb/gadget/udc/r8a66597-udc.h tmp = tmp & (~pat); pat 194 drivers/usb/host/r8a66597.h u16 val, u16 pat, unsigned long offset) pat 198 drivers/usb/host/r8a66597.h tmp = tmp & (~pat); pat 3030 drivers/video/fbdev/amifb.c static void bitfill32(unsigned long *dst, int dst_idx, u32 pat, u32 n) pat 3032 drivers/video/fbdev/amifb.c unsigned long val = pat; pat 3086 drivers/video/fbdev/amifb.c static void bitxor32(unsigned long *dst, int dst_idx, u32 pat, u32 n) pat 3088 drivers/video/fbdev/amifb.c unsigned long val = pat; pat 36 drivers/video/fbdev/core/cfbfillrect.c unsigned long pat, unsigned n, int bits, u32 bswapmask) pat 50 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(comp(pat, FB_READL(dst), first), dst); pat 56 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(comp(pat, FB_READL(dst), first), dst); pat 64 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(pat, dst++); pat 65 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(pat, dst++); pat 66 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(pat, dst++); pat 67 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(pat, dst++); pat 68 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(pat, dst++); pat 69 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(pat, dst++); pat 70 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(pat, dst++); pat 71 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(pat, dst++); pat 75 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(pat, dst++); pat 79 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(comp(pat, FB_READL(dst), last), dst); pat 93 drivers/video/fbdev/core/cfbfillrect.c unsigned long pat, int left, int right, unsigned n, int bits) pat 107 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(comp(pat, FB_READL(dst), first), dst); pat 112 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(comp(pat, FB_READL(dst), first), dst); pat 114 drivers/video/fbdev/core/cfbfillrect.c pat = pat << left | pat >> right; pat 121 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(pat, dst++); pat 122 drivers/video/fbdev/core/cfbfillrect.c pat = pat << left | pat >> right; pat 123 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(pat, dst++); pat 124 drivers/video/fbdev/core/cfbfillrect.c pat = pat << left | pat >> right; pat 125 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(pat, dst++); pat 126 drivers/video/fbdev/core/cfbfillrect.c pat = pat << left | pat >> right; pat 127 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(pat, dst++); pat 128 drivers/video/fbdev/core/cfbfillrect.c pat = pat << left | pat >> right; pat 132 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(pat, dst++); pat 133 drivers/video/fbdev/core/cfbfillrect.c pat = pat << left | pat >> right; pat 138 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(comp(pat, FB_READL(dst), last), dst); pat 147 drivers/video/fbdev/core/cfbfillrect.c int dst_idx, unsigned long pat, unsigned n, int bits, pat 150 drivers/video/fbdev/core/cfbfillrect.c unsigned long val = pat, dat; pat 218 drivers/video/fbdev/core/cfbfillrect.c int dst_idx, unsigned long pat, int left, int right, pat 234 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(comp(dat ^ pat, dat, first), dst); pat 241 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(comp(dat ^ pat, dat, first), dst); pat 243 drivers/video/fbdev/core/cfbfillrect.c pat = pat << left | pat >> right; pat 250 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(FB_READL(dst) ^ pat, dst); pat 252 drivers/video/fbdev/core/cfbfillrect.c pat = pat << left | pat >> right; pat 253 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(FB_READL(dst) ^ pat, dst); pat 255 drivers/video/fbdev/core/cfbfillrect.c pat = pat << left | pat >> right; pat 256 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(FB_READL(dst) ^ pat, dst); pat 258 drivers/video/fbdev/core/cfbfillrect.c pat = pat << left | pat >> right; pat 259 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(FB_READL(dst) ^ pat, dst); pat 261 drivers/video/fbdev/core/cfbfillrect.c pat = pat << left | pat >> right; pat 265 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(FB_READL(dst) ^ pat, dst); pat 267 drivers/video/fbdev/core/cfbfillrect.c pat = pat << left | pat >> right; pat 273 drivers/video/fbdev/core/cfbfillrect.c FB_WRITEL(comp(dat ^ pat, dat, last), dst); pat 280 drivers/video/fbdev/core/cfbfillrect.c unsigned long pat, pat2, fg; pat 296 drivers/video/fbdev/core/cfbfillrect.c pat = pixel_to_pat(bpp, fg); pat 309 drivers/video/fbdev/core/cfbfillrect.c unsigned long pat, unsigned n, int bits, pat 327 drivers/video/fbdev/core/cfbfillrect.c fill_op32(p, dst, dst_idx, pat, width*bpp, bits, pat 334 drivers/video/fbdev/core/cfbfillrect.c int dst_idx, unsigned long pat, int left, pat 359 drivers/video/fbdev/core/cfbfillrect.c pat2 = le_long_to_cpu(rolx(cpu_to_le_long(pat), r, bpp)); pat 23 drivers/video/fbdev/core/fbcon_rotate.h static inline int pattern_test_bit(u32 x, u32 y, u32 pitch, const char *pat) pat 27 drivers/video/fbdev/core/fbcon_rotate.h pat +=index; pat 28 drivers/video/fbdev/core/fbcon_rotate.h return (*pat) & (0x80 >> bit); pat 31 drivers/video/fbdev/core/fbcon_rotate.h static inline void pattern_set_bit(u32 x, u32 y, u32 pitch, char *pat) pat 35 drivers/video/fbdev/core/fbcon_rotate.h pat += index; pat 37 drivers/video/fbdev/core/fbcon_rotate.h (*pat) |= 0x80 >> bit; pat 26 drivers/video/fbdev/core/sysfillrect.c unsigned long pat, unsigned n, int bits) pat 40 drivers/video/fbdev/core/sysfillrect.c *dst = comp(pat, *dst, first); pat 46 drivers/video/fbdev/core/sysfillrect.c *dst = comp(pat, *dst, first); pat 54 drivers/video/fbdev/core/sysfillrect.c *dst++ = pat; pat 55 drivers/video/fbdev/core/sysfillrect.c *dst++ = pat; pat 56 drivers/video/fbdev/core/sysfillrect.c *dst++ = pat; pat 57 drivers/video/fbdev/core/sysfillrect.c *dst++ = pat; pat 58 drivers/video/fbdev/core/sysfillrect.c *dst++ = pat; pat 59 drivers/video/fbdev/core/sysfillrect.c *dst++ = pat; pat 60 drivers/video/fbdev/core/sysfillrect.c *dst++ = pat; pat 61 drivers/video/fbdev/core/sysfillrect.c *dst++ = pat; pat 65 drivers/video/fbdev/core/sysfillrect.c *dst++ = pat; pat 68 drivers/video/fbdev/core/sysfillrect.c *dst = comp(pat, *dst, last); pat 82 drivers/video/fbdev/core/sysfillrect.c unsigned long pat, int left, int right, unsigned n, int bits) pat 96 drivers/video/fbdev/core/sysfillrect.c *dst = comp(pat, *dst, first); pat 101 drivers/video/fbdev/core/sysfillrect.c *dst = comp(pat, *dst, first); pat 103 drivers/video/fbdev/core/sysfillrect.c pat = pat << left | pat >> right; pat 110 drivers/video/fbdev/core/sysfillrect.c *dst++ = pat; pat 111 drivers/video/fbdev/core/sysfillrect.c pat = pat << left | pat >> right; pat 112 drivers/video/fbdev/core/sysfillrect.c *dst++ = pat; pat 113 drivers/video/fbdev/core/sysfillrect.c pat = pat << left | pat >> right; pat 114 drivers/video/fbdev/core/sysfillrect.c *dst++ = pat; pat 115 drivers/video/fbdev/core/sysfillrect.c pat = pat << left | pat >> right; pat 116 drivers/video/fbdev/core/sysfillrect.c *dst++ = pat; pat 117 drivers/video/fbdev/core/sysfillrect.c pat = pat << left | pat >> right; pat 121 drivers/video/fbdev/core/sysfillrect.c *dst++ = pat; pat 122 drivers/video/fbdev/core/sysfillrect.c pat = pat << left | pat >> right; pat 127 drivers/video/fbdev/core/sysfillrect.c *dst = comp(pat, *dst, last); pat 136 drivers/video/fbdev/core/sysfillrect.c unsigned long pat, unsigned n, int bits) pat 138 drivers/video/fbdev/core/sysfillrect.c unsigned long val = pat; pat 192 drivers/video/fbdev/core/sysfillrect.c unsigned long pat, int left, int right, unsigned n, pat 207 drivers/video/fbdev/core/sysfillrect.c *dst = comp(*dst ^ pat, *dst, first); pat 213 drivers/video/fbdev/core/sysfillrect.c *dst = comp(*dst ^ pat, *dst, first); pat 215 drivers/video/fbdev/core/sysfillrect.c pat = pat << left | pat >> right; pat 222 drivers/video/fbdev/core/sysfillrect.c *dst++ ^= pat; pat 223 drivers/video/fbdev/core/sysfillrect.c pat = pat << left | pat >> right; pat 224 drivers/video/fbdev/core/sysfillrect.c *dst++ ^= pat; pat 225 drivers/video/fbdev/core/sysfillrect.c pat = pat << left | pat >> right; pat 226 drivers/video/fbdev/core/sysfillrect.c *dst++ ^= pat; pat 227 drivers/video/fbdev/core/sysfillrect.c pat = pat << left | pat >> right; pat 228 drivers/video/fbdev/core/sysfillrect.c *dst++ ^= pat; pat 229 drivers/video/fbdev/core/sysfillrect.c pat = pat << left | pat >> right; pat 233 drivers/video/fbdev/core/sysfillrect.c *dst ^= pat; pat 234 drivers/video/fbdev/core/sysfillrect.c pat = pat << left | pat >> right; pat 239 drivers/video/fbdev/core/sysfillrect.c *dst = comp(*dst ^ pat, *dst, last); pat 245 drivers/video/fbdev/core/sysfillrect.c unsigned long pat, pat2, fg; pat 261 drivers/video/fbdev/core/sysfillrect.c pat = pixel_to_pat( bpp, fg); pat 272 drivers/video/fbdev/core/sysfillrect.c int dst_idx, unsigned long pat, unsigned n, pat 291 drivers/video/fbdev/core/sysfillrect.c fill_op32(p, dst, dst_idx, pat, width*bpp, bits); pat 297 drivers/video/fbdev/core/sysfillrect.c int dst_idx, unsigned long pat, int left, pat 323 drivers/video/fbdev/core/sysfillrect.c pat2 = le_long_to_cpu(rolx(cpu_to_le_long(pat), r, bpp)); pat 43 drivers/video/fbdev/wmt_ge_rops.c unsigned long fg, pat; pat 54 drivers/video/fbdev/wmt_ge_rops.c pat = pixel_to_pat(p->var.bits_per_pixel, fg); pat 70 drivers/video/fbdev/wmt_ge_rops.c writel(pat, regbase + GE_PAT0C_OFF); pat 8 include/linux/glob.h bool __pure glob_match(char const *pat, char const *str); pat 4973 include/uapi/linux/nl80211.h struct nl80211_pattern_support pat; pat 40 lib/glob.c bool __pure glob_match(char const *pat, char const *str) pat 57 lib/glob.c unsigned char d = *pat++; pat 65 lib/glob.c if (*pat == '\0') /* Optimize trailing * case */ pat 67 lib/glob.c back_pat = pat; pat 71 lib/glob.c bool match = false, inverted = (*pat == '!'); pat 72 lib/glob.c char const *class = pat + inverted; pat 100 lib/glob.c pat = class; pat 104 lib/glob.c d = *pat++; pat 117 lib/glob.c pat = back_pat; pat 15 lib/globtest.c char const *pat, *str; pat 19 lib/globtest.c static bool __pure __init test(char const *pat, char const *str, bool expected) pat 21 lib/globtest.c bool match = glob_match(pat, str); pat 39 lib/globtest.c printk(message, pat, str, mismatch + 3*match); pat 145 lib/globtest.c char const *pat = p; pat 148 lib/globtest.c successes += test(pat, p, expected); pat 9715 net/core/dev.c int dev_change_net_namespace(struct net_device *dev, struct net *net, const char *pat) pat 9741 net/core/dev.c if (!pat) pat 9743 net/core/dev.c err = dev_get_valid_name(net, dev, pat); pat 1490 net/wireless/nl80211.c struct nl80211_pattern_support pat = { pat 1498 net/wireless/nl80211.c sizeof(pat), &pat)) pat 1526 net/wireless/nl80211.c rule.pat.max_patterns = rdev->wiphy.coalesce->n_patterns; pat 1527 net/wireless/nl80211.c rule.pat.min_pattern_len = rdev->wiphy.coalesce->pattern_min_len; pat 1528 net/wireless/nl80211.c rule.pat.max_pattern_len = rdev->wiphy.coalesce->pattern_max_len; pat 1529 net/wireless/nl80211.c rule.pat.max_pkt_offset = rdev->wiphy.coalesce->max_pkt_offset; pat 11632 net/wireless/nl80211.c struct nlattr *pat; pat 11639 net/wireless/nl80211.c nla_for_each_nested(pat, tb[NL80211_WOWLAN_TRIG_PKT_PATTERN], pat 11654 net/wireless/nl80211.c nla_for_each_nested(pat, tb[NL80211_WOWLAN_TRIG_PKT_PATTERN], pat 11660 net/wireless/nl80211.c pat, pat 11871 net/wireless/nl80211.c struct nlattr *tb[NUM_NL80211_ATTR_COALESCE_RULE], *pat; pat 11893 net/wireless/nl80211.c nla_for_each_nested(pat, tb[NL80211_ATTR_COALESCE_RULE_PKT_PATTERN], pat 11907 net/wireless/nl80211.c nla_for_each_nested(pat, tb[NL80211_ATTR_COALESCE_RULE_PKT_PATTERN], pat 11912 net/wireless/nl80211.c pat, pat 855 scripts/mod/modpost.c static int match(const char *sym, const char * const pat[]) pat 858 scripts/mod/modpost.c while (*pat) { pat 859 scripts/mod/modpost.c p = *pat++; pat 418 sound/core/pcm_misc.c unsigned char *dst, *pat; pat 425 sound/core/pcm_misc.c pat = pcm_formats[(INT)format].silence; pat 431 sound/core/pcm_misc.c memset(data, *pat, bytes); pat 439 sound/core/pcm_misc.c memcpy(dst, pat, width); pat 447 sound/core/pcm_misc.c memcpy(dst, pat, 2); pat 453 sound/core/pcm_misc.c memcpy(dst, pat, 3); pat 459 sound/core/pcm_misc.c memcpy(dst, pat, 4); pat 465 sound/core/pcm_misc.c memcpy(dst, pat, 8); pat 1020 tools/perf/util/probe-file.c #define DEFINE_TYPE(idx, pat) \ pat 1021 tools/perf/util/probe-file.c [idx] = {.pattern = pat, .avail = false} pat 815 tools/perf/util/probe-finder.c const char *fname, const char *pat) pat 836 tools/perf/util/probe-finder.c if (strlazymatch(line, pat)) { pat 73 tools/perf/util/string.c static bool __match_charclass(const char *pat, char c, const char **npat) pat 77 tools/perf/util/string.c if (*pat == '!') { pat 79 tools/perf/util/string.c pat++; pat 81 tools/perf/util/string.c if (*pat++ == c) /* First character is special */ pat 84 tools/perf/util/string.c while (*pat && *pat != ']') { /* Matching */ pat 85 tools/perf/util/string.c if (*pat == '-' && *(pat + 1) != ']') { /* Range */ pat 86 tools/perf/util/string.c if (*(pat - 1) <= c && c <= *(pat + 1)) pat 88 tools/perf/util/string.c if (*(pat - 1) > *(pat + 1)) pat 90 tools/perf/util/string.c pat += 2; pat 91 tools/perf/util/string.c } else if (*pat++ == c) pat 94 tools/perf/util/string.c if (!*pat) pat 99 tools/perf/util/string.c while (*pat && *pat != ']') /* Searching closing */ pat 100 tools/perf/util/string.c pat++; pat 101 tools/perf/util/string.c if (!*pat) pat 103 tools/perf/util/string.c *npat = pat + 1; pat 111 tools/perf/util/string.c static bool __match_glob(const char *str, const char *pat, bool ignore_space, pat 114 tools/perf/util/string.c while (*str && *pat && *pat != '*') { pat 121 tools/perf/util/string.c if (isspace(*pat)) { pat 122 tools/perf/util/string.c pat++; pat 126 tools/perf/util/string.c if (*pat == '?') { /* Matches any single character */ pat 128 tools/perf/util/string.c pat++; pat 130 tools/perf/util/string.c } else if (*pat == '[') /* Character classes/Ranges */ pat 131 tools/perf/util/string.c if (__match_charclass(pat + 1, *str, &pat)) { pat 136 tools/perf/util/string.c else if (*pat == '\\') /* Escaped char match as normal char */ pat 137 tools/perf/util/string.c pat++; pat 139 tools/perf/util/string.c if (tolower(*str) != tolower(*pat)) pat 141 tools/perf/util/string.c } else if (*str != *pat) pat 144 tools/perf/util/string.c pat++; pat 147 tools/perf/util/string.c if (*pat == '*') { pat 148 tools/perf/util/string.c while (*pat == '*') pat 149 tools/perf/util/string.c pat++; pat 150 tools/perf/util/string.c if (!*pat) /* Tail wild card matches all */ pat 153 tools/perf/util/string.c if (__match_glob(str++, pat, ignore_space, case_ins)) pat 156 tools/perf/util/string.c return !*str && !*pat; pat 171 tools/perf/util/string.c bool strglobmatch(const char *str, const char *pat) pat 173 tools/perf/util/string.c return __match_glob(str, pat, false, false); pat 176 tools/perf/util/string.c bool strglobmatch_nocase(const char *str, const char *pat) pat 178 tools/perf/util/string.c return __match_glob(str, pat, false, true); pat 189 tools/perf/util/string.c bool strlazymatch(const char *str, const char *pat) pat 191 tools/perf/util/string.c return __match_glob(str, pat, true, false); pat 14 tools/perf/util/string2.h bool strglobmatch(const char *str, const char *pat); pat 15 tools/perf/util/string2.h bool strglobmatch_nocase(const char *str, const char *pat); pat 16 tools/perf/util/string2.h bool strlazymatch(const char *str, const char *pat); pat 99 tools/perf/util/util.c static bool match_pat(char *file, const char **pat) pat 103 tools/perf/util/util.c if (!pat) pat 106 tools/perf/util/util.c while (pat[i]) { pat 107 tools/perf/util/util.c if (strglobmatch(file, pat[i])) pat 130 tools/perf/util/util.c static int rm_rf_depth_pat(const char *path, int depth, const char **pat) pat 157 tools/perf/util/util.c if (!match_pat(d->d_name, pat)) { pat 173 tools/perf/util/util.c ret = depth ? rm_rf_depth_pat(namebuf, depth - 1, pat) : 0; pat 187 tools/perf/util/util.c const char *pat[] = { pat 193 tools/perf/util/util.c return rm_rf_depth_pat(path, 0, pat);