/drivers/net/fddi/skfp/h/ |
D | cmtdef.h | 388 struct s_smc *tm_smc ; /* pointer to context */ 483 void hwt_restart(struct s_smc *smc); /* hwt.c */ 484 SMbuf *smt_build_frame(struct s_smc *smc, int class, int type, 486 SMbuf *smt_get_mbuf(struct s_smc *smc); /* drvsr.c */ 487 void *sm_to_para(struct s_smc *smc, struct smt_header *sm, 494 void queue_event(struct s_smc *smc, int class, int event); 495 void ecm(struct s_smc *smc, int event); 496 void ecm_init(struct s_smc *smc); 497 void rmt(struct s_smc *smc, int event); 498 void rmt_init(struct s_smc *smc); [all …]
|
D | smc.h | 434 struct s_smc { struct 472 void all_selection_criteria(struct s_smc *smc); argument 473 void card_stop(struct s_smc *smc); 474 void init_board(struct s_smc *smc, u_char *mac_addr); 475 int init_fplus(struct s_smc *smc); 476 void init_plc(struct s_smc *smc); 477 int init_smt(struct s_smc *smc, u_char *mac_addr); 478 void mac1_irq(struct s_smc *smc, u_short stu, u_short stl); 479 void mac2_irq(struct s_smc *smc, u_short code_s2u, u_short code_s2l); 480 void mac3_irq(struct s_smc *smc, u_short code_s3u, u_short code_s3l); [all …]
|
/drivers/net/fddi/skfp/ |
D | drvfbi.c | 83 static void smt_stop_watchdog(struct s_smc *smc); 88 static void card_start(struct s_smc *smc) in card_start() 163 void card_stop(struct s_smc *smc) in card_stop() 186 void mac1_irq(struct s_smc *smc, u_short stu, u_short stl) in mac1_irq() 235 void plc1_irq(struct s_smc *smc) in plc1_irq() 246 void plc2_irq(struct s_smc *smc) in plc2_irq() 257 void timer_irq(struct s_smc *smc) in timer_irq() 267 int pcm_get_s_port(struct s_smc *smc) in pcm_get_s_port() 284 void read_address(struct s_smc *smc, u_char *mac_addr) in read_address() 323 void init_board(struct s_smc *smc, u_char *mac_addr) in init_board() [all …]
|
D | smt.c | 63 static int mac_index(struct s_smc *smc, int mac); 64 static int phy_index(struct s_smc *smc, int phy); 65 static int mac_con_resource_index(struct s_smc *smc, int mac); 66 static int phy_con_resource_index(struct s_smc *smc, int phy); 67 static void smt_send_rdf(struct s_smc *smc, SMbuf *rej, int fc, int reason, 69 static void smt_send_nif(struct s_smc *smc, const struct fddi_addr *dest, 71 static void smt_send_ecf(struct s_smc *smc, struct fddi_addr *dest, int fc, 73 static void smt_echo_test(struct s_smc *smc, int dna); 74 static void smt_send_sif_config(struct s_smc *smc, struct fddi_addr *dest, 76 static void smt_send_sif_operation(struct s_smc *smc, struct fddi_addr *dest, [all …]
|
D | rmt.c | 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); 112 static void rmt_dup_actions(struct s_smc *smc); 113 static void rmt_reinsert_actions(struct s_smc *smc); 114 static void rmt_leave_actions(struct s_smc *smc); [all …]
|
D | hwmtm.c | 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); 88 static SMbuf* get_txd_mb(struct s_smc *smc); [all …]
|
D | skfddi.c | 113 static void send_queued_packets(struct s_smc *smc); 115 static void ResetAdapter(struct s_smc *smc); 119 void *mac_drv_get_space(struct s_smc *smc, u_int size); 120 void *mac_drv_get_desc_mem(struct s_smc *smc, u_int size); 121 unsigned long mac_drv_virt2phys(struct s_smc *smc, void *virt); 122 unsigned long dma_master(struct s_smc *smc, void *virt, int len, int flag); 123 void dma_complete(struct s_smc *smc, volatile union s_fp_descr *descr, 125 void mac_drv_tx_complete(struct s_smc *smc, volatile struct s_smt_fp_txd *txd); 126 void llc_restart_tx(struct s_smc *smc); 127 void mac_drv_rx_complete(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd, [all …]
|
D | fplustm.c | 47 static void build_claim_beacon(struct s_smc *smc, u_long t_request); 48 static int init_mac(struct s_smc *smc, int all); 49 static void rtm_init(struct s_smc *smc); 50 static void smt_split_up_fifo(struct s_smc *smc); 111 static u_long mac_get_tneg(struct s_smc *smc) in mac_get_tneg() 120 void mac_update_counter(struct s_smc *smc) in mac_update_counter() 145 static void write_mdr(struct s_smc *smc, u_long val) in write_mdr() 155 static u_long read_mdr(struct s_smc *smc, unsigned int addr) 174 static void init_ram(struct s_smc *smc) in init_ram() 193 static void set_recvptr(struct s_smc *smc) in set_recvptr() [all …]
|
D | hwt.c | 63 void hwt_start(struct s_smc *smc, u_long time) in hwt_start() 101 void hwt_stop(struct s_smc *smc) in hwt_stop() 123 void hwt_init(struct s_smc *smc) in hwt_init() 146 void hwt_restart(struct s_smc *smc) in hwt_restart() 164 u_long hwt_read(struct s_smc *smc) in hwt_read() 199 u_long hwt_quick_read(struct s_smc *smc) in hwt_quick_read() 227 void hwt_wait_time(struct s_smc *smc, u_long start, long int duration) in hwt_wait_time()
|
D | smttimer.c | 29 static void timer_done(struct s_smc *smc, int restart); 31 void smt_timer_init(struct s_smc *smc) in smt_timer_init() 39 void smt_timer_stop(struct s_smc *smc, struct smt_timer *timer) in smt_timer_stop() 62 void smt_timer_start(struct s_smc *smc, struct smt_timer *timer, u_long time, in smt_timer_start() 110 void smt_force_irq(struct s_smc *smc) in smt_force_irq() 115 void smt_timer_done(struct s_smc *smc) in smt_timer_done() 120 static void timer_done(struct s_smc *smc, int restart) in timer_done()
|
D | pcmplc.c | 60 struct s_smc * smc, int type, int index 67 struct s_smc *smc , 202 static void pcm_fsm(struct s_smc *smc, struct s_phy *phy, int cmd); 203 static void pc_rcode_actions(struct s_smc *smc, int bit, struct s_phy *phy); 204 static void pc_tcode_actions(struct s_smc *smc, const int bit, struct s_phy *phy); 206 static void plc_init(struct s_smc *smc, int p); 207 static void sm_ph_lem_start(struct s_smc *smc, int np, int threshold); 208 static void sm_ph_lem_stop(struct s_smc *smc, int np); 209 static void sm_ph_linestate(struct s_smc *smc, int phy, int ls); 210 static void real_init_plc(struct s_smc *smc); [all …]
|
D | ess.c | 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, SMbuf *mb, struct smt_header *sm, in ess_raf_received_pack() 378 static int process_bw_alloc(struct s_smc *smc, long int payload, long int overhead) in process_bw_alloc() [all …]
|
D | ecm.c | 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) in ecm_init() 124 void ecm(struct s_smc *smc, int event) in ecm() 143 static void ecm_fsm(struct s_smc *smc, int cmd) in ecm_fsm() 427 static void prop_actions(struct s_smc *smc) in prop_actions() 477 static void prop_actions(struct s_smc *smc) in prop_actions() 523 static void start_ecm_timer(struct s_smc *smc, u_long value, int event) in start_ecm_timer() [all …]
|
D | queue.c | 34 void ev_init(struct s_smc *smc) in ev_init() 42 void queue_event(struct s_smc *smc, int class, int event) in queue_event() 58 void timer_event(struct s_smc *smc, u_long token) in timer_event() 73 void ev_dispatcher(struct s_smc *smc) in ev_dispatcher() 127 u_short smt_online(struct s_smc *smc, int on) in smt_online() 141 void do_smt_flag(struct s_smc *smc, char *flag, int value) in do_smt_flag()
|
D | srf.c | 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); 72 void smt_init_evc(struct s_smc *smc) in smt_init_evc() 161 static struct s_srf_evc *smt_get_evc(struct s_smc *smc, int code, int index) in smt_get_evc() 187 void smt_srf_event(struct s_smc *smc, int code, int index, int cond) in smt_srf_event() 335 static void clear_all_rep(struct s_smc *smc) in clear_all_rep() 348 static void clear_reported(struct s_smc *smc) in clear_reported() 371 static void smt_send_srf(struct s_smc *smc) in smt_send_srf()
|
D | smtdef.c | 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) in smt_reset_defaults() 164 static void smt_init_mib(struct s_smc *smc, int level) in smt_init_mib() 179 sizeof(struct s_smc) - in smt_init_mib() 284 int smt_set_mac_opvalues(struct s_smc *smc) in smt_set_mac_opvalues() 309 void smt_fixup_mib(struct s_smc *smc) in smt_fixup_mib()
|
D | smtinit.c | 30 void init_fddi_driver(struct s_smc *smc, u_char *mac_addr); 51 static void set_oem_spec_val(struct s_smc *smc) in set_oem_spec_val() 68 int init_smt(struct s_smc *smc, u_char *mac_addr) in init_smt()
|
D | cfm.c | 99 static void cfm_fsm(struct s_smc *smc, int cmd); 105 void cfm_init(struct s_smc *smc) in cfm_init() 120 static void selection_criteria (struct s_smc *smc, struct s_phy *phy) in selection_criteria() 146 void all_selection_criteria(struct s_smc *smc) in all_selection_criteria() 157 static void cem_priv_state(struct s_smc *smc, int event) in cem_priv_state() 213 void cfm(struct s_smc *smc, int event) in cfm() 285 static void cfm_fsm(struct s_smc *smc, int cmd) in cfm_fsm() 543 int cfm_get_mac_input(struct s_smc *smc) in cfm_get_mac_input() 554 int cfm_get_mac_output(struct s_smc *smc) in cfm_get_mac_output() 594 int cem_build_path(struct s_smc *smc, char *to, int path_index) in cem_build_path()
|
D | pmf.c | 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); 281 void smt_pmf_received_pack(struct s_smc *smc, SMbuf *mb, int local) in smt_pmf_received_pack() 311 static SMbuf *smt_build_pmf_response(struct s_smc *smc, struct smt_header *req, in smt_build_pmf_response() 499 static int smt_authorize(struct s_smc *smc, struct smt_header *sm) in smt_authorize() [all …]
|