/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/e100/ |
H A D | e100_config.c | 46 static void e100_config_long_rx(struct e100_private *bdp, unsigned char enable); 57 * @bdp: atapter's private data struct 64 e100_config_init_82557(struct e100_private *bdp) argument 67 memcpy(bdp->config, def_config, sizeof (def_config)); 68 bdp->config[0] = CB_CFIG_BYTE_COUNT; /* just in case */ 70 e100_config_ifs(bdp); 74 * (82559 and up) and set the statistical counters' mode in bdp 87 bdp->config[6] &= ~CB_CFIG_TCO_STAT; 88 bdp->config[6] |= CB_CFIG_EXT_STAT_DIS; 89 bdp 108 e100_config_init_82558(struct e100_private *bdp) argument 140 e100_config_init_82550(struct e100_private *bdp) argument 164 e100_config_init(struct e100_private *bdp) argument 188 e100_force_config(struct e100_private *bdp) argument 220 e100_config(struct e100_private *bdp) argument 271 e100_config_fc(struct e100_private *bdp) argument 325 e100_config_promisc(struct e100_private *bdp, unsigned char enable) argument 377 e100_config_mulcast_enbl(struct e100_private *bdp, unsigned char enable) argument 407 e100_config_ifs(struct e100_private *bdp) argument 435 e100_config_force_dplx(struct e100_private *bdp) argument 477 e100_config_long_rx(struct e100_private *bdp, unsigned char enable) argument 501 e100_config_wol(struct e100_private *bdp) argument 525 e100_config_loopback_mode(struct e100_private *bdp, u8 mode) argument 561 e100_config_tcb_ext_enable(struct e100_private *bdp, unsigned char enable) argument 588 e100_config_dynamic_tbd(struct e100_private *bdp, unsigned char enable) argument [all...] |
H A D | e100_phy.c | 30 void e100_handle_zlock(struct e100_private *bdp); 40 * bdp - Ptr to this card's e100_bdconfig structure 49 e100_mdi_write(struct e100_private *bdp, u32 reg_addr, u32 phy_addr, u16 data) argument 55 spin_lock_bh(&bdp->mdi_access_lock); 58 writel(temp_val, &bdp->scb->scb_mdi_cntrl); 59 readw(&bdp->scb->scb_status); 66 while ((!((mdi_cntrl = readl(&bdp->scb->scb_mdi_cntrl)) & MDI_PHY_READY)) && (e100_retry)) { 71 spin_unlock_bh(&bdp->mdi_access_lock); 89 * bdp - Ptr to this card's e100_bdconfig structure 100 e100_mdi_read(struct e100_private *bdp, u3 argument 136 e100_phy_valid(struct e100_private *bdp, unsigned int phy_address) argument 154 e100_phy_address_detect(struct e100_private *bdp) argument 184 e100_phy_id_detect(struct e100_private *bdp) argument 208 e100_phy_isolate(struct e100_private *bdp) argument 231 e100_phy_specific_setup(struct e100_private *bdp) argument 318 e100_phy_fix_squelch(struct e100_private *bdp) argument 384 e100_fix_polarity(struct e100_private *bdp) argument 481 e100_find_speed_duplex(struct e100_private *bdp) argument 622 e100_force_speed_duplex(struct e100_private *bdp) argument 692 e100_set_fc(struct e100_private *bdp) argument 744 e100_phy_check(struct e100_private *bdp) argument 788 e100_auto_neg(struct e100_private *bdp, unsigned char force_restart) argument 830 e100_phy_set_speed_duplex(struct e100_private *bdp, unsigned char force_restart) argument 851 e100_phy_autoneg(struct e100_private *bdp) argument 863 e100_phy_set_loopback(struct e100_private *bdp) argument 872 e100_phy_reset(struct e100_private *bdp) argument 880 e100_phy_init(struct e100_private *bdp) argument 912 e100_get_link_state(struct e100_private *bdp) argument 956 e100_update_link_state(struct e100_private *bdp) argument 1012 e100_handle_zlock(struct e100_private *bdp) argument [all...] |
H A D | e100_main.c | 108 static unsigned char e100_setup_filter(struct e100_private *bdp); 109 static void e100_do_wol(struct pci_dev *pcid, struct e100_private *bdp); 112 extern void e100_config_wol(struct e100_private *bdp); 161 static void e100_get_mdix_status(struct e100_private *bdp); 218 static unsigned char e100_update_stats(struct e100_private *bdp); 223 static void e100_check_options(int board, struct e100_private *bdp); 225 static void e100_set_bool_option(struct e100_private *bdp, int, u32, int, 232 * @bdp: atapter's private data struct 237 e100_get_rx_struct(struct e100_private *bdp) argument 241 if (!list_empty(&(bdp 258 e100_alloc_skb(struct e100_private *bdp) argument 298 e100_add_skb_to_end(struct e100_private *bdp, struct rx_list_elem *rx_struct) argument 336 e100_alloc_skbs(struct e100_private *bdp) argument 386 e100_exec_cmd(struct e100_private *bdp, u8 cmd_low) argument 406 e100_wait_scb(struct e100_private *bdp) argument 441 e100_wait_exec_simple(struct e100_private *bdp, u8 scb_cmd_low) argument 453 e100_exec_cmplx(struct e100_private *bdp, u32 phys_addr, u8 cmd) argument 461 e100_wait_exec_cmplx(struct e100_private *bdp, u32 phys_addr, u8 cmd) argument 471 e100_wait_cus_idle(struct e100_private *bdp) argument 504 e100_dis_intr(struct e100_private *bdp) argument 519 e100_set_intr_mask(struct e100_private *bdp) argument 526 e100_trigger_SWI(struct e100_private *bdp) argument 538 struct e100_private *bdp = NULL; local 711 struct e100_private *bdp = dev->priv; local 726 struct e100_private *bdp; local 801 e100_check_options(int board, struct e100_private *bdp) argument 906 e100_set_bool_option(struct e100_private *bdp, int val, u32 mask, int default_val, char *name) argument 933 struct e100_private *bdp; local 1000 struct e100_private *bdp = dev->priv; local 1032 struct e100_private *bdp = dev->priv; local 1084 struct e100_private *bdp = dev->priv; local 1112 struct e100_private *bdp; local 1136 struct e100_private *bdp = dev->priv; local 1179 struct e100_private *bdp = dev->priv; local 1244 e100_init(struct e100_private *bdp) argument 1290 e100_sw_init(struct e100_private *bdp) argument 1332 e100_hw_init(struct e100_private *bdp, u32 reset_cmd) argument 1387 e100_setup_tcb_pool(tcb_t *head, unsigned int qlen, struct e100_private *bdp) argument 1475 e100_alloc_space(struct e100_private *bdp) argument 1517 e100_alloc_tcb_pool(struct e100_private *bdp) argument 1532 e100_free_tcb_pool(struct e100_private *bdp) argument 1541 e100_dealloc_space(struct e100_private *bdp) argument 1555 e100_free_rfd_pool(struct e100_private *bdp) argument 1586 e100_alloc_rfd_pool(struct e100_private *bdp) argument 1604 e100_clear_pools(struct e100_private *bdp) argument 1626 struct e100_private *bdp = dev->priv; local 1737 e100_manage_adaptive_ifs(struct e100_private *bdp) argument 1808 struct e100_private *bdp; local 1865 e100_tx_skb_free(struct e100_private *bdp, tcb_t *tcb) argument 1893 e100_tx_srv(struct e100_private *bdp) argument 1938 e100_rx_srv(struct e100_private *bdp) argument 2050 e100_refresh_txthld(struct e100_private *bdp) argument 2143 e100_prepare_xmit_buff(struct e100_private *bdp, struct sk_buff *skb) argument 2261 e100_start_cu(struct e100_private *bdp, tcb_t *tcb) argument 2334 e100_selftest(struct e100_private *bdp, u32 *st_timeout, u32 *st_result) argument 2391 e100_setup_iaaddr(struct e100_private *bdp, u8 *eaddr) argument 2432 e100_start_ru(struct e100_private *bdp) argument 2479 e100_cmd_complete_location(struct e100_private *bdp) argument 2516 e100_clr_cntrs(struct e100_private *bdp) argument 2542 e100_update_stats(struct e100_private *bdp) argument 2617 e100_dump_stats_cntrs(struct e100_private *bdp) argument 2641 e100_exec_non_cu_cmd(struct e100_private *bdp, nxmit_cb_entry_t *command) argument 2730 e100_sw_reset(struct e100_private *bdp, u32 reset_cmd) argument 2750 e100_load_microcode(struct e100_private *bdp) argument 2858 e100_rd_pwa_no(struct e100_private *bdp) argument 2867 e100_rd_eaddr(struct e100_private *bdp) argument 2911 e100_D101M_checksum(struct e100_private *bdp, struct sk_buff *skb) argument 2932 e100_print_brd_conf(struct e100_private *bdp) argument 2967 e100_get_brand_msg(struct e100_private *bdp) argument 2994 e100_pci_setup(struct pci_dev *pcid, struct e100_private *bdp) argument 3043 e100_isolate_driver(struct e100_private *bdp) argument 3067 e100_set_speed_duplex(struct e100_private *bdp) argument 3075 e100_tcb_add_C_bit(struct e100_private *bdp) argument 3099 e100_hw_reset_recover(struct e100_private *bdp, u32 reset_cmd) argument 3151 e100_deisolate_driver(struct e100_private *bdp, u8 recover, u8 full_init) argument 3247 struct e100_private *bdp; local 3306 struct e100_private *bdp; local 3384 struct e100_private *bdp; local 3432 struct e100_private *bdp; local 3462 struct e100_private *bdp; local 3481 struct e100_private *bdp; local 3506 struct e100_private *bdp; local 3589 e100_led_control(struct e100_private *bdp, u16 led_mdi_op) argument 3605 struct e100_private *bdp = (struct e100_private *) data; local 3632 struct e100_private *bdp; local 3663 e100_10BaseT_adapter(struct e100_private *bdp) argument 3671 e100_get_speed_duplex_caps(struct e100_private *bdp) argument 3711 e100_setup_filter(struct e100_private *bdp) argument 3751 e100_do_wol(struct pci_dev *pcid, struct e100_private *bdp) argument 3788 struct e100_private *bdp; local 3871 struct e100_private *bdp; local 3928 e100_alloc_non_tx_cmd(struct e100_private *bdp) argument 3947 e100_free_non_tx_cmd(struct e100_private *bdp, nxmit_cb_entry_t *non_tx_cmd_elem) argument 3957 e100_free_nontx_list(struct e100_private *bdp) argument 3975 e100_delayed_exec_non_cu_cmd(struct e100_private *bdp, nxmit_cb_entry_t *command) argument 4011 struct e100_private *bdp = (struct e100_private *) ptr; local 4086 struct e100_private *bdp; local 4133 struct e100_private *bdp = netdev->priv; local 4155 struct e100_private *bdp = netdev->priv; local 4178 e100_get_mdix_status(struct e100_private *bdp) argument 4202 struct e100_private *bdp = dev->priv; local 4262 e100_hwi_restore(struct e100_private *bdp) argument [all...] |
H A D | e100_test.c | 33 extern void e100_phy_reset(struct e100_private *bdp); 34 extern void e100_phy_autoneg(struct e100_private *bdp); 35 extern void e100_phy_set_loopback(struct e100_private *bdp); 36 extern void e100_force_speed_duplex(struct e100_private *bdp); 62 struct e100_private* bdp = dev->priv; local 65 e100_isolate_driver(bdp); 100 e100_deisolate_driver(bdp, true, false); 102 e100_deisolate_driver(bdp, false, false); 118 struct e100_private *bdp = dev->priv; local 122 if (!e100_selftest(bdp, 148 struct e100_private *bdp = dev->priv; local 192 struct e100_private *bdp = dev->priv; local 228 e100_diag_config_loopback(struct e100_private* bdp, u8 set_loopback, u8 loopback_mode, u8* tcb_extended, u8* dynamic_tbd) argument 280 e100_diag_loopback_alloc(struct e100_private *bdp) argument 345 e100_diag_loopback_cu_ru_exec(struct e100_private *bdp) argument 387 e100_diag_rcv_loopback_pkt(struct e100_private* bdp) argument 423 e100_diag_loopback_free(struct e100_private *bdp) argument [all...] |
H A D | e100_config.h | 33 #define E100_CONFIG(bdp, X) ((bdp)->config[0] = max_t(u8, (bdp)->config[0], (X)+1)) 153 extern void e100_config_init(struct e100_private *bdp); 154 extern unsigned char e100_force_config(struct e100_private *bdp); 155 extern unsigned char e100_config(struct e100_private *bdp); 156 extern void e100_config_fc(struct e100_private *bdp); 157 extern void e100_config_promisc(struct e100_private *bdp, unsigned char enable); 158 extern void e100_config_brdcast_dsbl(struct e100_private *bdp); 159 extern void e100_config_mulcast_enbl(struct e100_private *bdp, [all...] |
H A D | e100_proc.c | 63 extern char *e100_get_brand_msg(struct e100_private *bdp); 81 unsigned long offset; /* offset into bdp. ~0 means no value, pass NULL. */ 140 struct e100_private *bdp = data; local 143 len = sprintf(page, "%s\n", bdp->id_string); 152 struct e100_private *bdp = data; local 153 unsigned char *hwaddr = bdp->perm_node_address; 162 struct e100_private *bdp = data; local 166 (unsigned long) (bdp->pwa_no >> 8), 167 (unsigned int) (bdp->pwa_no & 0xFF)); 173 set_led(struct e100_private *bdp, u1 argument 190 struct e100_private *bdp = data; local 259 struct e100_private *bdp = data; local 319 e100_remove_proc_subdir(struct e100_private *bdp, char *name) argument 353 e100_create_proc_subdir(struct e100_private *bdp) argument [all...] |
H A D | e100_phy.h | 43 #define IS_NC3133(bdp) (((bdp)->pdev->subsystem_vendor == 0x0E11) && \ 44 ((bdp)->pdev->subsystem_device == 0xB0E1)) 149 extern unsigned char e100_phy_init(struct e100_private *bdp); 150 extern unsigned char e100_update_link_state(struct e100_private *bdp); 151 extern unsigned char e100_phy_check(struct e100_private *bdp); 152 extern void e100_phy_set_speed_duplex(struct e100_private *bdp, 154 extern void e100_phy_autoneg(struct e100_private *bdp); 155 extern void e100_phy_reset(struct e100_private *bdp); 156 extern void e100_phy_set_loopback(struct e100_private *bdp); [all...] |
H A D | e100.h | 457 /* Bits for bdp->flags */ 471 /* These macros use the bdp pointer. If you use them it better be defined */ 472 #define PREV_TCB_USED(X) ((X).tail ? (X).tail - 1 : bdp->params.TxDescriptors - 1) 473 #define NEXT_TCB_TOUSE(X) ((((X) + 1) >= bdp->params.TxDescriptors) ? 0 : (X) + 1) 477 #define RFD_POINTER(skb,bdp) ((rfd_t *) (((unsigned char *)((skb)->data))-((bdp)->rfd_size))) 478 #define SKB_RFD_STATUS(skb,bdp) ((RFD_POINTER((skb),(bdp)))->rfd_header.cb_status) 530 * the bdp, which hangs of the bdp [all...] |
H A D | e100_eeprom.c | 47 #define CSR_EEPROM_CONTROL_FIELD(bdp) ((bdp)->scb->scb_eprm_cntrl) 49 #define CSR_GENERAL_CONTROL2_FIELD(bdp) \ 50 ((bdp)->scb->scb_ext.d102_scb.scb_gen_ctrl2)
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/8260_io/ |
H A D | enet.c | 174 volatile cbd_t *bdp; local 178 bdp = cep->cur_tx; 181 if (bdp->cbd_sc & BD_ENET_TX_READY) { 192 bdp->cbd_sc &= ~BD_ENET_TX_STATS; 197 bdp->cbd_sc |= BD_ENET_TX_PAD; 199 bdp->cbd_sc &= ~BD_ENET_TX_PAD; 203 bdp->cbd_datlen = skb->len; 204 bdp->cbd_bufaddr = __pa(skb->data); 218 bdp->cbd_sc |= (BD_ENET_TX_READY | BD_ENET_TX_INTR | BD_ENET_TX_LAST | BD_ENET_TX_TC); 224 if (bdp 251 cbd_t *bdp; local 283 volatile cbd_t *bdp; local 421 volatile cbd_t *bdp; local 622 volatile cbd_t *bdp; local [all...] |
H A D | fcc_enet.c | 294 volatile cbd_t *bdp; local 298 bdp = cep->cur_tx; 301 if (bdp->cbd_sc & BD_ENET_TX_READY) { 312 bdp->cbd_sc &= ~BD_ENET_TX_STATS; 317 bdp->cbd_sc |= BD_ENET_TX_PAD; 319 bdp->cbd_sc &= ~BD_ENET_TX_PAD; 323 bdp->cbd_datlen = skb->len; 324 bdp->cbd_bufaddr = __pa(skb->data); 338 bdp->cbd_sc |= (BD_ENET_TX_READY | BD_ENET_TX_INTR | BD_ENET_TX_LAST | BD_ENET_TX_TC); 344 if (bdp 372 cbd_t *bdp; local 403 volatile cbd_t *bdp; local 538 volatile cbd_t *bdp; local 1191 volatile cbd_t *bdp; local [all...] |
H A D | uart.c | 316 volatile cbd_t *bdp; local 323 bdp = info->rx_cur; 325 if (bdp->cbd_sc & BD_SC_EMPTY) /* If this one is empty */ 335 bdp->cbd_sc |= BD_SC_EMPTY; 336 bdp->cbd_sc &= 339 if (bdp->cbd_sc & BD_SC_WRAP) 340 bdp = info->rx_bd_base; 342 bdp++; 349 i = bdp->cbd_datlen; 350 cp = (unsigned char *)__va(bdp 920 volatile cbd_t *bdp; local 951 volatile cbd_t *bdp; local 1053 volatile cbd_t *bdp; local 1677 volatile cbd_t *bdp; local 2118 volatile cbd_t *bdp, *bdbase; local 2239 volatile cbd_t *bdp; local 2601 volatile cbd_t *bdp; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/8xx_io/ |
H A D | enet.c | 198 volatile cbd_t *bdp; local 201 bdp = cep->cur_tx; 204 if (bdp->cbd_sc & BD_ENET_TX_READY) { 215 bdp->cbd_sc &= ~BD_ENET_TX_STATS; 220 bdp->cbd_sc |= BD_ENET_TX_PAD; 222 bdp->cbd_sc &= ~BD_ENET_TX_PAD; 226 bdp->cbd_datlen = skb->len; 227 bdp->cbd_bufaddr = __pa(skb->data); 247 bdp->cbd_sc |= (BD_ENET_TX_READY | BD_ENET_TX_INTR | BD_ENET_TX_LAST | BD_ENET_TX_TC); 253 if (bdp 280 cbd_t *bdp; local 310 volatile cbd_t *bdp; local 445 volatile cbd_t *bdp; local 649 volatile cbd_t *bdp; local [all...] |
H A D | fec.c | 296 volatile cbd_t *bdp; local 307 bdp = fep->cur_tx; 310 if (bdp->cbd_sc & BD_ENET_TX_READY) { 321 bdp->cbd_sc &= ~BD_ENET_TX_STATS; 325 bdp->cbd_bufaddr = __pa(skb->data); 326 bdp->cbd_datlen = skb->len; 347 bdp->cbd_sc |= (BD_ENET_TX_READY | BD_ENET_TX_INTR 357 if (bdp->cbd_sc & BD_ENET_TX_WRAP) { 358 bdp = fep->tx_bd_base; 360 bdp 385 cbd_t *bdp; local 467 volatile cbd_t *bdp; local 543 volatile cbd_t *bdp; local 1629 volatile cbd_t *bdp; local 1853 volatile cbd_t *bdp; local [all...] |
H A D | uart.c | 350 volatile cbd_t *bdp; local 357 bdp = info->rx_cur; 359 if (bdp->cbd_sc & BD_SC_EMPTY) /* If this one is empty */ 369 bdp->cbd_sc |= BD_SC_EMPTY; 370 bdp->cbd_sc &= 373 if (bdp->cbd_sc & BD_SC_WRAP) 374 bdp = info->rx_bd_base; 376 bdp++; 383 i = bdp->cbd_datlen; 384 cp = (unsigned char *)__va(bdp 1020 volatile cbd_t *bdp; local 1051 volatile cbd_t *bdp; local 1159 volatile cbd_t *bdp; local 1742 volatile cbd_t *bdp; local 2195 volatile cbd_t *bdp, *bdbase; local 2319 volatile cbd_t *bdp; local 2420 volatile cbd_t *bdp; local 2488 volatile cbd_t *bdp; local 2877 volatile cbd_t *bdp; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/boot/simple/ |
H A D | embed_config.c | 54 embed_config(bd_t **bdp) argument 61 bd = *bdp; 239 embed_config(bd_t **bdp) argument 249 *bdp = bd; 310 embed_config(bd_t **bdp) argument 317 *bdp = bd; 344 embed_config(bd_t **bdp) argument 351 *bdp = bd; 415 embed_config(bd_t **bdp) argument 421 bd = *bdp; 439 embed_config(bd_t **bdp) argument 472 embed_config(bd_t **bdp) argument 559 embed_config(bd_t **bdp) argument 592 embed_config(bd_t **bdp) argument 630 embed_config(bd_t **bdp) argument 693 embed_config(bd_t **bdp) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/ |
H A D | qla1280.c | 736 struct _qlaboards *bdp; local 792 bdp = &QLBoardTbl[0]; 797 for( i=0; bdp->device_id != 0 && i < NUM_OF_ISP_DEVICES; i++, bdp++ ) { 800 bdp->device_id, pdev ) )) { 804 bdp->device_id, 834 ha->device_id = bdp->device_id; 841 ha->ports = bdp->numPorts; 856 host->max_channel = bdp->numPorts-1; 859 if( qla1280_register_with_Linux(ha, bdp 1011 qla_boards_t *bdp; local [all...] |