/openbmc/qemu/pc-bios/ |
HD | openbios-ppc | ... o *| *T }* *, * ' - o + -P , }* , ,L ... |
HD | openbios-sparc32 | ... Rstack Forth key ( Empty ) ( %x %p: %s R: ( ) outer-interpreter |
/openbmc/linux/drivers/staging/media/av7110/ |
H A D | av7110_ipack.c | 1 // SPDX-License-Identifier: GPL-2.0 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() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/pysh/ |
H A D | pyshyacc.py | 1 # pyshyacc.py - PLY grammar definition for pysh 32 def make_io_redirect(p): argument 34 name, io_number, io_target = p 123 #------------------------------------------------------------------------------- 125 #------------------------------------------------------------------------------- 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] = [] [all …]
|
/openbmc/linux/drivers/net/ethernet/apm/xgene/ |
H A D | xgene_enet_sgmac.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Applied Micro X-Gene SoC Ethernet Driver 14 static void xgene_enet_wr_csr(struct xgene_enet_pdata *p, u32 offset, u32 val) in xgene_enet_wr_csr() argument 16 iowrite32(val, p->eth_csr_addr + offset); in xgene_enet_wr_csr() 19 static void xgene_enet_wr_clkrst_csr(struct xgene_enet_pdata *p, u32 offset, in xgene_enet_wr_clkrst_csr() argument 22 iowrite32(val, p->base_addr + offset); in xgene_enet_wr_clkrst_csr() 25 static void xgene_enet_wr_ring_if(struct xgene_enet_pdata *p, in xgene_enet_wr_ring_if() argument 28 iowrite32(val, p->eth_ring_if_addr + offset); in xgene_enet_wr_ring_if() 31 static void xgene_enet_wr_diag_csr(struct xgene_enet_pdata *p, in xgene_enet_wr_diag_csr() argument 34 iowrite32(val, p->eth_diag_csr_addr + offset); in xgene_enet_wr_diag_csr() [all …]
|
/openbmc/linux/sound/isa/sb/ |
H A D | sb16_csp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 1999 by Uros Bizjak <uros@kss-loka.si> 9 * alsa-tools/sb16_csp/ 22 MODULE_AUTHOR("Uros Bizjak <uros@kss-loka.si>"); 38 #define CSP__HEADER CSP_HDR_VALUE('C', 'S', 'P', ' ') 78 static int snd_sb_csp_riff_load(struct snd_sb_csp * p, 80 static int snd_sb_csp_unload(struct snd_sb_csp * p); 81 static int snd_sb_csp_load_user(struct snd_sb_csp * p, const unsigned char __user *buf, int size, i… 82 static int snd_sb_csp_autoload(struct snd_sb_csp * p, snd_pcm_format_t pcm_sfmt, int play_rec_mode); 83 static int snd_sb_csp_check_version(struct snd_sb_csp * p); [all …]
|
/openbmc/linux/drivers/pinctrl/mediatek/ |
H A D | pinctrl-mtmips.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <linux/pinctrl/pinconf-generic.h> 19 #include <asm/mach-ralink/ralink_regs.h> 20 #include <asm/mach-ralink/mt7620.h> 22 #include "pinctrl-mtmips.h" 24 #include "../pinctrl-utils.h" 48 struct mtmips_priv *p = pinctrl_dev_get_drvdata(pctrldev); in mtmips_get_group_count() local 50 return p->group_count; in mtmips_get_group_count() 56 struct mtmips_priv *p = pinctrl_dev_get_drvdata(pctrldev); in mtmips_get_group_name() local 58 return (group >= p->group_count) ? NULL : p->group_names[group]; in mtmips_get_group_name() [all …]
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-bq4802.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* rtc-bq4802.c: TI BQ4802 RTC driver. 30 static u8 bq4802_read_io(struct bq4802 *p, int off) in bq4802_read_io() argument 32 return inb(p->ioport + off); in bq4802_read_io() 35 static void bq4802_write_io(struct bq4802 *p, int off, u8 val) in bq4802_write_io() argument 37 outb(val, p->ioport + off); in bq4802_write_io() 40 static u8 bq4802_read_mem(struct bq4802 *p, int off) in bq4802_read_mem() argument 42 return readb(p->regs + off); in bq4802_read_mem() 45 static void bq4802_write_mem(struct bq4802 *p, int off, u8 val) in bq4802_write_mem() argument 47 writeb(val, p->regs + off); in bq4802_write_mem() [all …]
|
/openbmc/linux/drivers/pnp/pnpbios/ |
H A D | rsparser.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * rsparser.c - parses and encodes pnpbios resource data streams 45 * end tag -> 47 * end tag -> 49 * final end tag -> 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() 90 pnp_dbg(&dev->dev, "parse allocated resources\n"); in pnpbios_parse_allocated_resource_data() [all …]
|
/openbmc/linux/net/bridge/ |
H A D | br_stp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 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() 52 err = switchdev_port_attr_set(p->dev, &attr, NULL); in br_set_state() [all …]
|
/openbmc/qemu/hw/usb/ |
H A D | core.c | 39 USBDevice *udev = port->dev; in usb_pick_speed() 43 if ((udev->speedmask & (1 << speeds[i])) && in usb_pick_speed() 44 (port->speedmask & (1 << speeds[i]))) { in usb_pick_speed() 45 udev->speed = speeds[i]; in usb_pick_speed() 53 USBDevice *dev = port->dev; in usb_attach() 56 assert(dev->attached); in usb_attach() 57 assert(dev->state == USB_STATE_NOTATTACHED); in usb_attach() 59 port->ops->attach(port); in usb_attach() 60 dev->state = USB_STATE_ATTACHED; in usb_attach() 66 USBDevice *dev = port->dev; in usb_detach() [all …]
|
/openbmc/linux/net/mac80211/ |
H A D | rc80211_minstrel_ht_debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 24 ms = file->private_data; in minstrel_stats_read() 25 return simple_read_from_buffer(buf, len, ppos, ms->buf, ms->len); in minstrel_stats_read() 31 kfree(file->private_data); in minstrel_stats_release() 40 for (type = 0; type < ARRAY_SIZE(mi->sample); type++) in minstrel_ht_is_sample_rate() 42 if (mi->sample[type].cur_sample_rates[i] == idx) in minstrel_ht_is_sample_rate() 48 minstrel_ht_stats_dump(struct minstrel_ht_sta *mi, int i, char *p) in minstrel_ht_stats_dump() argument 56 if (!mi->supported[i]) in minstrel_ht_stats_dump() 57 return p; in minstrel_ht_stats_dump() 60 gflags = mg->flags; in minstrel_ht_stats_dump() [all …]
|
/openbmc/linux/drivers/target/iscsi/ |
H A D | iscsi_target_parameters.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 98 * Parameter names of iSCSI Extentions for RDMA (iSER). See RFC-5046 131 * Match outgoing MXDSL default to incoming Open-iSCSI default 149 * Initial values for iSER parameters following RFC-5046 Section 6 167 * struct iscsi_param->use 173 #define IS_USE_LEADING_ONLY(p) ((p)->use & USE_LEADING_ONLY) argument 174 #define IS_USE_INITIAL_ONLY(p) ((p)->use & USE_INITIAL_ONLY) argument 175 #define IS_USE_ALL(p) ((p)->use & USE_ALL) argument 177 #define SET_USE_INITIAL_ONLY(p) ((p)->use |= USE_INITIAL_ONLY) argument 180 * struct iscsi_param->sender [all …]
|
/openbmc/linux/include/linux/ceph/ |
H A D | decode.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 * void **p pointer to position pointer 19 static inline u64 ceph_decode_64(void **p) in ceph_decode_64() argument 21 u64 v = get_unaligned_le64(*p); in ceph_decode_64() 22 *p += sizeof(u64); in ceph_decode_64() 25 static inline u32 ceph_decode_32(void **p) in ceph_decode_32() argument 27 u32 v = get_unaligned_le32(*p); in ceph_decode_32() 28 *p += sizeof(u32); in ceph_decode_32() 31 static inline u16 ceph_decode_16(void **p) in ceph_decode_16() argument 33 u16 v = get_unaligned_le16(*p); in ceph_decode_16() [all …]
|
/openbmc/u-boot/lib/lzma/ |
H A D | LzmaDec.c | 1 /* LzmaDec.c -- LZMA Decoder 2 2009-09-20 : Igor Pavlov : Public domain */ 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/ata/ |
H A D | libata-trace.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * libata-trace.c - trace functions for libata 14 libata_trace_parse_status(struct trace_seq *p, unsigned char status) in libata_trace_parse_status() argument 16 const char *ret = trace_seq_buffer_ptr(p); in libata_trace_parse_status() 18 trace_seq_printf(p, "{ "); in libata_trace_parse_status() 20 trace_seq_printf(p, "BUSY "); in libata_trace_parse_status() 22 trace_seq_printf(p, "DRDY "); in libata_trace_parse_status() 24 trace_seq_printf(p, "DF "); in libata_trace_parse_status() 26 trace_seq_printf(p, "DSC "); in libata_trace_parse_status() 28 trace_seq_printf(p, "DRQ "); in libata_trace_parse_status() [all …]
|
/openbmc/linux/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_desc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 static void sxgbe_init_tx_desc(struct sxgbe_tx_norm_desc *p) in sxgbe_init_tx_desc() argument 25 p->tdes23.tx_rd_des23.own_bit = 0; in sxgbe_init_tx_desc() 28 static void sxgbe_tx_desc_enable_tse(struct sxgbe_tx_norm_desc *p, u8 is_tse, in sxgbe_tx_desc_enable_tse() argument 32 p->tdes23.tx_rd_des23.tse_bit = is_tse; in sxgbe_tx_desc_enable_tse() 33 p->tdes23.tx_rd_des23.buf1_size = total_hdr_len; in sxgbe_tx_desc_enable_tse() 34 p->tdes23.tx_rd_des23.tcp_hdr_len = tcp_hdr_len / 4; in sxgbe_tx_desc_enable_tse() 35 p->tdes23.tx_rd_des23.tx_pkt_len.tcp_payload_len = tcp_payload_len; in sxgbe_tx_desc_enable_tse() 39 static void sxgbe_prepare_tx_desc(struct sxgbe_tx_norm_desc *p, u8 is_fd, in sxgbe_prepare_tx_desc() argument 42 p->tdes23.tx_rd_des23.first_desc = is_fd; in sxgbe_prepare_tx_desc() [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 077 | 54 echo "open -o driver=$IMGFMT,file.align=4k blkdebug::$TEST_IMG" 57 aio_write -P 10 0x200 0x200 66 aio_write -P 10 $((off + 0x200)) 0x200 68 aio_write -P 11 $((off + 0x400)) 0x200 79 aio_write -P 10 0x5000 0x200 81 aio_write -P 11 0x5200 0x200 82 aio_write -P 12 0x5400 0x200 83 aio_write -P 13 0x5600 0x200 84 aio_write -P 14 0x5800 0x200 85 aio_write -P 15 0x5a00 0x200 [all …]
|
H A D | 046 | 63 for ((i=0;i<=$((sectors - 1));i++)); do 67 echo "$op -P $pattern $((cur_sec * 64))k 64k" 74 _make_test_img -b "$TEST_IMG.base" -F $IMGFMT 6G 84 aio_write -P 10 0x18000 0x2000 87 aio_write -P 11 0x12000 0x2000 88 aio_write -P 12 0x1c000 0x2000 98 aio_write -P 20 0x28000 0x2000 100 aio_write -P 21 0x2a000 0x10000 108 aio_write -P 40 0x48000 0x2000 110 aio_write -P 41 0x4c000 0x10000 [all …]
|
/openbmc/linux/samples/kprobes/ |
H A D | kprobe_example.c | 1 // SPDX-License-Identifier: GPL-2.0-only 28 static int __kprobes handler_pre(struct kprobe *p, struct pt_regs *regs) in handler_pre() argument 31 pr_info("<%s> p->addr = 0x%p, ip = %lx, flags = 0x%lx\n", in handler_pre() 32 p->symbol_name, p->addr, regs->ip, regs->flags); in handler_pre() 35 pr_info("<%s> p->addr = 0x%p, nip = 0x%lx, msr = 0x%lx\n", in handler_pre() 36 p->symbol_name, p->addr, regs->nip, regs->msr); in handler_pre() 39 pr_info("<%s> p->addr = 0x%p, epc = 0x%lx, status = 0x%lx\n", in handler_pre() 40 p->symbol_name, p->addr, regs->cp0_epc, regs->cp0_status); in handler_pre() 43 pr_info("<%s> p->addr = 0x%p, pc = 0x%lx, pstate = 0x%lx\n", in handler_pre() 44 p->symbol_name, p->addr, (long)regs->pc, (long)regs->pstate); in handler_pre() [all …]
|
/openbmc/linux/drivers/watchdog/ |
H A D | iTCO_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * (c) Copyright 2006-2011 Wim Van Sebroeck <wim@iguana.be>. 9 * provided "AS-IS" and at no charge. 13 * document number 290655-003, 290677-014: 82801AA (ICH), 82801AB (ICHO) 14 * document number 290687-002, 298242-027: 82801BA (ICH2) 15 * document number 290733-003, 290739-013: 82801CA (ICH3-S) 16 * document number 290716-001, 290718-007: 82801CAM (ICH3-M) 17 * document number 290744-001, 290745-025: 82801DB (ICH4) 18 * document number 252337-001, 252663-008: 82801DBM (ICH4-M) 19 * document number 273599-001, 273645-002: 82801E (C-ICH) [all …]
|
/openbmc/qemu/util/ |
H A D | trace-events | 3 # aio-posix.c 4 run_poll_handlers_begin(void *ctx, int64_t max_ns, int64_t timeout) "ctx %p max_ns %"PRId64 " timeo… 5 run_poll_handlers_end(void *ctx, bool progress, int64_t timeout) "ctx %p progress %d new timeout %"… 6 poll_shrink(void *ctx, int64_t old, int64_t new) "ctx %p old %"PRId64" new %"PRId64 7 poll_grow(void *ctx, int64_t old, int64_t new) "ctx %p old %"PRId64" new %"PRId64 8 poll_add(void *ctx, void *node, int fd, unsigned revents) "ctx %p node %p fd %d revents 0x%x" 9 poll_remove(void *ctx, void *node, int fd) "ctx %p node %p fd %d" 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" 14 reentrant_aio(void *ctx, const char *name) "ctx %p name %s" [all …]
|
/openbmc/linux/drivers/usb/dwc2/ |
H A D | params.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) 2004-2016 Synopsys, Inc. 20 struct dwc2_core_params *p = &hsotg->params; in dwc2_set_bcm_params() local 22 p->host_rx_fifo_size = 774; in dwc2_set_bcm_params() 23 p->max_transfer_size = 65535; in dwc2_set_bcm_params() 24 p->max_packet_count = 511; in dwc2_set_bcm_params() 25 p->ahbcfg = 0x10; in dwc2_set_bcm_params() 30 struct dwc2_core_params *p = &hsotg->params; in dwc2_set_his_params() local 32 p->otg_caps.hnp_support = false; in dwc2_set_his_params() 33 p->otg_caps.srp_support = false; in dwc2_set_his_params() [all …]
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwxgmac2_descs.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 12 struct dma_desc *p, void __iomem *ioaddr) in dwxgmac2_get_tx_status() argument 14 unsigned int tdes3 = le32_to_cpu(p->des3); in dwxgmac2_get_tx_status() 26 struct dma_desc *p) in dwxgmac2_get_rx_status() argument 28 unsigned int rdes3 = le32_to_cpu(p->des3); in dwxgmac2_get_rx_status() 42 static int dwxgmac2_get_tx_len(struct dma_desc *p) in dwxgmac2_get_tx_len() argument 44 return (le32_to_cpu(p->des2) & XGMAC_TDES2_B1L); in dwxgmac2_get_tx_len() 47 static int dwxgmac2_get_tx_owner(struct dma_desc *p) in dwxgmac2_get_tx_owner() argument 49 return (le32_to_cpu(p->des3) & XGMAC_TDES3_OWN) > 0; in dwxgmac2_get_tx_owner() 52 static void dwxgmac2_set_tx_owner(struct dma_desc *p) in dwxgmac2_set_tx_owner() argument [all …]
|
/openbmc/linux/arch/mips/mm/ |
H A D | tlbex.c | 10 * Copyright (C) 2006 Ralf Baechle (ralf@linux-mips.org) 34 #include <asm/cpu-type.h> 131 * CVMSEG starts at address -32768 and extends for in scratchpad_offset() 135 return CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE * 128 - (8 * i) - 32768; in scratchpad_offset() 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() 262 unsigned int count = (end - start) / sizeof(u32); in dump_handler() 272 pr_debug("\t.word\t0x%08x\t\t# %p\n", handler[i], &handler[i]); in dump_handler() [all …]
|