/openbmc/linux/arch/mips/mm/ |
H A D | pgtable-64.c | 33 p[0] = entry; in pgd_init() 34 p[1] = entry; in pgd_init() 35 p[2] = entry; in pgd_init() 36 p[3] = entry; in pgd_init() 37 p[4] = entry; in pgd_init() 38 p += 8; in pgd_init() 39 p[-3] = entry; in pgd_init() 40 p[-2] = entry; in pgd_init() 41 p[-1] = entry; in pgd_init() 60 p += 8; in pmd_init() [all …]
|
/openbmc/u-boot/lib/lzma/ |
H A D | LzmaDec.c | 25 #define GET_BIT2(p, i, A0, A1) IF_BIT_0(p) \ argument 28 #define GET_BIT(p, i) GET_BIT2(p, i, ; , ;) argument 139 UInt32 rep0 = p->reps[0], rep1 = p->reps[1], rep2 = p->reps[2], rep3 = p->reps[3]; in LzmaDec_DecodeReal() 466 if (p->checkDicSize == 0 && p->prop.dicSize - p->processedPos <= len) in LzmaDec_WriteRem() 539 (p->dic[(p->dicPos == 0 ? p->dicBufSize : p->dicPos) - 1] >> (8 - p->prop.lc)))); in LzmaDec_TryDummy() 548 unsigned matchByte = p->dic[p->dicPos - p->reps[0] + in LzmaDec_TryDummy() 549 ((p->dicPos < p->reps[0]) ? p->dicBufSize : 0)]; in LzmaDec_TryDummy() 740 p->reps[0] = p->reps[1] = p->reps[2] = p->reps[3] = 1; in LzmaDec_InitStateReal() 770 LzmaDec_InitRc(p, p->tempBuf); in LzmaDec_DecodeToDic() 851 p->buf = p->tempBuf; in LzmaDec_DecodeToDic() [all …]
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | mca_drv.h | 43 #define peidx_head(p) (((p)->info)) argument 44 #define peidx_mid(p) (((p)->id)) argument 45 #define peidx_bottom(p) (((p)->regs)) argument 47 #define peidx_psp(p) (&(peidx_head(p)->proc_state_parameter)) argument 48 #define peidx_field_valid(p) (&(peidx_head(p)->valid)) argument 49 #define peidx_minstate_area(p) (&(peidx_bottom(p)->min_state_area)) argument 55 #define peidx_ms_check_num(p) (peidx_head(p)->valid.num_ms_check) argument 58 #define peidx_tlb_check_idx(p, n) (peidx_cache_check_idx(p, peidx_cache_check_num(p)) + n) argument 59 #define peidx_bus_check_idx(p, n) (peidx_tlb_check_idx(p, peidx_tlb_check_num(p)) + n) argument 60 #define peidx_reg_file_check_idx(p, n) (peidx_bus_check_idx(p, peidx_bus_check_num(p)) + n) argument [all …]
|
/openbmc/linux/drivers/net/ethernet/cavium/octeon/ |
H A D | octeon_mgmt.c | 236 p->rx_ring[p->rx_next_fill] = re.d64; in octeon_mgmt_rx_fill_ring() 276 re.d64 = p->tx_ring[p->tx_next_clean]; in octeon_mgmt_clean_tx_buffers() 378 re.d64 = p->rx_ring[p->rx_next]; in octeon_mgmt_dequeue_rx_buffer() 985 dma_map_single(p->dev, p->tx_ring, in octeon_mgmt_open() 998 dma_map_single(p->dev, p->rx_ring, in octeon_mgmt_open() 1228 dma_unmap_single(p->dev, p->rx_ring_handle, in octeon_mgmt_open() 1233 dma_unmap_single(p->dev, p->tx_ring_handle, in octeon_mgmt_open() 1309 p->tx_ring[p->tx_next] = re.d64; in octeon_mgmt_xmit() 1476 p->mix = (u64)devm_ioremap(&pdev->dev, p->mix_phys, p->mix_size); in octeon_mgmt_probe() 1477 p->agl = (u64)devm_ioremap(&pdev->dev, p->agl_phys, p->agl_size); in octeon_mgmt_probe() [all …]
|
/openbmc/linux/drivers/tty/vt/ |
H A D | conmakehash.c | 35 while (*p == ' ' || *p == '\t') in getunicode() 37 if (*p != 'U' || p[1] != '+' || in getunicode() 38 !isxdigit(p[2]) || !isxdigit(p[3]) || !isxdigit(p[4]) || in getunicode() 39 !isxdigit(p[5]) || isxdigit(p[6])) in getunicode() 134 while (*p == ' ' || *p == '\t') in main() 136 if (!*p || *p == '#') in main() 147 while (*p == ' ' || *p == '\t') in main() 182 while (*p == ' ' || *p == '\t') in main() 193 while (*p == ' ' || *p == '\t') in main() 229 while (*p == ' ' || *p == '\t') in main() [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | scsi_trace.c | 31 trace_seq_putc(p, 0); in scsi_trace_rw6() 51 trace_seq_putc(p, 0); in scsi_trace_rw10() 67 trace_seq_putc(p, 0); in scsi_trace_rw12() 88 trace_seq_putc(p, 0); in scsi_trace_rw16() 129 trace_seq_putc(p, 0); in scsi_trace_rw32() 141 trace_seq_putc(p, 0); in scsi_trace_unmap() 171 trace_seq_putc(p, 0); in scsi_trace_service_action_in() 217 trace_seq_putc(p, 0); in scsi_trace_maintenance_in() 257 trace_seq_putc(p, 0); in scsi_trace_maintenance_out() 288 trace_seq_putc(p, 0); in scsi_trace_zbc_in() [all …]
|
/openbmc/linux/drivers/net/ethernet/i825xx/ |
H A D | sun3_82586.c | 232 p->scp->iscp = make24(p->iscp); in check586() 262 p->scp->iscp = make24(p->iscp); in alloc586() 264 p->iscp->scb_offset = make16(p->scb); in alloc586() 668 p->rfd_top = p->rfd_first; in alloc_rfa() 669 p->rfd_last = p->rfd_first + (p->num_recv_buffs - 1 + rfdadd); in alloc_rfa() 822 p->rfd_last = p->rfd_top; in sun3_82586_rcv_int() 824 p->scb->rfa_offset = make16(p->rfd_top); in sun3_82586_rcv_int() 979 p->scb->cbl_offset = make16(p->nop_cmds[p->nop_point]); in sun3_82586_timeout() 1080 p->nop_cmds[p->nop_point]->cmd_link = make16((p->xmit_cmds[0])); in sun3_82586_send_packet() 1094 p->nop_cmds[p->xmit_count]->cmd_link = make16((p->xmit_cmds[p->xmit_count])); in sun3_82586_send_packet() [all …]
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_firewall.c | 191 if (p->netfn >= 0 && p->lun < 0) { in ipmi_firewall_parse_args() 195 if (p->command >= 0 && p->netfn < 0) { in ipmi_firewall_parse_args() 199 if (p->subfn >= 0 && p->command < 0) { in ipmi_firewall_parse_args() 821 if (p->lun >= 0 && p->lun != l) in _gather_info() 835 (p->netfn < 0 || bmc->lun[p->lun].netfn[p->netfn>>1].support))) { in _gather_info() 844 &(bmc->lun[p->lun].netfn[p->netfn>>1].command[p->command])); in _gather_info() 848 &(bmc->lun[p->lun].netfn[p->netfn>>1].command[p->command])); in _gather_info() 927 p.command, p.lun, p.netfn); in ipmi_firewall_info() 933 &bmc_fn_support->lun[p.lun].netfn[p.netfn>>1].command[p.command]; in ipmi_firewall_info() 938 p.lun, p.netfn, p.command, in ipmi_firewall_info() [all …]
|
/openbmc/linux/drivers/parport/ |
H A D | parport_gsc.h | 45 #define EPPDATA(p) ((p)->base + 0x4) argument 46 #define EPPADDR(p) ((p)->base + 0x3) argument 47 #define CONTROL(p) ((p)->base + 0x2) argument 48 #define STATUS(p) ((p)->base + 0x1) argument 49 #define DATA(p) ((p)->base + 0x0) argument 74 parport_writeb(d, DATA(p)); in parport_gsc_write_data() 127 p->name, p->cad->name); in parport_gsc_write_control() 128 parport_gsc_data_reverse (p); in parport_gsc_write_control() 156 p->name, p->cad->name, in parport_gsc_frob_control() 159 parport_gsc_data_reverse (p); in parport_gsc_frob_control() [all …]
|
H A D | parport_ip32.c | 290 #define pr_trace(p, fmt, ...) __pr_trace(pr_debug, p, fmt , ##__VA_ARGS__) argument 291 #define pr_trace1(p, fmt, ...) __pr_trace(pr_debug1, p, fmt , ##__VA_ARGS__) argument 1596 p->name, cnfga); in parport_ip32_get_fifo_residue() 1598 p->name); in parport_ip32_get_fifo_residue() 2078 if (request_irq(irq, parport_ip32_interrupt, 0, p->name, p)) { in parport_ip32_probe_port() 2084 p->irq = irq; in parport_ip32_probe_port() 2134 pr_info("%s: SGI IP32 at 0x%lx (0x%lx)", p->name, p->base, p->base_hi); in parport_ip32_probe_port() 2156 return p; in parport_ip32_probe_port() 2159 if (p) in parport_ip32_probe_port() 2182 free_irq(p->irq, p); in parport_ip32_unregister_port() [all …]
|
/openbmc/linux/drivers/gpu/drm/vboxvideo/ |
H A D | modesetting.c | 36 p = hgsmi_buffer_alloc(ctx, sizeof(*p), HGSMI_CH_VBVA, in hgsmi_process_display_info() 38 if (!p) in hgsmi_process_display_info() 46 p->width = width; in hgsmi_process_display_info() 49 p->flags = flags; in hgsmi_process_display_info() 74 p = hgsmi_buffer_alloc(ctx, sizeof(*p), HGSMI_CH_VBVA, in hgsmi_update_input_mapping() 76 if (!p) in hgsmi_update_input_mapping() 79 p->x = origin_x; in hgsmi_update_input_mapping() 81 p->cx = width; in hgsmi_update_input_mapping() 82 p->cy = height; in hgsmi_update_input_mapping() 107 p = hgsmi_buffer_alloc(ctx, sizeof(*p) + size, HGSMI_CH_VBVA, in hgsmi_get_mode_hints() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-debug.h | 181 #define IWL_DEBUG_RX(p, f, a...) IWL_DEBUG(p, IWL_DL_RX, f, ## a) argument 182 #define IWL_DEBUG_TX(p, f, a...) IWL_DEBUG(p, IWL_DL_TX, f, ## a) argument 183 #define IWL_DEBUG_ISR(p, f, a...) IWL_DEBUG(p, IWL_DL_ISR, f, ## a) argument 184 #define IWL_DEBUG_WEP(p, f, a...) IWL_DEBUG(p, IWL_DL_WEP, f, ## a) argument 185 #define IWL_DEBUG_HC(p, f, a...) IWL_DEBUG(p, IWL_DL_HCMD, f, ## a) argument 187 #define IWL_DEBUG_TE(p, f, a...) IWL_DEBUG(p, IWL_DL_TE, f, ## a) argument 190 #define IWL_DEBUG_FW(p, f, a...) IWL_DEBUG(p, IWL_DL_FW, f, ## a) argument 203 #define IWL_DEBUG_HT(p, f, a...) IWL_DEBUG(p, IWL_DL_HT, f, ## a) argument 212 #define IWL_DEBUG_11H(p, f, a...) IWL_DEBUG(p, IWL_DL_11H, f, ## a) argument 213 #define IWL_DEBUG_TPT(p, f, a...) IWL_DEBUG(p, IWL_DL_TPT, f, ## a) argument [all …]
|
/openbmc/qemu/hw/usb/ |
H A D | combined-packet.c | 30 qemu_iovec_concat(&combined->iov, &p->iov, 0, p->iov.size); in usb_combined_packet_add() 32 p->combined = combined; in usb_combined_packet_add() 40 p->combined = NULL; in usb_combined_packet_remove() 62 assert(combined->first == p && p == QTAILQ_FIRST(&combined->packets)); in usb_combined_input_packet_complete() 72 p->actual_length = p->iov.size; in usb_combined_input_packet_complete() 111 if (p == first) { in usb_combined_packet_cancel() 141 prev = p; in usb_ep_combine_input_packets() 166 first = p; in usb_ep_combine_input_packets() 170 totalsize = (p->combined) ? p->combined->iov.size : p->iov.size; in usb_ep_combine_input_packets() 171 if ((p->iov.size % ep->max_packet_size) != 0 || !p->short_not_ok || in usb_ep_combine_input_packets() [all …]
|
/openbmc/qemu/migration/ |
H A D | multifd-uadk.c | 118 wd = multifd_uadk_init_sess(p->page_count, p->page_size, true, errp); in multifd_uadk_send_setup() 131 p->iov = g_new0(struct iovec, p->page_count + 2); in multifd_uadk_send_setup() 149 g_free(p->iov); in multifd_uadk_send_cleanup() 150 p->iov = NULL; in multifd_uadk_send_cleanup() 156 p->iov[p->iovs_num].iov_base = (uint8_t *)base; in prepare_next_iov() 157 p->iov[p->iovs_num].iov_len = len; in prepare_next_iov() 159 p->iovs_num++; in prepare_next_iov() 191 .src = p->pages->block->host + p->pages->offset[i], in multifd_uadk_send_prepare() 219 prepare_next_iov(p, p->pages->block->host + p->pages->offset[i], in multifd_uadk_send_prepare() 326 .dst = p->host + p->normal[i], in multifd_uadk_recv() [all …]
|
/openbmc/u-boot/drivers/power/ |
H A D | power_core.c | 51 struct pmic *p; in pmic_alloc() local 53 p = calloc(sizeof(*p), 1); in pmic_alloc() 54 if (!p) { in pmic_alloc() 63 return p; in pmic_alloc() 72 debug("%s: pmic %s -> 0x%p\n", __func__, p->name, p); in pmic_get() 73 return p; in pmic_get() 86 if (!p) { in pmic_dump() 119 power_get_interface(p->interface), p->bus); in pmic_list_names() 146 if (!p) in do_pmic() 191 p->fg->fg_battery_check(p->pbat->fg, p); in do_pmic() [all …]
|
/openbmc/linux/arch/loongarch/mm/ |
H A D | pgtable.c | 58 p[0] = entry; in pgd_init() 59 p[1] = entry; in pgd_init() 60 p[2] = entry; in pgd_init() 61 p[3] = entry; in pgd_init() 62 p[4] = entry; in pgd_init() 63 p += 8; in pgd_init() 64 p[-3] = entry; in pgd_init() 65 p[-2] = entry; in pgd_init() 66 p[-1] = entry; in pgd_init() 86 p += 8; in pmd_init() [all …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | xhci-port.h | 49 #define DEV_FULLSPEED(p) (((p) & DEV_SPEED_MASK) == XDEV_FS) argument 55 #define DEV_PORT_SPEED(p) (((p) >> 10) & 0x0f) argument 128 #define PORT_U1_TIMEOUT(p) ((p) & 0xff) argument 131 #define PORT_U2_TIMEOUT(p) (((p) & 0xff) << 8) argument 139 #define PORT_HIRD(p) (((p) & 0xf) << 4) argument 142 #define PORT_L1DS(p) (((p) & 0xff) << 8) argument 147 #define PORT_RX_LANES(p) (((p) >> 16) & 0xf) argument 148 #define PORT_TX_LANES(p) (((p) >> 20) & 0xf) argument 151 #define PORT_HIRDM(p)((p) & 3) argument 152 #define PORT_L1_TIMEOUT(p)(((p) & 0xff) << 2) argument [all …]
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | papr_scm.c | 136 dev_dbg(&p->pdev->dev, "flush drc 0x%x", p->drc_index); in papr_scm_pmem_flush() 248 p->drc_index, p->blocks - 1); in drc_pmem_query_n_bind() 384 if (!p) in papr_scm_pmu_get_value() 429 if (!p) in papr_scm_pmu_event_init() 1248 p->bus_desc.of_node = p->pdev->dev.of_node; in papr_scm_nvdimm_init() 1257 p->bus = nvdimm_bus_register(NULL, &p->bus_desc); in papr_scm_nvdimm_init() 1276 p->nvdimm = nvdimm_create(p->bus, p, papr_nd_attr_groups, in papr_scm_nvdimm_init() 1439 p = kzalloc(sizeof(*p), GFP_KERNEL); in papr_scm_probe() 1440 if (!p) in papr_scm_probe() 1497 p->res.start = p->bound_addr; in papr_scm_probe() [all …]
|
/openbmc/linux/fs/ceph/ |
H A D | mdsmap.c | 71 *p += need; \ 81 *p += need; \ 93 *p += sizeof(u64); in __decode_and_drop_compat_set() 100 *p += sizeof(u64); in __decode_and_drop_compat_set() 103 *p += len; in __decode_and_drop_compat_set() 202 *p += sizeof(u64); in ceph_mdsmap_decode() 204 *p += namelen; in ceph_mdsmap_decode() 222 *p += namelen; in ceph_mdsmap_decode() 234 *p = info_end; in ceph_mdsmap_decode() 367 *p += need; in ceph_mdsmap_decode() [all …]
|
/openbmc/linux/include/linux/usb/ |
H A D | ehci_def.h | 22 #define HC_LENGTH(ehci, p) (0x00ff&((p) >> /* bits 7:0 / offset 00h */ \ argument 29 #define HCS_N_CC(p) (((p)>>12)&0xf) /* bits 15:12, #companion HCs */ argument 30 #define HCS_N_PCC(p) (((p)>>8)&0xf) /* bits 11:8, ports per CC */ argument 31 #define HCS_PORTROUTED(p) ((p)&(1 << 7)) /* true: port routing */ argument 32 #define HCS_PPC(p) ((p)&(1 << 4)) /* true: port power control */ argument 33 #define HCS_N_PORTS(p) (((p)>>0)&0xf) /* bits 3:0, ports on HC */ argument 38 #define HCC_32FRAME_PERIODIC_LIST(p) ((p)&(1 << 19)) argument 39 #define HCC_PER_PORT_CHANGE_EVENT(p) ((p)&(1 << 18)) argument 40 #define HCC_LPM(p) ((p)&(1 << 17)) argument 41 #define HCC_HW_PREFETCH(p) ((p)&(1 << 16)) argument [all …]
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-renesas-irqc.c | 42 struct irqc_priv *p; member 110 struct irqc_priv *p = i->p; in irqc_irq_handler() local 128 struct irqc_priv *p; in irqc_probe() local 132 p = devm_kzalloc(dev, sizeof(*p), GFP_KERNEL); in irqc_probe() 133 if (!p) in irqc_probe() 136 p->dev = dev; in irqc_probe() 150 p->irq[k].p = p; in irqc_probe() 169 p->cpu_int_base = p->iomem + IRQC_INT_CPU_BASE(0); /* SYS-SPI */ in irqc_probe() 171 p->irq_domain = irq_domain_add_linear(dev->of_node, p->number_of_irqs, in irqc_probe() 187 p->gc = irq_get_domain_generic_chip(p->irq_domain, 0); in irqc_probe() [all …]
|
/openbmc/linux/net/bridge/ |
H A D | br_sysfs_if.c | 63 unsigned long flags = p->flags; in store_flag() 71 if (flags != p->flags) { in store_flag() 78 p->flags = flags; in store_flag() 178 br_fdb_delete_by_port(p->br, p, 0, 0); // Don't delete local entry in store_flush() 193 p->group_fwd_mask = v; in store_group_fwd_mask() 387 strscpy(p->sysfs_name, p->dev->name, IFNAMSIZ); in br_sysfs_addif() 388 return sysfs_create_link(br->ifobj, &p->kobj, p->sysfs_name); in br_sysfs_addif() 400 if (!strncmp(p->sysfs_name, p->dev->name, IFNAMSIZ)) in br_sysfs_renameif() 404 p->sysfs_name, p->dev->name); in br_sysfs_renameif() 407 p->sysfs_name, p->dev->name); in br_sysfs_renameif() [all …]
|
/openbmc/linux/net/rose/ |
H A D | rose_subr.c | 250 p += 2; in rose_parse_national() 260 p += 3; in rose_parse_national() 268 p += 4; in rose_parse_national() 276 l = p[1]; in rose_parse_national() 343 p += 2; in rose_parse_ccitt() 351 p += 3; in rose_parse_ccitt() 359 p += 4; in rose_parse_ccitt() 367 l = p[1]; in rose_parse_ccitt() 407 p++; in rose_parse_facilities() 501 *p++ = 0x47; *p++ = 0x00; *p++ = 0x11; in rose_create_facilities() [all …]
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | v4l2-ioctl.c | 222 p->index, (int)sizeof(p->name), p->name, p->type, p->audioset, in v4l_print_enuminput() 232 p->index, (int)sizeof(p->name), p->name, p->type, p->audioset, in v4l_print_enumoutput() 357 p->capability, p->flags, p->base, p->fmt.width, p->fmt.height, in v4l_print_framebuffer() 387 p->index, (int)sizeof(p->name), p->name, p->type, in v4l_print_tuner() 423 p->tuner, p->type, p->seek_upward, p->wrap_around, p->spacing, in v4l_print_hw_freq_seek() 524 p->id, p->type, (int)sizeof(p->name), p->name, in v4l_print_queryctrl() 534 p->id, p->type, (int)sizeof(p->name), p->name, in v4l_print_query_ext_ctrl() 609 p->r.width, p->r.height, p->r.left, p->r.top); in v4l_print_selection() 757 p->index, &p->pixel_format, p->width, p->height, p->type); in v4l_print_frmivalenum() 786 p->type, p->pending, p->sequence, p->id, in v4l_print_event() [all …]
|
/openbmc/qemu/qapi/ |
H A D | trace-events | 4 visit_free(void *v) "v=%p" 5 visit_complete(void *v, void *opaque) "v=%p opaque=%p" 9 visit_end_struct(void *v, void *obj) "v=%p obj=%p" 12 visit_next_list(void *v, void *tail, size_t size) "v=%p tail=%p size=%zu" 14 visit_end_list(void *v, void *obj) "v=%p obj=%p" 17 visit_end_alternate(void *v, void *obj) "v=%p obj=%p" 23 visit_type_enum(void *v, const char *name, int *obj) "v=%p name=%s obj=%p" 24 visit_type_int(void *v, const char *name, int64_t *obj) "v=%p name=%s obj=%p" 34 visit_type_bool(void *v, const char *name, bool *obj) "v=%p name=%s obj=%p" 35 visit_type_str(void *v, const char *name, char **obj) "v=%p name=%s obj=%p" [all …]
|