/Linux-v6.1/arch/powerpc/crypto/ |
D | crc32c-vpmsum_asm.S | 17 /* x^261120 mod p(x)` << 1, x^261184 mod p(x)` << 1 */ 20 /* x^260096 mod p(x)` << 1, x^260160 mod p(x)` << 1 */ 23 /* x^259072 mod p(x)` << 1, x^259136 mod p(x)` << 1 */ 26 /* x^258048 mod p(x)` << 1, x^258112 mod p(x)` << 1 */ 29 /* x^257024 mod p(x)` << 1, x^257088 mod p(x)` << 1 */ 32 /* x^256000 mod p(x)` << 1, x^256064 mod p(x)` << 1 */ 35 /* x^254976 mod p(x)` << 1, x^255040 mod p(x)` << 1 */ 38 /* x^253952 mod p(x)` << 1, x^254016 mod p(x)` << 1 */ 41 /* x^252928 mod p(x)` << 1, x^252992 mod p(x)` << 1 */ 44 /* x^251904 mod p(x)` << 1, x^251968 mod p(x)` << 1 */ [all …]
|
/Linux-v6.1/drivers/staging/media/deprecated/saa7146/av7110/ |
D | av7110_ipack.c | 8 void av7110_ipack_reset(struct ipack *p) in av7110_ipack_reset() argument 10 p->found = 0; in av7110_ipack_reset() 11 p->cid = 0; in av7110_ipack_reset() 12 p->plength = 0; in av7110_ipack_reset() 13 p->flag1 = 0; in av7110_ipack_reset() 14 p->flag2 = 0; in av7110_ipack_reset() 15 p->hlength = 0; in av7110_ipack_reset() 16 p->mpeg = 0; in av7110_ipack_reset() 17 p->check = 0; in av7110_ipack_reset() 18 p->which = 0; in av7110_ipack_reset() [all …]
|
/Linux-v6.1/net/x25/ |
D | x25_facilities.c | 36 * -1 - Parsing error, caller should drop call and clean up 44 unsigned char *p; in x25_parse_facilities() local 60 if (!pskb_may_pull(skb, 1)) in x25_parse_facilities() 65 if (!pskb_may_pull(skb, 1 + len)) in x25_parse_facilities() 66 return -1; in x25_parse_facilities() 68 p = skb->data + 1; in x25_parse_facilities() 71 switch (*p & X25_FAC_CLASS_MASK) { in x25_parse_facilities() 74 return -1; in x25_parse_facilities() 75 switch (*p) { in x25_parse_facilities() 77 if((p[1] & 0x81) == 0x81) { in x25_parse_facilities() [all …]
|
/Linux-v6.1/drivers/pnp/pnpbios/ |
D | rsparser.c | 60 int end = start + len - 1; in pnpbios_parse_allocated_ioresource() 72 int end = start + len - 1; in pnpbios_parse_allocated_memresource() 81 unsigned char *p, in pnpbios_parse_allocated_resource_data() 87 if (!p) in pnpbios_parse_allocated_resource_data() 94 while ((char *)p < (char *)end) { in pnpbios_parse_allocated_resource_data() 97 if (p[0] & LARGE_TAG) { /* large tag */ in pnpbios_parse_allocated_resource_data() 98 len = (p[2] << 8) | p[1]; in pnpbios_parse_allocated_resource_data() 99 tag = p[0]; in pnpbios_parse_allocated_resource_data() 101 len = p[0] & 0x07; in pnpbios_parse_allocated_resource_data() 102 tag = ((p[0] >> 3) & 0x0f); in pnpbios_parse_allocated_resource_data() [all …]
|
/Linux-v6.1/tools/perf/bench/ |
D | numa.c | 41 # define RUSAGE_THREAD 1 47 #define tprintf(x...) do { if (g && g->p.show_details >= 0) printf(x); } while (0) 53 #define dprintf(x...) do { if (g && g->p.show_details >= 1) printf(x); } while (0) 159 struct params p; member 170 OPT_INTEGER('p', "nr_proc" , &p0.nr_proc, "number of processes"), 174 OPT_STRING('P', "mb_proc" , &p0.mb_proc_str, "MB", "process memory (MBs)"), 230 for (i = 0; i < g->p.nr_nodes; i++) { in nr_numa_nodes() 289 if (target_cpu == -1) { in bind_to_cpu() 292 for (cpu = 0; cpu < g->p.nr_cpus; cpu++) in bind_to_cpu() 295 if (target_cpu < 0 || target_cpu >= g->p.nr_cpus) in bind_to_cpu() [all …]
|
/Linux-v6.1/drivers/net/ethernet/cavium/octeon/ |
D | octeon_mgmt.c | 55 u64 tstamp:1; 63 u64 tstamp:1; 157 static void octeon_mgmt_set_rx_irq(struct octeon_mgmt *p, int enable) in octeon_mgmt_set_rx_irq() argument 162 spin_lock_irqsave(&p->lock, flags); in octeon_mgmt_set_rx_irq() 163 mix_intena.u64 = cvmx_read_csr(p->mix + MIX_INTENA); in octeon_mgmt_set_rx_irq() 164 mix_intena.s.ithena = enable ? 1 : 0; in octeon_mgmt_set_rx_irq() 165 cvmx_write_csr(p->mix + MIX_INTENA, mix_intena.u64); in octeon_mgmt_set_rx_irq() 166 spin_unlock_irqrestore(&p->lock, flags); in octeon_mgmt_set_rx_irq() 169 static void octeon_mgmt_set_tx_irq(struct octeon_mgmt *p, int enable) in octeon_mgmt_set_tx_irq() argument 174 spin_lock_irqsave(&p->lock, flags); in octeon_mgmt_set_tx_irq() [all …]
|
/Linux-v6.1/arch/mips/mm/ |
D | tlbex.c | 44 mips_xpa_disabled = 1; in xpa_disable() 46 return 1; in xpa_disable() 106 return 1; in use_bbit_insns() 117 return 1; in use_lwx_insns() 134 i += 1; /* Kernel use starts at the top and works down. */ in scratchpad_offset() 165 label_second_part = 1, 204 static void uasm_bgezl_hazard(u32 **p, struct uasm_reloc **r, int instance) in uasm_bgezl_hazard() argument 208 uasm_il_bgezl(p, r, 0, label_tlbw_hazard_0 + instance); in uasm_bgezl_hazard() 215 static void uasm_bgezl_label(struct uasm_label **l, u32 **p, int instance) in uasm_bgezl_label() argument 219 uasm_build_label(l, *p, label_tlbw_hazard_0 + instance); in uasm_bgezl_label() [all …]
|
/Linux-v6.1/net/rose/ |
D | rose_subr.c | 55 rose->va = (rose->va + 1) % ROSE_MODULUS; in rose_frames_acked() 88 if (nr == vc) return 1; in rose_validate_nr() 89 vc = (vc + 1) % ROSE_MODULUS; in rose_validate_nr() 109 reserve = AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + 1; in rose_write_internal() 114 len += 1 + ROSE_ADDR_LEN + ROSE_ADDR_LEN; in rose_write_internal() 232 *ns = (frame[2] >> 1) & 0x07; in rose_decode() 239 static int rose_parse_national(unsigned char *p, struct rose_facilities_struct *facilities, int len) in rose_parse_national() argument 246 switch (*p & 0xC0) { in rose_parse_national() 249 return -1; in rose_parse_national() 250 p += 2; in rose_parse_national() [all …]
|
/Linux-v6.1/net/bridge/ |
D | br_stp.c | 16 /* since time values in bpdu are in jiffies and then scaled (1/256) 19 #define MESSAGE_AGE_INCR ((HZ / 256) + 1) 29 void br_set_state(struct net_bridge_port *p, unsigned int state) in br_set_state() argument 32 .orig_dev = p->dev, in br_set_state() 42 if (p->flags & BR_MRP_AWARE) in br_set_state() 45 p->state = state; in br_set_state() 46 if (br_opt_get(p->br, BROPT_MST_ENABLED)) { in br_set_state() 47 err = br_mst_set_state(p, 0, state, NULL); in br_set_state() 49 br_warn(p->br, "error setting MST state on port %u(%s)\n", in br_set_state() 50 p->port_no, netdev_name(p->dev)); in br_set_state() [all …]
|
/Linux-v6.1/net/mac80211/ |
D | rc80211_minstrel_ht_debugfs.c | 48 minstrel_ht_stats_dump(struct minstrel_ht_sta *mi, int i, char *p) in minstrel_ht_stats_dump() argument 57 return p; in minstrel_ht_stats_dump() 78 p += sprintf(p, "HT%c0 ", htmode); in minstrel_ht_stats_dump() 79 p += sprintf(p, "%cGI ", gimode); in minstrel_ht_stats_dump() 80 p += sprintf(p, "%d ", mg->streams); in minstrel_ht_stats_dump() 82 p += sprintf(p, "VHT%c0 ", htmode); in minstrel_ht_stats_dump() 83 p += sprintf(p, "%cGI ", gimode); in minstrel_ht_stats_dump() 84 p += sprintf(p, "%d ", mg->streams); in minstrel_ht_stats_dump() 86 p += sprintf(p, "OFDM "); in minstrel_ht_stats_dump() 87 p += sprintf(p, "1 "); in minstrel_ht_stats_dump() [all …]
|
/Linux-v6.1/tools/testing/selftests/ftrace/test.d/kprobe/ |
D | kprobe_syntax_errors.tc | 7 ftrace_errlog_check 'trace_kprobe' "$1" 'kprobe_events' 11 check_error 'p^100 vfs_read' # MAXACT_NO_KPROBE 12 check_error 'r^1a111 vfs_read' # BAD_MAXACT 16 check_error 'p ^non_exist_func' # BAD_PROBE_ADDR (enoent) 17 check_error 'p ^hoge-fuga' # BAD_PROBE_ADDR (bad syntax) 18 check_error 'p ^hoge+1000-1000' # BAD_PROBE_ADDR (bad syntax) 20 check_error 'p:^/bar vfs_read' # NO_GROUP_NAME 21 check_error 'p:^12345678901234567890123456789012345678901234567890123456789012345/bar vfs_read' # G… 23 check_error 'p:^foo.1/bar vfs_read' # BAD_GROUP_NAME 24 check_error 'p:^ vfs_read' # NO_EVENT_NAME [all …]
|
/Linux-v6.1/lib/842/ |
D | 842_compress.c | 85 #define INDEX_NOT_FOUND (-1) 95 u64 data8[1]; 98 int index8[1]; 104 struct sw842_hlist_node8 node8[1 << I8_BITS]; 105 struct sw842_hlist_node4 node4[1 << I4_BITS]; 106 struct sw842_hlist_node2 node2[1 << I2_BITS]; 109 #define get_input_data(p, o, b) \ argument 110 be##b##_to_cpu(get_unaligned((__be##b *)((p)->in + (o)))) 112 #define init_hashtable_nodes(p, b) do { \ argument 114 hash_init((p)->htable##b); \ [all …]
|
/Linux-v6.1/net/sched/ |
D | sch_dsmark.c | 26 * x:0 1 use entry [0] 28 * x:y y>0 y+1 use entry [y] 30 * x:indices-1 indices use entry [indices-1] 32 * x:y y+1 use entry [y & (indices-1)] 34 * 0xffff 0x10000 use entry [indices-1] 38 #define NO_DEFAULT_INDEX (1 << 16) 57 static inline int dsmark_valid_index(struct dsmark_qdisc_data *p, u16 index) in dsmark_valid_index() argument 59 return index <= p->indices && index > 0; in dsmark_valid_index() 68 struct dsmark_qdisc_data *p = qdisc_priv(sch); in dsmark_graft() local 70 pr_debug("%s(sch %p,[qdisc %p],new %p,old %p)\n", in dsmark_graft() [all …]
|
/Linux-v6.1/arch/mips/kvm/ |
D | entry.c | 24 #define AT 1 57 #define C0_BADINSTR 8, 1 66 #define C0_EBASE 15, 1 83 label_fpu_1 = 1, 126 if (pgd_reg != -1) in kvm_mips_entry_setup() 132 scratch_vcpu[1] = ffs(kscratch_mask) - 1; in kvm_mips_entry_setup() 133 kscratch_mask &= ~BIT(scratch_vcpu[1]); in kvm_mips_entry_setup() 139 scratch_tmp[1] = ffs(kscratch_mask) - 1; in kvm_mips_entry_setup() 140 kscratch_mask &= ~BIT(scratch_tmp[1]); in kvm_mips_entry_setup() 146 static void kvm_mips_build_save_scratch(u32 **p, unsigned int tmp, in kvm_mips_build_save_scratch() argument [all …]
|
/Linux-v6.1/tools/testing/selftests/vm/ |
D | khugepaged.c | 35 #define BASE_ADDR ((void *)(1UL << 30)) 54 void (*cleanup_area)(void *p, unsigned long size); 55 void (*fault)(void *p, unsigned long start, unsigned long end); 65 void (*collapse)(const char *msg, char *p, int nr_hpages, 179 if (fd == -1) in read_file() 182 numread = read(fd, buf, buflen - 1); in read_file() 183 if (numread < 1) { in read_file() 200 if (fd == -1) { in write_file() 206 numwritten = write(fd, buf, buflen - 1); in write_file() 208 if (numwritten < 1) { in write_file() [all …]
|
/Linux-v6.1/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_desc.h | 20 cic_only_ip = 1, /* Only IP header */ 35 u32 timestmp_enable:1; 36 u32 int_on_com:1; 42 u32 reserved1:1; 47 u16 tse_bit:1; 51 u16 last_desc:1; 52 u16 first_desc:1; 53 u16 ctxt_bit:1; 54 u16 own_bit:1; 63 u32 own_bit:1; [all …]
|
/Linux-v6.1/drivers/parport/ |
D | parport_ip32.c | 41 * IEEE 1284 parallel port driven by a Texas Instrument TL16PIR552PH chip[1]. 45 * [1] http://focus.ti.com/docs/prod/folders/print/tl16pir552.html 58 * 1 standard level: pr_debug1 is enabled 71 #if DEBUG_PARPORT_IP32 == 1 72 # warning DEBUG_PARPORT_IP32 == 1 104 #if DEBUG_PARPORT_IP32 >= 1 105 # define DEFAULT_VERBOSE_PROBING 1 119 #define PARPORT_IP32_ENABLE_IRQ (1U << 0) 120 #define PARPORT_IP32_ENABLE_DMA (1U << 1) 121 #define PARPORT_IP32_ENABLE_SPP (1U << 2) [all …]
|
/Linux-v6.1/drivers/pcmcia/ |
D | cistpl.c | 40 1, 10, 100, 1000, 10000, 100000, 1000000, 10000000 45 (mantissa[(((v)>>3)&15)-1] * exponent[(v)&7] / 10) 126 #define IS_ATTR 1 156 return -1; in pcmcia_read_cis_mem() 167 u_int inc = 1, card_offset, flags; in pcmcia_read_cis_mem() 173 return -1; in pcmcia_read_cis_mem() 183 card_offset = addr & ~(s->map_size-1); in pcmcia_read_cis_mem() 189 return -1; in pcmcia_read_cis_mem() 192 sys = sys + (addr & (s->map_size-1)); in pcmcia_read_cis_mem() 203 *(u_char *)(ptr+0), *(u_char *)(ptr+1), in pcmcia_read_cis_mem() [all …]
|
/Linux-v6.1/drivers/gpu/drm/i915/ |
D | i915_syncmap.c | 33 #define MASK (KSYNCMAP - 1) 55 * 0 1 2 0x10 0x11 0x200 0x201 64 * | | | 0-> 0x000000000000000X 0:0, 1:1, 2:2 65 * | | | 1-> 0x000000000000001X 0:10, 1:11 66 * | | 2-> 0x000000000000020X 0:200, 1:201 68 * | 0-> 0x000000000050000X 0:500000, 1:500001 69 * | 3-> 0x000000000050300X 0:503000, 1:503001 99 static inline u32 *__sync_seqno(struct i915_syncmap *p) in __sync_seqno() argument 101 GEM_BUG_ON(p->height); in __sync_seqno() 102 return (u32 *)(p + 1); in __sync_seqno() [all …]
|
/Linux-v6.1/drivers/gpu/drm/radeon/ |
D | r600_cs.c | 86 #define FMT_8_BIT(fmt, vc) [fmt] = { 1, 1, 1, vc, CHIP_R600 } 87 #define FMT_16_BIT(fmt, vc) [fmt] = { 1, 1, 2, vc, CHIP_R600 } 88 #define FMT_24_BIT(fmt) [fmt] = { 1, 1, 4, 0, CHIP_R600 } 89 #define FMT_32_BIT(fmt, vc) [fmt] = { 1, 1, 4, vc, CHIP_R600 } 90 #define FMT_48_BIT(fmt) [fmt] = { 1, 1, 8, 0, CHIP_R600 } 91 #define FMT_64_BIT(fmt, vc) [fmt] = { 1, 1, 8, vc, CHIP_R600 } 92 #define FMT_96_BIT(fmt) [fmt] = { 1, 1, 12, 0, CHIP_R600 } 93 #define FMT_128_BIT(fmt, vc) [fmt] = { 1, 1, 16,vc, CHIP_R600 } 105 FMT_8_BIT(V_038004_COLOR_8, 1), 106 FMT_8_BIT(V_038004_COLOR_4_4, 1), [all …]
|
/Linux-v6.1/scripts/coccinelle/misc/ |
D | warn.cocci | 2 /// Use WARN(1,...) rather than printk followed by WARN_ON(1) 17 position p; 21 printk@p(...); 22 WARN_ON(1); 25 position p != bad1.p; 28 printk@p(...); 29 *WARN_ON(1); 32 p << r1.p; 35 cocci.print_main("printk + WARN_ON can be just WARN",p) 38 p << r1.p; [all …]
|
/Linux-v6.1/drivers/video/fbdev/ |
D | controlfb.c | 99 results = 1; in PAR_EQUAL() 149 struct fb_info_control *p = in controlfb_setcolreg() local 154 return 1; in controlfb_setcolreg() 160 out_8(&p->cmap_regs->addr, regno); /* tell clut what addr to fill */ in controlfb_setcolreg() 161 out_8(&p->cmap_regs->lut, r); /* send one color channel at */ in controlfb_setcolreg() 162 out_8(&p->cmap_regs->lut, g); /* a time... */ in controlfb_setcolreg() 163 out_8(&p->cmap_regs->lut, b); in controlfb_setcolreg() 167 switch (p->par.cmode) { in controlfb_setcolreg() 169 p->pseudo_palette[regno] = in controlfb_setcolreg() 174 p->pseudo_palette[regno] = (i << 16) | i; in controlfb_setcolreg() [all …]
|
/Linux-v6.1/arch/x86/kernel/kprobes/ |
D | core.c | 76 /* 0 1 2 3 4 5 6 7 8 9 a b c d e f */ 78 W(0x00, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0) | /* 00 */ 79 W(0x10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1) , /* 10 */ 80 W(0x20, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) | /* 20 */ 81 W(0x30, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) , /* 30 */ 82 W(0x40, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1) | /* 40 */ 84 W(0x60, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1) | /* 60 */ 85 W(0x70, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1) , /* 70 */ 87 W(0x90, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1) , /* 90 */ 88 W(0xa0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1) | /* a0 */ [all …]
|
/Linux-v6.1/arch/sparc/kernel/ |
D | central.c | 37 static int clock_board_calc_nslots(struct clock_board *p) in clock_board_calc_nslots() argument 39 u8 reg = upa_readb(p->clock_regs + CLOCK_STAT1) & 0xc0; in clock_board_calc_nslots() 50 if (p->clock_ver_reg) in clock_board_calc_nslots() 51 reg = upa_readb(p->clock_ver_reg); in clock_board_calc_nslots() 66 struct clock_board *p = kzalloc(sizeof(*p), GFP_KERNEL); in clock_board_probe() local 69 if (!p) { in clock_board_probe() 74 p->clock_freq_regs = of_ioremap(&op->resource[0], 0, in clock_board_probe() 77 if (!p->clock_freq_regs) { in clock_board_probe() 82 p->clock_regs = of_ioremap(&op->resource[1], 0, in clock_board_probe() 83 resource_size(&op->resource[1]), in clock_board_probe() [all …]
|
/Linux-v6.1/drivers/irqchip/ |
D | irq-renesas-intc-irqpin.c | 26 #define INTC_IRQPIN_REG_PRIO 1 /* INTPRInn */ 38 * SOURCE is read-only 32-bit or 8-bit with 1-bit per IRQ (***) 39 * MASK is write-only 32-bit or 8-bit with 1-bit per IRQ (***) 40 * CLEAR is write-only 32-bit or 8-bit with 1-bit per IRQ (***) 58 struct intc_irqpin_priv *p; member 69 unsigned shared_irqs:1; 74 int irlm_bit; /* -1 if non-existent */ 97 static inline unsigned long intc_irqpin_read(struct intc_irqpin_priv *p, in intc_irqpin_read() argument 100 struct intc_irqpin_iomem *i = &p->iomem[reg]; in intc_irqpin_read() 105 static inline void intc_irqpin_write(struct intc_irqpin_priv *p, in intc_irqpin_write() argument [all …]
|