/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/xfs/linux-2.6/ |
H A D | xfs_buf.h | 199 static inline int xfs_buf_iostrategy(xfs_buf_t *bp) argument 201 return bp->b_strat ? bp->b_strat(bp) : xfs_buf_iorequest(bp); 204 static inline int xfs_buf_geterror(xfs_buf_t *bp) argument 206 return bp ? bp->b_error : ENOMEM; 228 #define xfs_buf_trace(bp,id,ptr,ra) do { } while (0) 248 #define XFS_BUF_BFLAGS(bp) ((b 343 xfs_bawrite(void *mp, xfs_buf_t *bp) argument 351 xfs_buf_relse(xfs_buf_t *bp) argument 374 XFS_bwrite(xfs_buf_t *bp) argument 391 xfs_bdwrite(void *mp, xfs_buf_t *bp) argument [all...] |
H A D | xfs_buf.c | 49 xfs_buf_t *bp, 55 bp, id, 56 (void *)(unsigned long)bp->b_flags, 57 (void *)(unsigned long)bp->b_hold.counter, 58 (void *)(unsigned long)bp->b_sema.count.counter, 61 (void *)(unsigned long)((bp->b_file_offset>>32) & 0xffffffff), 62 (void *)(unsigned long)(bp->b_file_offset & 0xffffffff), 63 (void *)(unsigned long)bp->b_buffer_length, 68 #define XB_TRACE(bp, id, data) \ 69 xfs_buf_trace(bp, i 48 xfs_buf_trace( xfs_buf_t *bp, char *id, void *data, void *ra) argument 226 _xfs_buf_initialize( xfs_buf_t *bp, xfs_buftarg_t *target, xfs_off_t range_base, size_t range_length, xfs_buf_flags_t flags) argument 267 _xfs_buf_get_pages( xfs_buf_t *bp, int page_count, xfs_buf_flags_t flags) argument 293 _xfs_buf_free_pages( xfs_buf_t *bp) argument 310 xfs_buf_free( xfs_buf_t *bp) argument 342 _xfs_buf_lookup_pages( xfs_buf_t *bp, uint flags) argument 436 _xfs_buf_map_pages( xfs_buf_t *bp, uint flags) argument 481 xfs_buf_t *bp, *n; local 571 xfs_buf_t *bp, *new_bp; local 627 xfs_buf_t *bp; local 686 xfs_buf_t *bp; local 707 xfs_buf_associate_memory( xfs_buf_t *bp, void *mem, size_t len) argument 763 xfs_buf_t *bp; local 809 xfs_buf_hold( xfs_buf_t *bp) argument 821 xfs_buf_rele( xfs_buf_t *bp) argument 874 xfs_buf_cond_lock( xfs_buf_t *bp) argument 889 xfs_buf_lock_value( xfs_buf_t *bp) argument 903 xfs_buf_lock( xfs_buf_t *bp) argument 922 xfs_buf_unlock( xfs_buf_t *bp) argument 942 xfs_buf_pin( xfs_buf_t *bp) argument 950 xfs_buf_unpin( xfs_buf_t *bp) argument 959 xfs_buf_ispin( xfs_buf_t *bp) argument 966 xfs_buf_wait_unpin( xfs_buf_t *bp) argument 995 xfs_buf_t *bp = local 1005 xfs_buf_ioend( xfs_buf_t *bp, int schedule) argument 1028 xfs_buf_ioerror( xfs_buf_t *bp, int error) argument 1043 xfs_buf_iostart( xfs_buf_t *bp, xfs_buf_flags_t flags) argument 1084 _xfs_buf_iolocked( xfs_buf_t *bp) argument 1094 _xfs_buf_ioend( xfs_buf_t *bp, int schedule) argument 1110 xfs_buf_t *bp = (xfs_buf_t *)bio->bi_private; local 1148 _xfs_buf_ioapply( xfs_buf_t *bp) argument 1255 xfs_buf_iorequest( xfs_buf_t *bp) argument 1289 xfs_buf_iowait( xfs_buf_t *bp) argument 1301 xfs_buf_offset( xfs_buf_t *bp, size_t offset) argument 1319 xfs_buf_iomove( xfs_buf_t *bp, size_t boff, size_t bsize, caddr_t data, xfs_buf_rw_t mode) argument 1366 xfs_buf_t *bp, *n; local 1602 xfs_buf_delwri_queue( xfs_buf_t *bp, int unlock) argument 1631 xfs_buf_delwri_dequeue( xfs_buf_t *bp) argument 1687 xfs_buf_t *bp, *n; local 1727 xfs_buf_t *bp; local 1776 xfs_buf_t *bp, *n; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/rep/ |
H A D | rep_auto.c | 17 __rep_bulk_marshal(env, argp, bp, max, lenp) 20 u_int8_t *bp; 28 start = bp; 30 DB_HTONL_COPYOUT(env, bp, argp->len); 31 DB_HTONL_COPYOUT(env, bp, argp->lsn.file); 32 DB_HTONL_COPYOUT(env, bp, argp->lsn.offset); 33 DB_HTONL_COPYOUT(env, bp, argp->bulkdata.size); 35 memcpy(bp, argp->bulkdata.data, argp->bulkdata.size); 36 bp += argp->bulkdata.size; 39 *lenp = (size_t)(bp [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/atp/ |
H A D | atp_bufs.c | 61 struct atpbuf *bp; local 71 bp = free_list = (struct atpbuf *) mem; 73 bp->atpbuf_next = (struct atpbuf *) ( mem += sizeof( struct atpbuf )); 74 bp = bp->atpbuf_next; 76 bp->atpbuf_next = NULL; 85 struct atpbuf *bp; local 89 for ( bp = ah->atph_sent; bp != NULL; bp 122 struct atpbuf *bp; local 135 atp_free_buf(struct atpbuf *bp) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/atp/ |
H A D | atp_bufs.c | 61 struct atpbuf *bp; local 71 bp = free_list = (struct atpbuf *) mem; 73 bp->atpbuf_next = (struct atpbuf *) ( mem += sizeof( struct atpbuf )); 74 bp = bp->atpbuf_next; 76 bp->atpbuf_next = NULL; 85 struct atpbuf *bp; local 89 for ( bp = ah->atph_sent; bp != NULL; bp 122 struct atpbuf *bp; local 135 atp_free_buf(struct atpbuf *bp) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/sbus/char/ |
H A D | bbc_i2c.c | 78 struct bbc_i2c_bus *bp; member in struct:bbc_i2c_client 84 static int find_device(struct bbc_i2c_bus *bp, struct linux_ebus_child *echild) argument 89 if (bp->devs[i].device == echild) { 90 if (bp->devs[i].client_claimed) 98 static void set_device_claimage(struct bbc_i2c_bus *bp, struct linux_ebus_child *echild, int val) argument 103 if (bp->devs[i].device == echild) { 104 bp->devs[i].client_claimed = val; 115 struct bbc_i2c_bus *bp = all_bbc_i2c; local 117 while (bp != NULL) { 118 if (find_device(bp, echil 128 struct bbc_i2c_bus *bp = all_bbc_i2c; local 154 struct bbc_i2c_bus *bp = find_bus_for_device(echild); local 175 struct bbc_i2c_bus *bp = client->bp; local 182 wait_for_pin(struct bbc_i2c_bus *bp, u8 *status) argument 211 struct bbc_i2c_bus *bp = client->bp; local 242 struct bbc_i2c_bus *bp = client->bp; local 338 struct bbc_i2c_bus *bp = dev_id; local 350 reset_one_i2c(struct bbc_i2c_bus *bp) argument 361 struct bbc_i2c_bus *bp = kmalloc(sizeof(*bp), GFP_KERNEL); local 469 struct bbc_i2c_bus *bp = all_bbc_i2c; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/xfs/ |
H A D | xfs_trans_buf.c | 73 xfs_buf_t *bp; local 83 bp = xfs_buf_get_flags(target_dev, blkno, len, 85 return(bp); 95 bp = xfs_trans_buf_item_match(tp, target_dev, blkno, len); 97 bp = xfs_trans_buf_item_match_all(tp, target_dev, blkno, len); 99 if (bp != NULL) { 100 ASSERT(XFS_BUF_VALUSEMA(bp) <= 0); 102 xfs_buftrace("TRANS GET RECUR SHUT", bp); 103 XFS_BUF_SUPER_STALE(bp); 110 else if (XFS_BUF_ISSTALE(bp)) { 190 xfs_buf_t *bp; local 294 xfs_buf_t *bp; local 510 xfs_trans_brelse(xfs_trans_t *tp, xfs_buf_t *bp) argument 647 xfs_trans_bjoin(xfs_trans_t *tp, xfs_buf_t *bp) argument 692 xfs_trans_bhold(xfs_trans_t *tp, xfs_buf_t *bp) argument 714 xfs_trans_bhold_release(xfs_trans_t *tp, xfs_buf_t *bp) argument 742 xfs_trans_log_buf(xfs_trans_t *tp, xfs_buf_t *bp, uint first, uint last) argument 820 xfs_trans_binval( xfs_trans_t *tp, xfs_buf_t *bp) argument 899 xfs_trans_inode_buf( xfs_trans_t *tp, xfs_buf_t *bp) argument 925 xfs_trans_stale_inode_buf( xfs_trans_t *tp, xfs_buf_t *bp) argument 955 xfs_trans_inode_alloc_buf( xfs_trans_t *tp, xfs_buf_t *bp) argument 984 xfs_trans_dquot_buf( xfs_trans_t *tp, xfs_buf_t *bp, uint type) argument 1019 xfs_buf_t *bp; local 1072 xfs_buf_t *bp; local [all...] |
H A D | xfs_rw.c | 251 xfs_buf_t *bp) 255 ASSERT(XFS_BUF_ISREAD(bp) || bp->b_iodone); 262 xfs_buftrace("XFS IOERROR", bp); 263 XFS_BUF_ERROR(bp, EIO); 270 XFS_BUF_UNREAD(bp); 271 XFS_BUF_UNDELAYWRITE(bp); 272 XFS_BUF_UNDONE(bp); 273 XFS_BUF_STALE(bp); 275 XFS_BUF_CLR_BDSTRAT_FUNC(bp); 250 xfs_bioerror( xfs_buf_t *bp) argument 288 xfs_bioerror_relse( xfs_buf_t *bp) argument 331 xfs_ioerror_alert( char *func, struct xfs_mount *mp, xfs_buf_t *bp, xfs_daddr_t blkno) argument 365 xfs_buf_t *bp; local 402 xfs_bwrite( struct xfs_mount *mp, struct xfs_buf *bp) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/ |
H A D | defxx.c | 273 static void dfx_bus_config_check(DFX_board_t *bp); 278 static int dfx_adap_init(DFX_board_t *bp, int get_buffers); 283 static void dfx_int_pr_halt_id(DFX_board_t *bp); 284 static void dfx_int_type_0_process(DFX_board_t *bp); 291 static int dfx_ctl_update_cam(DFX_board_t *bp); 292 static int dfx_ctl_update_filters(DFX_board_t *bp); 294 static int dfx_hw_dma_cmd_req(DFX_board_t *bp); 295 static int dfx_hw_port_ctrl_req(DFX_board_t *bp, PI_UINT32 command, PI_UINT32 data_a, PI_UINT32 data_b, PI_UINT32 *host_data); 296 static void dfx_hw_adap_reset(DFX_board_t *bp, PI_UINT32 type); 297 static int dfx_hw_adap_state_rd(DFX_board_t *bp); 365 dfx_writel(DFX_board_t *bp, int offset, u32 data) argument 371 dfx_outl(DFX_board_t *bp, int offset, u32 data) argument 376 dfx_port_write_long(DFX_board_t *bp, int offset, u32 data) argument 389 dfx_readl(DFX_board_t *bp, int offset, u32 *data) argument 395 dfx_inl(DFX_board_t *bp, int offset, u32 *data) argument 400 dfx_port_read_long(DFX_board_t *bp, int offset, u32 *data) argument 517 DFX_board_t *bp; /* board pointer */ local 666 DFX_board_t *bp = netdev_priv(dev); local 812 DFX_board_t *bp = netdev_priv(dev); local 867 dfx_bus_config_check(DFX_board_t *bp) argument 955 DFX_board_t *bp = netdev_priv(dev); local 1165 dfx_adap_init(DFX_board_t *bp, int get_buffers) argument 1364 DFX_board_t *bp = netdev_priv(dev); local 1455 DFX_board_t *bp = netdev_priv(dev); local 1540 dfx_int_pr_halt_id(DFX_board_t *bp) argument 1644 dfx_int_type_0_process(DFX_board_t *bp) argument 1791 DFX_board_t *bp = netdev_priv(dev); local 1862 DFX_board_t *bp = netdev_priv(dev); local 1989 DFX_board_t *bp = netdev_priv(dev); local 2176 DFX_board_t *bp = netdev_priv(dev); local 2291 DFX_board_t *bp = netdev_priv(dev); local 2375 dfx_ctl_update_cam(DFX_board_t *bp) argument 2458 dfx_ctl_update_filters(DFX_board_t *bp) argument 2533 dfx_hw_dma_cmd_req(DFX_board_t *bp) argument 2647 dfx_hw_port_ctrl_req( DFX_board_t *bp, PI_UINT32 command, PI_UINT32 data_a, PI_UINT32 data_b, PI_UINT32 *host_data ) argument 2731 dfx_hw_adap_reset( DFX_board_t *bp, PI_UINT32 type ) argument 2779 dfx_hw_adap_state_rd(DFX_board_t *bp) argument 2819 dfx_hw_dma_uninit(DFX_board_t *bp, PI_UINT32 type) argument 2891 dfx_rcv_init(DFX_board_t *bp, int get_buffers) argument 3176 DFX_board_t *bp = netdev_priv(dev); local 3363 dfx_xmt_done(DFX_board_t *bp) argument 3570 DFX_board_t *bp = netdev_priv(dev); local [all...] |
H A D | bnx2.c | 216 static inline u32 bnx2_tx_avail(struct bnx2 *bp) argument 225 diff = bp->tx_prod - bp->tx_cons; 231 return (bp->tx_ring_size - diff); 235 bnx2_reg_rd_ind(struct bnx2 *bp, u32 offset) argument 239 spin_lock_bh(&bp->indirect_lock); 240 REG_WR(bp, BNX2_PCICFG_REG_WINDOW_ADDRESS, offset); 241 val = REG_RD(bp, BNX2_PCICFG_REG_WINDOW); 242 spin_unlock_bh(&bp->indirect_lock); 247 bnx2_reg_wr_ind(struct bnx2 *bp, u3 argument 256 bnx2_ctx_wr(struct bnx2 *bp, u32 cid_addr, u32 offset, u32 val) argument 281 bnx2_read_phy(struct bnx2 *bp, u32 reg, u32 *val) argument 338 bnx2_write_phy(struct bnx2 *bp, u32 reg, u32 val) argument 387 bnx2_disable_int(struct bnx2 *bp) argument 395 bnx2_enable_int(struct bnx2 *bp) argument 408 bnx2_disable_int_sync(struct bnx2 *bp) argument 416 bnx2_netif_stop(struct bnx2 *bp) argument 427 bnx2_netif_start(struct bnx2 *bp) argument 439 bnx2_free_mem(struct bnx2 *bp) argument 478 bnx2_alloc_mem(struct bnx2 *bp) argument 549 bnx2_report_fw_link(struct bnx2 *bp) argument 605 bnx2_report_link(struct bnx2 *bp) argument 640 bnx2_resolve_flow_ctrl(struct bnx2 *bp) argument 716 bnx2_5709s_linkup(struct bnx2 *bp) argument 755 bnx2_5708s_linkup(struct bnx2 *bp) argument 784 bnx2_5706s_linkup(struct bnx2 *bp) argument 821 bnx2_copper_linkup(struct bnx2 *bp) argument 887 bnx2_set_mac_link(struct bnx2 *bp) argument 954 bnx2_enable_bmsr1(struct bnx2 *bp) argument 963 bnx2_disable_bmsr1(struct bnx2 *bp) argument 972 bnx2_test_and_enable_2g5(struct bnx2 *bp) argument 1001 bnx2_test_and_disable_2g5(struct bnx2 *bp) argument 1027 bnx2_enable_forced_2g5(struct bnx2 *bp) argument 1062 bnx2_disable_forced_2g5(struct bnx2 *bp) argument 1093 bnx2_set_link(struct bnx2 *bp) argument 1156 bnx2_reset_phy(struct bnx2 *bp) argument 1180 bnx2_phy_get_pause_adv(struct bnx2 *bp) argument 1214 bnx2_setup_serdes_phy(struct bnx2 *bp) argument 1339 bnx2_setup_copper_phy(struct bnx2 *bp) argument 1436 bnx2_setup_phy(struct bnx2 *bp) argument 1450 bnx2_init_5709s_phy(struct bnx2 *bp) argument 1499 bnx2_init_5708s_phy(struct bnx2 *bp) argument 1557 bnx2_init_5706s_phy(struct bnx2 *bp) argument 1594 bnx2_init_copper_phy(struct bnx2 *bp) argument 1646 bnx2_init_phy(struct bnx2 *bp) argument 1685 bnx2_set_mac_loopback(struct bnx2 *bp) argument 1700 bnx2_set_phy_loopback(struct bnx2 *bp) argument 1730 bnx2_fw_sync(struct bnx2 *bp, u32 msg_data, int silent) argument 1773 bnx2_init_5709_context(struct bnx2 *bp) argument 1816 bnx2_init_context(struct bnx2 *bp) argument 1862 bnx2_alloc_bad_rbuf(struct bnx2 *bp) argument 1913 bnx2_set_mac_addr(struct bnx2 *bp) argument 1929 bnx2_alloc_rx_skb(struct bnx2 *bp, u16 index) argument 1960 bnx2_phy_event_is_set(struct bnx2 *bp, u32 event) argument 1980 bnx2_phy_int(struct bnx2 *bp) argument 1990 bnx2_tx_int(struct bnx2 *bp) argument 2078 bnx2_reuse_rx_skb(struct bnx2 *bp, struct sk_buff *skb, u16 cons, u16 prod) argument 2108 bnx2_rx_int(struct bnx2 *bp, int budget) argument 2262 struct bnx2 *bp = netdev_priv(dev); local 2282 struct bnx2 *bp = netdev_priv(dev); local 2299 struct bnx2 *bp = netdev_priv(dev); local 2328 bnx2_has_work(struct bnx2 *bp) argument 2346 struct bnx2 *bp = netdev_priv(dev); local 2410 struct bnx2 *bp = netdev_priv(dev); local 2482 bnx2_gunzip_init(struct bnx2 *bp) argument 2511 bnx2_gunzip_end(struct bnx2 *bp) argument 2525 bnx2_gunzip(struct bnx2 *bp, u8 *zbuf, int len, void **outbuf, int *outlen) argument 2566 load_rv2p_fw(struct bnx2 *bp, u32 *rv2p_code, u32 rv2p_code_len, u32 rv2p_proc) argument 2599 load_cpu_fw(struct bnx2 *bp, struct cpu_reg *cpu_reg, struct fw_info *fw) argument 2687 bnx2_init_cpus(struct bnx2 *bp) argument 2832 bnx2_set_power_state(struct bnx2 *bp, pci_power_t state) argument 2959 bnx2_acquire_nvram_lock(struct bnx2 *bp) argument 2981 bnx2_release_nvram_lock(struct bnx2 *bp) argument 3005 bnx2_enable_nvram_write(struct bnx2 *bp) argument 3034 bnx2_disable_nvram_write(struct bnx2 *bp) argument 3044 bnx2_enable_nvram_access(struct bnx2 *bp) argument 3055 bnx2_disable_nvram_access(struct bnx2 *bp) argument 3067 bnx2_nvram_erase_page(struct bnx2 *bp, u32 offset) argument 3107 bnx2_nvram_read_dword(struct bnx2 *bp, u32 offset, u8 *ret_val, u32 cmd_flags) argument 3154 bnx2_nvram_write_dword(struct bnx2 *bp, u32 offset, u8 *val, u32 cmd_flags) argument 3198 bnx2_init_nvram(struct bnx2 *bp) argument 3276 bnx2_nvram_read(struct bnx2 *bp, u32 offset, u8 *ret_buf, int buf_size) argument 3386 bnx2_nvram_write(struct bnx2 *bp, u32 offset, u8 *data_buf, int buf_size) argument 3566 bnx2_reset_chip(struct bnx2 *bp, u32 reset_code) argument 3658 bnx2_init_chip(struct bnx2 *bp) argument 3840 bnx2_init_tx_context(struct bnx2 *bp, u32 cid) argument 3869 bnx2_init_tx_ring(struct bnx2 *bp) argument 3894 bnx2_init_rx_ring(struct bnx2 *bp) argument 3954 bnx2_set_rx_ring_size(struct bnx2 *bp, u32 size) argument 3977 bnx2_free_tx_skbs(struct bnx2 *bp) argument 4014 bnx2_free_rx_skbs(struct bnx2 *bp) argument 4038 bnx2_free_skbs(struct bnx2 *bp) argument 4045 bnx2_reset_nic(struct bnx2 *bp, u32 reset_code) argument 4063 bnx2_init_nic(struct bnx2 *bp) argument 4078 bnx2_test_registers(struct bnx2 *bp) argument 4249 bnx2_do_mem_test(struct bnx2 *bp, u32 start, u32 size) argument 4272 bnx2_test_memory(struct bnx2 *bp) argument 4317 bnx2_run_loopback(struct bnx2 *bp, int loopback_mode) argument 4441 bnx2_test_loopback(struct bnx2 *bp) argument 4463 bnx2_test_nvram(struct bnx2 *bp) argument 4498 bnx2_test_link(struct bnx2 *bp) argument 4516 bnx2_test_intr(struct bnx2 *bp) argument 4546 bnx2_5706_serdes_timer(struct bnx2 *bp) argument 4601 bnx2_5708_serdes_timer(struct bnx2 *bp) argument 4633 struct bnx2 *bp = (struct bnx2 *) data; local 4663 bnx2_request_irq(struct bnx2 *bp) argument 4682 bnx2_free_irq(struct bnx2 *bp) argument 4698 struct bnx2 *bp = netdev_priv(dev); local 4779 struct bnx2 *bp = container_of(work, struct bnx2, reset_task); local 4797 struct bnx2 *bp = netdev_priv(dev); local 4808 struct bnx2 *bp = netdev_priv(dev); local 4826 struct bnx2 *bp = netdev_priv(dev); local 4962 struct bnx2 *bp = netdev_priv(dev); local 5006 struct bnx2 *bp = netdev_priv(dev); local 5084 struct bnx2 *bp = netdev_priv(dev); local 5133 struct bnx2 *bp = netdev_priv(dev); local 5211 struct bnx2 *bp = netdev_priv(dev); local 5236 struct bnx2 *bp = netdev_priv(dev); local 5284 struct bnx2 *bp = netdev_priv(dev); local 5303 struct bnx2 *bp = netdev_priv(dev); local 5323 struct bnx2 *bp = netdev_priv(dev); local 5358 struct bnx2 *bp = netdev_priv(dev); local 5370 struct bnx2 *bp = netdev_priv(dev); local 5384 struct bnx2 *bp = netdev_priv(dev); local 5397 struct bnx2 *bp = netdev_priv(dev); local 5419 struct bnx2 *bp = netdev_priv(dev); local 5467 struct bnx2 *bp = netdev_priv(dev); local 5484 struct bnx2 *bp = netdev_priv(dev); local 5518 struct bnx2 *bp = netdev_priv(dev); local 5528 struct bnx2 *bp = netdev_priv(dev); local 5555 struct bnx2 *bp = netdev_priv(dev); local 5563 struct bnx2 *bp = netdev_priv(dev); local 5572 struct bnx2 *bp = netdev_priv(dev); local 5729 struct bnx2 *bp = netdev_priv(dev); local 5807 struct bnx2 *bp = netdev_priv(dev); local 5847 struct bnx2 *bp = netdev_priv(dev); local 5881 struct bnx2 *bp = netdev_priv(dev); local 5930 struct bnx2 *bp = netdev_priv(dev); local 5978 struct bnx2 *bp = netdev_priv(dev); local 5994 struct bnx2 *bp = netdev_priv(dev); local 6015 struct bnx2 *bp = netdev_priv(dev); local 6024 bnx2_get_5709_media(struct bnx2 *bp) argument 6062 bnx2_get_pci_speed(struct bnx2 *bp) argument 6116 struct bnx2 *bp; local 6420 bnx2_bus_string(struct bnx2 *bp, char *str) argument 6444 struct bnx2 *bp; local 6536 struct bnx2 *bp = netdev_priv(dev); local 6555 struct bnx2 *bp = netdev_priv(dev); local 6582 struct bnx2 *bp = netdev_priv(dev); local [all...] |
H A D | b44.c | 71 #define RX_PKT_BUF_SZ (1536 + bp->rx_offset + 64) 148 static inline unsigned long br32(const struct b44 *bp, unsigned long reg) argument 150 return readl(bp->regs + reg); 153 static inline void bw32(const struct b44 *bp, argument 156 writel(val, bp->regs + reg); 159 static int b44_wait_bit(struct b44 *bp, unsigned long reg, argument 165 u32 val = br32(bp, reg); 176 bp->dev->name, 187 * All of these routines must be invoked with bp->lock held and 194 static u32 ssb_get_core_rev(struct b44 *bp) argument 199 ssb_pci_setup(struct b44 *bp, u32 cores) argument 220 ssb_core_disable(struct b44 *bp) argument 237 ssb_core_reset(struct b44 *bp) argument 262 ssb_core_unit(struct b44 *bp) argument 267 ssb_is_core_up(struct b44 *bp) argument 273 __b44_cam_write(struct b44 *bp, unsigned char *data, int index) argument 291 __b44_disable_ints(struct b44 *bp) argument 296 b44_disable_ints(struct b44 *bp) argument 304 b44_enable_ints(struct b44 *bp) argument 309 b44_readphy(struct b44 *bp, int reg, u32 *val) argument 325 b44_writephy(struct b44 *bp, int reg, u32 val) argument 341 struct b44 *bp = netdev_priv(dev); local 351 struct b44 *bp = netdev_priv(dev); local 355 b44_phy_reset(struct b44 *bp) argument 376 __b44_set_flow_ctrl(struct b44 *bp, u32 pause_flags) argument 399 b44_set_flow_ctrl(struct b44 *bp, u32 local, u32 remote) argument 418 b44_setup_phy(struct b44 *bp) argument 478 b44_stats_update(struct b44 *bp) argument 496 b44_link_report(struct b44 *bp) argument 514 b44_check_phy(struct b44 *bp) argument 566 struct b44 *bp = (struct b44 *) __opaque; local 580 b44_tx(struct b44 *bp) argument 614 b44_alloc_rx_skb(struct b44 *bp, int src_idx, u32 dest_idx_unmasked) argument 688 b44_recycle_rx(struct b44 *bp, int src_idx, u32 dest_idx_unmasked) argument 735 b44_rx(struct b44 *bp, int budget) argument 826 struct b44 *bp = netdev_priv(netdev); local 878 struct b44 *bp = netdev_priv(dev); local 922 struct b44 *bp = netdev_priv(dev); local 942 struct b44 *bp = netdev_priv(dev); local 1032 struct b44 *bp = netdev_priv(dev); local 1064 b44_free_rings(struct b44 *bp) argument 1102 b44_init_rings(struct b44 *bp) argument 1131 b44_free_consistent(struct b44 *bp) argument 1167 b44_alloc_consistent(struct b44 *bp) argument 1244 b44_clear_stats(struct b44 *bp) argument 1256 b44_chip_reset(struct b44 *bp) argument 1302 b44_halt(struct b44 *bp) argument 1309 __b44_set_mac_addr(struct b44 *bp) argument 1323 struct b44 *bp = netdev_priv(dev); local 1345 b44_init_hw(struct b44 *bp, int reset_kind) argument 1389 struct b44 *bp = netdev_priv(dev); local 1435 bwfilter_table(struct b44 *bp, u8 *pp, u32 bytes, u32 table_offset) argument 1476 b44_setup_pseudo_magicp(struct b44 *bp) argument 1533 b44_setup_wol(struct b44 *bp) argument 1571 struct b44 *bp = netdev_priv(dev); local 1603 struct b44 *bp = netdev_priv(dev); local 1639 __b44_load_mcast(struct b44 *bp, struct net_device *dev) argument 1654 struct b44 *bp = netdev_priv(dev); local 1685 struct b44 *bp = netdev_priv(dev); local 1694 struct b44 *bp = netdev_priv(dev); local 1700 struct b44 *bp = netdev_priv(dev); local 1706 struct b44 *bp = netdev_priv(dev); local 1716 struct b44 *bp = netdev_priv(dev); local 1736 struct b44 *bp = netdev_priv(dev); local 1778 struct b44 *bp = netdev_priv(dev); local 1838 struct b44 *bp = netdev_priv(dev); local 1848 struct b44 *bp = netdev_priv(dev); local 1875 struct b44 *bp = netdev_priv(dev); local 1888 struct b44 *bp = netdev_priv(dev); local 1934 struct b44 *bp = netdev_priv(dev); local 1950 struct b44 *bp = netdev_priv(dev); local 1962 struct b44 *bp = netdev_priv(dev); local 1997 struct b44 *bp = netdev_priv(dev); local 2011 b44_read_eeprom(struct b44 *bp, u8 *data) argument 2022 b44_get_invariants(struct b44 *bp) argument 2071 struct b44 *bp; local 2228 struct b44 *bp = netdev_priv(dev); local 2241 struct b44 *bp = netdev_priv(dev); local 2269 struct b44 *bp = netdev_priv(dev); local [all...] |
H A D | sunbmac.c | 97 static void qec_init(struct bigmac *bp) argument 99 void __iomem *gregs = bp->gregs; 100 struct sbus_dev *qec_sdev = bp->qec_sdev; 101 u8 bsizes = bp->bigmac_bursts; 164 static void bigmac_stop(struct bigmac *bp) argument 166 bigmac_tx_reset(bp->bregs); 167 bigmac_rx_reset(bp->bregs); 170 static void bigmac_get_counters(struct bigmac *bp, void __iomem *bregs) argument 172 struct net_device_stats *stats = &bp->enet_stats; 192 static void bigmac_clean_rings(struct bigmac *bp) argument 211 bigmac_init_rings(struct bigmac *bp, int from_irq) argument 268 write_tcvr_bit(struct bigmac *bp, void __iomem *tregs, int bit) argument 291 read_tcvr_bit(struct bigmac *bp, void __iomem *tregs) argument 314 read_tcvr_bit2(struct bigmac *bp, void __iomem *tregs) argument 336 put_tcvr_byte(struct bigmac *bp, void __iomem *tregs, unsigned int byte) argument 348 bigmac_tcvr_write(struct bigmac *bp, void __iomem *tregs, int reg, unsigned short val) argument 387 bigmac_tcvr_read(struct bigmac *bp, void __iomem *tregs, int reg) argument 454 bigmac_tcvr_init(struct bigmac *bp) argument 494 try_next_permutation(struct bigmac *bp, void __iomem *tregs) argument 529 struct bigmac *bp = (struct bigmac *) data; local 583 bigmac_begin_auto_negotiation(struct bigmac *bp) argument 622 bigmac_init_hw(struct bigmac *bp, int from_irq) argument 718 bigmac_is_medium_rare(struct bigmac *bp, u32 qec_status, u32 bmac_status) argument 757 bigmac_tx(struct bigmac *bp) argument 800 bigmac_rx(struct bigmac *bp) argument 892 struct bigmac *bp = (struct bigmac *) dev_id; local 917 struct bigmac *bp = (struct bigmac *) dev->priv; local 934 struct bigmac *bp = (struct bigmac *) dev->priv; local 948 struct bigmac *bp = (struct bigmac *) dev->priv; local 957 struct bigmac *bp = (struct bigmac *) dev->priv; local 989 struct bigmac *bp = (struct bigmac *) dev->priv; local 997 struct bigmac *bp = (struct bigmac *) dev->priv; local 1054 struct bigmac *bp = dev->priv; local 1064 struct bigmac *bp = dev->priv; local 1082 struct bigmac *bp; local 1277 struct bigmac *bp = dev_get_drvdata(&dev->dev); local [all...] |
H A D | macb.c | 41 #define TX_RING_GAP(bp) \ 42 (TX_RING_SIZE - (bp)->tx_pending) 43 #define TX_BUFFS_AVAIL(bp) \ 44 (((bp)->tx_tail <= (bp)->tx_head) ? \ 45 (bp)->tx_tail + (bp)->tx_pending - (bp)->tx_head : \ 46 (bp)->tx_tail - (bp) 57 __macb_set_hwaddr(struct macb *bp) argument 68 macb_get_hwaddr(struct macb *bp) argument 88 macb_enable_mdio(struct macb *bp) argument 101 macb_disable_mdio(struct macb *bp) argument 116 struct macb *bp = netdev_priv(dev); local 140 struct macb *bp = netdev_priv(dev); local 161 macb_phy_probe(struct macb *bp) argument 186 macb_set_media(struct macb *bp, int media) argument 201 macb_check_media(struct macb *bp, int ok_to_print, int init_media) argument 256 macb_update_stats(struct macb *bp) argument 270 struct macb *bp = container_of(work, struct macb, periodic_task.work); local 278 macb_tx(struct macb *bp) argument 334 macb_rx_frame(struct macb *bp, unsigned int first_frag, unsigned int last_frag) argument 395 discard_partial_frame(struct macb *bp, unsigned int begin, unsigned int end) argument 411 macb_rx(struct macb *bp, int budget) argument 456 struct macb *bp = netdev_priv(dev); local 511 struct macb *bp = netdev_priv(dev); local 570 struct macb *bp = netdev_priv(dev); local 635 macb_free_consistent(struct macb *bp) argument 659 macb_alloc_consistent(struct macb *bp) argument 702 macb_init_rings(struct macb *bp) argument 724 macb_reset_hw(struct macb *bp) argument 742 macb_init_hw(struct macb *bp) argument 778 struct macb *bp = netdev_priv(dev); local 790 struct macb *bp = netdev_priv(dev); local 820 struct macb *bp = netdev_priv(dev); local 839 struct macb *bp = netdev_priv(dev); local 878 struct macb *bp = netdev_priv(dev); local 885 struct macb *bp = netdev_priv(dev); local 892 struct macb *bp = netdev_priv(dev); local 901 struct macb *bp = netdev_priv(dev); local 915 struct macb *bp = netdev_priv(dev); local 927 struct macb *bp = netdev_priv(dev); local 996 struct macb *bp; local 1162 struct macb *bp; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/papd/ |
H A D | printcap.c | 105 int getprent( char *cap, char *bp, int bufsize) argument 111 tbuf = bp; 116 if (bp != tbuf) { 117 *bp = '\0'; 124 if (bp == tbuf) { 128 if (bp[-1] == '\\') { 129 bp--; 132 *bp = '\0'; 135 if (bp == tbuf) 140 if (bp > 171 tgetent(char *cap, char *bp, char *name) argument 339 tskip(char *bp) argument 360 register char *bp = tbuf; local 391 register char *bp = tbuf; local 464 register char *bp = tbuf; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/papd/ |
H A D | printcap.c | 105 int getprent( char *cap, char *bp, int bufsize) argument 111 tbuf = bp; 116 if (bp != tbuf) { 117 *bp = '\0'; 124 if (bp == tbuf) { 128 if (bp[-1] == '\\') { 129 bp--; 132 *bp = '\0'; 135 if (bp == tbuf) 140 if (bp > 171 tgetent(char *cap, char *bp, char *name) argument 339 tskip(char *bp) argument 360 register char *bp = tbuf; local 391 register char *bp = tbuf; local 464 register char *bp = tbuf; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/pvrusb2/ |
H A D | pvrusb2-io.c | 37 #define BUFFER_CHECK(bp) do { \ 38 if ((bp)->signature != BUFFER_SIG) { \ 41 (bp),__FILE__,__LINE__); \ 42 pvr2_buffer_describe(bp,"BadSig"); \ 47 #define BUFFER_CHECK(bp) do {} while(0) 110 static void pvr2_buffer_describe(struct pvr2_buffer *bp,const char *msg) argument 117 bp, 118 (bp ? pvr2_buffer_state_decode(bp->state) : "(invalid)"), 119 (bp 127 pvr2_buffer_remove(struct pvr2_buffer *bp) argument 162 pvr2_buffer_set_none(struct pvr2_buffer *bp) argument 178 pvr2_buffer_set_ready(struct pvr2_buffer *bp) argument 206 pvr2_buffer_set_idle(struct pvr2_buffer *bp) argument 231 pvr2_buffer_set_queued(struct pvr2_buffer *bp) argument 256 pvr2_buffer_wipe(struct pvr2_buffer *bp) argument 263 pvr2_buffer_init(struct pvr2_buffer *bp, struct pvr2_stream *sp, unsigned int id) argument 283 pvr2_buffer_done(struct pvr2_buffer *bp) argument 329 struct pvr2_buffer *bp; local 343 struct pvr2_buffer *bp; local 368 struct pvr2_buffer *bp; local 434 struct pvr2_buffer *bp = urb->context; local 563 struct pvr2_buffer *bp; local 575 pvr2_buffer_queue(struct pvr2_buffer *bp) argument 614 pvr2_buffer_set_buffer(struct pvr2_buffer *bp,void *ptr,unsigned int cnt) argument 642 pvr2_buffer_get_count(struct pvr2_buffer *bp) argument 647 pvr2_buffer_get_status(struct pvr2_buffer *bp) argument 652 pvr2_buffer_get_id(struct pvr2_buffer *bp) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/ssl/ |
H A D | ssl_txt.c | 81 int SSL_SESSION_print(BIO *bp, SSL_SESSION *x) argument 87 if (BIO_puts(bp,"SSL-Session:\n") <= 0) goto err; 96 if (BIO_printf(bp," Protocol : %s\n",s) <= 0) goto err; 102 if (BIO_printf(bp," Cipher : %06lX\n",x->cipher_id&0xffffff) <= 0) 107 if (BIO_printf(bp," Cipher : %04lX\n",x->cipher_id&0xffff) <= 0) 113 if (BIO_printf(bp," Cipher : %s\n",((x->cipher == NULL)?"unknown":x->cipher->name)) <= 0) 116 if (BIO_puts(bp," Session-ID: ") <= 0) goto err; 119 if (BIO_printf(bp,"%02X",x->session_id[i]) <= 0) goto err; 121 if (BIO_puts(bp,"\n Session-ID-ctx: ") <= 0) goto err; 124 if (BIO_printf(bp," [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/repmgr/ |
H A D | repmgr_auto.c | 13 __repmgr_handshake_marshal(env, argp, bp) 16 u_int8_t *bp; 18 DB_HTONS_COPYOUT(env, bp, argp->port); 19 DB_HTONL_COPYOUT(env, bp, argp->priority); 27 __repmgr_handshake_unmarshal(env, argp, bp, max, nextp) 30 u_int8_t *bp; 36 DB_NTOHS_COPYIN(env, argp->port, bp); 37 DB_NTOHL_COPYIN(env, argp->priority, bp); 40 *nextp = bp; 54 __repmgr_ack_marshal(env, argp, bp) [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/ocsp/ |
H A D | ocsp_prn.c | 69 static int ocsp_certid_print(BIO *bp, OCSP_CERTID* a, int indent) argument 71 BIO_printf(bp, "%*sCertificate ID:\n", indent, ""); 73 BIO_printf(bp, "%*sHash Algorithm: ", indent, ""); 74 i2a_ASN1_OBJECT(bp, a->hashAlgorithm->algorithm); 75 BIO_printf(bp, "\n%*sIssuer Name Hash: ", indent, ""); 76 i2a_ASN1_STRING(bp, a->issuerNameHash, V_ASN1_OCTET_STRING); 77 BIO_printf(bp, "\n%*sIssuer Key Hash: ", indent, ""); 78 i2a_ASN1_STRING(bp, a->issuerKeyHash, V_ASN1_OCTET_STRING); 79 BIO_printf(bp, "\n%*sSerial Number: ", indent, ""); 80 i2a_ASN1_INTEGER(bp, 135 OCSP_REQUEST_print(BIO *bp, OCSP_REQUEST* o, unsigned long flags) argument 181 OCSP_RESPONSE_print(BIO *bp, OCSP_RESPONSE* o, unsigned long flags) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/ocsp/ |
H A D | ocsp_prn.c | 69 static int ocsp_certid_print(BIO *bp, OCSP_CERTID* a, int indent) argument 71 BIO_printf(bp, "%*sCertificate ID:\n", indent, ""); 73 BIO_printf(bp, "%*sHash Algorithm: ", indent, ""); 74 i2a_ASN1_OBJECT(bp, a->hashAlgorithm->algorithm); 75 BIO_printf(bp, "\n%*sIssuer Name Hash: ", indent, ""); 76 i2a_ASN1_STRING(bp, a->issuerNameHash, V_ASN1_OCTET_STRING); 77 BIO_printf(bp, "\n%*sIssuer Key Hash: ", indent, ""); 78 i2a_ASN1_STRING(bp, a->issuerKeyHash, V_ASN1_OCTET_STRING); 79 BIO_printf(bp, "\n%*sSerial Number: ", indent, ""); 80 i2a_ASN1_INTEGER(bp, 135 OCSP_REQUEST_print(BIO *bp, OCSP_REQUEST* o, unsigned long flags) argument 181 OCSP_RESPONSE_print(BIO *bp, OCSP_RESPONSE* o, unsigned long flags) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/sysdev/ |
H A D | grackle.c | 30 static inline void grackle_set_stg(struct pci_controller* bp, int enable) argument 34 out_be32(bp->cfg_addr, GRACKLE_CFA(0, 0, 0xa8)); 35 val = in_le32(bp->cfg_data); 38 out_be32(bp->cfg_addr, GRACKLE_CFA(0, 0, 0xa8)); 39 out_le32(bp->cfg_data, val); 40 (void)in_le32(bp->cfg_data); 43 static inline void grackle_set_loop_snoop(struct pci_controller *bp, int enable) argument 47 out_be32(bp->cfg_addr, GRACKLE_CFA(0, 0, 0xa8)); 48 val = in_le32(bp->cfg_data); 51 out_be32(bp [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/fileops/ |
H A D | fileops_auto.c | 22 u_int8_t *bp; local 28 bp = recbuf; 32 LOGCOPY_32(env, &argp->type, bp); 33 bp += sizeof(argp->type); 35 LOGCOPY_32(env, &argp->txnp->txnid, bp); 36 bp += sizeof(argp->txnp->txnid); 38 LOGCOPY_TOLSN(env, &argp->prev_lsn, bp); 39 bp += sizeof(DB_LSN); 42 LOGCOPY_32(env,&argp->name.size, bp); 43 bp 77 u_int8_t *bp; local 227 u_int8_t *bp; local 285 u_int8_t *bp; local 444 u_int8_t *bp; local 521 u_int8_t *bp; local 696 u_int8_t *bp; local 804 u_int8_t *bp; local 975 u_int8_t *bp; local 1045 u_int8_t *bp; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/dbreg/ |
H A D | dbreg_auto.c | 24 u_int8_t *bp; local 30 bp = recbuf; 34 LOGCOPY_32(env, &argp->type, bp); 35 bp += sizeof(argp->type); 37 LOGCOPY_32(env, &argp->txnp->txnid, bp); 38 bp += sizeof(argp->txnp->txnid); 40 LOGCOPY_TOLSN(env, &argp->prev_lsn, bp); 41 bp += sizeof(DB_LSN); 43 LOGCOPY_32(env, &argp->opcode, bp); 44 bp 103 u_int8_t *bp; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/qam/ |
H A D | qam_auto.c | 27 u_int8_t *bp; local 33 bp = recbuf; 38 LOGCOPY_32(env, &argp->type, bp); 39 bp += sizeof(argp->type); 41 LOGCOPY_32(env, &argp->txnp->txnid, bp); 42 bp += sizeof(argp->txnp->txnid); 44 LOGCOPY_TOLSN(env, &argp->prev_lsn, bp); 45 bp += sizeof(DB_LSN); 47 LOGCOPY_32(env, &uinttmp, bp); 49 bp 87 u_int8_t *bp; local 241 u_int8_t *bp; local 327 u_int8_t *bp; local 513 u_int8_t *bp; local 581 u_int8_t *bp; local 752 u_int8_t *bp; local 840 u_int8_t *bp; local 1039 u_int8_t *bp; local 1115 u_int8_t *bp; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/db/ |
H A D | crdel_auto.c | 26 u_int8_t *bp; local 32 bp = recbuf; 37 LOGCOPY_32(env, &argp->type, bp); 38 bp += sizeof(argp->type); 40 LOGCOPY_32(env, &argp->txnp->txnid, bp); 41 bp += sizeof(argp->txnp->txnid); 43 LOGCOPY_TOLSN(env, &argp->prev_lsn, bp); 44 bp += sizeof(DB_LSN); 46 LOGCOPY_32(env, &uinttmp, bp); 48 bp 98 u_int8_t *bp; local 274 u_int8_t *bp; local 338 u_int8_t *bp; local 502 u_int8_t *bp; local 563 u_int8_t *bp; local 730 u_int8_t *bp; local 784 u_int8_t *bp; local [all...] |