| /rk3399_rockchip-uboot/include/zfs/ |
| H A D | spa.h | 174 #define BP_GET_LSIZE(bp) \ argument 175 BF64_GET_SB((bp)->blk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1) 176 #define BP_SET_LSIZE(bp, x) \ argument 177 BF64_SET_SB((bp)->blk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1, x) 179 #define BP_GET_COMPRESS(bp) BF64_GET((bp)->blk_prop, 32, 8) argument 180 #define BP_SET_COMPRESS(bp, x) BF64_SET((bp)->blk_prop, 32, 8, x) argument 182 #define BP_GET_CHECKSUM(bp) BF64_GET((bp)->blk_prop, 40, 8) argument 183 #define BP_SET_CHECKSUM(bp, x) BF64_SET((bp)->blk_prop, 40, 8, x) argument 185 #define BP_GET_TYPE(bp) BF64_GET((bp)->blk_prop, 48, 8) argument 186 #define BP_SET_TYPE(bp, x) BF64_SET((bp)->blk_prop, 48, 8, x) argument [all …]
|
| /rk3399_rockchip-uboot/arch/powerpc/cpu/mpc85xx/ |
| H A D | commproc.c | 124 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 …]
|
| /rk3399_rockchip-uboot/arch/arm/cpu/arm926ejs/mxs/ |
| H A D | iomux.c | 32 u32 reg, ofs, bp, bm; in mxs_iomux_setup_pad() local 39 bp = PAD_PIN(pad) % 16 * 2; in mxs_iomux_setup_pad() 40 bm = 0x3 << bp; in mxs_iomux_setup_pad() 43 reg |= PAD_MUXSEL(pad) << bp; in mxs_iomux_setup_pad() 51 bp = PAD_PIN(pad) % 8 * 4; in mxs_iomux_setup_pad() 52 bm = 0x3 << bp; in mxs_iomux_setup_pad() 55 reg |= PAD_MA(pad) << bp; in mxs_iomux_setup_pad() 60 bp = PAD_PIN(pad) % 8 * 4 + 2; in mxs_iomux_setup_pad() 63 writel(1 << bp, &mxs_reg->reg_set); in mxs_iomux_setup_pad() 65 writel(1 << bp, &mxs_reg->reg_clr); in mxs_iomux_setup_pad() [all …]
|
| /rk3399_rockchip-uboot/net/ |
| H A D | bootp.c | 121 struct bootp_hdr *bp = (struct bootp_hdr *)pkt; in check_reply_packet() local 128 else if (bp->bp_op != OP_BOOTREPLY) in check_reply_packet() 130 else if (bp->bp_htype != HWT_ETHER) in check_reply_packet() 132 else if (bp->bp_hlen != HWL_ETHER) in check_reply_packet() 134 else if (!bootp_match_id(net_read_u32(&bp->bp_id))) in check_reply_packet() 136 else if (memcmp(bp->bp_chaddr, net_ethaddr, HWL_ETHER) != 0) in check_reply_packet() 147 static void store_net_params(struct bootp_hdr *bp) in store_net_params() argument 152 net_copy_ip(&tmp_ip, &bp->bp_siaddr); in store_net_params() 154 net_copy_ip(&net_server_ip, &bp->bp_siaddr); in store_net_params() 161 (strlen(bp->bp_file) > 0)) { in store_net_params() [all …]
|
| /rk3399_rockchip-uboot/drivers/video/sunxi/ |
| H A D | lcdc.c | 75 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 …]
|
| /rk3399_rockchip-uboot/arch/arm/include/asm/arch-omap3/ |
| H A D | dss.h | 216 #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
|
| /rk3399_rockchip-uboot/drivers/video/drm/rk628/ |
| H A D | panel.c | 42 u8 *buf, *bp; in dsi_panel_parse_cmds() local 54 bp = buf; in dsi_panel_parse_cmds() 58 dchdr = (struct cmd_ctrl_hdr *)bp; in dsi_panel_parse_cmds() 65 bp += sizeof(*dchdr); in dsi_panel_parse_cmds() 67 bp += dchdr->dlen; in dsi_panel_parse_cmds() 88 bp = buf; in dsi_panel_parse_cmds() 91 dchdr = (struct cmd_ctrl_hdr *)bp; in dsi_panel_parse_cmds() 93 bp += sizeof(*dchdr); in dsi_panel_parse_cmds() 95 pcmds->cmds[i].payload = bp; in dsi_panel_parse_cmds() 96 bp += dchdr->dlen; in dsi_panel_parse_cmds()
|
| /rk3399_rockchip-uboot/tools/gdb/ |
| H A D | remote.c | 755 char *bp; in read_frame() local 759 bp = buf; in read_frame() 780 *bp = '\000'; in read_frame() 806 if (c > 0 && c < 255 && bp + c - 1 < buf + PBUFSIZ - 1) in read_frame() 808 memset (bp, *(bp - 1), c); in read_frame() 809 bp += c; in read_frame() 813 *bp = '\0'; in read_frame() 819 if (bp < buf + PBUFSIZ - 1) in read_frame() 821 *bp++ = c; in read_frame() 826 *bp = '\0'; in read_frame()
|
| /rk3399_rockchip-uboot/fs/zfs/ |
| H A D | zfs.c | 210 static int zio_read_data(blkptr_t *bp, zfs_endian_t endian, 214 zio_read(blkptr_t *bp, zfs_endian_t endian, void **buf, 433 get_psize(blkptr_t *bp, zfs_endian_t endian) in get_psize() argument 435 return (((zfs_to_cpu64((bp)->blk_prop, endian) >> 16) & 0xffff) + 1) in get_psize() 452 zio_read_gang(blkptr_t *bp, zfs_endian_t endian, dva_t *dva, void *buf, in zio_read_gang() argument 481 dva_get_offset(dva, endian), bp->blk_birth, 0); in zio_read_gang() 489 endian = (zfs_to_cpu64(bp->blk_prop, endian) >> 63) & 1; in zio_read_gang() 510 zio_read_data(blkptr_t *bp, zfs_endian_t endian, void *buf, in zio_read_data() argument 516 psize = get_psize(bp, endian); in zio_read_data() 522 if (bp->blk_dva[i].dva_word[0] == 0 && bp->blk_dva[i].dva_word[1] == 0) in zio_read_data() [all …]
|
| /rk3399_rockchip-uboot/arch/x86/cpu/ |
| H A D | start16.S | 54 movw %ax, %bp 56 o32 cs ljmp *(%bp)
|
| H A D | sipi_vector.S | 61 movw %ax, %bp 64 data32 cs ljmp *(%bp)
|
| /rk3399_rockchip-uboot/scripts/dtc/ |
| H A D | treesource.c | 170 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()
|
| /rk3399_rockchip-uboot/drivers/qe/ |
| H A D | qe.c | 282 volatile uint *bp; in qe_set_brg() local 288 bp = (uint *)&qe_immr->brg.brgc1; in qe_set_brg() 289 bp += brg; in qe_set_brg() 297 *bp = ((divisor - 1) << QE_BRGC_DIVISOR_SHIFT) | QE_BRGC_ENABLE; in qe_set_brg() 301 *bp |= QE_BRGC_DIV16; in qe_set_brg()
|
| /rk3399_rockchip-uboot/arch/arm/include/asm/ |
| H A D | processor.h | 63 struct debug_entry bp[2]; member
|
| /rk3399_rockchip-uboot/arch/x86/lib/ |
| H A D | bios.h | 66 DOWNTO16(bp);
|