/openbmc/u-boot/scripts/kconfig/ |
H A D | confdata.c | 165 if (p[strlen(p) - 1] != '"') { in conf_set_sym_val() 171 p[strlen(p) - 1] = 0; in conf_set_sym_val() 252 char *p, *p2; in conf_read_simple() local 316 if (!p) in conf_read_simple() 318 *p++ = 0; in conf_read_simple() 346 if (!p) in conf_read_simple() 348 *p++ = 0; in conf_read_simple() 518 p += l; in kconfig_print_comment() 591 p += l; in header_print_comment() 1156 pty = p[0]; ptm = p[1]; pby = pty + ptm; in conf_set_all_new_symbols() [all …]
|
/openbmc/linux/fs/ubifs/ |
H A D | orphan.c | 69 p = &(*p)->rb_left; in orphan_add() 71 p = &(*p)->rb_right; in orphan_add() 102 while (p) { in lookup_orphan() 105 p = p->rb_left; in lookup_orphan() 107 p = p->rb_right; in lookup_orphan() 597 p = &(*p)->rb_left; in insert_dead_orphan() 599 p = &(*p)->rb_right; in insert_dead_orphan() 880 p = &(*p)->rb_left; in dbg_ins_check_orphan() 882 p = &(*p)->rb_right; in dbg_ins_check_orphan() 902 p = p->rb_left; in dbg_find_check_orphan() [all …]
|
/openbmc/qemu/hw/sparc/ |
H A D | leon3.c | 110 uint32_t *p = ptr; in write_bootloader() local 119 sec_cpu_branch_p = p; in write_bootloader() 121 stl_p(p++, 0x01000000); /* nop */ in write_bootloader() 125 p = gen_store_u32(p, 0x80000108, 3); in write_bootloader() 129 p = gen_store_u32(p, 0x80000304, 39); in write_bootloader() 131 p = gen_store_u32(p, 0x80000314, 0xFFFFFFFE); in write_bootloader() 133 p = gen_store_u32(p, 0x80000318, 3); in write_bootloader() 137 + (p - sec_cpu_branch_p)); in write_bootloader() 140 stl_p(p++, 0x82100000); /* mov %g0, %g1 */ in write_bootloader() 145 stl_p(p++, 0x81c04000); /* jmp %g1 */ in write_bootloader() [all …]
|
/openbmc/linux/drivers/net/ethernet/cavium/thunder/ |
H A D | nicvf_ethtool.c | 367 u64 *p = (u64 *)reg; in nicvf_get_regs() local 373 memset(p, 0, NIC_VF_REG_COUNT); in nicvf_get_regs() 375 p[i++] = nicvf_reg_read(nic, NIC_VNIC_CFG); in nicvf_get_regs() 378 p[i++] = nicvf_reg_read(nic, in nicvf_get_regs() 381 p[i++] = nicvf_reg_read(nic, NIC_VF_INT); in nicvf_get_regs() 392 p[i++] = nicvf_reg_read(nic, in nicvf_get_regs() 396 p[i++] = nicvf_reg_read(nic, in nicvf_get_regs() 418 p[i++] = nicvf_queue_reg_read(nic, in nicvf_get_regs() 436 p[i++] = 0; in nicvf_get_regs() 449 p[i++] = nicvf_queue_reg_read(nic, in nicvf_get_regs() [all …]
|
/openbmc/linux/drivers/misc/altera-stapl/ |
H A D | altera.c | 205 u8 *p, in altera_execute() argument 329 attrs[i] = p[offset]; in altera_execute() 441 name = &p[str_table + name_id]; in altera_execute() 464 (p[proc_table + in altera_execute() 510 opcode = (p[pc] & 0xff); in altera_execute() 648 &p[proc_table + in altera_execute() 1018 &p[str_table + args[0]], in altera_execute() 2138 key_ptr = &p[note_strings + in altera_get_note() 2140 &p[note_table + (8 * i)])]; in altera_get_note() 2144 value_ptr = &p[note_strings + in altera_get_note() [all …]
|
/openbmc/linux/arch/ia64/lib/ |
H A D | copy_page.S | 23 #define EPI p[PIPE_DEPTH-1] 46 .rotp p[PIPE_DEPTH] 71 (p[0]) ld8 t1[0]=[src1],16 73 (p[0]) ld8 t2[0]=[src2],16 77 (p[0]) ld8 t3[0]=[src1],16 79 (p[0]) ld8 t4[0]=[src2],16 82 (p[0]) ld8 t5[0]=[src1],16 84 (p[0]) ld8 t6[0]=[src2],16 87 (p[0]) ld8 t7[0]=[src1],16 89 (p[0]) ld8 t8[0]=[src2],16
|
/openbmc/linux/drivers/video/fbdev/core/ |
H A D | fb_io_fops.c | 9 unsigned long p = *ppos; in fb_io_read() local 23 if (p >= total_size) in fb_io_read() 29 if (count + p > total_size) in fb_io_read() 30 count = total_size - p; in fb_io_read() 37 src = (u8 __iomem *) (info->screen_base + p); in fb_io_read() 70 unsigned long p = *ppos; in fb_io_write() local 84 if (p > total_size) in fb_io_write() 92 if (count + p > total_size) { in fb_io_write() 96 count = total_size - p; in fb_io_write() 104 dst = (u8 __iomem *) (info->screen_base + p); in fb_io_write()
|
/openbmc/qemu/tests/tcg/multiarch/linux/ |
H A D | linux-shmat-maps.c | 19 void *p; in main() local 29 p = shmat(shmid, (void *)0x800000, SHM_RND); in main() 30 if (p == (void *)-1) { in main() 37 p = shmat(shmid, NULL, 0); in main() 38 assert(p != (void *)-1); in main() 49 err = shmdt(p); in main()
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-kernel/linux/linux-yocto-6.6/n1sdp/ |
H A D | 0002-n1sdp-pci_quirk-add-acs-override-for-PCI-devices.patch | 61 + if (!p) 64 + while (*p) { 80 + p += 3; 81 + snprintf(opt, 5, "%s", p); 89 + p += strcspn(p, ":"); 90 + if (*p != ':') { 95 + p++; 96 + snprintf(opt, 5, "%s", p); 106 + p += strcspn(p, ","); 107 + if (*p == ',') [all …]
|
/openbmc/linux/fs/nfs/ |
H A D | nfs4namespace.c | 61 char *buf, *p; in nfs4_pathname_string() local 76 *p++ = '/'; in nfs4_pathname_string() 81 *p = 0; in nfs4_pathname_string() 93 char *p; in nfs_path_component() local 98 if (p != NULL && ++p < end && *p == ':') in nfs_path_component() 99 return p + 1; in nfs_path_component() 103 if (p != NULL && p < end) in nfs_path_component() 104 return p + 1; in nfs_path_component() 346 p = source; in try_location() 349 *p++ = ':'; in try_location() [all …]
|
/openbmc/qemu/hw/i386/kvm/ |
H A D | xen_evtchn.c | 603 XenEvtchnPort *p; in unbind_backend_ports() local 629 XenEvtchnPort *p; in xen_evtchn_status_op() local 650 switch (p->type) { in xen_evtchn_status_op() 952 if (!p) { in clear_port_pending() 1002 for (p = 1; valid_port(p); p++) { in allocate_port() 1008 *port = p; in allocate_port() 1054 kvm_xen_set_vcpu_virq(virq_is_global(p->u.virq) ? 0 : p->vcpu, in close_port() 1187 XenEvtchnPort *p; in xen_evtchn_bind_vcpu_op() local 1209 (p->type == EVTCHNSTAT_virq && virq_is_global(p->u.virq))) { in xen_evtchn_bind_vcpu_op() 1471 XenEvtchnPort *p; in xen_evtchn_send_op() local [all …]
|
/openbmc/openbmc/poky/meta/classes/ |
H A D | multilib_global.bbclass | 43 for p in prefixes: 62 for p in prefixes: 76 for p in prefixes: 93 for p in prefixes: 118 for p in prefixes: 119 newval = p + "-" + val 151 for p in mp: 152 …if p.endswith("-native") or "-crosssdk-" in p or p.startswith(("nativesdk-", "virtual/nativesdk-")… 160 for p in prefixes: 167 for p in prefixes: [all …]
|
/openbmc/linux/arch/x86/boot/compressed/ |
H A D | kaslr.c | 132 if (!p) in parse_memmap() 139 oldp = p; in parse_memmap() 140 *size = memparse(p, &p); in parse_memmap() 148 *start = memparse(p + 1, &p); in parse_memmap() 164 *start = memparse(p + 1, &p); in parse_memmap() 165 if (p && *p == ':') { in parse_memmap() 166 p++; in parse_memmap() 232 char *p; in parse_gb_huge_pages() local 236 if (memparse(p, &p) != PUD_SIZE) { in parse_gb_huge_pages() 249 max_gb_huge_pages = simple_strtoull(p, &p, 0); in parse_gb_huge_pages() [all …]
|
/openbmc/linux/drivers/usb/storage/ |
H A D | usual-tables.c | 95 const struct ignore_entry *p; in usb_usual_ignore_device() local 102 for (p = ignore_ids; p->vid; ++p) { in usb_usual_ignore_device() 103 if (p->vid == vid && p->pid == pid && in usb_usual_ignore_device() 104 p->bcdmin <= bcd && p->bcdmax >= bcd) in usb_usual_ignore_device()
|
/openbmc/linux/include/uapi/linux/ |
H A D | ppp_defs.h | 23 #define PPP_ADDRESS(p) (((__u8 *)(p))[0]) argument 24 #define PPP_CONTROL(p) (((__u8 *)(p))[1]) argument 25 #define PPP_PROTOCOL(p) ((((__u8 *)(p))[2] << 8) + ((__u8 *)(p))[3]) argument 133 struct pppstat p; /* basic PPP statistics */ member
|
/openbmc/linux/arch/powerpc/sysdev/ |
H A D | dcr.c | 18 const u32 *p; in find_dcr_parent() local 23 p = of_get_property(par, "dcr-parent", NULL); in find_dcr_parent() 25 if (p == NULL) in find_dcr_parent() 28 par = of_find_node_by_phandle(*p); in find_dcr_parent() 147 const u32 *p; in of_translate_dcr_address() local 156 p = of_get_property(dp, "dcr-mmio-stride", NULL); in of_translate_dcr_address() 157 stride = (p == NULL) ? 0x10 : *p; in of_translate_dcr_address() 160 p = of_get_property(dp, "dcr-mmio-range", NULL); in of_translate_dcr_address() 161 if (p == NULL) in of_translate_dcr_address() 163 if (p == NULL) in of_translate_dcr_address() [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | string.c | 26 char *p; in perf_atoll() local 33 switch (c = *p++) { in perf_atoll() 35 if (*p) in perf_atoll() 59 if (strcmp(p, "b") != 0) in perf_atoll() 62 if (strcmp(p, "B") != 0) in perf_atoll() 284 p = strchr(s + 1, '\\'); in strdup_esc() 285 if (p) { in strdup_esc() 286 memmove(d, s, p - s); in strdup_esc() 287 d += p - s; in strdup_esc() 288 s = p + 1; in strdup_esc() [all …]
|
/openbmc/linux/fs/nfs/blocklayout/ |
H A D | extent_tree.c | 142 while (*p) { in __ext_tree_insert() 143 parent = *p; in __ext_tree_insert() 155 p = &(*p)->rb_left; in __ext_tree_insert() 162 p = &(*p)->rb_right; in __ext_tree_insert() 511 p = xdr_encode_hyper(p, be->be_length << SECTOR_SHIFT); in encode_block_extent() 512 p = xdr_encode_hyper(p, 0LL); in encode_block_extent() 514 return p; in encode_block_extent() 543 p = encode_scsi_range(be, p); in ext_tree_encode_commit() 545 p = encode_block_extent(be, p); in ext_tree_encode_commit() 598 void *p = start_p, *end = p + arg->layoutupdate_len; in ext_tree_prepare_commit() local [all …]
|
/openbmc/u-boot/cmd/ |
H A D | gpt.c | 319 for (p = 1; p <= MAX_SEARCH_PARTITIONS; p++) { in get_gpt_info() 414 p = val; in set_gpt_info() 433 p = s; in set_gpt_info() 434 while (*p) { in set_gpt_info() 463 p = val; in set_gpt_info() 478 p = val; in set_gpt_info() 496 p = val; in set_gpt_info() 511 p = val; in set_gpt_info() 516 size_ll = ustrtoull(p, &p, 0); in set_gpt_info() 526 p = val; in set_gpt_info() [all …]
|
/openbmc/linux/arch/mips/mm/ |
H A D | uasm.c | 562 uasm_r_mips_pc16(r, *p, lid); in uasm_il_bltz() 563 uasm_i_bltz(p, reg, 0); in uasm_il_bltz() 569 uasm_r_mips_pc16(r, *p, lid); in uasm_il_b() 570 uasm_i_b(p, 0); in uasm_il_b() 577 uasm_r_mips_pc16(r, *p, lid); in uasm_il_beq() 578 uasm_i_beq(p, r1, r2, 0); in uasm_il_beq() 586 uasm_i_beqz(p, reg, 0); in uasm_il_beqz() 594 uasm_i_beqzl(p, reg, 0); in uasm_il_beqzl() 610 uasm_i_bnez(p, reg, 0); in uasm_il_bnez() 618 uasm_i_bgezl(p, reg, 0); in uasm_il_bgezl() [all …]
|
/openbmc/linux/drivers/soc/fsl/qbman/ |
H A D | bman_portal.c | 41 struct bman_portal *p = bman_create_affine_portal(pcfg); in init_pcfg() local 43 if (!p) { in init_pcfg() 49 bman_p_irqsource_add(p, BM_PIRQ_RCRI); in init_pcfg() 50 affine_bportals[pcfg->cpu] = p; in init_pcfg() 54 return p; in init_pcfg() 59 struct bman_portal *p = affine_bportals[cpu]; in bman_offline_cpu() local 62 if (!p) in bman_offline_cpu() 65 pcfg = bman_get_bm_portal_config(p); in bman_offline_cpu() 77 struct bman_portal *p = affine_bportals[cpu]; in bman_online_cpu() local 80 if (!p) in bman_online_cpu() [all …]
|
/openbmc/linux/include/trace/stages/ |
H A D | stage3_trace_output.h | 42 trace_print_bitmask_seq(p, __bitmask, __bitmask_size); \ 54 trace_print_bitmask_seq(p, __bitmask, __bitmask_size); \ 71 trace_print_flags_seq(p, delim, flag, __flags); \ 79 trace_print_symbols_seq(p, value, symbols); \ 89 trace_print_flags_seq_u64(p, delim, flag, __flags); \ 96 trace_print_symbols_seq_u64(p, value, symbols); \ 108 trace_print_hex_seq(p, buf, buf_len, false) 112 trace_print_hex_seq(p, buf, buf_len, true) 119 trace_print_array_seq(p, array, count, el_size); \ 125 trace_print_hex_dump_seq(p, prefix_str, prefix_type, \ [all …]
|
/openbmc/linux/include/sound/ |
H A D | seq_oss.h | 39 int (*open)(struct snd_seq_oss_arg *p, void *closure); 40 int (*close)(struct snd_seq_oss_arg *p); 41 int (*ioctl)(struct snd_seq_oss_arg *p, unsigned int cmd, unsigned long arg); 42 …int (*load_patch)(struct snd_seq_oss_arg *p, int format, const char __user *buf, int offs, int cou… 43 int (*reset)(struct snd_seq_oss_arg *p); 44 int (*raw_event)(struct snd_seq_oss_arg *p, unsigned char *data);
|
/openbmc/qemu/tests/tcg/aarch64/ |
H A D | mte-4.c | 10 void __attribute__((noinline)) tagset(void *p, size_t size) in tagset() argument 14 asm("stg %0, [%0]" : : "r"(p + i)); in tagset() 18 void __attribute__((noinline)) tagcheck(void *p, size_t size) in tagcheck() argument 24 asm("ldg %0, [%1]" : "=r"(c) : "r"(p + i), "0"(p)); in tagcheck() 25 assert(c == p); in tagcheck()
|
/openbmc/linux/include/linux/ |
H A D | mISDNif.h | 222 #define IS_ISDN_P_TE(p) ((p == ISDN_P_TE_S0) || (p == ISDN_P_TE_E1) || \ argument 223 (p == ISDN_P_TE_UP0) || (p == ISDN_P_LAPD_TE)) 224 #define IS_ISDN_P_NT(p) ((p == ISDN_P_NT_S0) || (p == ISDN_P_NT_E1) || \ argument 225 (p == ISDN_P_NT_UP0) || (p == ISDN_P_LAPD_NT)) 226 #define IS_ISDN_P_S0(p) ((p == ISDN_P_TE_S0) || (p == ISDN_P_NT_S0)) argument 227 #define IS_ISDN_P_E1(p) ((p == ISDN_P_TE_E1) || (p == ISDN_P_NT_E1)) argument 228 #define IS_ISDN_P_UP0(p) ((p == ISDN_P_TE_UP0) || (p == ISDN_P_NT_UP0)) argument
|