/openbmc/linux/arch/powerpc/crypto/ |
H A 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 …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/pysh/ |
H A D | pyshyacc.py | 32 def make_io_redirect(p): argument 34 name, io_number, io_target = p 127 def p_multiple_commands(p): argument 131 if len(p)==2: 132 if p[1] is not None: 133 p[0] = [p[1]] 135 p[0] = [] 137 p[0] = p[1] + [p[2]] 139 def p_complete_command(p): argument 142 if len(p)==3 and p[2] and p[2][1] == '&': [all …]
|
/openbmc/linux/drivers/staging/media/av7110/ |
H A 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 …]
|
/openbmc/u-boot/lib/lzma/ |
H A D | LzmaDec.c | 12 #define kTopValue ((UInt32)1 << kNumTopBits) 15 #define kBitModelTotal (1 << kNumBitModelTotalBits) 22 #define IF_BIT_0(p) ttt = *(p); NORMALIZE; bound = (range >> kNumBitModelTotalBits) * ttt; if (code… argument 23 #define UPDATE_0(p) range = bound; *(p) = (CLzmaProb)(ttt + ((kBitModelTotal - ttt) >> kNumMoveBits… argument 24 #define UPDATE_1(p) range -= bound; code -= bound; *(p) = (CLzmaProb)(ttt - (ttt >> kNumMoveBits)); argument 25 #define GET_BIT2(p, i, A0, A1) IF_BIT_0(p) \ argument 26 { UPDATE_0(p); i = (i + i); A0; } else \ 27 { UPDATE_1(p); i = (i + i) + 1; A1; } 28 #define GET_BIT(p, i) GET_BIT2(p, i, ; , ;) argument 32 { i = 1; do { TREE_GET_BIT(probs, i); } while (i < limit); i -= limit; } [all …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | xhci-caps.h | 5 #define HC_LENGTH(p) XHCI_HC_LENGTH(p) argument 7 #define HC_VERSION(p) (((p) >> 16) & 0xffff) argument 11 #define HCS_MAX_SLOTS(p) (((p) >> 0) & 0xff) argument 14 #define HCS_MAX_INTRS(p) (((p) >> 8) & 0x7ff) argument 16 #define HCS_MAX_PORTS(p) (((p) >> 24) & 0x7f) argument 21 #define HCS_IST(p) (((p) >> 0) & 0xf) argument 23 #define HCS_ERST_MAX(p) (((p) >> 4) & 0xf) argument 27 #define HCS_MAX_SCRATCHPAD(p) ((((p) >> 16) & 0x3e0) | (((p) >> 27) & 0x1f)) argument 31 #define HCS_U1_LATENCY(p) (((p) >> 0) & 0xff) argument 33 #define HCS_U2_LATENCY(p) (((p) >> 16) & 0xffff) argument [all …]
|
/openbmc/linux/net/x25/ |
H A 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 …]
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_firewall.c | 121 ipmi_firewall_parse_args(int argc, char ** argv, struct ipmi_function_params * p) in ipmi_firewall_parse_args() argument 126 if (!p) { in ipmi_firewall_parse_args() 127 lprintf(LOG_ERR, "ipmi_firewall_parse_args: p is NULL"); in ipmi_firewall_parse_args() 128 return -1; in ipmi_firewall_parse_args() 134 conv_err = 1; in ipmi_firewall_parse_args() 137 p->channel = channel_tmp; in ipmi_firewall_parse_args() 141 if (str2int(argv[i], &(p->lun)) != 0) { in ipmi_firewall_parse_args() 143 conv_err = 1; in ipmi_firewall_parse_args() 148 p->force = 1; in ipmi_firewall_parse_args() 151 if (str2int(argv[i], &(p->netfn)) != 0) { in ipmi_firewall_parse_args() [all …]
|
/openbmc/linux/drivers/pnp/pnpbios/ |
H A 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 …]
|
/openbmc/linux/tools/perf/bench/ |
H A D | numa.c | 42 # define RUSAGE_THREAD 1 48 #define tprintf(x...) do { if (g && g->p.show_details >= 0) printf(x); } while (0) 54 #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)"), 231 for (i = 0; i < g->p.nr_nodes; i++) { in nr_numa_nodes() 290 if (target_cpu == -1) { in bind_to_cpu() 293 for (cpu = 0; cpu < g->p.nr_cpus; cpu++) in bind_to_cpu() 296 if (target_cpu < 0 || target_cpu >= g->p.nr_cpus) in bind_to_cpu() [all …]
|
/openbmc/linux/drivers/net/ethernet/cavium/octeon/ |
H A 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 …]
|
/openbmc/linux/drivers/gpu/drm/ci/ |
H A D | testlist.txt | 33 gem_eio@wait-1us 34 gem_eio@wait-wedge-1us 35 gem_eio@in-flight-1us 36 gem_eio@in-flight-contexts-1us 37 gem_eio@in-flight-internal-1us 300 kms_bw@linear-tiling-1-displays-1920x1080p 301 kms_bw@linear-tiling-1-displays-2560x1440p 302 kms_bw@linear-tiling-1-displays-3840x2160p 1083 kms_content_protection@dp-mst-type-1 1084 kms_content_protection@dp-mst-lic-type-1 [all …]
|
/openbmc/linux/net/rose/ |
H A 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 …]
|
/openbmc/phosphor-host-ipmid/test/message/ |
H A D | payload.cpp | 31 ipmi::message::Payload p(std::forward<ipmi::SecureBuffer>(i)); in TEST() local 32 ASSERT_EQ(input_size, p.size()); in TEST() 37 ipmi::message::Payload p; in TEST() local 38 ASSERT_EQ(0, p.size()); in TEST() 40 p.pack(i); in TEST() 41 ASSERT_EQ(i.size(), p.size()); in TEST() 42 p.pack(i); in TEST() 43 p.pack(i); in TEST() 44 ASSERT_EQ(3 * i.size(), p.size()); in TEST() 50 ipmi::message::Payload p; in TEST() local [all …]
|
/openbmc/linux/tools/testing/selftests/ftrace/test.d/kprobe/ |
H A D | kprobe_syntax_errors.tc | 7 ftrace_errlog_check 'trace_kprobe' "$1" 'kprobe_events' 11 check_error 'p^100 vfs_read' # BAD_MAXACT_TYPE 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 …]
|
/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/ |
H A D | process_tree.py | 52 self.process_list = sorted(process_list, key = lambda p: p.pid) 96 for p in process_subtree: 97 p.child_list.sort(key = lambda p: p.pid) 98 self.sort(p.child_list) 132 """Fedora hack: when loading the system services from rc, runuser(1) 133 is used. This sets the PPID of all daemons to 1, skewing 138 rcstartpid = -1 139 rcendpid = -1 141 for p in process_list: 142 if p.cmd == "rc" and p.ppid // 1000 == 1: [all …]
|
/openbmc/linux/arch/mips/mm/ |
H A 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 …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 021.out | 4 == testing writev -P -1 == 5 -1 is not a valid pattern byte 7 == testing read -P -1 == 8 -1 is not a valid pattern byte 10 == testing write -P -1 == 11 -1 is not a valid pattern byte 13 == testing readv -P -1 == 14 -1 is not a valid pattern byte 16 == testing aio_read -P -1 == 17 -1 is not a valid pattern byte [all …]
|
/openbmc/linux/net/mac80211/ |
H A 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 …]
|
/openbmc/linux/drivers/net/ethernet/samsung/sxgbe/ |
H A 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 …]
|
/openbmc/linux/net/bridge/ |
H A 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 …]
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | cmpxchg.h | 17 static inline u32 __xchg_##type##sfx(volatile void *p, u32 val) \ 21 off = (unsigned long)p % sizeof(u32); \ 23 p -= off; \ 25 prev_mask = (u32)(type)-1 << bitoff; \ 28 "1: lwarx %0,0,%3\n" \ 29 " andc %1,%0,%5\n" \ 30 " or %1,%1,%4\n" \ 31 " stwcx. %1,0,%3\n" \ 32 " bne- 1b\n" \ 33 : "=&r" (prev), "=&r" (tmp), "+m" (*(u32*)p) \ [all …]
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | map_fixed_noreplace.c | 30 addr = mmap(NULL, size, PROT_NONE, flags, -1, 0); in find_base_addr() 47 char *p; in main() local 56 return 1; in main() 65 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() 67 printf("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main() 69 if (p == MAP_FAILED) { in main() 72 return 1; in main() 79 return 1; in main() 86 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() 87 printf("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main() [all …]
|
/openbmc/linux/lib/842/ |
H A 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 …]
|
/openbmc/qemu/pc-bios/ |
HD | openbios-sparc32 | ... << p x L p P x 0 H P 4 p x x ` 0 H P p x 0 ... |
/openbmc/u-boot/fs/btrfs/ |
H A D | ctree.c | 15 return 1; in btrfs_comp_keys() 17 return -1; in btrfs_comp_keys() 19 return 1; in btrfs_comp_keys() 21 return -1; in btrfs_comp_keys() 23 return 1; in btrfs_comp_keys() 25 return -1; in btrfs_comp_keys() 32 return 1; in btrfs_comp_keys_type() 34 return -1; in btrfs_comp_keys_type() 36 return 1; in btrfs_comp_keys_type() 38 return -1; in btrfs_comp_keys_type() [all …]
|