/linux-6.1.9/drivers/net/fddi/skfp/h/ |
D | cmtdef.h | 389 struct s_smc *tm_smc ; /* pointer to context */ 484 void hwt_restart(struct s_smc *smc); /* hwt.c */ 485 SMbuf *smt_build_frame(struct s_smc *smc, int class, int type, 487 SMbuf *smt_get_mbuf(struct s_smc *smc); /* drvsr.c */ 488 void *sm_to_para(struct s_smc *smc, struct smt_header *sm, 495 void queue_event(struct s_smc *smc, int class, int event); 496 void ecm(struct s_smc *smc, int event); 497 void ecm_init(struct s_smc *smc); 498 void rmt(struct s_smc *smc, int event); 499 void rmt_init(struct s_smc *smc); [all …]
|
D | smc.h | 430 struct s_smc { struct 468 void all_selection_criteria(struct s_smc *smc); argument 469 void card_stop(struct s_smc *smc); 470 void init_board(struct s_smc *smc, u_char *mac_addr); 471 int init_fplus(struct s_smc *smc); 472 void init_plc(struct s_smc *smc); 473 int init_smt(struct s_smc *smc, const u_char *mac_addr); 474 void mac1_irq(struct s_smc *smc, u_short stu, u_short stl); 475 void mac2_irq(struct s_smc *smc, u_short code_s2u, u_short code_s2l); 476 void mac3_irq(struct s_smc *smc, u_short code_s3u, u_short code_s3l); [all …]
|
/linux-6.1.9/drivers/net/fddi/skfp/ |
D | drvfbi.c | 76 static void smt_stop_watchdog(struct s_smc *smc); 81 static void card_start(struct s_smc *smc) in card_start() 156 void card_stop(struct s_smc *smc) in card_stop() 179 void mac1_irq(struct s_smc *smc, u_short stu, u_short stl) in mac1_irq() 228 void plc1_irq(struct s_smc *smc) in plc1_irq() 239 void plc2_irq(struct s_smc *smc) in plc2_irq() 250 void timer_irq(struct s_smc *smc) in timer_irq() 260 int pcm_get_s_port(struct s_smc *smc) in pcm_get_s_port() 277 void read_address(struct s_smc *smc, u_char *mac_addr) in read_address() 316 void init_board(struct s_smc *smc, u_char *mac_addr) in init_board() [all …]
|
D | smt.c | 54 static int mac_index(struct s_smc *smc, int mac); 55 static int phy_index(struct s_smc *smc, int phy); 56 static int mac_con_resource_index(struct s_smc *smc, int mac); 57 static int phy_con_resource_index(struct s_smc *smc, int phy); 58 static void smt_send_rdf(struct s_smc *smc, SMbuf *rej, int fc, int reason, 60 static void smt_send_nif(struct s_smc *smc, const struct fddi_addr *dest, 62 static void smt_send_ecf(struct s_smc *smc, struct fddi_addr *dest, int fc, 64 static void smt_echo_test(struct s_smc *smc, int dna); 65 static void smt_send_sif_config(struct s_smc *smc, struct fddi_addr *dest, 67 static void smt_send_sif_operation(struct s_smc *smc, struct fddi_addr *dest, [all …]
|
D | rmt.c | 95 static void rmt_fsm(struct s_smc *smc, int cmd); 96 static void start_rmt_timer0(struct s_smc *smc, u_long value, int event); 97 static void start_rmt_timer1(struct s_smc *smc, u_long value, int event); 98 static void start_rmt_timer2(struct s_smc *smc, u_long value, int event); 99 static void stop_rmt_timer0(struct s_smc *smc); 100 static void stop_rmt_timer1(struct s_smc *smc); 101 static void stop_rmt_timer2(struct s_smc *smc); 102 static void rmt_dup_actions(struct s_smc *smc); 103 static void rmt_reinsert_actions(struct s_smc *smc); 104 static void rmt_leave_actions(struct s_smc *smc); [all …]
|
D | hwmtm.c | 70 static void queue_llc_rx(struct s_smc *smc, SMbuf *mb); 71 static void smt_to_llc(struct s_smc *smc, SMbuf *mb); 72 static void init_txd_ring(struct s_smc *smc); 73 static void init_rxd_ring(struct s_smc *smc); 74 static void queue_txd_mb(struct s_smc *smc, SMbuf *mb); 75 static u_long init_descr_ring(struct s_smc *smc, union s_fp_descr volatile *start, 77 static u_long repair_txd_ring(struct s_smc *smc, struct s_smt_tx_queue *queue); 78 static u_long repair_rxd_ring(struct s_smc *smc, struct s_smt_rx_queue *queue); 79 static SMbuf* get_llc_rx(struct s_smc *smc); 80 static SMbuf* get_txd_mb(struct s_smc *smc); [all …]
|
D | skfddi.c | 112 static void send_queued_packets(struct s_smc *smc); 114 static void ResetAdapter(struct s_smc *smc); 118 void *mac_drv_get_space(struct s_smc *smc, u_int size); 119 void *mac_drv_get_desc_mem(struct s_smc *smc, u_int size); 120 unsigned long mac_drv_virt2phys(struct s_smc *smc, void *virt); 121 unsigned long dma_master(struct s_smc *smc, void *virt, int len, int flag); 122 void dma_complete(struct s_smc *smc, volatile union s_fp_descr *descr, 124 void mac_drv_tx_complete(struct s_smc *smc, volatile struct s_smt_fp_txd *txd); 125 void llc_restart_tx(struct s_smc *smc); 126 void mac_drv_rx_complete(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd, [all …]
|
D | fplustm.c | 39 static void build_claim_beacon(struct s_smc *smc, u_long t_request); 40 static int init_mac(struct s_smc *smc, int all); 41 static void rtm_init(struct s_smc *smc); 42 static void smt_split_up_fifo(struct s_smc *smc); 103 static u_long mac_get_tneg(struct s_smc *smc) in mac_get_tneg() 112 void mac_update_counter(struct s_smc *smc) in mac_update_counter() 137 static void write_mdr(struct s_smc *smc, u_long val) in write_mdr() 147 static u_long read_mdr(struct s_smc *smc, unsigned int addr) 166 static void init_ram(struct s_smc *smc) in init_ram() 185 static void set_recvptr(struct s_smc *smc) in set_recvptr() [all …]
|
D | hwt.c | 55 void hwt_start(struct s_smc *smc, u_long time) in hwt_start() 93 void hwt_stop(struct s_smc *smc) in hwt_stop() 115 void hwt_init(struct s_smc *smc) in hwt_init() 138 void hwt_restart(struct s_smc *smc) in hwt_restart() 156 u_long hwt_read(struct s_smc *smc) in hwt_read() 191 u_long hwt_quick_read(struct s_smc *smc) in hwt_quick_read() 219 void hwt_wait_time(struct s_smc *smc, u_long start, long int duration) in hwt_wait_time()
|
D | smttimer.c | 21 static void timer_done(struct s_smc *smc, int restart); 23 void smt_timer_init(struct s_smc *smc) in smt_timer_init() 31 void smt_timer_stop(struct s_smc *smc, struct smt_timer *timer) in smt_timer_stop() 54 void smt_timer_start(struct s_smc *smc, struct smt_timer *timer, u_long time, in smt_timer_start() 102 void smt_force_irq(struct s_smc *smc) in smt_force_irq() 107 void smt_timer_done(struct s_smc *smc) in smt_timer_done() 112 static void timer_done(struct s_smc *smc, int restart) in timer_done()
|
D | ess.c | 78 static void ess_send_response(struct s_smc *smc, struct smt_header *sm, 80 static void ess_config_fifo(struct s_smc *smc); 81 static void ess_send_alc_req(struct s_smc *smc); 82 static void ess_send_frame(struct s_smc *smc, SMbuf *mb); 96 void ess_timer_poll(struct s_smc *smc); 97 void ess_para_change(struct s_smc *smc); 98 int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm, 100 static int process_bw_alloc(struct s_smc *smc, long int payload, long int overhead); 112 int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm, in ess_raf_received_pack() 375 static int process_bw_alloc(struct s_smc *smc, long int payload, long int overhead) in process_bw_alloc() [all …]
|
D | queue.c | 26 void ev_init(struct s_smc *smc) in ev_init() 34 void queue_event(struct s_smc *smc, int class, int event) in queue_event() 50 void timer_event(struct s_smc *smc, u_long token) in timer_event() 65 void ev_dispatcher(struct s_smc *smc) in ev_dispatcher() 119 u_short smt_online(struct s_smc *smc, int on) in smt_online() 133 void do_smt_flag(struct s_smc *smc, char *flag, int value) in do_smt_flag()
|
D | pcmplc.c | 51 struct s_smc * smc, int type, int index 58 struct s_smc *smc , 191 static void pcm_fsm(struct s_smc *smc, struct s_phy *phy, int cmd); 192 static void pc_rcode_actions(struct s_smc *smc, int bit, struct s_phy *phy); 193 static void pc_tcode_actions(struct s_smc *smc, const int bit, struct s_phy *phy); 195 static void plc_init(struct s_smc *smc, int p); 196 static void sm_ph_lem_start(struct s_smc *smc, int np, int threshold); 197 static void sm_ph_lem_stop(struct s_smc *smc, int np); 198 static void sm_ph_linestate(struct s_smc *smc, int phy, int ls); 199 static void real_init_plc(struct s_smc *smc); [all …]
|
D | ecm.c | 86 static void ecm_fsm(struct s_smc *smc, int cmd); 87 static void start_ecm_timer(struct s_smc *smc, u_long value, int event); 88 static void stop_ecm_timer(struct s_smc *smc); 89 static void prop_actions(struct s_smc *smc); 95 void ecm_init(struct s_smc *smc) in ecm_init() 113 void ecm(struct s_smc *smc, int event) in ecm() 132 static void ecm_fsm(struct s_smc *smc, int cmd) in ecm_fsm() 415 static void prop_actions(struct s_smc *smc) in prop_actions() 465 static void prop_actions(struct s_smc *smc) in prop_actions() 511 static void start_ecm_timer(struct s_smc *smc, u_long value, int event) in start_ecm_timer() [all …]
|
D | srf.c | 32 static void clear_all_rep(struct s_smc *smc); 33 static void clear_reported(struct s_smc *smc); 34 static void smt_send_srf(struct s_smc *smc); 35 static struct s_srf_evc *smt_get_evc(struct s_smc *smc, int code, int index); 63 void smt_init_evc(struct s_smc *smc) in smt_init_evc() 152 static struct s_srf_evc *smt_get_evc(struct s_smc *smc, int code, int index) in smt_get_evc() 176 void smt_srf_event(struct s_smc *smc, int code, int index, int cond) in smt_srf_event() 324 static void clear_all_rep(struct s_smc *smc) in clear_all_rep() 337 static void clear_reported(struct s_smc *smc) in clear_reported() 360 static void smt_send_srf(struct s_smc *smc) in smt_send_srf()
|
D | smtinit.c | 22 void init_fddi_driver(struct s_smc *smc, const u_char *mac_addr); 43 static void set_oem_spec_val(struct s_smc *smc) in set_oem_spec_val() 60 int init_smt(struct s_smc *smc, const u_char *mac_addr) in init_smt()
|
D | smtdef.c | 67 void smt_reset_defaults(struct s_smc *smc, int level); 68 static void smt_init_mib(struct s_smc *smc, int level); 74 void smt_reset_defaults(struct s_smc *smc, int level) in smt_reset_defaults() 156 static void smt_init_mib(struct s_smc *smc, int level) in smt_init_mib() 171 sizeof(struct s_smc) - in smt_init_mib() 276 int smt_set_mac_opvalues(struct s_smc *smc) in smt_set_mac_opvalues() 301 void smt_fixup_mib(struct s_smc *smc) in smt_fixup_mib()
|
D | cfm.c | 89 static void cfm_fsm(struct s_smc *smc, int cmd); 95 void cfm_init(struct s_smc *smc) in cfm_init() 110 static void selection_criteria (struct s_smc *smc, struct s_phy *phy) in selection_criteria() 136 void all_selection_criteria(struct s_smc *smc) in all_selection_criteria() 147 static void cem_priv_state(struct s_smc *smc, int event) in cem_priv_state() 203 void cfm(struct s_smc *smc, int event) in cfm() 266 static void cfm_fsm(struct s_smc *smc, int cmd) in cfm_fsm() 524 int cfm_get_mac_input(struct s_smc *smc) in cfm_get_mac_input() 535 int cfm_get_mac_output(struct s_smc *smc) in cfm_get_mac_output() 575 int cem_build_path(struct s_smc *smc, char *to, int path_index) in cem_build_path()
|
D | pmf.c | 27 static int smt_authorize(struct s_smc *smc, struct smt_header *sm); 28 static int smt_check_set_count(struct s_smc *smc, struct smt_header *sm); 30 static int smt_mib_phys(struct s_smc *smc); 31 static int smt_set_para(struct s_smc *smc, struct smt_para *pa, int index, 33 void smt_add_para(struct s_smc *smc, struct s_pcon *pcon, u_short para, 35 static SMbuf *smt_build_pmf_response(struct s_smc *smc, struct smt_header *req, 37 static int port_to_mib(struct s_smc *smc, int p); 273 void smt_pmf_received_pack(struct s_smc *smc, SMbuf *mb, int local) in smt_pmf_received_pack() 303 static SMbuf *smt_build_pmf_response(struct s_smc *smc, struct smt_header *req, in smt_build_pmf_response() 491 static int smt_authorize(struct s_smc *smc, struct smt_header *sm) in smt_authorize() [all …]
|