/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_vm_sdma.c | 56 struct drm_sched_entity *entity = p->immediate ? &p->vm->immediate in amdgpu_vm_sdma_alloc_job() 57 : &p->vm->delayed; in amdgpu_vm_sdma_alloc_job() 63 if (p->pages_addr) in amdgpu_vm_sdma_alloc_job() 72 p->num_dw_left = ndw; in amdgpu_vm_sdma_alloc_job() 101 r = amdgpu_sync_resv(p->adev, &sync, resv, sync_mode, p->vm); in amdgpu_vm_sdma_prepare() 107 p->num_dw_left = 0; in amdgpu_vm_sdma_prepare() 108 amdgpu_job_free(p->job); in amdgpu_vm_sdma_prepare() 137 if (p->unlocked) { in amdgpu_vm_sdma_commit() 257 ndw = p->num_dw_left; in amdgpu_vm_sdma_update() 270 if (!p->pages_addr) { in amdgpu_vm_sdma_update() [all …]
|
/openbmc/qemu/hw/intc/ |
H A D | xilinx_intc.c | 71 p->regs[R_ISR] |= p->irq_pin_state & ~p->c_kind_of_intr; in update_irq() 75 p->regs[R_IPR] = p->regs[R_ISR] & p->regs[R_IER]; in update_irq() 86 p->regs[R_IVR] = i; in update_irq() 87 qemu_set_irq(p->parent_irq, (p->regs[R_MER] & 1) && p->regs[R_IPR]); in update_irq() 92 XpsIntc *p = opaque; in pic_read() local 111 XpsIntc *p = opaque; in pic_write() local 140 update_irq(p); in pic_write() 155 XpsIntc *p = opaque; in irq_handler() local 158 if (p->c_kind_of_intr & (1 << irq) && p->regs[R_MER] & 2) { in irq_handler() 164 update_irq(p); in irq_handler() [all …]
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | cmpxchg.h | 23 p -= off; \ 48 p -= off; \ 96 : "r" (p), "r" (val) in __xchg_u8_local() 111 : "=&r" (prev), "+m" (*p) in __xchg_u8_relaxed() 112 : "r" (p), "r" (val) in __xchg_u8_relaxed() 128 : "r" (p), "r" (val) in __xchg_u16_local() 144 : "r" (p), "r" (val) in __xchg_u16_relaxed() 161 : "r" (p), "r" (val) in __xchg_u32_local() 177 : "r" (p), "r" (val) in __xchg_u32_relaxed() 194 : "r" (p), "r" (val) in __xchg_u64_local() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
H A D | fs_tracepoint.c | 174 p, "%u"); in print_misc_parameters_hdrs() 178 p, "%u"); in print_misc_parameters_hdrs() 195 p, "%x"); in print_misc_parameters_hdrs() 197 p, "%x"); in print_misc_parameters_hdrs() 213 trace_seq_printf(p, "[outer] "); in parse_fs_hdrs() 219 trace_seq_printf(p, "[misc] "); in parse_fs_hdrs() 224 trace_seq_printf(p, "[inner] "); in parse_fs_hdrs() 227 trace_seq_putc(p, 0); in parse_fs_hdrs() 271 trace_seq_printf(p, "port\n"); in parse_fs_dst() 283 trace_seq_printf(p, "none\n"); in parse_fs_dst() [all …]
|
/openbmc/u-boot/net/ |
H A D | dns.c | 41 uchar *p, *pkt; in dns_send() local 48 p = pkt; in dns_send() 71 p += n; in dns_send() 84 *p++ = 0; in dns_send() 137 for (p = s; p < e && *p != '\0'; p++) in dns_handler() 141 if (&p[5] > e || get_unaligned_be16(p+1) != DNS_A_RECORD) { in dns_handler() 148 p += 5; in dns_handler() 154 while (*p && &p[12] < e) in dns_handler() 155 p++; in dns_handler() 156 p--; in dns_handler() [all …]
|
/openbmc/linux/drivers/pci/controller/ |
H A D | pci-ixp4xx.c | 152 if (p->errata_hammer) { in ixp4xx_pci_read_indirect() 383 struct device *dev = p->dev; in ixp4xx_pci_parse_map_ranges() 490 dev_err(p->dev, in ixp4xx_pci_abort_handler() 517 struct ixp4xx_pci *p; in ixp4xx_pci_probe() local 536 host->sysdata = p; in ixp4xx_pci_probe() 537 p->dev = dev; in ixp4xx_pci_probe() 538 dev_set_drvdata(dev, p); in ixp4xx_pci_probe() 545 p->errata_hammer = true; in ixp4xx_pci_probe() 550 if (IS_ERR(p->base)) in ixp4xx_pci_probe() 551 return PTR_ERR(p->base); in ixp4xx_pci_probe() [all …]
|
/openbmc/qemu/io/ |
H A D | trace-events | 4 …(void *task, void *source, void *func, void *opaque) "Task new task=%p source=%p func=%p opaque=%p" 6 …hread_start(void *task, void *worker, void *opaque) "Task thread start task=%p worker=%p opaque=%p" 10 …o_task_thread_source_attach(void *task, void *source) "Task thread source attach task=%p source=%p" 11 …o_task_thread_source_cancel(void *task, void *source) "Task thread source cancel task=%p source=%p" 19 qio_channel_socket_connect_sync(void *ioc, void *addr) "Socket connect sync ioc=%p addr=%p" 20 qio_channel_socket_connect_async(void *ioc, void *addr) "Socket connect async ioc=%p addr=%p" 27 …void *ioc, void *localAddr, void *remoteAddr) "Socket dgram sync ioc=%p localAddr=%p remoteAddr=%p" 28 …oid *ioc, void *localAddr, void *remoteAddr) "Socket dgram async ioc=%p localAddr=%p remoteAddr=%p" 40 … *master, void *creds, const char *hostname) "TLS new client ioc=%p master=%p creds=%p hostname=%s" 41 …d *master, void *creds, const char *aclname) "TLS new client ioc=%p master=%p creds=%p acltname=%s" [all …]
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | controlfb.c | 260 out_le32(CNTRL_REG(p,vram_attr), p->vram_attr); in control_set_hardware() 271 p->par.xres, p->par.yres, in control_set_hardware() 869 control_init_info(&p->info, p); in init_control() 909 if (!p) in control_cleanup() 926 release_mem_region(p->fb_orig_base, p->fb_orig_size); in control_cleanup() 927 kfree(p); in control_cleanup() 948 p = kzalloc(sizeof(*p), GFP_KERNEL); in control_of_init() 949 if (!p) in control_of_init() 975 p->control_regs = ioremap(p->control_regs_phys, p->control_regs_size); in control_of_init() 982 p->cmap_regs = ioremap(p->cmap_regs_phys, 0x1000); in control_of_init() [all …]
|
H A D | asiliantfb.c | 176 unsigned hs = (p->var.xres + p->var.right_margin) / 8; in asiliant_set_timing() 177 unsigned he = (p->var.xres + p->var.right_margin + p->var.hsync_len) / 8; in asiliant_set_timing() 178 unsigned ht = (p->var.left_margin + p->var.xres + p->var.right_margin + p->var.hsync_len) / 8; in asiliant_set_timing() 180 unsigned vs = p->var.yres + p->var.lower_margin; in asiliant_set_timing() 181 unsigned ve = p->var.yres + p->var.lower_margin + p->var.vsync_len; in asiliant_set_timing() 182 unsigned vt = p->var.upper_margin + p->var.yres + p->var.lower_margin + p->var.vsync_len; in asiliant_set_timing() 185 if ((p->var.xres == 640) && (p->var.yres == 480) && (p->var.pixclock == 39722)) { in asiliant_set_timing() 298 p->fix.line_length = p->var.xres * (p->var.bits_per_pixel >> 3); in asiliantfb_set_par() 560 if (!p) { in asiliantfb_pci_init() 564 p->pseudo_palette = p->par; in asiliantfb_pci_init() [all …]
|
/openbmc/linux/include/net/ |
H A D | red.h | 238 p->Wlog = Wlog; in red_set_parms() 239 p->Plog = Plog; in red_set_parms() 247 p->max_P = max_P; in red_set_parms() 264 memcpy(p->Stab, stab, sizeof(p->Stab)); in red_set_parms() 316 shift = p->Stab[(us_idle >> p->Scell_log) & RED_STAB_MASK]; in red_calc_qavg_from_idle_time() 389 return !(((qavg - p->qth_min) >> p->Wlog) * v->qcount < v->qR); in red_mark_probability() 456 if (qavg > p->target_max && p->max_P <= MAX_P_MAX) in red_adaptative_algo() 457 p->max_P += MAX_P_ALPHA(p->max_P); /* maxp = maxp + alpha */ in red_adaptative_algo() 458 else if (qavg < p->target_min && p->max_P >= MAX_P_MIN) in red_adaptative_algo() 459 p->max_P = (p->max_P/10)*9; /* maxp = maxp * Beta */ in red_adaptative_algo() [all …]
|
/openbmc/linux/drivers/parport/ |
H A D | parport_mfc3.c | 86 pia(p)->pprb = data; in mfc3_write_data() 92 return pia(p)->pprb; in mfc3_read_data() 127 pia(p)->ppra = (pia(p)->ppra & 0x1f) | control_pc_to_mfc3(control); in mfc3_write_control() 227 pia(p)->crb |= PIA_DDR; in mfc3_save_state() 231 pia(p)->cra |= PIA_DDR; in mfc3_save_state() 239 pia(p)->crb |= PIA_DDR; in mfc3_restore_state() 243 pia(p)->cra |= PIA_DDR; in mfc3_restore_state() 286 struct parport *p; in parport_mfc3_init() local 312 if (!p) in parport_mfc3_init() 320 p->dev = &z->dev; in parport_mfc3_init() [all …]
|
/openbmc/u-boot/drivers/power/fuel_gauge/ |
H A D | fg_max17042.c | 199 if (pmic_probe(p)) { in power_update_battery() 212 pmic_reg_read(p, 0x05, &val); in power_update_battery() 224 if (pmic_probe(p)) { in power_check_battery() 233 por_fuelgauge_init(p); in power_check_battery() 238 power_update_battery(p, bat); in power_check_battery() 268 if (!p) { in power_fg_init() 275 p->name = name; in power_fg_init() 276 p->interface = PMIC_I2C; in power_fg_init() 279 p->hw.i2c.tx_num = 2; in power_fg_init() 281 p->bus = bus; in power_fg_init() [all …]
|
/openbmc/linux/fs/nfs/ |
H A D | callback_xdr.c | 89 __be32 *p; in decode_fh() local 107 __be32 *p; in decode_bitmap() local 126 __be32 *p; in decode_stateid() local 248 p = xdr_decode_hyper(p, &args->cbl_fsid.major); in decode_layoutrecall_args() 249 p = xdr_decode_hyper(p, &args->cbl_fsid.minor); in decode_layoutrecall_args() 532 p++; in decode_write_response() 538 p = xdr_decode_hyper(p, &args->wr_count); in decode_write_response() 581 p = xdr_decode_hyper(p, &args->wr_count); in decode_offload_args() 611 p = xdr_encode_hyper(p, change); in encode_attr_change() 624 p = xdr_encode_hyper(p, size); in encode_attr_size() [all …]
|
H A D | nfs2xdr.c | 100 __be32 *p; in decode_nfsdata() local 144 __be32 *p; in decode_stat() local 177 return p; in xdr_decode_ftype() 220 return p; in xdr_encode_time() 235 return p; in xdr_encode_current_server_time() 242 return p; in xdr_decode_time() 278 p = xdr_decode_ftype(p, &type); in decode_fattr() 304 p = xdr_decode_time(p, &fattr->atime); in decode_fattr() 305 p = xdr_decode_time(p, &fattr->mtime); in decode_fattr() 365 p = xdr_encode_time(p, &attr->ia_atime); in encode_sattr() [all …]
|
/openbmc/linux/arch/csky/kernel/probes/ |
H A D | kprobes.c | 58 p->ainsn.api.restore = (unsigned long)p->addr + offset; in arch_prepare_ss_slot() 60 patch_text(p->ainsn.api.insn, p->opcode); in arch_prepare_ss_slot() 73 p->ainsn.api.handler((u32)p->opcode, (long)p->addr, regs); in arch_simulate_insn() 86 p->opcode = le32_to_cpu(*p->addr); in arch_prepare_kprobe() 89 switch (csky_probe_decode_insn(p->addr, &p->ainsn.api)) { in arch_prepare_kprobe() 99 if (!p->ainsn.api.insn) in arch_prepare_kprobe() 105 if (p->ainsn.api.insn) in arch_prepare_kprobe() 122 patch_text(p->addr, p->opcode); in arch_disarm_kprobe() 233 dump_kprobe(p); in reenter_kprobe() 322 if (p) { in kprobe_breakpoint_handler() [all …]
|
/openbmc/linux/drivers/soc/fsl/dpio/ |
H A D | qbman-portal.c | 254 if (!p) in qbman_swp_init() 321 kfree(p); in qbman_swp_init() 354 p->eqcr.pi = eqcr_pi & p->eqcr.pi_ci_mask; in qbman_swp_init() 358 p->eqcr.available = p->eqcr.pi_ring_size; in qbman_swp_init() 363 return p; in qbman_swp_init() 373 kfree(p); in qbman_swp_finish() 1564 if (!p) in qbman_swp_acquire() 1621 if (!p) in qbman_swp_alt_fq_state() 1675 if (!p) in qbman_swp_CDAN_set() 1724 if (!p) in qbman_fq_query_state() [all …]
|
/openbmc/linux/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_desc.h | 159 void (*init_tx_desc)(struct sxgbe_tx_norm_desc *p); 174 void (*set_tx_owner)(struct sxgbe_tx_norm_desc *p); 177 int (*get_tx_owner)(struct sxgbe_tx_norm_desc *p); 180 void (*close_tx_desc)(struct sxgbe_tx_norm_desc *p); 188 void (*clear_tx_ic)(struct sxgbe_tx_norm_desc *p); 191 int (*get_tx_ls)(struct sxgbe_tx_norm_desc *p); 194 int (*get_tx_len)(struct sxgbe_tx_norm_desc *p); 253 int (*get_rx_owner)(struct sxgbe_rx_norm_desc *p); 256 void (*set_rx_owner)(struct sxgbe_rx_norm_desc *p); 271 int (*rx_wbstatus)(struct sxgbe_rx_norm_desc *p, [all …]
|
/openbmc/linux/lib/ |
H A D | xxhash.c | 117 p += 4; in xxh32() 119 p += 4; in xxh32() 137 p += 4; in xxh32() 143 p++; in xxh32() 214 p += 8; in xxh64() 220 p += 4; in xxh64() 226 p++; in xxh64() 331 memcpy(state->mem32, p, (size_t)(b_end-p)); in xxh32_update() 364 p++; in xxh32_digest() 436 memcpy(state->mem64, p, (size_t)(b_end-p)); in xxh64_update() [all …]
|
/openbmc/linux/arch/arm64/kernel/probes/ |
H A D | kprobes.c | 73 p->ainsn.api.restore = (unsigned long) p->addr + in arch_prepare_ss_slot() 88 p->ainsn.api.handler((u32)p->opcode, (long)p->addr, regs); in arch_simulate_insn() 102 p->opcode = le32_to_cpu(*p->addr); in arch_prepare_kprobe() 108 switch (arm_kprobe_decode_insn(p->addr, &p->ainsn)) { in arch_prepare_kprobe() 118 if (!p->ainsn.api.insn) in arch_prepare_kprobe() 124 if (p->ainsn.api.insn) in arch_prepare_kprobe() 142 void *addr = p->addr; in arch_arm_kprobe() 151 void *addr = p->addr; in arch_disarm_kprobe() 208 set_current_kprobe(p); in setup_singlestep() 240 dump_kprobe(p); in reenter_kprobe() [all …]
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | v4l2-vp9.c | 1218 p[n] = update_prob(d[n], p[n]); in update_coeff() 1259 p[0] = update_prob(d[0], p[0]); in update_inter_mode_probs() 1260 p[1] = update_prob(d[1], p[1]); in update_inter_mode_probs() 1261 p[2] = update_prob(d[2], p[2]); in update_inter_mode_probs() 1275 p[0] = update_prob(d[0], p[0]); in update_interp_filter_probs() 1276 p[1] = update_prob(d[1], p[1]); in update_interp_filter_probs() 1310 p[0] = update_prob(d[0], p[0]); in update_frame_reference_mode_probs() 1311 p[1] = update_prob(d[1], p[1]); in update_frame_reference_mode_probs() 1342 p[0] = update_prob(d[0], p[0]); in update_partition_probs() 1343 p[1] = update_prob(d[1], p[1]); in update_partition_probs() [all …]
|
/openbmc/qemu/util/ |
H A D | trace-events | 12 aio_co_schedule(void *ctx, void *co) "ctx %p co %p" 13 aio_co_schedule_bh_cb(void *ctx, void *co) "ctx %p co %p" 17 thread_pool_submit(void *pool, void *req, void *opaque) "pool %p req %p opaque %p" 18 thread_pool_complete(void *pool, void *req, void *opaque, int ret) "pool %p req %p opaque %p ret %d" 19 thread_pool_cancel(void *req, void *opaque) "req %p opaque %p" 37 …aio_coroutine_enter(void *ctx, void *from, void *to, void *opaque) "ctx %p from %p to %p opaque %p" 38 qemu_coroutine_yield(void *from, void *to) "from %p to %p" 57 win32_map_free(void *ptr, void *h) "ptr:%p handle:%p" 86 qemu_vfio_ram_block_added(void *s, void *p, size_t size) "s %p host %p size 0x%zx" 87 qemu_vfio_ram_block_removed(void *s, void *p, size_t size) "s %p host %p size 0x%zx" [all …]
|
/openbmc/linux/net/bridge/ |
H A D | br_stp_timer.c | 19 struct net_bridge_port *p; in br_is_designated_for_some_port() local 48 struct net_bridge_port *p = from_timer(p, t, message_age_timer); in br_message_age_timer_expired() local 57 (unsigned int) p->port_no, p->dev->name, in br_message_age_timer_expired() 81 struct net_bridge_port *p = from_timer(p, t, forward_delay_timer); in br_forward_delay_timer_expired() local 85 (unsigned int) p->port_no, p->dev->name); in br_forward_delay_timer_expired() 130 struct net_bridge_port *p = from_timer(p, t, hold_timer); in br_hold_timer_expired() local 133 (unsigned int) p->port_no, p->dev->name); in br_hold_timer_expired() 135 spin_lock(&p->br->lock); in br_hold_timer_expired() 136 if (p->config_pending) in br_hold_timer_expired() 137 br_transmit_config(p); in br_hold_timer_expired() [all …]
|
/openbmc/linux/drivers/firmware/ |
H A D | edd.c | 137 p += scnprintf(p, left, " "); in edd_show_host_bus() 147 p += scnprintf(p, left, in edd_show_host_bus() 155 p += scnprintf(p, left, in edd_show_host_bus() 160 p += scnprintf(p, left, "\tunknown: %llx\n", in edd_show_host_bus() 183 p += scnprintf(p, left, " "); in edd_show_interface() 191 p += scnprintf(p, left, "\tdevice: %u\n", in edd_show_interface() 201 p += scnprintf(p, left, "\teui: %llx\n", in edd_show_interface() 214 p += scnprintf(p, left, "\tdevice: %u\n", in edd_show_interface() 319 p += scnprintf(p, left, "removable\n"); in edd_show_info_flags() 321 p += scnprintf(p, left, "write verify\n"); in edd_show_info_flags() [all …]
|
/openbmc/phosphor-host-ipmid/test/message/ |
H A D | unpack.cpp | 27 ASSERT_EQ(p.unpack(v), 0); in TEST() 41 ASSERT_EQ(p.unpack(v), 0); in TEST() 55 ASSERT_NE(p.unpack(v), 0); in TEST() 68 ASSERT_EQ(p.unpack(v), 0); in TEST() 82 ASSERT_EQ(p.unpack(v), 0); in TEST() 96 ASSERT_NE(p.unpack(v), 0); in TEST() 109 ASSERT_EQ(p.unpack(v), 0); in TEST() 123 ASSERT_EQ(p.unpack(v), 0); in TEST() 137 ASSERT_NE(p.unpack(v), 0); in TEST() 150 ASSERT_EQ(p.unpack(v), 0); in TEST() [all …]
|
/openbmc/qemu/block/ |
H A D | trace-events | 10 blk_root_attach(void *child, void *blk, void *bs) "child %p blk %p bs %p" 11 blk_root_detach(void *child, void *blk, void *bs) "child %p blk %p bs %p" 23 stream_start(void *bs, void *base, void *s) "bs %p base %p s %p" 27 commit_start(void *bs, void *base, void *top, void *s) "bs %p base %p top %p s %p" 30 mirror_start(void *bs, void *s, void *opaque) "bs %p s %p opaque %p" 112 qed_alloc_l2_cache_entry(void *l2_cache, void *entry) "l2_cache %p entry %p" 117 qed_read_table(void *s, uint64_t offset, void *table) "s %p offset %"PRIu64" table %p" 118 qed_read_table_cb(void *s, void *table, int ret) "s %p table %p ret %d" 126 qed_aio_complete(void *s, void *acb, int ret) "s %p acb %p ret %d" 158 nvme_free_queue_pair(unsigned q_index, void *q, void *cq, void *sq) "index %u q %p cq %p sq %p" [all …]
|