/openbmc/linux/drivers/video/fbdev/core/ |
H A D | cfbimgblt.c | 83 int i, n, bpp = p->var.bits_per_pixel; in color_imageblit() 108 color <<= FB_LEFT_POS(p, bpp); in color_imageblit() 126 dst1 += p->fix.line_length; in color_imageblit() 128 dst2 += p->fix.line_length; in color_imageblit() 145 u32 val, pitch = p->fix.line_length; in slow_imageblit() 153 fgcolor <<= FB_LEFT_POS(p, bpp); in slow_imageblit() 154 bgcolor <<= FB_LEFT_POS(p, bpp); in slow_imageblit() 313 dst1 += p->fix.line_length; in fast_imageblit() 335 dst1 = p->screen_base + bitstart; in cfb_imageblit() 337 if (p->fbops->fb_sync) in cfb_imageblit() [all …]
|
/openbmc/linux/drivers/tty/serial/8250/ |
H A D | 8250_rt288x.c | 42 return __raw_readl(p->membase + (offset << p->regshift)); in au_serial_in() 51 __raw_writel(value, p->membase + (offset << p->regshift)); in au_serial_out() 67 p->iotype = UPIO_AU; in au_platform_setup() 69 p->serial_in = au_serial_in; in au_platform_setup() 70 p->serial_out = au_serial_out; in au_platform_setup() 74 p->mapsize = 0x1000; in au_platform_setup() 76 p->bugs |= UART_BUG_NOMSR; in au_platform_setup() 86 p->iotype = UPIO_AU; in rt288x_setup() 88 p->serial_in = au_serial_in; in rt288x_setup() 89 p->serial_out = au_serial_out; in rt288x_setup() [all …]
|
/openbmc/linux/tools/lib/api/fs/ |
H A D | cgroup.c | 24 char *p, *path; in cgroupfs_find_mountpoint() local 56 if (p == NULL) in cgroupfs_find_mountpoint() 60 path = ++p; in cgroupfs_find_mountpoint() 61 p = strchr(p, ' '); in cgroupfs_find_mountpoint() 62 if (p == NULL) in cgroupfs_find_mountpoint() 65 *p++ = '\0'; in cgroupfs_find_mountpoint() 71 if (p[6] == '2') { in cgroupfs_find_mountpoint() 78 p += 7; in cgroupfs_find_mountpoint() 80 p = strstr(p, subsys); in cgroupfs_find_mountpoint() 81 if (p == NULL) in cgroupfs_find_mountpoint() [all …]
|
/openbmc/linux/include/asm-generic/bitops/ |
H A D | generic-non-atomic.h | 31 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in generic___set_bit() local 33 *p |= mask; in generic___set_bit() 42 *p &= ~mask; in generic___clear_bit() 60 *p ^= mask; in generic___change_bit() 77 unsigned long old = *p; in generic___test_and_set_bit() 79 *p = old | mask; in generic___test_and_set_bit() 97 unsigned long old = *p; in generic___test_and_clear_bit() 99 *p = old & ~mask; in generic___test_and_clear_bit() 109 unsigned long old = *p; in generic___test_and_change_bit() 111 *p = old ^ mask; in generic___test_and_change_bit() [all …]
|
/openbmc/linux/net/netfilter/ipvs/ |
H A D | ip_vs_pe_sip.c | 99 if (!p->pe_data) in ip_vs_sip_fill_param() 102 p->pe_data_len = matchlen; in ip_vs_sip_fill_param() 113 if (ct->af == p->af && in ip_vs_sip_ct_match() 114 ip_vs_addr_equal(p->af, p->caddr, &ct->caddr) && in ip_vs_sip_ct_match() 117 ip_vs_addr_equal(p->protocol == IPPROTO_IP ? AF_UNSPEC : p->af, in ip_vs_sip_ct_match() 118 p->vaddr, &ct->vaddr) && in ip_vs_sip_ct_match() 119 ct->vport == p->vport && in ip_vs_sip_ct_match() 123 !memcmp(ct->pe_data, p->pe_data, p->pe_data_len)) in ip_vs_sip_ct_match() 128 IP_VS_DEBUG_CALLID(p->pe_data, p->pe_data_len), in ip_vs_sip_ct_match() 129 IP_VS_DBG_ADDR(p->af, p->vaddr), ntohs(p->vport), in ip_vs_sip_ct_match() [all …]
|
/openbmc/linux/drivers/sbus/char/ |
H A D | display7seg.c | 92 if (p->flipped) in d7s_release() 128 writeb(ireg, p->regs); in d7s_ioctl() 147 writeb(regs, p->regs); in d7s_ioctl() 174 struct d7s *p; in d7s_probe() local 180 p = devm_kzalloc(&op->dev, sizeof(*p), GFP_KERNEL); in d7s_probe() 182 if (!p) in d7s_probe() 186 if (!p->regs) { in d7s_probe() 201 regs = readb(p->regs); in d7s_probe() 206 if (p->flipped) in d7s_probe() 220 d7s_device = p; in d7s_probe() [all …]
|
/openbmc/linux/arch/s390/kernel/ |
H A D | process.c | 126 memset(&p->thread.per_user, 0, sizeof(p->thread.per_user)); in copy_thread() 127 memset(&p->thread.per_event, 0, sizeof(p->thread.per_event)); in copy_thread() 129 p->thread.per_flags = 0; in copy_thread() 131 p->thread.user_timer = 0; in copy_thread() 132 p->thread.guest_timer = 0; in copy_thread() 133 p->thread.system_timer = 0; in copy_thread() 134 p->thread.hardirq_timer = 0; in copy_thread() 136 p->thread.last_break = 1; in copy_thread() 198 if (!task_stack_page(p)) in __get_wchan() 201 if (!try_get_task_stack(p)) in __get_wchan() [all …]
|
/openbmc/linux/lib/raid6/ |
H A D | avx512.c | 47 u8 *p, *q; in raid6_avx5121_gen_syndrome() local 105 u8 *p, *q; in raid6_avx5121_xor_syndrome() local 174 u8 *p, *q; in raid6_avx5122_gen_syndrome() local 225 : "m" (p[d]), "m" (p[d+64]), "m" (q[d]), in raid6_avx5122_gen_syndrome() 237 u8 *p, *q; in raid6_avx5122_xor_syndrome() local 258 "m" (p[d]), "m" (p[d+64])); in raid6_avx5122_xor_syndrome() 333 u8 *p, *q; in raid6_avx5124_gen_syndrome() local 414 : "m" (p[d]), "m" (p[d+64]), "m" (p[d+128]), in raid6_avx5124_gen_syndrome() 427 u8 *p, *q; in raid6_avx5124_xor_syndrome() local 455 "m" (p[d]), "m" (p[d+64]), "m" (p[d+128]), in raid6_avx5124_xor_syndrome() [all …]
|
/openbmc/u-boot/tools/gdb/ |
H A D | remote.c | 428 char *p; in check_binary_download() local 433 p += hexnumstr (p, (ULONGEST) addr); in check_binary_download() 435 p += hexnumstr (p, (ULONGEST) 0); in check_binary_download() 510 p += hexnumstr ((char *)p, (ULONGEST) memaddr); 514 p += hexnumstr ((char *)p, (ULONGEST) todo); 564 *p = '\0'; 641 char *p; local 649 p = buf2; 650 *p++ = '$'; 657 *p++ = '#'; [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_lag.c | 10 int p, lag, i; in lan966x_lag_set_aggr_pgids() local 13 for (p = 0; p < lan966x->num_phys_ports; ++p) in lan966x_lag_set_aggr_pgids() 17 for (p = PGID_AGGR; p < PGID_SRC; ++p) in lan966x_lag_set_aggr_pgids() 29 for (p = 0; p < lan966x->num_phys_ports; ++p) { in lan966x_lag_set_aggr_pgids() 81 for (p = lag; p < lan966x->num_phys_ports; p++) { in lan966x_lag_set_aggr_pgids() 98 int p; in lan966x_lag_set_port_ids() local 100 for (p = 0; p < lan966x->num_phys_ports; ++p) { in lan966x_lag_set_port_ids() 192 int p; in lan966x_lag_port_check_hash_types() local 194 for (p = 0; p < lan966x->num_phys_ports; ++p) { in lan966x_lag_port_check_hash_types() 353 int p; in lan966x_lag_get_mask() local [all …]
|
/openbmc/u-boot/net/ |
H A D | nfs.c | 167 return p; in rpc_add_credentials() 177 uint32_t *p; in rpc_req() local 242 uint32_t *p; in nfs_mount_req() local 249 p = rpc_add_credentials(p); in nfs_mount_req() 268 uint32_t *p; in nfs_umountall_req() local 276 p = rpc_add_credentials(p); in nfs_umountall_req() 297 p = rpc_add_credentials(p); in nfs_readlink_req() 326 p = rpc_add_credentials(p); in nfs_lookup_req() 366 p = rpc_add_credentials(p); in nfs_read_req() 373 *p++ = 0; in nfs_read_req() [all …]
|
/openbmc/linux/drivers/watchdog/ |
H A D | riowd.c | 72 writeb(index, p->regs + 0); in riowd_writereg() 73 writeb(val, p->regs + 1); in riowd_writereg() 96 struct riowd *p = riowd_device; in riowd_ioctl() local 179 struct riowd *p; in riowd_probe() local 186 p = devm_kzalloc(&op->dev, sizeof(*p), GFP_KERNEL); in riowd_probe() 187 if (!p) in riowd_probe() 190 spin_lock_init(&p->lock); in riowd_probe() 193 if (!p->regs) { in riowd_probe() 198 riowd_device = p; in riowd_probe() 207 riowd_timeout, p->regs); in riowd_probe() [all …]
|
/openbmc/qemu/hw/usb/ |
H A D | dev-storage.c | 214 len = p->iov.size - p->actual_length; in usb_msd_copy_data() 254 if (p) { in usb_msd_transfer_data() 256 p = s->packet; in usb_msd_transfer_data() 257 if (p && p->actual_length == p->iov.size) { in usb_msd_transfer_data() 287 int len = (p->iov.size - p->actual_length); in usb_msd_command_complete() 413 switch (p->pid) { in usb_msd_handle_data() 468 len = p->iov.size - p->actual_length; in usb_msd_handle_data() 480 if (p->actual_length < p->iov.size) { in usb_msd_handle_data() 503 s->packet = p; in usb_msd_handle_data() 529 len = p->iov.size - p->actual_length; in usb_msd_handle_data() [all …]
|
/openbmc/qemu/tests/tcg/arm/ |
H A D | float_madds.ref | 44 …32(-0x1.50544400000000000000p-66:0x9ea82a22) * f32(-0x1.00000000000000000000p-126:0x80800000) + f3… 46 …32(-0x1.00000000000000000000p-126:0x80800000) * f32(0x0.00000000000000000000p+0:0000000000) + f32(… 48 …f32(0x0.00000000000000000000p+0:0000000000) * f32(-0x1.50544400000000000000p-66:0x9ea82a22) + f32(… 50 …f32(-0x1.00000000000000000000p-126:0x80800000) * f32(0x0.00000000000000000000p+0:0000000000) + f32… 52 …f32(0x0.00000000000000000000p+0:0000000000) * f32(0x1.00000000000000000000p-126:0x00800000) + f32(… 56 … f32(0x0.00000000000000000000p+0:0000000000) * f32(0x1.00000000000000000000p-126:0x00800000) + f32… 58 …f32(0x1.00000000000000000000p-126:0x00800000) * f32(0x1.00000000000000000000p-25:0x33000000) + f32… 60 … f32(0x1.00000000000000000000p-25:0x33000000) * f32(0x0.00000000000000000000p+0:0000000000) + f32(… 92 …: f32(0x1.00000000000000000000p+0:0x3f800000) * f32(0x1.00400000000000000000p+0:0x3f802000) + f32(… 94 …: f32(0x1.00400000000000000000p+0:0x3f802000) * f32(0x1.00000000000000000000p+1:0x40000000) + f32(… [all …]
|
/openbmc/qemu/tests/tcg/aarch64/ |
H A D | float_madds.ref | 44 …32(-0x1.50544400000000000000p-66:0x9ea82a22) * f32(-0x1.00000000000000000000p-126:0x80800000) + f3… 46 …32(-0x1.00000000000000000000p-126:0x80800000) * f32(0x0.00000000000000000000p+0:0000000000) + f32(… 48 …f32(0x0.00000000000000000000p+0:0000000000) * f32(-0x1.50544400000000000000p-66:0x9ea82a22) + f32(… 50 …f32(-0x1.00000000000000000000p-126:0x80800000) * f32(0x0.00000000000000000000p+0:0000000000) + f32… 52 …f32(0x0.00000000000000000000p+0:0000000000) * f32(0x1.00000000000000000000p-126:0x00800000) + f32(… 56 … f32(0x0.00000000000000000000p+0:0000000000) * f32(0x1.00000000000000000000p-126:0x00800000) + f32… 58 …f32(0x1.00000000000000000000p-126:0x00800000) * f32(0x1.00000000000000000000p-25:0x33000000) + f32… 60 … f32(0x1.00000000000000000000p-25:0x33000000) * f32(0x0.00000000000000000000p+0:0000000000) + f32(… 92 …: f32(0x1.00000000000000000000p+0:0x3f800000) * f32(0x1.00400000000000000000p+0:0x3f802000) + f32(… 94 …: f32(0x1.00400000000000000000p+0:0x3f802000) * f32(0x1.00000000000000000000p+1:0x40000000) + f32(… [all …]
|
/openbmc/qemu/tests/tcg/hexagon/ |
H A D | float_madds.ref | 44 …32(-0x1.50544400000000000000p-66:0x9ea82a22) * f32(-0x1.00000000000000000000p-126:0x80800000) + f3… 46 …32(-0x1.00000000000000000000p-126:0x80800000) * f32(0x0.00000000000000000000p+0:0000000000) + f32(… 48 …f32(0x0.00000000000000000000p+0:0000000000) * f32(-0x1.50544400000000000000p-66:0x9ea82a22) + f32(… 50 …f32(-0x1.00000000000000000000p-126:0x80800000) * f32(0x0.00000000000000000000p+0:0000000000) + f32… 52 …f32(0x0.00000000000000000000p+0:0000000000) * f32(0x1.00000000000000000000p-126:0x00800000) + f32(… 56 … f32(0x0.00000000000000000000p+0:0000000000) * f32(0x1.00000000000000000000p-126:0x00800000) + f32… 58 …f32(0x1.00000000000000000000p-126:0x00800000) * f32(0x1.00000000000000000000p-25:0x33000000) + f32… 60 … f32(0x1.00000000000000000000p-25:0x33000000) * f32(0x0.00000000000000000000p+0:0000000000) + f32(… 92 …: f32(0x1.00000000000000000000p+0:0x3f800000) * f32(0x1.00400000000000000000p+0:0x3f802000) + f32(… 94 …: f32(0x1.00400000000000000000p+0:0x3f802000) * f32(0x1.00000000000000000000p+1:0x40000000) + f32(… [all …]
|
/openbmc/qemu/tests/tcg/ppc64le/ |
H A D | float_madds.ref | 44 …32(-0x1.50544400000000000000p-66:0x9ea82a22) * f32(-0x1.00000000000000000000p-126:0x80800000) + f3… 46 …32(-0x1.00000000000000000000p-126:0x80800000) * f32(0x0.00000000000000000000p+0:0000000000) + f32(… 48 …f32(0x0.00000000000000000000p+0:0000000000) * f32(-0x1.50544400000000000000p-66:0x9ea82a22) + f32(… 50 …f32(-0x1.00000000000000000000p-126:0x80800000) * f32(0x0.00000000000000000000p+0:0000000000) + f32… 52 …f32(0x0.00000000000000000000p+0:0000000000) * f32(0x1.00000000000000000000p-126:0x00800000) + f32(… 56 … f32(0x0.00000000000000000000p+0:0000000000) * f32(0x1.00000000000000000000p-126:0x00800000) + f32… 58 …f32(0x1.00000000000000000000p-126:0x00800000) * f32(0x1.00000000000000000000p-25:0x33000000) + f32… 60 … f32(0x1.00000000000000000000p-25:0x33000000) * f32(0x0.00000000000000000000p+0:0000000000) + f32(… 92 …: f32(0x1.00000000000000000000p+0:0x3f800000) * f32(0x1.00400000000000000000p+0:0x3f802000) + f32(… 94 …: f32(0x1.00400000000000000000p+0:0x3f802000) * f32(0x1.00000000000000000000p+1:0x40000000) + f32(… [all …]
|
/openbmc/qemu/tests/tcg/loongarch64/ |
H A D | float_madds.ref | 44 …32(-0x1.50544400000000000000p-66:0x9ea82a22) * f32(-0x1.00000000000000000000p-126:0x80800000) + f3… 46 …32(-0x1.00000000000000000000p-126:0x80800000) * f32(0x0.00000000000000000000p+0:0000000000) + f32(… 48 …f32(0x0.00000000000000000000p+0:0000000000) * f32(-0x1.50544400000000000000p-66:0x9ea82a22) + f32(… 50 …f32(-0x1.00000000000000000000p-126:0x80800000) * f32(0x0.00000000000000000000p+0:0000000000) + f32… 52 …f32(0x0.00000000000000000000p+0:0000000000) * f32(0x1.00000000000000000000p-126:0x00800000) + f32(… 56 … f32(0x0.00000000000000000000p+0:0000000000) * f32(0x1.00000000000000000000p-126:0x00800000) + f32… 58 …f32(0x1.00000000000000000000p-126:0x00800000) * f32(0x1.00000000000000000000p-25:0x33000000) + f32… 60 … f32(0x1.00000000000000000000p-25:0x33000000) * f32(0x0.00000000000000000000p+0:0000000000) + f32(… 92 …: f32(0x1.00000000000000000000p+0:0x3f800000) * f32(0x1.00400000000000000000p+0:0x3f802000) + f32(… 94 …: f32(0x1.00400000000000000000p+0:0x3f802000) * f32(0x1.00000000000000000000p+1:0x40000000) + f32(… [all …]
|
/openbmc/linux/kernel/ |
H A D | fork.c | 2325 if (!p) in copy_process() 2342 strscpy_pad(p->comm, args->name, sizeof(p->comm)); in copy_process() 2390 p->utime = p->stime = p->gtime = 0; in copy_process() 2392 p->utimescaled = p->stimescaled = 0; in copy_process() 2407 memset(&p->rss_stat, 0, sizeof(p->rss_stat)); in copy_process() 2429 p->mempolicy = mpol_dup(p->mempolicy); in copy_process() 2442 memset(&p->irqtrace, 0, sizeof(p->irqtrace)); in copy_process() 2567 p->group_leader = p; in copy_process() 2568 p->tgid = p->pid; in copy_process() 2732 return p; in copy_process() [all …]
|
/openbmc/linux/include/asm-generic/ |
H A D | barrier.h | 143 WRITE_ONCE(*p, v); \ 150 __unqual_scalar_typeof(*p) ___p1 = READ_ONCE(*p); \ 153 (typeof(*p))___p1; \ 172 #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0) argument 176 #define smp_load_acquire(p) __smp_load_acquire(p) argument 198 WRITE_ONCE(*p, v); \ 203 #define smp_load_acquire(p) \ argument 205 __unqual_scalar_typeof(*p) ___p1 = READ_ONCE(*p); \ 208 (typeof(*p))___p1; \ 221 #define virt_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0) argument [all …]
|
/openbmc/linux/tools/arch/arm64/include/asm/ |
H A D | barrier.h | 32 switch (sizeof(*p)) { \ 35 : "=Q" (*p) \ 41 : "=Q" (*p) \ 47 : "=Q" (*p) \ 53 : "=Q" (*p) \ 64 #define smp_load_acquire(p) \ argument 69 switch (sizeof(*p)) { \ 73 : "Q" (*p) : "memory"); \ 78 : "Q" (*p) : "memory"); \ 83 : "Q" (*p) : "memory"); \ [all …]
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | debugfs.c | 76 if (!p) in mwifiex_info_read() 89 p += sprintf(p, "driver_version = %s", fmt); in mwifiex_info_read() 98 p += sprintf(p, "media_state=\"%s\"\n", in mwifiex_info_read() 110 p += sprintf(p, "region_code=\"0x%x\"\n", in mwifiex_info_read() 128 p += sprintf(p, "tx queue"); in mwifiex_info_read() 134 p += sprintf(p, "\n"); in mwifiex_info_read() 184 p += sprintf(p, "\n" in mwifiex_getlog_read() 263 p += sprintf(p, "\n" in mwifiex_histogram_read() 267 p += sprintf(p, in mwifiex_histogram_read() 272 p += sprintf(p, in mwifiex_histogram_read() [all …]
|
/openbmc/u-boot/drivers/power/ |
H A D | power_fsl.c | 29 struct pmic *p = pmic_alloc(); in pmic_init() local 31 if (!p) { in pmic_init() 36 p->name = name; in pmic_init() 37 p->number_of_regs = PMIC_NUM_OF_REGS; in pmic_init() 38 p->bus = bus; in pmic_init() 41 p->interface = PMIC_SPI; in pmic_init() 42 p->hw.spi.cs = CONFIG_FSL_PMIC_CS; in pmic_init() 43 p->hw.spi.clk = CONFIG_FSL_PMIC_CLK; in pmic_init() 44 p->hw.spi.mode = CONFIG_FSL_PMIC_MODE; in pmic_init() 49 p->interface = PMIC_I2C; in pmic_init() [all …]
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | kprobes-ftrace.c | 19 struct kprobe *p; in kprobe_ftrace_handler() local 32 p = get_kprobe((kprobe_opcode_t *)nip); in kprobe_ftrace_handler() 33 if (unlikely(!p) || kprobe_disabled(p)) in kprobe_ftrace_handler() 38 kprobes_inc_nmissed_count(p); in kprobe_ftrace_handler() 46 __this_cpu_write(current_kprobe, p); in kprobe_ftrace_handler() 48 if (!p->pre_handler || !p->pre_handler(p, regs)) { in kprobe_ftrace_handler() 54 if (unlikely(p->post_handler)) { in kprobe_ftrace_handler() 56 p->post_handler(p, regs, 0); in kprobe_ftrace_handler() 70 int arch_prepare_kprobe_ftrace(struct kprobe *p) in arch_prepare_kprobe_ftrace() argument 72 p->ainsn.insn = NULL; in arch_prepare_kprobe_ftrace() [all …]
|
/openbmc/linux/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | trace.c | 73 return p; in trace_alloc() 90 u64 *p; in trace_log_reg() local 98 *p++ = reg; in trace_log_reg() 107 u64 *p; in trace_log_counter() local 123 char *p; in trace_log_string() local 136 p += len; in trace_log_string() 137 *p = '\0'; in trace_log_string() 206 reg = p++; in trace_print_reg() 207 value = p; in trace_print_reg() 273 void *p; in trace_buffer_print() local [all …]
|