/u-boot/drivers/net/bnxt/ |
H A D | bnxt.c | 17 #define bnxt_down_chip(bp) bnxt_hwrm_run(down_chip, bp, 0) 18 #define bnxt_bring_chip(bp) bnxt_hwrm_run(bring_chip, bp, 1) 21 static void bnxt_bring_pci(struct bnxt *bp) argument 25 dm_pci_read_config16(bp->pdev, PCI_VENDOR_ID, &bp->vendor_id); 26 dm_pci_read_config16(bp->pdev, PCI_DEVICE_ID, &bp->device_id); 27 dm_pci_read_config16(bp 44 bnxt_free_rx_iob(struct bnxt *bp) argument 75 bnxt_alloc_rx_iob(struct bnxt *bp, u16 cons_id, u16 iob_idx) argument 90 bnxt_mm_init(struct bnxt *bp, const char *func) argument 115 bnxt_free_mem(struct bnxt *bp) argument 153 bnxt_alloc_mem(struct bnxt *bp) argument 183 hwrm_init(struct bnxt *bp, struct input *req, u16 cmd, u16 len) argument 193 hwrm_write_req(struct bnxt *bp, void *req, u32 cnt) argument 203 short_hwrm_cmd_req(struct bnxt *bp, u16 len) argument 216 wait_resp(struct bnxt *bp, u32 tmo, u16 len, const char *func) argument 248 bnxt_db_cq(struct bnxt *bp) argument 253 bnxt_db_rx(struct bnxt *bp, u32 idx) argument 258 bnxt_db_tx(struct bnxt *bp, u32 idx) argument 273 bnxt_tx_avail(struct bnxt *bp) argument 282 set_txq(struct bnxt *bp, int entry, dma_addr_t mapping, int len) argument 305 bnxt_tx_complete(struct bnxt *bp) argument 312 post_rx_buffers(struct bnxt *bp) argument 341 bnxt_rx_drop(struct bnxt *bp, u8 *rx_buf, struct rx_pkt_cmpl_hi *rx_cmp_hi) argument 370 bnxt_adv_cq_index(struct bnxt *bp, u16 count) argument 383 bnxt_adv_rx_index(struct bnxt *bp, u8 *iob, u32 iob_idx) argument 396 rx_process(struct bnxt *bp, struct rx_pkt_cmpl *rx_cmp, struct rx_pkt_cmpl_hi *rx_cmp_hi) argument 417 bnxt_rx_complete(struct bnxt *bp, struct rx_pkt_cmpl *rx_cmp) argument 435 bnxt_hwrm_ver_get(struct bnxt *bp) argument 484 bnxt_hwrm_func_resource_qcaps(struct bnxt *bp) argument 534 set_ring_info(struct bnxt *bp) argument 568 bnxt_hwrm_assign_resources(struct bnxt *bp) argument 585 bnxt_hwrm_nvm_flush(struct bnxt *bp) argument 602 bnxt_hwrm_func_qcaps_req(struct bnxt *bp) argument 630 bnxt_hwrm_func_qcfg_req(struct bnxt *bp) argument 661 bnxt_hwrm_func_reset_req(struct bnxt *bp) argument 673 bnxt_hwrm_func_cfg_req(struct bnxt *bp) argument 686 bnxt_hwrm_func_drv_rgtr(struct bnxt *bp) argument 712 bnxt_hwrm_func_drv_unrgtr(struct bnxt *bp) argument 733 bnxt_hwrm_cfa_l2_filter_alloc(struct bnxt *bp) argument 768 bnxt_hwrm_cfa_l2_filter_free(struct bnxt *bp) argument 810 bnxt_hwrm_set_rx_mask(struct bnxt *bp, u32 rx_mask) argument 824 bnxt_hwrm_port_mac_cfg(struct bnxt *bp) argument 836 bnxt_hwrm_port_phy_qcfg(struct bnxt *bp, u16 idx) argument 897 bnxt_hwrm_port_phy_cfg(struct bnxt *bp) argument 969 bnxt_qphy_link(struct bnxt *bp) argument 992 bnxt_hwrm_stat_ctx_alloc(struct bnxt *bp) argument 1012 bnxt_hwrm_stat_ctx_free(struct bnxt *bp) argument 1033 bnxt_hwrm_ring_free_grp(struct bnxt *bp) argument 1054 bnxt_hwrm_ring_alloc_grp(struct bnxt *bp) argument 1077 bnxt_hwrm_ring_free(struct bnxt *bp, u16 ring_id, u8 ring_type) argument 1090 bnxt_hwrm_ring_alloc(struct bnxt *bp, dma_addr_t ring_map, u16 length, u16 ring_id, u8 ring_type, u8 int_mode) argument 1137 bnxt_hwrm_ring_alloc_cq(struct bnxt *bp) argument 1147 bnxt_hwrm_ring_alloc_tx(struct bnxt *bp) argument 1156 bnxt_hwrm_ring_alloc_rx(struct bnxt *bp) argument 1166 bnxt_hwrm_ring_free_cq(struct bnxt *bp) argument 1180 bnxt_hwrm_ring_free_tx(struct bnxt *bp) argument 1194 bnxt_hwrm_ring_free_rx(struct bnxt *bp) argument 1208 bnxt_hwrm_vnic_alloc(struct bnxt *bp) argument 1229 bnxt_hwrm_vnic_free(struct bnxt *bp) argument 1250 bnxt_hwrm_vnic_cfg(struct bnxt *bp) argument 1266 set_phy_speed(struct bnxt *bp) argument 1318 set_phy_link(struct bnxt *bp, u32 tmo) argument 1333 get_phy_link(struct bnxt *bp) argument 1347 bnxt_hwrm_set_async_event(struct bnxt *bp) argument 1363 bnxt_hwrm_get_nvmem(struct bnxt *bp, u16 data_len, u16 option_num, u16 dimensions, u16 index_0) argument 1386 set_medium(struct bnxt *bp) argument 1422 bnxt_hwrm_get_link_speed(struct bnxt *bp) argument 1480 bnxt_hwrm_run(hwrm_func_t cmds[], struct bnxt *bp, int flag) argument 1502 struct bnxt *bp = dev_get_priv(dev); local 1513 struct bnxt *bp = dev_get_priv(dev); local 1537 bnxt_link_evt(struct bnxt *bp, struct cmpl_base *cmp) argument 1558 struct bnxt *bp = dev_get_priv(dev); local 1604 struct bnxt *bp = dev_get_priv(dev); local 1614 struct bnxt *bp = dev_get_priv(dev); local 1627 struct bnxt *bp = dev_get_priv(dev); local 1659 struct bnxt *bp = dev_get_priv(dev); local 1685 struct bnxt *bp = dev_get_priv(dev); local [all...] |
H A D | bnxt_dbg.h | 94 void dbg_pci(struct bnxt *bp, const char *func, u16 cmd_reg) argument 97 printf(" Vendor id : %04X\n", bp->vendor_id); 98 printf(" Device id : %04X\n", bp->device_id); 99 printf(" Irq : %d\n", bp->irq); 100 printf(" PCI Command Reg : %04X %04X\n", bp->cmd_reg, cmd_reg); 101 printf(" Sub Vendor id : %04X\n", bp->subsystem_vendor); 102 printf(" Sub Device id : %04X\n", bp->subsystem_device); 103 printf(" BAR (0) : %p\n", bp->bar0); 104 printf(" BAR (1) : %p\n", bp->bar1); 105 printf(" BAR (2) : %p\n", bp 112 dbg_mem(struct bnxt *bp, const char *func) argument 153 dbg_func_resource_qcaps(struct bnxt *bp) argument 172 print_func_qcaps(struct bnxt *bp) argument 185 print_func_qcfg(struct bnxt *bp) argument 232 dbg_chip_info(struct bnxt *bp) argument 241 print_num_rings(struct bnxt *bp) argument 267 dump_hwrm_req(struct bnxt *bp, const char *func, u32 len, u32 tmo) argument 279 debug_resp(struct bnxt *bp, const char *func, u32 resp_len, u16 err) argument 299 dbg_hw_cmd(struct bnxt *bp, const char *func, u16 cmd_len, u16 resp_len, u32 cmd_tmo, u16 err) argument 386 dbg_rx_pkt(struct bnxt *bp, const char *func, uchar *pkt, int len) argument 436 dump_tx_stat(struct bnxt *bp) argument 507 dbg_link_status(struct bnxt *bp) argument 519 dbg_link_state(struct bnxt *bp, u32 tmo) argument 525 dbg_phy_speed(struct bnxt *bp, char *name) argument [all...] |
H A D | bnxt.h | 62 #define SET_MEDIUM_SPEED(bp, s) (((bp)->medium & ~MEDIUM_SPEED_MASK) | (s)) 67 #define SET_MEDIUM_DUPLEX(bp, d) (((bp)->medium & ~MEDIUM_HALF_DUPLEX) | (d)) 107 #define TX_RING_QID ((u16)bp->port_idx * 10) 387 #define RING_FREE(bp, rid, flag) bnxt_hwrm_ring_free(bp, rid, flag)
|
/u-boot/include/zfs/ |
H A D | spa.h | 61 * overhead, three DVAs per bp, plus one more bit in case we do anything 140 * fill count number of non-zero blocks under this bp 141 * checksum[4] 256-bit checksum of the data this bp describes 144 #define SPA_DVAS_PER_BP 3 /* Number of DVAs in a bp */ 157 * Macros to get and set fields in a bp or DVA. 173 #define BP_GET_LSIZE(bp) \ 174 BF64_GET_SB((bp)->blk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1) 175 #define BP_SET_LSIZE(bp, x) \ 176 BF64_SET_SB((bp)->blk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1, x) 178 #define BP_GET_COMPRESS(bp) BF64_GE [all...] |
/u-boot/arch/arm/cpu/arm926ejs/mxs/ |
H A D | iomux.c | 31 u32 reg, ofs, bp, bm; local 38 bp = PAD_PIN(pad) % 16 * 2; 39 bm = 0x3 << bp; 42 reg |= PAD_MUXSEL(pad) << bp; 50 bp = PAD_PIN(pad) % 8 * 4; 51 bm = 0x3 << bp; 54 reg |= PAD_MA(pad) << bp; 59 bp = PAD_PIN(pad) % 8 * 4 + 2; 62 writel(1 << bp, &mxs_reg->reg_set); 64 writel(1 << bp, [all...] |
/u-boot/lib/efi_driver/ |
H A D | efi_uclass.c | 67 struct efi_driver_binding_extended_protocol *bp = local 83 controller_handle, bp->ops->protocol, 99 r = efi_close_protocol(controller_handle, bp->ops->protocol, 123 struct efi_driver_binding_extended_protocol *bp = local 131 controller_handle, bp->ops->protocol, 147 ret = bp->ops->bind(bp, controller_handle, interface); 152 r = efi_close_protocol(controller_handle, bp->ops->protocol, 210 struct efi_driver_binding_extended_protocol *bp = local 232 controller_handle, bp 268 struct efi_driver_binding_extended_protocol *bp; local [all...] |
/u-boot/net/ |
H A D | bootp.c | 119 struct bootp_hdr *bp = (struct bootp_hdr *)pkt; local 126 else if (bp->bp_op != OP_BOOTREPLY) 128 else if (bp->bp_htype != HWT_ETHER) 130 else if (bp->bp_hlen != HWL_ETHER) 132 else if (!bootp_match_id(net_read_u32(&bp->bp_id))) 134 else if (memcmp(bp->bp_chaddr, net_ethaddr, HWL_ETHER) != 0) 142 static void store_bootp_params(struct bootp_hdr *bp) argument 154 net_copy_ip(&tmp_ip, &bp->bp_siaddr); 156 net_copy_ip(&net_server_ip, &bp->bp_siaddr); 163 (strlen(bp 182 store_net_params(struct bootp_hdr *bp) argument 360 struct bootp_hdr *bp; local 723 struct bootp_hdr *bp; local 954 dhcp_packet_process_options(struct bootp_hdr *bp) argument 1006 struct bootp_hdr *bp; local 1072 struct bootp_hdr *bp = (struct bootp_hdr *)pkt; local [all...] |
/u-boot/include/ |
H A D | efi_driver.h | 18 * @bp: driver binding protocol 22 struct efi_driver_binding_protocol bp; member in struct:efi_driver_binding_extended_protocol
|
/u-boot/drivers/video/sunxi/ |
H A D | lcdc.c | 77 int bp, clk_delay, total, val; local 95 bp = mode->hsync_len.typ + mode->hback_porch.typ; 96 total = mode->hactive.typ + mode->hfront_porch.typ + bp; 98 SUNXI_LCDC_TCON0_TIMING_H_BP(bp), &lcdc->tcon0_timing_h); 100 bp = mode->vsync_len.typ + mode->vback_porch.typ; 101 total = mode->vactive.typ + mode->vfront_porch.typ + bp; 103 SUNXI_LCDC_TCON0_TIMING_V_BP(bp), &lcdc->tcon0_timing_v); 154 int bp, clk_delay, total, val, yres; local 178 bp = mode->hsync_len.typ + mode->hback_porch.typ; 179 total = mode->hactive.typ + mode->hfront_porch.typ + bp; [all...] |
/u-boot/tools/gdb/ |
H A D | remote.c | 754 char *bp; local 758 bp = buf; 779 *bp = '\000'; 805 if (c > 0 && c < 255 && bp + c - 1 < buf + PBUFSIZ - 1) 807 memset (bp, *(bp - 1), c); 808 bp += c; 812 *bp = '\0'; 818 if (bp < buf + PBUFSIZ - 1) 820 *bp [all...] |
/u-boot/arch/arm/include/asm/arch-omap3/ |
H A D | dss.h | 216 #define DSS_HBP(bp) (((bp) - 1) << 20) 219 #define DSS_VBP(bp) ((bp) << 20) 223 #define PANEL_TIMING_H(bp, fp, sw) (DSS_HBP(bp) | DSS_HFP(fp) | DSS_HSW(sw)) 224 #define PANEL_TIMING_V(bp, fp, sw) (DSS_VBP(bp) | DSS_VFP(fp) | DSS_VSW(sw))
|
/u-boot/scripts/dtc/libfdt/ |
H A D | libfdt.h | 122 uint8_t *bp = (uint8_t *)property; local 124 bp[0] = value >> 24; 125 bp[1] = (value >> 16) & 0xff; 126 bp[2] = (value >> 8) & 0xff; 127 bp[3] = value & 0xff; 132 uint8_t *bp = (uint8_t *)property; local 134 bp[0] = value >> 56; 135 bp[1] = (value >> 48) & 0xff; 136 bp[2] = (value >> 40) & 0xff; 137 bp[ [all...] |
/u-boot/fs/zfs/ |
H A D | zfs.c | 71 * Macros to get fields in a bp or DVA. 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) argument 435 return (((zfs_to_cpu64((bp)->blk_prop, endian) >> 16) & 0xffff) + 1) 452 zio_read_gang(blkptr_t *bp, zfs_endian_t endian, dva_t *dva, void *buf, argument 481 dva_get_offset(dva, endian), bp->blk_birth, 0); 489 endian = (zfs_to_cpu64(bp->blk_prop, endian) >> 63) & 1; 510 zio_read_data(blkptr_t *bp, zfs_endian_t endian, void *buf, argument 516 psize = get_psize(bp, endia 560 zio_read(blkptr_t *bp, zfs_endian_t endian, void **buf, size_t *size, struct zfs_data *data) argument 635 blkptr_t *bp; local 1367 blkptr_t *bp; local 2070 blkptr_t *bp = &data->dnode.dn.dn_spill; local [all...] |
/u-boot/arch/arm/include/asm/ |
H A D | processor.h | 63 struct debug_entry bp[2]; member in struct:debug_info
|
/u-boot/scripts/dtc/ |
H A D | treesource.c | 170 const char *bp = val.val; local 175 while (m && (m->offset == (bp-val.val))) { 181 fprintf(f, "%02hhx", (unsigned char)(*bp++)); 182 if ((const void *)bp >= propend)
|
/u-boot/drivers/video/nexell/soc/ |
H A D | s5pxx18_soc_mlc.c | 504 u32 bp[3] = { local 516 bp[0] = 11; 517 bp[1] = 5; 518 bp[2] = 0; 524 bp[0] = 0; 525 bp[1] = 5; 526 bp[2] = 11; 533 bp[0] = 10; 534 bp[1] = 5; 535 bp[ [all...] |
/u-boot/arch/x86/cpu/ |
H A D | sipi_vector.S | 59 movw %ax, %bp 62 data32 cs ljmp *(%bp)
|
/u-boot/arch/x86/lib/ |
H A D | bios.h | 65 DOWNTO16(bp);
|
/u-boot/test/image/ |
H A D | spl_load_net.c | 27 struct bootp_hdr *bp; local 42 bp = (void *)ip + IP_UDP_HDR_SIZE; 43 if (bp->bp_op != OP_BOOTREQUEST)
|
/u-boot/drivers/qe/ |
H A D | qe.c | 356 uint *bp; local 364 bp = (uint *)&qe_immr->brg.brgc1; 365 bp += brg; 376 * *bp = ((divisor - 1) << QE_BRGC_DIVISOR_SHIFT) | QE_BRGC_ENABLE; 384 out_be32(bp, val);
|
/u-boot/arch/mips/mach-octeon/ |
H A D | cvmx-helper-rgmii.c | 246 gmx_tx_ovr_bp.s.bp &= ~(1 << index);
|
/u-boot/lib/zstd/decompress/ |
H A D | zstd_decompress.c | 1130 { blockProperties_t bp; local 1131 size_t const cBlockSize = ZSTD_getcBlockSize(src, ZSTD_blockHeaderSize, &bp); 1135 dctx->bType = bp.blockType; 1136 dctx->rleSize = bp.origSize; 1138 dctx->stage = bp.lastBlock ? ZSTDds_decompressLastBlock : ZSTDds_decompressBlock; 1142 if (bp.lastBlock) {
|
/u-boot/arch/mips/mach-octeon/include/mach/ |
H A D | cvmx-fpa3.h | 475 aura_level.s.bp = bp_thresh >> shift;
|
H A D | cvmx-agl-defs.h | 1799 u64 bp : 1; member in struct:cvmx_agl_gmx_stat_bp::cvmx_agl_gmx_stat_bp_s 2578 u64 bp : 2; member in struct:cvmx_agl_gmx_tx_bp::cvmx_agl_gmx_tx_bp_s 2584 u64 bp : 1; member in struct:cvmx_agl_gmx_tx_bp::cvmx_agl_gmx_tx_bp_cn56xx 2896 u64 bp : 2; member in struct:cvmx_agl_gmx_tx_ovr_bp::cvmx_agl_gmx_tx_ovr_bp_s 2906 u64 bp : 1; member in struct:cvmx_agl_gmx_tx_ovr_bp::cvmx_agl_gmx_tx_ovr_bp_cn56xx
|
H A D | cvmx-gmxx-defs.h | 1871 u64 bp : 4; member in struct:cvmx_gmxx_pipe_status::cvmx_gmxx_pipe_status_s 4290 u64 bp : 1; member in struct:cvmx_gmxx_stat_bp::cvmx_gmxx_stat_bp_s 5420 u64 bp : 4; member in struct:cvmx_gmxx_tx_bp::cvmx_gmxx_tx_bp_s 5424 u64 bp : 3; member in struct:cvmx_gmxx_tx_bp::cvmx_gmxx_tx_bp_cn30xx 5446 u64 bp : 2; member in struct:cvmx_gmxx_tx_bp::cvmx_gmxx_tx_bp_cnf71xx 6030 u64 bp : 4; member in struct:cvmx_gmxx_tx_ovr_bp::cvmx_gmxx_tx_ovr_bp_s 6037 u64 bp : 3; member in struct:cvmx_gmxx_tx_ovr_bp::cvmx_gmxx_tx_ovr_bp_cn30xx 6045 u64 bp : 4; member in struct:cvmx_gmxx_tx_ovr_bp::cvmx_gmxx_tx_ovr_bp_cn38xx 6070 u64 bp : 2; member in struct:cvmx_gmxx_tx_ovr_bp::cvmx_gmxx_tx_ovr_bp_cnf71xx
|