/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/skfp/ |
H A D | smtinit.c | 24 #include "h/smc.h" 30 void init_fddi_driver(struct s_smc *smc, u_char *mac_addr); 38 #define OEMID(smc,i) oem_id[i] 41 #define OEMID(smc,i) smc->hw.oem_id->oi_mark[i] 51 static void set_oem_spec_val(struct s_smc *smc) argument 55 mib = &smc->mib ; 60 if (OEMID(smc,0) == 'I') { 68 int init_smt(struct s_smc *smc, u_char *mac_addr) argument 92 smc [all...] |
H A D | cfm.c | 38 #include "h/smc.h" 51 #define GO_STATE(x) (smc->mib.fddiSMTCF_State = (x)|AFLAG) 52 #define ACTIONS_DONE() (smc->mib.fddiSMTCF_State &= ~AFLAG) 89 /* Do this within the smc structure (use in multiple cards) */ 92 * all Globals are defined in smc.h 99 static void cfm_fsm(struct s_smc *smc, int cmd); 105 void cfm_init(struct s_smc *smc) argument 107 smc->mib.fddiSMTCF_State = ACTIONS(SC0_ISOLATED) ; 108 smc->r.rm_join = 0 ; 109 smc 120 selection_criteria(struct s_smc *smc, struct s_phy *phy) argument 146 all_selection_criteria(struct s_smc *smc) argument 157 cem_priv_state(struct s_smc *smc, int event) argument 213 cfm(struct s_smc *smc, int event) argument 273 cfm_fsm(struct s_smc *smc, int cmd) argument 531 cfm_get_mac_input(struct s_smc *smc) argument 542 cfm_get_mac_output(struct s_smc *smc) argument 582 cem_build_path(struct s_smc *smc, char *to, int path_index) argument [all...] |
H A D | rmt.c | 47 #include "h/smc.h" 60 #define GO_STATE(x) (smc->mib.m[MAC0].fddiMACRMTState = (x)|AFLAG) 61 #define ACTIONS_DONE() (smc->mib.m[MAC0].fddiMACRMTState &= ~AFLAG) 105 static void rmt_fsm(struct s_smc *smc, int cmd); 106 static void start_rmt_timer0(struct s_smc *smc, u_long value, int event); 107 static void start_rmt_timer1(struct s_smc *smc, u_long value, int event); 108 static void start_rmt_timer2(struct s_smc *smc, u_long value, int event); 109 static void stop_rmt_timer0(struct s_smc *smc); 110 static void stop_rmt_timer1(struct s_smc *smc); 111 static void stop_rmt_timer2(struct s_smc *smc); 125 rmt_init(struct s_smc *smc) argument 147 rmt(struct s_smc *smc, int event) argument 166 rmt_fsm(struct s_smc *smc, int cmd) argument 533 rmt_dup_actions(struct s_smc *smc) argument 552 rmt_reinsert_actions(struct s_smc *smc) argument 561 rmt_new_dup_actions(struct s_smc *smc) argument 586 rmt_leave_actions(struct s_smc *smc) argument 599 start_rmt_timer0(struct s_smc *smc, u_long value, int event) argument 609 start_rmt_timer1(struct s_smc *smc, u_long value, int event) argument 619 start_rmt_timer2(struct s_smc *smc, u_long value, int event) argument 629 stop_rmt_timer0(struct s_smc *smc) argument 639 stop_rmt_timer1(struct s_smc *smc) argument 649 stop_rmt_timer2(struct s_smc *smc) argument [all...] |
H A D | ecm.c | 43 #include "h/smc.h" 56 #define GO_STATE(x) (smc->mib.fddiSMTECMState = (x)|AFLAG) 57 #define ACTIONS_DONE() (smc->mib.fddiSMTECMState &= ~AFLAG) 89 * all Globals are defined in smc.h 97 static void ecm_fsm(struct s_smc *smc, int cmd); 98 static void start_ecm_timer(struct s_smc *smc, u_long value, int event); 99 static void stop_ecm_timer(struct s_smc *smc); 100 static void prop_actions(struct s_smc *smc); 106 void ecm_init(struct s_smc *smc) argument 108 smc 124 ecm(struct s_smc *smc, int event) argument 143 ecm_fsm(struct s_smc *smc, int cmd) argument 427 prop_actions(struct s_smc *smc) argument 477 prop_actions(struct s_smc *smc) argument 523 start_ecm_timer(struct s_smc *smc, u_long value, int event) argument 532 stop_ecm_timer(struct s_smc *smc) argument [all...] |
H A D | fplustm.c | 23 #include "h/smc.h" 46 static void build_claim_beacon(struct s_smc *smc, u_long t_request); 47 static int init_mac(struct s_smc *smc, int all); 48 static void rtm_init(struct s_smc *smc); 49 static void smt_split_up_fifo(struct s_smc *smc); 56 #define DUMMY_READ() smc->hw.mc_dummy = (u_short) inp(ADDR(B0_RAP)) 61 SMT_PANIC(smc,SMT_E0130, SMT_E0130_MSG) ; \ 68 SMT_PANIC(smc,SMT_E0131, SMT_E0131_MSG) ; \ 83 #define MA smc->hw.fddi_canon_addr 85 #define MA smc 110 mac_get_tneg(struct s_smc *smc) argument 119 mac_update_counter(struct s_smc *smc) argument 144 write_mdr(struct s_smc *smc, u_long val) argument 154 init_ram(struct s_smc *smc) argument 173 set_recvptr(struct s_smc *smc) argument 203 set_txptr(struct s_smc *smc) argument 235 init_rbc(struct s_smc *smc) argument 256 init_rx(struct s_smc *smc) argument 278 set_formac_tsync(struct s_smc *smc, long sync_bw) argument 286 init_tx(struct s_smc *smc) argument 312 mac_counter_init(struct s_smc *smc) argument 335 set_formac_addr(struct s_smc *smc) argument 377 copy_tx_mac(struct s_smc *smc, u_long td, struct fddi_mac *mac, unsigned off, int len) argument 426 directed_beacon(struct s_smc *smc) argument 455 build_claim_beacon(struct s_smc *smc, u_long t_request) argument 516 formac_rcv_restart(struct s_smc *smc) argument 524 formac_tx_restart(struct s_smc *smc) argument 530 enable_formac(struct s_smc *smc) argument 542 disable_formac(struct s_smc *smc) argument 554 mac_ring_up(struct s_smc *smc, int up) argument 581 mac2_irq(struct s_smc *smc, u_short code_s2u, u_short code_s2l) argument 707 mac3_irq(struct s_smc *smc, u_short code_s3u, u_short code_s3l) argument 730 formac_offline(struct s_smc *smc) argument 748 formac_online(struct s_smc *smc) argument 758 init_fplus(struct s_smc *smc) argument 796 init_mac(struct s_smc *smc, int all) argument 901 config_mux(struct s_smc *smc, int mux) argument 915 sm_mac_check_beacon_claim(struct s_smc *smc) argument 928 sm_ma_control(struct s_smc *smc, int mode) argument 952 sm_mac_get_tx_state(struct s_smc *smc) argument 961 mac_get_mc_table(struct s_smc *smc, struct fddi_addr *user, struct fddi_addr *own, int del, int can) argument 1005 mac_clear_multicast(struct s_smc *smc) argument 1047 mac_add_multicast(struct s_smc *smc, struct fddi_addr *addr, int can) argument 1101 mac_update_multicast(struct s_smc *smc) argument 1177 mac_set_rx_mode(struct s_smc *smc, int mode) argument 1233 rtm_irq(struct s_smc *smc) argument 1246 rtm_init(struct s_smc *smc) argument 1252 rtm_set_timer(struct s_smc *smc) argument 1262 smt_split_up_fifo(struct s_smc *smc) argument 1382 formac_reinit_tx(struct s_smc *smc) argument [all...] |
H A D | queue.c | 23 #include "h/smc.h" 34 void ev_init(struct s_smc *smc) argument 36 smc->q.ev_put = smc->q.ev_get = smc->q.ev_queue ; 42 void queue_event(struct s_smc *smc, int class, int event) argument 45 smc->q.ev_put->class = class ; 46 smc->q.ev_put->event = event ; 47 if (++smc->q.ev_put == &smc 58 timer_event(struct s_smc *smc, u_long token) argument 73 ev_dispatcher(struct s_smc *smc) argument 127 smt_online(struct s_smc *smc, int on) argument 141 do_smt_flag(struct s_smc *smc, char *flag, int value) argument [all...] |
H A D | smt.c | 19 #include "h/smc.h" 64 int pcm_status_twisted(struct s_smc *smc); 72 static int mac_index(struct s_smc *smc, int mac); 73 static int phy_index(struct s_smc *smc, int phy); 74 static int mac_con_resource_index(struct s_smc *smc, int mac); 75 static int phy_con_resource_index(struct s_smc *smc, int phy); 76 static void smt_send_rdf(struct s_smc *smc, SMbuf *rej, int fc, int reason, 78 static void smt_send_nif(struct s_smc *smc, const struct fddi_addr *dest, 80 static void smt_send_ecf(struct s_smc *smc, struct fddi_addr *dest, int fc, 82 static void smt_echo_test(struct s_smc *smc, in 126 is_my_addr(const struct s_smc *smc, const struct fddi_addr *addr) argument 165 smt_agent_init(struct s_smc *smc) argument 211 smt_agent_task(struct s_smc *smc) argument 219 smt_emulate_token_ct(struct s_smc *smc, int mac_index) argument 246 smt_event(struct s_smc *smc, int event) argument 478 smt_received_pack(struct s_smc *smc, SMbuf *mb, int fs) argument 817 update_dac(struct s_smc *smc, int report) argument 835 smt_send_frame(struct s_smc *smc, SMbuf *mb, int fc, int local) argument 858 smt_send_rdf(struct s_smc *smc, SMbuf *rej, int fc, int reason, int local) argument 935 smt_send_nif(struct s_smc *smc, const struct fddi_addr *dest, int fc, u_long tid, int type, int local) argument 964 smt_send_nif_request(struct s_smc *smc, struct fddi_addr *dest) argument 974 smt_send_ecf_request(struct s_smc *smc, struct fddi_addr *dest, int len) argument 986 smt_echo_test(struct s_smc *smc, int dna) argument 1001 smt_send_ecf(struct s_smc *smc, struct fddi_addr *dest, int fc, u_long tid, int type, int len) argument 1027 smt_send_sif_config(struct s_smc *smc, struct fddi_addr *dest, u_long tid, int local) argument 1060 smt_send_sif_operation(struct s_smc *smc, struct fddi_addr *dest, u_long tid, int local) argument 1108 smt_build_frame(struct s_smc *smc, int class, int type, int length) argument 1153 smt_fill_una(struct s_smc *smc, struct smt_p_una *una) argument 1163 smt_fill_sde(struct s_smc *smc, struct smt_p_sde *sde) argument 1179 smt_fill_state(struct s_smc *smc, struct smt_p_state *state) argument 1219 smt_fill_timestamp(struct s_smc *smc, struct smt_p_timestamp *ts) argument 1226 smt_set_timestamp(struct s_smc *smc, u_char *p) argument 1260 smt_fill_policy(struct s_smc *smc, struct smt_p_policy *policy) argument 1291 smt_fill_latency(struct s_smc *smc, struct smt_p_latency *latency) argument 1314 smt_fill_neighbor(struct s_smc *smc, struct smt_p_neighbor *neighbor) argument 1333 smt_fill_path(struct s_smc *smc, struct smt_p_path *path) argument 1381 smt_fill_mac_status(struct s_smc *smc, struct smt_p_mac_status *st) argument 1408 smt_fill_lem(struct s_smc *smc, struct smt_p_lem *lem, int phy) argument 1430 smt_fill_version(struct s_smc *smc, struct smt_p_version *vers) argument 1449 smt_fill_fsc(struct s_smc *smc, struct smt_p_fsc *fsc) argument 1469 smt_fill_mac_counter(struct s_smc *smc, struct smt_p_mac_counter *mc) argument 1481 smt_fill_mac_fnc(struct s_smc *smc, struct smt_p_mac_fnc *fnc) argument 1493 smt_fill_manufacturer(struct s_smc *smc, struct smp_p_manufacturer *man) argument 1505 smt_fill_user(struct s_smc *smc, struct smp_p_user *user) argument 1516 smt_fill_setcount(struct s_smc *smc, struct smt_p_setcount *setcount) argument 1528 smt_fill_echo(struct s_smc *smc, struct smt_p_echo *echo, u_long seed, int len) argument 1546 smt_clear_una_dna(struct s_smc *smc) argument 1552 smt_clear_old_una_dna(struct s_smc *smc) argument 1558 smt_get_tid(struct s_smc *smc) argument 1643 smt_check_para(struct s_smc *smc, struct smt_header *sm, const u_short list[]) argument 1657 sm_to_para(struct s_smc *smc, struct smt_header *sm, int para) argument 1722 mac_index(struct s_smc *smc, int mac) argument 1736 phy_index(struct s_smc *smc, int phy) argument 1745 mac_con_resource_index(struct s_smc *smc, int mac) argument 1769 phy_con_resource_index(struct s_smc *smc, int phy) argument 1791 entity_to_index(struct s_smc *smc, int e) argument 1916 smt_action(struct s_smc *smc, int class, int code, int index) argument 2002 hwm_conv_can(struct s_smc *smc, char *data, int len) argument [all...] |
H A D | srf.c | 24 #include "h/smc.h" 41 static void clear_all_rep(struct s_smc *smc); 42 static void clear_reported(struct s_smc *smc); 43 static void smt_send_srf(struct s_smc *smc); 44 static struct s_srf_evc *smt_get_evc(struct s_smc *smc, int code, int index); 46 #define MAX_EVCS (sizeof(smc->evcs)/sizeof(smc->evcs[0])) 72 void smt_init_evc(struct s_smc *smc) argument 82 memset((char *)smc->evcs,0,sizeof(smc 161 smt_get_evc(struct s_smc *smc, int code, int index) argument 187 smt_srf_event(struct s_smc *smc, int code, int index, int cond) argument 335 clear_all_rep(struct s_smc *smc) argument 348 clear_reported(struct s_smc *smc) argument 371 smt_send_srf(struct s_smc *smc) argument [all...] |
H A D | smttimer.c | 23 #include "h/smc.h" 29 static void timer_done(struct s_smc *smc, int restart); 31 void smt_timer_init(struct s_smc *smc) argument 33 smc->t.st_queue = NULL; 34 smc->t.st_fast.tm_active = FALSE ; 35 smc->t.st_fast.tm_next = NULL; 36 hwt_init(smc) ; 39 void smt_timer_stop(struct s_smc *smc, struct smt_timer *timer) argument 48 if (smc->t.st_queue == timer && !timer->tm_next) { 49 hwt_stop(smc) ; 62 smt_timer_start(struct s_smc *smc, struct smt_timer *timer, u_long time, u_long token) argument 110 smt_force_irq(struct s_smc *smc) argument 115 smt_timer_done(struct s_smc *smc) argument 120 timer_done(struct s_smc *smc, int restart) argument [all...] |
H A D | drvfbi.c | 23 #include "h/smc.h" 81 #define OEMID(smc,i) oem_id[ID_BYTE0 + i] 87 #define OEMID(smc,i) smc->hw.oem_id->oi_id[i] 97 static void smt_stop_watchdog(struct s_smc *smc); 110 #define read_POS(smc,a1,a2) ((u_char) inp(a1)) 111 #define write_POS(smc,a1,a2,a3) outp((a1),(a3)) 119 static void card_start(struct s_smc *smc) argument 127 smt_stop_watchdog(smc) ; 144 smc 239 card_stop(struct s_smc *smc) argument 270 mac1_irq(struct s_smc *smc, u_short stu, u_short stl) argument 373 plc1_irq(struct s_smc *smc) argument 388 plc2_irq(struct s_smc *smc) argument 403 timer_irq(struct s_smc *smc) argument 413 pcm_get_s_port(struct s_smc *smc) argument 430 read_address(struct s_smc *smc, u_char *mac_addr) argument 497 init_board(struct s_smc *smc, u_char *mac_addr) argument 526 sm_pm_bypass_req(struct s_smc *smc, int mode) argument 579 sm_pm_bypass_present(struct s_smc *smc) argument 588 plc_clear_irq(struct s_smc *smc, int p) argument 620 led_indication(struct s_smc *smc, int led_event) argument 714 pcm_state_change(struct s_smc *smc, int plc, int p_state) argument 727 rmt_indication(struct s_smc *smc, int i) argument 739 llc_recover_tx(struct s_smc *smc) argument 775 set_oi_id_def(struct s_smc *smc) argument 849 exist_board(struct s_smc *smc, int slot) argument 899 read_card_id(struct s_smc *smc, int slot) argument 943 get_board_para(struct s_smc *smc, int slot) argument 990 EnableSlotAccess(struct s_smc *smc, int slot) argument 1008 DisableSlotAccess(struct s_smc *smc) argument 1057 exist_board(struct s_smc *smc, int slot) argument 1094 get_board_para(struct s_smc *smc, int slot) argument 1135 exist_board(struct s_smc *smc, HW_PTR port) argument 1206 get_board_para(struct s_smc *smc, int slot) argument 1216 exist_board(struct s_smc *smc, int slot) argument 1254 driver_get_bia(struct s_smc *smc, struct fddi_addr *bia_addr) argument 1262 smt_start_watchdog(struct s_smc *smc) argument 1277 smt_stop_watchdog(struct s_smc *smc) argument 1293 mac_do_pci_fix(struct s_smc *smc) argument [all...] |
H A D | hwt.c | 32 #include "h/smc.h" 51 * struct s_smc *smc, 54 * smc - A pointer to the SMT Context structure. 63 void hwt_start(struct s_smc *smc, u_long time) argument 70 smc->hw.t_start = time ; 71 smc->hw.t_stop = 0L ; 99 smc->hw.timer_activ = TRUE ; 109 * struct s_smc *smc) ; 111 * smc - A pointer to the SMT Context structure. 116 void hwt_stop(struct s_smc *smc) argument 145 hwt_init(struct s_smc *smc) argument 168 hwt_restart(struct s_smc *smc) argument 191 hwt_read(struct s_smc *smc) argument 235 hwt_quick_read(struct s_smc *smc) argument 263 hwt_wait_time(struct s_smc *smc, u_long start, long int duration) argument [all...] |
H A D | hwmtm.c | 29 #include "h/smc.h" 78 static void queue_llc_rx(struct s_smc *smc, SMbuf *mb); 79 static void smt_to_llc(struct s_smc *smc, SMbuf *mb); 80 static void init_txd_ring(struct s_smc *smc); 81 static void init_rxd_ring(struct s_smc *smc); 82 static void queue_txd_mb(struct s_smc *smc, SMbuf *mb); 83 static u_long init_descr_ring(struct s_smc *smc, union s_fp_descr volatile *start, 85 static u_long repair_txd_ring(struct s_smc *smc, struct s_smt_tx_queue *queue); 86 static u_long repair_rxd_ring(struct s_smc *smc, struct s_smt_rx_queue *queue); 87 static SMbuf* get_llc_rx(struct s_smc *smc); 268 mac_drv_init(struct s_smc *smc) argument 318 init_driver_fplus(struct s_smc *smc) argument 333 init_descr_ring(struct s_smc *smc, union s_fp_descr volatile *start, int count) argument 364 init_txd_ring(struct s_smc *smc) argument 401 init_rxd_ring(struct s_smc *smc) argument 431 init_fddi_driver(struct s_smc *smc, u_char *mac_addr) argument 495 smt_get_mbuf(struct s_smc *smc) argument 517 smt_free_mbuf(struct s_smc *smc, SMbuf *mb) argument 563 mac_drv_repair_descr(struct s_smc *smc) argument 595 repair_txd_ring(struct s_smc *smc, struct s_smt_tx_queue *queue) argument 647 repair_rxd_ring(struct s_smc *smc, struct s_smt_rx_queue *queue) argument 718 fddi_isr(struct s_smc *smc) argument 1001 mac_drv_rx_mode(struct s_smc *smc, int mode) argument 1050 process_receive(struct s_smc *smc) argument 1390 smt_to_llc(struct s_smc *smc, SMbuf *mb) argument 1425 hwm_rx_frag(struct s_smc *smc, char far *virt, u_long phys, int len, int frame_status) argument 1473 mac_drv_clear_rx_queue(struct s_smc *smc) argument 1560 hwm_tx_init(struct s_smc *smc, u_char fc, int frag_count, int frame_len, int frame_status) argument 1638 hwm_tx_frag(struct s_smc *smc, char far *virt, u_long phys, int len, int frame_status) argument 1744 queue_llc_rx(struct s_smc *smc, SMbuf *mb) argument 1768 get_llc_rx(struct s_smc *smc) argument 1784 queue_txd_mb(struct s_smc *smc, SMbuf *mb) argument 1801 get_txd_mb(struct s_smc *smc) argument 1816 smt_send_mbuf(struct s_smc *smc, SMbuf *mb, int fc) argument 1951 mac_drv_clear_txd(struct s_smc *smc) argument 2042 mac_drv_clear_tx_queue(struct s_smc *smc) argument 2134 mac_drv_debug_lev(struct s_smc *smc, int flag, int lev) argument [all...] |
H A D | ess.c | 38 #include "h/smc.h" 83 static void ess_send_response(struct s_smc *smc, struct smt_header *sm, 85 static void ess_config_fifo(struct s_smc *smc); 86 static void ess_send_alc_req(struct s_smc *smc); 87 static void ess_send_frame(struct s_smc *smc, SMbuf *mb); 101 void ess_timer_poll(struct s_smc *smc); 102 void ess_para_change(struct s_smc *smc); 103 int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm, 105 static int process_bw_alloc(struct s_smc *smc, long int payload, long int overhead); 117 int ess_raf_received_pack(struct s_smc *smc, SMbu argument 378 process_bw_alloc(struct s_smc *smc, long int payload, long int overhead) argument 474 ess_send_response(struct s_smc *smc, struct smt_header *sm, int sba_cmd) argument 539 ess_timer_poll(struct s_smc *smc) argument 553 ess_send_alc_req(struct s_smc *smc) argument 661 ess_send_frame(struct s_smc *smc, SMbuf *mb) argument 687 ess_para_change(struct s_smc *smc) argument 693 ess_config_fifo(struct s_smc *smc) argument [all...] |
H A D | smtdef.c | 23 #include "h/smc.h" 75 void smt_reset_defaults(struct s_smc *smc, int level); 76 static void smt_init_mib(struct s_smc *smc, int level); 82 void smt_reset_defaults(struct s_smc *smc, int level) argument 89 smt_init_mib(smc,level) ; 91 smc->os.smc_version = SMC_VERSION ; 94 smc->sm.last_tok_time[i] = smt_boot_time ; 95 smt = &smc->s ; 133 smc->ess.sync_bw_available = FALSE ; 134 smc 164 smt_init_mib(struct s_smc *smc, int level) argument 284 smt_set_mac_opvalues(struct s_smc *smc) argument 309 smt_fixup_mib(struct s_smc *smc) argument [all...] |
H A D | skfddi.c | 96 #include "h/smc.h" 111 static void send_queued_packets(struct s_smc *smc); 113 static void ResetAdapter(struct s_smc *smc); 117 void *mac_drv_get_space(struct s_smc *smc, u_int size); 118 void *mac_drv_get_desc_mem(struct s_smc *smc, u_int size); 119 unsigned long mac_drv_virt2phys(struct s_smc *smc, void *virt); 120 unsigned long dma_master(struct s_smc *smc, void *virt, int len, int flag); 121 void dma_complete(struct s_smc *smc, volatile union s_fp_descr *descr, 123 void mac_drv_tx_complete(struct s_smc *smc, volatile struct s_smt_fp_txd *txd); 124 void llc_restart_tx(struct s_smc *smc); 204 struct s_smc *smc; /* board pointer */ local 388 struct s_smc *smc = netdev_priv(dev); local 495 struct s_smc *smc = netdev_priv(dev); local 562 struct s_smc *smc = netdev_priv(dev); local 620 struct s_smc *smc; /* private board structure pointer */ local 736 struct s_smc *smc = netdev_priv(dev); local 750 struct s_smc *smc = netdev_priv(dev); local 833 struct s_smc *smc = netdev_priv(dev); local 873 struct s_smc *smc = netdev_priv(dev); local 953 struct s_smc *smc = netdev_priv(dev); local 1014 send_queued_packets(struct s_smc *smc) argument 1141 ResetAdapter(struct s_smc *smc) argument 1186 llc_restart_tx(struct s_smc *smc) argument 1216 mac_drv_get_space(struct s_smc *smc, unsigned int size) argument 1256 mac_drv_get_desc_mem(struct s_smc *smc, unsigned int size) argument 1294 mac_drv_virt2phys(struct s_smc *smc, void *virt) argument 1329 dma_master(struct s_smc * smc, void *virt, int len, int flag) argument 1357 dma_complete(struct s_smc *smc, volatile union s_fp_descr *descr, int flag) argument 1401 mac_drv_tx_complete(struct s_smc *smc, volatile struct s_smt_fp_txd *txd) argument 1483 mac_drv_rx_complete(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd, int frag_count, int len) argument 1603 mac_drv_requeue_rxd(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd, int frag_count) argument 1680 mac_drv_fill_rxd(struct s_smc *smc) argument 1747 mac_drv_clear_rxd(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd, int frag_count) argument 1804 mac_drv_rx_init(struct s_smc *smc, int len, int fc, char *look_ahead, int la_len) argument 1852 smt_timer_poll(struct s_smc *smc) argument 1870 ring_status_indication(struct s_smc *smc, u_long status) argument 1944 smt_stat_counter(struct s_smc *smc, int stat) argument 1980 cfm_state_change(struct s_smc *smc, int c_state) argument 2038 ecm_state_change(struct s_smc *smc, int e_state) argument 2093 rmt_state_change(struct s_smc *smc, int r_state) argument 2145 drv_reset_indication(struct s_smc *smc) argument [all...] |
H A D | pcmplc.c | 48 #include "h/smc.h" 60 struct s_smc * smc, int type, int index 67 struct s_smc *smc , 202 void all_selection_criteria(struct s_smc *smc); 205 static void pcm_fsm(struct s_smc *smc, struct s_phy *phy, int cmd); 206 static void pc_rcode_actions(struct s_smc *smc, int bit, struct s_phy *phy); 207 static void pc_tcode_actions(struct s_smc *smc, const int bit, struct s_phy *phy); 209 static void plc_init(struct s_smc *smc, int p); 210 static void sm_ph_lem_start(struct s_smc *smc, int np, int threshold); 211 static void sm_ph_lem_stop(struct s_smc *smc, in 219 start_pcm_timer0(struct s_smc *smc, u_long value, int event, struct s_phy *phy) argument 230 stop_pcm_timer0(struct s_smc *smc, struct s_phy *phy) argument 240 pcm_init(struct s_smc *smc) argument 404 init_plc(struct s_smc *smc) argument 417 real_init_plc(struct s_smc *smc) argument 425 plc_init(struct s_smc *smc, int p) argument 488 plc_go_state(struct s_smc *smc, int p, int state) argument 504 sm_pm_get_ls(struct s_smc *smc, int phy) argument 537 plc_send_bits(struct s_smc *smc, struct s_phy *phy, int len) argument 569 plc_config_mux(struct s_smc *smc, int mux) argument 593 pcm(struct s_smc *smc, const int np, int event) argument 672 pcm_fsm(struct s_smc *smc, struct s_phy *phy, int cmd) argument 1009 sm_ph_linestate(struct s_smc *smc, int phy, int ls) argument 1049 lem_evaluate(struct s_smc *smc, struct s_phy *phy) argument 1149 sm_lem_evaluate(struct s_smc *smc) argument 1157 lem_check_lct(struct s_smc *smc, struct s_phy *phy) argument 1201 sm_ph_lem_start(struct s_smc *smc, int np, int threshold) argument 1219 sm_ph_lem_stop(struct s_smc *smc, int np) argument 1228 sm_pm_ls_latch(struct s_smc *smc, int phy, int on_off) argument 1246 pc_rcode_actions(struct s_smc *smc, int bit, struct s_phy *phy) argument 1382 pc_tcode_actions(struct s_smc *smc, const int bit, struct s_phy *phy) argument 1561 pcm_status_twisted(struct s_smc *smc) argument 1580 pcm_status_state(struct s_smc *smc, int np, int *type, int *state, int *remote, int *mac) argument 1604 pcm_rooted_station(struct s_smc *smc) argument 1619 plc_irq(struct s_smc *smc, int np, unsigned int cmd) argument 1822 pcm_get_state(struct s_smc *smc, struct smt_state *state) argument 1856 get_pcm_state(struct s_smc *smc, int np) argument 1878 get_linestate(struct s_smc *smc, int np) argument 1900 get_pcmstate(struct s_smc *smc, int np) argument 1922 list_phy(struct s_smc *smc) argument 1950 pcm_lem_dump(struct s_smc *smc) argument [all...] |
H A D | pmf.c | 23 #include "h/smc.h" 35 static int smt_authorize(struct s_smc *smc, struct smt_header *sm); 36 static int smt_check_set_count(struct s_smc *smc, struct smt_header *sm); 38 static int smt_mib_phys(struct s_smc *smc); 39 static int smt_set_para(struct s_smc *smc, struct smt_para *pa, int index, 41 void smt_add_para(struct s_smc *smc, struct s_pcon *pcon, u_short para, 43 static SMbuf *smt_build_pmf_response(struct s_smc *smc, struct smt_header *req, 45 static int port_to_mib(struct s_smc *smc, int p); 288 void smt_pmf_received_pack(struct s_smc *smc, SMbuf *mb, int local) argument 296 dump_smt(smc,s 318 smt_build_pmf_response(struct s_smc *smc, struct smt_header *req, int set, int local) argument 506 smt_authorize(struct s_smc *smc, struct smt_header *sm) argument 541 smt_check_set_count(struct s_smc *smc, struct smt_header *sm) argument 557 smt_add_para(struct s_smc *smc, struct s_pcon *pcon, u_short para, int index, int local) argument 1082 smt_set_para(struct s_smc *smc, struct smt_para *pa, int index, int local, int set) argument 1531 smt_mib_phys(struct s_smc *smc) argument 1544 port_to_mib(struct s_smc *smc, int p) argument 1560 dump_smt(struct s_smc *smc, struct smt_header *sm, char *text) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/skfp/h/ |
H A D | cmtdef.h | 63 #define DB_ECM(a,b,c) DB_PR((smc->debug.d_smt&1),a,b,c) 64 #define DB_ECMN(n,a,b,c) DB_PR((smc->debug.d_ecm >=(n)),a,b,c) 65 #define DB_RMT(a,b,c) DB_PR((smc->debug.d_smt&2),a,b,c) 66 #define DB_RMTN(n,a,b,c) DB_PR((smc->debug.d_rmt >=(n)),a,b,c) 67 #define DB_CFM(a,b,c) DB_PR((smc->debug.d_smt&4),a,b,c) 68 #define DB_CFMN(n,a,b,c) DB_PR((smc->debug.d_cfm >=(n)),a,b,c) 69 #define DB_PCM(a,b,c) DB_PR((smc->debug.d_smt&8),a,b,c) 70 #define DB_PCMN(n,a,b,c) DB_PR((smc->debug.d_pcm >=(n)),a,b,c) 71 #define DB_SMT(a,b,c) DB_PR((smc->debug.d_smtf),a,b,c) 72 #define DB_SMTN(n,a,b,c) DB_PR((smc [all...] |
H A D | hwmtm.h | 175 #define DB_P smc->debug 230 * txd *HWM_GET_TX_USED(smc,queue) 243 #define HWM_GET_TX_USED(smc,queue) (int) (smc)->hw.fp.tx_q[queue].tx_used 247 * txd *HWM_GET_CURR_TXD(smc,queue) 261 #define HWM_GET_CURR_TXD(smc,queue) (struct s_smt_fp_txd volatile *)\ 262 (smc)->hw.fp.tx_q[queue].tx_curr_put 299 * int HWM_GET_RX_USED(smc) 312 #define HWM_GET_RX_USED(smc) ((int)(smc) [all...] |
H A D | skfbi.h | 27 #define ADDR(a) ((a)+smc->hw.iop) 28 #define ADDRS(smc,a) ((a)+(smc)->hw.iop) 112 #define FM_A(a) (FMA(a)+smc->hw.iop) /* FORMAC Plus physical addr */ 113 #define P1_A(a) (P1A(a)+smc->hw.iop) /* PLC1 (r/w) */ 114 #define P2_A(a) (P2A(a)+smc->hw.iop) /* PLC2 (r/w) */ 115 #define TI_A(a) (TIA(a)+smc->hw.iop) /* Timer (r/w) */ 116 #define PR_A(a) (PRA(a)+smc->hw.iop) /* config. PROM */ 117 #define C0_A(a) (C0A(a)+smc->hw.iop) /* config. RAM */ 118 #define C1_A(a) (C1A(a)+smc [all...] |
H A D | targetos.h | 56 #define ADDR(a) (smc->hw.iop+(a)) 58 #define ADDR(a) (((a)>>7) ? (outp(smc->hw.iop+B0_RAP,(a)>>7), (smc->hw.iop+( ((a)&0x7F) | ((a)>>7 ? 0x80:0)) )) : (smc->hw.iop+(((a)&0x7F)|((a)>>7 ? 0x80:0))))
|
H A D | smc.h | 304 #define RS_SET(smc,bit) \ 305 ring_status_indication(smc,smc->srf.ring_status |= bit) 306 #define RS_CLEAR(smc,bit) \ 307 ring_status_indication(smc,smc->srf.ring_status &= ~bit) 314 #define AIX_EVENT(smc,opt0,opt1,opt2,opt3) /* nothing */ 404 * Debugging struct sometimes used in smc
|
H A D | osdef1st.h | 38 #define MB_OUTSIDE_SMC /* SMT Mbufs outside of smc struct. */ 52 #define SMT_PANIC(smc, nr, msg) printk(KERN_INFO "SMT PANIC: code: %d, msg: %s\n",nr,msg)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/pcmcia/ |
H A D | smc91c92_cs.c | 314 struct smc_private *smc; local 323 smc = netdev_priv(dev); 324 smc->p_dev = link; 327 spin_lock_init(&smc->lock); 353 smc->mii_if.dev = dev; 354 smc->mii_if.mdio_read = mdio_read; 355 smc->mii_if.mdio_write = mdio_write; 356 smc->mii_if.phy_id_mask = 0x1f; 357 smc->mii_if.reg_num_mask = 0x1f; 444 struct smc_private *smc local 466 struct smc_private *smc = netdev_priv(dev); local 604 struct smc_private *smc = netdev_priv(dev); local 861 struct smc_private *smc = netdev_priv(dev); local 961 struct smc_private *smc = netdev_priv(dev); local 1122 struct smc_private *smc = netdev_priv(dev); local 1213 struct smc_private *smc = netdev_priv(dev); local 1250 struct smc_private *smc = netdev_priv(dev); local 1287 struct smc_private *smc = netdev_priv(dev); local 1352 struct smc_private *smc = netdev_priv(dev); local 1367 struct smc_private *smc = netdev_priv(dev); local 1433 struct smc_private *smc = netdev_priv(dev); local 1477 struct smc_private *smc = netdev_priv(dev); local 1508 struct smc_private *smc = netdev_priv(dev); local 1626 struct smc_private *smc = netdev_priv(dev); local 1693 struct smc_private *smc = netdev_priv(dev); local 1733 struct smc_private *smc = netdev_priv(dev); local 1771 struct smc_private *smc = netdev_priv(dev); local 1797 struct smc_private *smc = netdev_priv(dev); local 1822 struct smc_private *smc = netdev_priv(dev); local 1897 struct smc_private *smc = netdev_priv(dev); local 2011 struct smc_private *smc = netdev_priv(dev); local 2088 struct smc_private *smc = netdev_priv(dev); local 2106 struct smc_private *smc = netdev_priv(dev); local 2124 struct smc_private *smc = netdev_priv(dev); local 2151 struct smc_private *smc = netdev_priv(dev); local 2181 struct smc_private *smc = netdev_priv(dev); local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/ |
H A D | smc.d | 1 libavcodec/smc.o: libavcodec/smc.c libavutil/intreadwrite.h config.h \
|