Searched refs:bp (Results 1 - 25 of 118) sorted by relevance

12345

/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/
H A Ddt_buf.c53 dt_buf_create(dtrace_hdl_t *dtp, dt_buf_t *bp, const char *name, size_t len) argument
58 bp->dbu_buf = bp->dbu_ptr = dt_zalloc(dtp, len);
59 bp->dbu_len = len;
61 if (bp->dbu_buf == NULL)
62 bp->dbu_err = dtrace_errno(dtp);
64 bp->dbu_err = 0;
66 bp->dbu_resizes = 0;
67 bp->dbu_name = name;
71 dt_buf_destroy(dtrace_hdl_t *dtp, dt_buf_t *bp) argument
80 dt_buf_reset(dtrace_hdl_t *dtp, dt_buf_t *bp) argument
89 dt_buf_write(dtrace_hdl_t *dtp, dt_buf_t *bp, const void *buf, size_t len, size_t align) argument
143 dt_buf_offset(const dt_buf_t *bp, size_t align) argument
150 dt_buf_len(const dt_buf_t *bp) argument
156 dt_buf_error(const dt_buf_t *bp) argument
162 dt_buf_ptr(const dt_buf_t *bp) argument
168 dt_buf_claim(dtrace_hdl_t *dtp, dt_buf_t *bp) argument
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/
H A Dbnx2.c137 bnx2_reg_rd_ind(struct bnx2 *bp, u32 offset) argument
139 REG_WR(bp, BNX2_PCICFG_REG_WINDOW_ADDRESS, offset);
140 return (REG_RD(bp, BNX2_PCICFG_REG_WINDOW));
144 bnx2_reg_wr_ind(struct bnx2 *bp, u32 offset, u32 val) argument
146 REG_WR(bp, BNX2_PCICFG_REG_WINDOW_ADDRESS, offset);
147 REG_WR(bp, BNX2_PCICFG_REG_WINDOW, val);
151 bnx2_ctx_wr(struct bnx2 *bp, u32 cid_addr, u32 offset, u32 val) argument
154 REG_WR(bp, BNX2_CTX_DATA_ADR, offset);
155 REG_WR(bp, BNX2_CTX_DATA, val);
159 bnx2_read_phy(struct bnx2 *bp, u3 argument
216 bnx2_write_phy(struct bnx2 *bp, u32 reg, u32 val) argument
265 bnx2_disable_int(struct bnx2 *bp) argument
274 bnx2_alloc_mem(struct bnx2 *bp) argument
295 bnx2_report_fw_link(struct bnx2 *bp) argument
351 bnx2_report_link(struct bnx2 *bp) argument
384 bnx2_resolve_flow_ctrl(struct bnx2 *bp) argument
460 bnx2_5708s_linkup(struct bnx2 *bp) argument
489 bnx2_5706s_linkup(struct bnx2 *bp) argument
526 bnx2_copper_linkup(struct bnx2 *bp) argument
592 bnx2_set_mac_link(struct bnx2 *bp) argument
659 bnx2_set_link(struct bnx2 *bp) argument
725 bnx2_reset_phy(struct bnx2 *bp) argument
749 bnx2_phy_get_pause_adv(struct bnx2 *bp) argument
783 bnx2_setup_serdes_phy(struct bnx2 *bp) argument
896 bnx2_setup_copper_phy(struct bnx2 *bp) argument
991 bnx2_setup_phy(struct bnx2 *bp) argument
1005 bnx2_init_5708s_phy(struct bnx2 *bp) argument
1059 bnx2_init_5706s_phy(struct bnx2 *bp) argument
1082 bnx2_init_copper_phy(struct bnx2 *bp) argument
1114 bnx2_init_phy(struct bnx2 *bp) argument
1147 bnx2_fw_sync(struct bnx2 *bp, u32 msg_data, int silent) argument
1189 bnx2_init_context(struct bnx2 *bp) argument
1230 bnx2_alloc_bad_rbuf(struct bnx2 *bp) argument
1273 bnx2_set_mac_addr(struct bnx2 *bp) argument
1291 struct bnx2 *bp = &bnx2; local
1321 load_rv2p_fw(struct bnx2 *bp, u32 *rv2p_code, u32 rv2p_code_len, u32 rv2p_proc) argument
1353 load_cpu_fw(struct bnx2 *bp, struct cpu_reg *cpu_reg, struct fw_info *fw) argument
1427 bnx2_init_cpus(struct bnx2 *bp) argument
1628 bnx2_set_power_state_0(struct bnx2 *bp) argument
1656 bnx2_enable_nvram_access(struct bnx2 *bp) argument
1667 bnx2_disable_nvram_access(struct bnx2 *bp) argument
1679 bnx2_init_nvram(struct bnx2 *bp) argument
1753 bnx2_reset_chip(struct bnx2 *bp, u32 reset_code) argument
1836 struct bnx2* bp = &bnx2; local
1845 bnx2_init_chip(struct bnx2 *bp) argument
2005 bnx2_init_tx_ring(struct bnx2 *bp) argument
2037 bnx2_init_rx_ring(struct bnx2 *bp) argument
2089 bnx2_reset_nic(struct bnx2 *bp, u32 reset_code) argument
2105 bnx2_init_nic(struct bnx2 *bp) argument
2121 struct bnx2 *bp = &bnx2; local
2364 struct bnx2 *bp = &bnx2; local
2419 bnx2_poll_link(struct bnx2 *bp) argument
2494 struct bnx2 *bp = &bnx2; local
2617 struct bnx2 *bp = &bnx2; local
[all...]
H A Db44.c58 static inline u32 br32(const struct b44_private *bp, u32 reg) argument
60 return readl(bp->regs + reg);
64 static inline void bw32(const struct b44_private *bp, u32 reg, u32 val) argument
66 writel(val, bp->regs + reg);
70 static inline void bflush(const struct b44_private *bp, u32 reg, u32 timeout) argument
72 readl(bp->regs + reg);
103 static u32 pending_tx_index(struct b44_private *bp) argument
105 u32 pending = br32(bp, B44_DMATX_STAT);
117 static u32 pending_rx_index(struct b44_private *bp) argument
119 u32 pending = br32(bp, B44_DMARX_STA
130 b44_wait_bit(struct b44_private *bp, unsigned long reg, u32 bit, unsigned long timeout, const int clear) argument
165 ssb_get_core_rev(struct b44_private *bp) argument
171 ssb_is_core_up(struct b44_private *bp) argument
178 ssb_pci_setup(struct b44_private *bp, u32 cores) argument
201 ssb_core_disable(struct b44_private *bp) argument
219 ssb_core_reset(struct b44_private *bp) argument
259 b44_chip_reset(struct b44_private *bp, int reset_kind) argument
311 b44_halt(struct b44_private *bp) argument
336 b44_init_hw(struct b44_private *bp, int reset_kind) argument
380 b44_populate_rx_descriptor(struct b44_private *bp, u32 idx) argument
405 b44_rx_refill(struct b44_private *bp, u32 pending) argument
425 b44_free_rx_ring(struct b44_private *bp) argument
440 b44_init_rx_ring(struct b44_private *bp) argument
459 b44_free_tx_ring(struct b44_private *bp) argument
468 b44_init_tx_ring(struct b44_private *bp) argument
487 b44_phy_read(struct b44_private *bp, int reg, u32 * val) argument
506 b44_phy_write(struct b44_private *bp, int reg, u32 val) argument
522 b44_phy_reset(struct b44_private *bp) argument
547 b44_cam_write(struct b44_private *bp, unsigned char *data, int index) argument
571 b44_set_mac_addr(struct b44_private *bp) argument
582 b44_read_eeprom(struct b44_private *bp, u8 * data) argument
592 b44_load_mac_and_phy_addr(struct b44_private *bp) argument
612 struct b44_private *bp = netdev_priv(netdev); local
644 struct b44_private *bp; local
713 struct b44_private *bp = netdev_priv(netdev); local
730 struct b44_private *bp = netdev_priv(netdev); local
744 struct b44_private *bp = netdev_priv(netdev); local
770 struct b44_private *bp = netdev_priv(netdev); local
786 struct b44_private *bp = netdev_priv(netdev); local
824 b44_tx_complete(struct b44_private *bp) argument
843 b44_process_rx_packets(struct b44_private *bp) argument
902 struct b44_private *bp = netdev_priv(netdev); local
[all...]
H A Db44.h400 #define B44_RX_RING_LEN_BYTES ( sizeof bp->rx[0] * B44_RING_SIZE )
401 #define B44_TX_RING_LEN_BYTES ( sizeof bp->tx[0] * B44_RING_SIZE )
434 static void ssb_core_reset ( struct b44_private *bp );
435 static void ssb_core_disable ( struct b44_private *bp );
436 static u32 ssb_pci_setup ( struct b44_private *bp, u32 cores );
438 static void b44_chip_reset ( struct b44_private *bp, int reset_kind );
439 static void b44_init_hw ( struct b44_private *bp, int reset_kind );
440 static void b44_cam_write ( struct b44_private *bp, u8 *data, int index );
441 static void b44_set_mac_addr ( struct b44_private *bp );
445 static int b44_phy_reset ( struct b44_private *bp );
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/core/
H A Dpatch_cf.S33 pushw %bp
34 movw %sp, %bp
35 setc 8(%bp) /* Set/reset CF; clears PF, AF, ZF, SF */
36 popw %bp
H A Dgdbmach.c64 static void gdbmach_commit_hwbp ( struct hwbp *bp ) {
65 unsigned int regnum = bp - hwbps;
71 __asm__ __volatile__ ( "movl %0, %%dr0\n" : : "r" ( bp->addr ) );
74 __asm__ __volatile__ ( "movl %0, %%dr1\n" : : "r" ( bp->addr ) );
77 __asm__ __volatile__ ( "movl %0, %%dr2\n" : : "r" ( bp->addr ) );
80 __asm__ __volatile__ ( "movl %0, %%dr3\n" : : "r" ( bp->addr ) );
86 dr7 |= bp->type << ( 16 + 4 * regnum );
90 dr7 |= bp->len << ( 18 + 4 * regnum );
94 dr7 |= bp->enabled << 2 * regnum;
98 struct hwbp *bp; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Time/
H A Dstrptime.c88 const unsigned char *bp; local
92 bp = (const unsigned char *)buf;
94 while (bp != NULL && (c = *fmt++) != '\0') {
101 while (isspace(*bp))
102 bp++;
113 if (c != *bp++)
171 bp = (const unsigned char *)strptime((const char *)bp,
181 bp = find_string(bp,
381 find_string(const unsigned char *bp, int *tgt, const char * const *n1, const char * const *n2, int c) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/DebugSupportDxe/Ipf/
H A DCommon.i28 #define MASK(bp,value) (value << bp)
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/prefix/
H A Dmbr.S8 movw $exec_sector, %bp
/vbox/src/VBox/Devices/Network/slirp/
H A Dbootp.c208 static struct mbuf *dhcp_create_msg(PNATState pData, struct bootp_t *bp, struct mbuf *m, uint8_t type) argument
215 memcpy(eh->h_source, bp->bp_hwaddr, ETH_ALEN); /* XXX: if_encap just swap source with dest */
222 rbp->bp_xid = bp->bp_xid; /* see table 3 of rfc2131*/
223 rbp->bp_flags = bp->bp_flags; /* figure 2 of rfc2131 */
224 rbp->bp_giaddr.s_addr = bp->bp_giaddr.s_addr;
231 memcpy(rbp->bp_hwaddr, bp->bp_hwaddr, 6);
352 static int dhcp_send_nack(PNATState pData, struct bootp_t *bp, BOOTPClient *bc, struct mbuf *m) argument
356 dhcp_create_msg(pData, bp, m, DHCPNAK);
360 static int dhcp_send_ack(PNATState pData, struct bootp_t *bp, BOOTPClient *bc, struct mbuf *m, int fDhcpRequest) argument
364 dhcp_create_msg(pData, bp,
369 dhcp_send_offer(PNATState pData, struct bootp_t *bp, BOOTPClient *bc, struct mbuf *m) argument
400 dhcp_decode_request(PNATState pData, struct bootp_t *bp, struct mbuf *m) argument
567 dhcp_decode_discover(PNATState pData, struct bootp_t *bp, int fDhcpDiscover, struct mbuf *m) argument
610 dhcp_decode_release(PNATState pData, struct bootp_t *bp) argument
683 dhcp_decode(PNATState pData, struct bootp_t *bp, const uint8_t *buf, int size) argument
846 struct bootp_t *bp = mtod(m, struct bootp_t *); local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/BsdSocketLib/
H A Dgethostbydns.c204 char *bp, **ap, **hap; local
233 bp = hostbuf;
241 n = dn_expand(answer->buf, eom, cp, bp, buflen);
242 if ((n < 0) || !(*name_ok)(bp)) {
252 n = (int)strlen(bp) + 1; /* for the \0 */
257 host.h_name = bp;
258 bp += n;
273 n = dn_expand(answer->buf, eom, cp, bp, buflen);
274 if ((n < 0) || !(*name_ok)(bp)) {
310 *ap++ = bp;
525 char *bp; local
[all...]
H A Dns_addr.c115 register char *bp = buf; local
158 while (*bp) switch (*bp++) {
174 *--bp = '0';
183 *--bp = 0; /* Ends Loop */
196 for (bp = buf; *bp++; ) clen++;
200 bp = clen + buf - 3;
204 (void)sscanf(bp, fmt, hp);
205 bp[
[all...]
H A Dns_name.c177 u_char *label, *bp, *eom; local
182 bp = dst;
184 label = bp++;
213 c = ((int)(bp - label) - 1);
226 if (bp >= eom) {
230 *bp++ = '\0';
232 if ((bp - dst) > MAXCDNAME) {
242 label = bp++;
245 if (bp >= eom) {
249 *bp
[all...]
H A Dgetnetbydns.c127 char *in, *st, *pauxt, *bp, **ap; local
150 bp = netbuf;
167 n = dn_expand(answer->buf, eom, cp, bp, buflen);
168 if ((n < 0) || !res_dnok(bp))
172 (void)strncpy(&ans[0], bp, sizeof(ans) - 1);
179 n = dn_expand(answer->buf, eom, cp, bp, buflen);
180 if ((n < 0) || !res_hnok(bp)) {
185 *ap++ = bp;
186 bp += strlen(bp)
[all...]
H A DSocklib_internals.h40 void _map_v4v6_hostent (struct hostent *hp, char **bp, int *len);
/vbox/src/VBox/Devices/PC/BIOS/
H A DVBoxBiosAlternative.asm1062 push bp ; 55
1063 mov bp, sp ; 89 e5
1078 mov word [bp-008h], bx ; 89 5e f8
1079 mov word [bp-00ah], strict word 00003h ; c7 46 f6 03 00
1080 call far [bp-00ah] ; ff 5e f6
1096 lea sp, [bp-006h] ; 8d 66 fa
1100 pop bp ; 5d
1104 push bp ; 55
1105 mov bp, sp ; 89 e5
1109 pop bp ;
[all...]
H A Dpcibios.inc96 push bp
97 mov bp, sp
121 mov dl, [bp-8]
136 mov eax, [bp-4]
141 mov [bp-4], eax
154 mov ax, [bp-6]
159 mov [bp-6], ax
161 mov al, [bp-8]
166 mov byte ptr[bp-8], al
199 mov byte ptr[bp
[all...]
H A Dapm_pm.asm58 mov bp, ax
59 shl bp, 1
65 jmp apm_disp[bp] ; and dispatch
140 push bp
143 pop bp
144 add bp, 8 ; calculate data selector
145 mov ds, bp ; load data segment
149 pop bp
177 mov bp, cs ; return address for 16-bit code
178 push bp
[all...]
/vbox/src/VBox/Devices/Graphics/BIOS/
H A DVBoxVgaBiosAlternative.asm1523 push bp ; 55
1524 mov bp, sp ; 89 e5
1531 pop bp ; 5d
1535 push bp ; 55
1536 mov bp, sp ; 89 e5
1547 lea sp, [bp-002h] ; 8d 66 fe
1549 pop bp ; 5d
1553 push bp ; 55
1554 mov bp, sp ; 89 e5
1566 pop bp ;
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/
H A Dw16stdio.c72 char *bp; local
74 bp = fgets( buf, (int) amount, stdin );
75 if ( bp == NULL )
/vbox/src/VBox/Devices/PC/ipxe/src/util/
H A Dnrv2b.c167 const unsigned char *bp; member in struct:ucl_compress
258 unsigned int bp; /* buffer pointer */ member in struct:ucl_swd
287 if (m_off <= (unsigned int) (c->bp - c->in))
289 assert(c->bp - m_off + m_len < c->ip);
290 assert(memcmp(c->bp, c->bp - m_off, m_len) == 0);
295 d_off = m_off - (unsigned int) (c->bp - c->in);
299 assert(memcmp(c->bp, swd->dict_end - d_off, d_off) ==
303 assert(memcmp(c->bp + d_off, c->in, m_len - d_off) ==
309 assert(memcmp(c->bp, sw
559 const unsigned char * bp = s->b + s->bp; local
[all...]
/vbox/src/VBox/RDP/client-1.8.3/
H A Dutils.c148 char bp[PATH_MAX]; local
162 pt[0] = bp[0] = '\0';
163 strcpy(bp, path);
165 ptok = strtok(bp, "/");
171 if (ptok != bp)
/vbox/src/libs/libpng-1.2.8/
H A Dpngwtran.c254 png_bytep bp = row;
266 for (i = 0; i < row_bytes; i++, bp++)
271 v = *bp;
272 *bp = 0;
276 *bp |= (png_byte)((v << j) & 0xff);
278 *bp |= (png_byte)((v >> (-j)) & mask);
284 png_bytep bp = row;
288 for (i = 0; i < istop; i++, bp++)
295 v = *bp;
296 *bp
[all...]
/vbox/src/libs/xpcom18a4/xpcom/typelib/xpt/tools/
H A Dxpt_link.c59 static int compare_IDEs_by_IID(const void *ap, const void *bp);
61 static int compare_IDEs_by_name(const void *ap, const void *bp);
62 static int compare_IDEs_by_name_space(const void *ap, const void *bp);
63 static int compare_strings(const void *ap, const void *bp);
64 static int compare_pointers(const void *ap, const void *bp);
65 static int compare_fixElements_by_IID(const void *ap, const void *bp);
66 static int compare_fixElements_by_name(const void *ap, const void *bp);
67 static int compare_IIDs(const void *ap, const void *bp);
633 const void *bp)
635 const XPTInterfaceDirectoryEntry *ide1 = ap, *ide2 = bp;
632 compare_IDEs_by_IID(const void *ap, const void *bp) argument
657 compare_fixElements_by_IID(const void *ap, const void *bp) argument
670 compare_IDEs_by_name(const void *ap, const void *bp) argument
683 compare_IDEs_by_name_space(const void *ap, const void *bp) argument
692 compare_strings(const void *ap, const void *bp) argument
707 compare_pointers(const void *ap, const void *bp) argument
721 compare_fixElements_by_name(const void *ap, const void *bp) argument
734 compare_IIDs(const void *ap, const void *bp) argument
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pxe/
H A Dpxe_entry.S204 pushw %bp
205 movw %sp, %bp
206 andb $~0x01, 8(%bp) /* Clear CF on return */
207 popw %bp

Completed in 1016 milliseconds

12345