Home
last modified time | relevance | path

Searched refs:bp (Results 1 – 25 of 96) sorted by relevance

1234

/openbmc/u-boot/include/zfs/
H A Dspa.h173 #define BP_GET_LSIZE(bp) \ argument
174 BF64_GET_SB((bp)->blk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1)
175 #define BP_SET_LSIZE(bp, x) \ argument
176 BF64_SET_SB((bp)->blk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1, x)
178 #define BP_GET_COMPRESS(bp) BF64_GET((bp)->blk_prop, 32, 8) argument
179 #define BP_SET_COMPRESS(bp, x) BF64_SET((bp)->blk_prop, 32, 8, x) argument
181 #define BP_GET_CHECKSUM(bp) BF64_GET((bp)->blk_prop, 40, 8) argument
182 #define BP_SET_CHECKSUM(bp, x) BF64_SET((bp)->blk_prop, 40, 8, x) argument
184 #define BP_GET_TYPE(bp) BF64_GET((bp)->blk_prop, 48, 8) argument
185 #define BP_SET_TYPE(bp, x) BF64_SET((bp)->blk_prop, 48, 8, x) argument
[all …]
/openbmc/openbmc/meta-evb/meta-evb-arm/meta-evb-fvp-base/conf/machine/
H A Dfvp-config.inc7 FVP_CONFIG[bp.hostbridge.interfaceName] = "enp97s0"
8 FVP_CONFIG[bp.hostbridge.userNetworking] = "1"
9 FVP_CONFIG[bp.virtio_net.hostbridge.interfaceName] = "tap1"
12 FVP_CONFIG[bp.smsc_91c111.enabled] = "1"
13 FVP_CONFIG[bp.virtio_net.enabled] = "1"
16 FVP_CONFIG[bp.pl011_uart1.enable_dc4] = "0"
17 FVP_CONFIG[bp.pl011_uart2.enable_dc4] = "0"
18 FVP_CONFIG[bp.pl011_uart3.enable_dc4] = "0"
25 FVP_CONFIG[bp.hostbridge.userNetPorts] = "4222=22,4223=443,4224=80"
27 FVP_TERMINALS[bp.terminal_0] ?= "Console"
[all …]
/openbmc/u-boot/lib/efi_driver/
H A Defi_uclass.c64 struct efi_driver_binding_extended_protocol *bp = in efi_uc_supported() local
71 controller_handle, bp->ops->protocol, in efi_uc_supported()
88 controller_handle, bp->ops->protocol, in efi_uc_supported()
112 struct efi_driver_binding_extended_protocol *bp = in efi_uc_start() local
120 controller_handle, bp->ops->protocol, in efi_uc_start()
136 controller_handle, bp->ops->protocol, in efi_uc_start()
145 bp->ops->bind(controller_handle, interface); in efi_uc_start()
256 struct efi_driver_binding_extended_protocol *bp; in efi_add_driver() local
264 bp = calloc(1, sizeof(struct efi_driver_binding_extended_protocol)); in efi_add_driver()
265 if (!bp) in efi_add_driver()
[all …]
/openbmc/openbmc/meta-arm/meta-arm-bsp/conf/machine/
H A Dfvp-base.conf46 FVP_CONFIG[bp.ve_sysregs.exit_on_shutdown] ?= "1"
47 FVP_CONFIG[bp.virtio_net.enabled] ?= "1"
48 FVP_CONFIG[bp.virtio_net.hostbridge.userNetworking] ?= "1"
50 FVP_CONFIG[bp.virtio_net.hostbridge.userNetPorts] = "2222=22"
51 FVP_CONFIG[bp.virtio_rng.enabled] ?= "1"
57 FVP_CONFIG[bp.secureflashloader.fname] ?= "bl1-fvp.bin"
58 FVP_CONFIG[bp.flashloader0.fname] ?= "fip-fvp.bin"
59 FVP_CONFIG[bp.virtioblockdevice.image_path] ?= "${IMAGE_NAME}.wic"
64 FVP_TERMINALS[bp.terminal_0] ?= "Console"
65 FVP_TERMINALS[bp.terminal_1] ?= ""
[all …]
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dcommproc.c124 volatile uint *bp; in m8560_cpm_setbrg() local
129 bp = (uint *)&(cpm->im_cpm_brg1.brgc1); in m8560_cpm_setbrg()
132 bp = (uint *)&(cpm->im_cpm_brg2.brgc5); in m8560_cpm_setbrg()
135 bp += brg; in m8560_cpm_setbrg()
136 *bp = (((((BRG_UART_CLK+rate-1)/rate)-1)&0xfff)<<1)|CPM_BRG_EN; in m8560_cpm_setbrg()
146 volatile uint *bp; in m8560_cpm_fastbrg() local
151 bp = (uint *)&(cpm->im_cpm_brg1.brgc1); in m8560_cpm_fastbrg()
154 bp = (uint *)&(cpm->im_cpm_brg2.brgc5); in m8560_cpm_fastbrg()
157 bp += brg; in m8560_cpm_fastbrg()
158 *bp = (((((BRG_INT_CLK+rate-1)/rate)-1)&0xfff)<<1)|CPM_BRG_EN; in m8560_cpm_fastbrg()
[all …]
/openbmc/u-boot/net/
H A Dbootp.c120 struct bootp_hdr *bp = (struct bootp_hdr *)pkt; in check_reply_packet() local
127 else if (bp->bp_op != OP_BOOTREPLY) in check_reply_packet()
129 else if (bp->bp_htype != HWT_ETHER) in check_reply_packet()
131 else if (bp->bp_hlen != HWL_ETHER) in check_reply_packet()
133 else if (!bootp_match_id(net_read_u32(&bp->bp_id))) in check_reply_packet()
135 else if (memcmp(bp->bp_chaddr, net_ethaddr, HWL_ETHER) != 0) in check_reply_packet()
146 static void store_net_params(struct bootp_hdr *bp) in store_net_params() argument
156 net_copy_ip(&tmp_ip, &bp->bp_siaddr); in store_net_params()
158 net_copy_ip(&net_server_ip, &bp->bp_siaddr); in store_net_params()
165 (strlen(bp->bp_file) > 0) && in store_net_params()
[all …]
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/
H A Diomux.c31 u32 reg, ofs, bp, bm; in mxs_iomux_setup_pad() local
38 bp = PAD_PIN(pad) % 16 * 2; in mxs_iomux_setup_pad()
39 bm = 0x3 << bp; in mxs_iomux_setup_pad()
42 reg |= PAD_MUXSEL(pad) << bp; in mxs_iomux_setup_pad()
50 bp = PAD_PIN(pad) % 8 * 4; in mxs_iomux_setup_pad()
51 bm = 0x3 << bp; in mxs_iomux_setup_pad()
54 reg |= PAD_MA(pad) << bp; in mxs_iomux_setup_pad()
59 bp = PAD_PIN(pad) % 8 * 4 + 2; in mxs_iomux_setup_pad()
62 writel(1 << bp, &mxs_reg->reg_set); in mxs_iomux_setup_pad()
64 writel(1 << bp, &mxs_reg->reg_clr); in mxs_iomux_setup_pad()
[all …]
/openbmc/qemu/accel/hvf/
H A Dhvf-accel-ops.c229 struct hvf_sw_breakpoint *bp; in hvf_find_sw_breakpoint() local
231 QTAILQ_FOREACH(bp, &hvf_state->hvf_sw_breakpoints, entry) { in hvf_find_sw_breakpoint()
232 if (bp->pc == pc) { in hvf_find_sw_breakpoint()
233 return bp; in hvf_find_sw_breakpoint()
257 struct hvf_sw_breakpoint *bp; in hvf_insert_breakpoint() local
261 bp = hvf_find_sw_breakpoint(cpu, addr); in hvf_insert_breakpoint()
262 if (bp) { in hvf_insert_breakpoint()
263 bp->use_count++; in hvf_insert_breakpoint()
267 bp = g_new(struct hvf_sw_breakpoint, 1); in hvf_insert_breakpoint()
268 bp->pc = addr; in hvf_insert_breakpoint()
[all …]
/openbmc/qemu/
H A Dcpu-common.c391 CPUBreakpoint *bp; in cpu_breakpoint_insert() local
397 bp = g_malloc(sizeof(*bp)); in cpu_breakpoint_insert()
399 bp->pc = pc; in cpu_breakpoint_insert()
400 bp->flags = flags; in cpu_breakpoint_insert()
404 QTAILQ_INSERT_HEAD(&cpu->breakpoints, bp, entry); in cpu_breakpoint_insert()
406 QTAILQ_INSERT_TAIL(&cpu->breakpoints, bp, entry); in cpu_breakpoint_insert()
410 *breakpoint = bp; in cpu_breakpoint_insert()
420 CPUBreakpoint *bp; in cpu_breakpoint_remove() local
426 QTAILQ_FOREACH(bp, &cpu->breakpoints, entry) { in cpu_breakpoint_remove()
427 if (bp->pc == pc && bp->flags == flags) { in cpu_breakpoint_remove()
[all …]
/openbmc/openbmc/poky/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/
H A Dhave_strerror.patch8 while (*bp = *cp)
11 + strcpy(bp, strerror(errno));
14 strcpy(bp, sys_errlist[errno]);
16 sprintf(bp, "Unknown error %d", errno);
19 bp += strlen(bp);
/openbmc/u-boot/drivers/video/sunxi/
H A Dlcdc.c75 int bp, clk_delay, total, val; in lcdc_tcon0_mode_set() local
93 bp = mode->hsync_len.typ + mode->hback_porch.typ; in lcdc_tcon0_mode_set()
94 total = mode->hactive.typ + mode->hfront_porch.typ + bp; in lcdc_tcon0_mode_set()
96 SUNXI_LCDC_TCON0_TIMING_H_BP(bp), &lcdc->tcon0_timing_h); in lcdc_tcon0_mode_set()
98 bp = mode->vsync_len.typ + mode->vback_porch.typ; in lcdc_tcon0_mode_set()
99 total = mode->vactive.typ + mode->vfront_porch.typ + bp; in lcdc_tcon0_mode_set()
101 SUNXI_LCDC_TCON0_TIMING_V_BP(bp), &lcdc->tcon0_timing_v); in lcdc_tcon0_mode_set()
152 int bp, clk_delay, total, val, yres; in lcdc_tcon1_mode_set() local
176 bp = mode->hsync_len.typ + mode->hback_porch.typ; in lcdc_tcon1_mode_set()
177 total = mode->hactive.typ + mode->hfront_porch.typ + bp; in lcdc_tcon1_mode_set()
[all …]
/openbmc/qemu/tests/tcg/multiarch/gdbstub/
H A Dsha1.py19 bp = gdb.Breakpoint(sym_name)
25 report(bp.hit_count == 1,
26 "break @ %s (%s %d hits)" % (end_pc, sym.value(), bp.hit_count))
28 bp.delete()
H A Dmemory.py33 bp = gdb.Breakpoint(sym_name, gdb.BP_BREAKPOINT)
39 report(bp.hit_count == 1,
40 "break @ %s (%s %d hits)" % (end_pc, sym.value(), bp.hit_count))
42 bp.delete()
/openbmc/u-boot/arch/arm/include/asm/arch-omap3/
H A Ddss.h216 #define DSS_HBP(bp) (((bp) - 1) << 20) argument
219 #define DSS_VBP(bp) ((bp) << 20) argument
223 #define PANEL_TIMING_H(bp, fp, sw) (DSS_HBP(bp) | DSS_HFP(fp) | DSS_HSW(sw)) argument
224 #define PANEL_TIMING_V(bp, fp, sw) (DSS_VBP(bp) | DSS_VFP(fp) | DSS_VSW(sw)) argument
/openbmc/u-boot/tools/gdb/
H A Dremote.c754 char *bp; in read_frame() local
758 bp = buf; in read_frame()
779 *bp = '\000'; in read_frame()
805 if (c > 0 && c < 255 && bp + c - 1 < buf + PBUFSIZ - 1) in read_frame()
807 memset (bp, *(bp - 1), c); in read_frame()
808 bp += c; in read_frame()
812 *bp = '\0'; in read_frame()
818 if (bp < buf + PBUFSIZ - 1) in read_frame()
820 *bp++ = c; in read_frame()
825 *bp = '\0'; in read_frame()
/openbmc/qemu/target/openrisc/
H A Ddisas.c180 a->b, a->b + a->bp + 1)
184 a->b, a->b + a->bp + 1)
188 a->b, a->b + a->bp + 1)
192 a->b, a->b + a->bp + 1)
196 a->b, a->b + a->bp + 1)
200 a->b, a->b + a->bp + 1)
216 a->b, a->b + a->bp + 1)
219 a->b, a->b + a->bp + 1)
222 a->b, a->b + a->bp + 1)
225 a->b, a->b + a->bp + 1)
[all …]
/openbmc/u-boot/fs/zfs/
H A Dzfs.c209 static int zio_read_data(blkptr_t *bp, zfs_endian_t endian,
213 zio_read(blkptr_t *bp, zfs_endian_t endian, void **buf,
432 get_psize(blkptr_t *bp, zfs_endian_t endian) in get_psize() argument
434 return (((zfs_to_cpu64((bp)->blk_prop, endian) >> 16) & 0xffff) + 1) in get_psize()
451 zio_read_gang(blkptr_t *bp, zfs_endian_t endian, dva_t *dva, void *buf, in zio_read_gang() argument
480 dva_get_offset(dva, endian), bp->blk_birth, 0); in zio_read_gang()
488 endian = (zfs_to_cpu64(bp->blk_prop, endian) >> 63) & 1; in zio_read_gang()
509 zio_read_data(blkptr_t *bp, zfs_endian_t endian, void *buf, in zio_read_data() argument
515 psize = get_psize(bp, endian); in zio_read_data()
521 if (bp->blk_dva[i].dva_word[0] == 0 && bp->blk_dva[i].dva_word[1] == 0) in zio_read_data()
[all …]
/openbmc/qemu/tests/fp/
H A Dwrap.c.inc466 type *bp = (type *)&b; \
469 ret = func(*ap, *bp, &qsf); \
519 static void name(const extFloat80_t *ap, const extFloat80_t *bp, \
527 b = soft_to_qemu80(*bp); \
540 static void name(const float128_t *ap, const float128_t *bp, \
548 b = soft_to_qemu128(*bp); \
564 type *bp = (type *)&b; \
568 ret = func(*ap, *bp, *cp, 0, &qsf); \
577 static void qemu_f128M_mulAdd(const float128_t *ap, const float128_t *bp,
583 b = soft_to_qemu128(*bp);
[all …]
/openbmc/qemu/util/
H A Dqsp.c182 static bool qsp_callsite_cmp(const void *ap, const void *bp) in qsp_callsite_cmp() argument
185 const QSPCallSite *b = bp; in qsp_callsite_cmp()
194 static bool qsp_callsite_no_obj_cmp(const void *ap, const void *bp) in qsp_callsite_no_obj_cmp() argument
197 const QSPCallSite *b = bp; in qsp_callsite_no_obj_cmp()
205 static bool qsp_entry_no_thread_cmp(const void *ap, const void *bp) in qsp_entry_no_thread_cmp() argument
208 const QSPEntry *b = bp; in qsp_entry_no_thread_cmp()
213 static bool qsp_entry_no_thread_obj_cmp(const void *ap, const void *bp) in qsp_entry_no_thread_obj_cmp() argument
216 const QSPEntry *b = bp; in qsp_entry_no_thread_obj_cmp()
221 static bool qsp_entry_cmp(const void *ap, const void *bp) in qsp_entry_cmp() argument
224 const QSPEntry *b = bp; in qsp_entry_cmp()
[all …]
/openbmc/qemu/pc-bios/optionrom/
H A Dlinuxboot.S146 movw $((3 * 8) - 1), -16(%bp)
151 movl %eax, -14(%bp)
154 data32 lgdt -16(%bp)
/openbmc/u-boot/arch/x86/cpu/
H A Dstart16.S53 movw %ax, %bp
55 o32 cs ljmp *(%bp)
/openbmc/qemu/include/system/
H A Dhvf_int.h93 int hvf_arch_insert_sw_breakpoint(CPUState *cpu, struct hvf_sw_breakpoint *bp);
94 int hvf_arch_remove_sw_breakpoint(CPUState *cpu, struct hvf_sw_breakpoint *bp);
/openbmc/u-boot/scripts/dtc/
H A Dtreesource.c170 const char *bp = val.val; in write_propval_bytes() local
175 while (m && (m->offset == (bp-val.val))) { in write_propval_bytes()
181 fprintf(f, "%02hhx", (unsigned char)(*bp++)); in write_propval_bytes()
182 if ((const void *)bp >= propend) in write_propval_bytes()
/openbmc/u-boot/include/
H A Defi_driver.h37 struct efi_driver_binding_protocol bp; member
/openbmc/qemu/hw/mips/
H A Dloongson3_virt.c179 struct boot_params *bp; in init_boot_param() local
182 bp = p; in init_boot_param()
184 bp->efi.smbios.vers = cpu_to_le16(1); in init_boot_param()
185 init_reset_system(&(bp->reset_system)); in init_boot_param()
187 init_loongson_params(&(bp->efi.smbios.lp), p, cpu_count, processor_id, in init_boot_param()
190 rom_add_blob_fixed("params_rom", bp, in init_boot_param()
194 g_free(bp); in init_boot_param()

1234