/kernel/linux/linux-5.10/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, 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 …]
|
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/ |
D | drvfbi.c | 80 static void smt_stop_watchdog(struct s_smc *smc); 85 static void card_start(struct s_smc *smc) in card_start() 160 void card_stop(struct s_smc *smc) in card_stop() 183 void mac1_irq(struct s_smc *smc, u_short stu, u_short stl) in mac1_irq() 232 void plc1_irq(struct s_smc *smc) in plc1_irq() 243 void plc2_irq(struct s_smc *smc) in plc2_irq() 254 void timer_irq(struct s_smc *smc) in timer_irq() 264 int pcm_get_s_port(struct s_smc *smc) in pcm_get_s_port() 281 void read_address(struct s_smc *smc, u_char *mac_addr) in read_address() 320 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 | 99 static void rmt_fsm(struct s_smc *smc, int cmd); 100 static void start_rmt_timer0(struct s_smc *smc, u_long value, int event); 101 static void start_rmt_timer1(struct s_smc *smc, u_long value, int event); 102 static void start_rmt_timer2(struct s_smc *smc, u_long value, int event); 103 static void stop_rmt_timer0(struct s_smc *smc); 104 static void stop_rmt_timer1(struct s_smc *smc); 105 static void stop_rmt_timer2(struct s_smc *smc); 106 static void rmt_dup_actions(struct s_smc *smc); 107 static void rmt_reinsert_actions(struct s_smc *smc); 108 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 | 109 static void send_queued_packets(struct s_smc *smc); 111 static void ResetAdapter(struct s_smc *smc); 115 void *mac_drv_get_space(struct s_smc *smc, u_int size); 116 void *mac_drv_get_desc_mem(struct s_smc *smc, u_int size); 117 unsigned long mac_drv_virt2phys(struct s_smc *smc, void *virt); 118 unsigned long dma_master(struct s_smc *smc, void *virt, int len, int flag); 119 void dma_complete(struct s_smc *smc, volatile union s_fp_descr *descr, 121 void mac_drv_tx_complete(struct s_smc *smc, volatile struct s_smt_fp_txd *txd); 122 void llc_restart_tx(struct s_smc *smc); 123 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 | 59 void hwt_start(struct s_smc *smc, u_long time) in hwt_start() 97 void hwt_stop(struct s_smc *smc) in hwt_stop() 119 void hwt_init(struct s_smc *smc) in hwt_init() 142 void hwt_restart(struct s_smc *smc) in hwt_restart() 160 u_long hwt_read(struct s_smc *smc) in hwt_read() 195 u_long hwt_quick_read(struct s_smc *smc) in hwt_quick_read() 223 void hwt_wait_time(struct s_smc *smc, u_long start, long int duration) in hwt_wait_time()
|
D | smttimer.c | 25 static void timer_done(struct s_smc *smc, int restart); 27 void smt_timer_init(struct s_smc *smc) in smt_timer_init() 35 void smt_timer_stop(struct s_smc *smc, struct smt_timer *timer) in smt_timer_stop() 58 void smt_timer_start(struct s_smc *smc, struct smt_timer *timer, u_long time, in smt_timer_start() 106 void smt_force_irq(struct s_smc *smc) in smt_force_irq() 111 void smt_timer_done(struct s_smc *smc) in smt_timer_done() 116 static void timer_done(struct s_smc *smc, int restart) in timer_done()
|
D | queue.c | 30 void ev_init(struct s_smc *smc) in ev_init() 38 void queue_event(struct s_smc *smc, int class, int event) in queue_event() 54 void timer_event(struct s_smc *smc, u_long token) in timer_event() 69 void ev_dispatcher(struct s_smc *smc) in ev_dispatcher() 123 u_short smt_online(struct s_smc *smc, int on) in smt_online() 137 void do_smt_flag(struct s_smc *smc, char *flag, int value) in do_smt_flag()
|
D | ess.c | 79 static void ess_send_response(struct s_smc *smc, struct smt_header *sm, 81 static void ess_config_fifo(struct s_smc *smc); 82 static void ess_send_alc_req(struct s_smc *smc); 83 static void ess_send_frame(struct s_smc *smc, SMbuf *mb); 97 void ess_timer_poll(struct s_smc *smc); 98 void ess_para_change(struct s_smc *smc); 99 int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm, 101 static int process_bw_alloc(struct s_smc *smc, long int payload, long int overhead); 113 int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm, in ess_raf_received_pack() 376 static int process_bw_alloc(struct s_smc *smc, long int payload, long int overhead) in process_bw_alloc() [all …]
|
D | pcmplc.c | 55 struct s_smc * smc, int type, int index 62 struct s_smc *smc , 195 static void pcm_fsm(struct s_smc *smc, struct s_phy *phy, int cmd); 196 static void pc_rcode_actions(struct s_smc *smc, int bit, struct s_phy *phy); 197 static void pc_tcode_actions(struct s_smc *smc, const int bit, struct s_phy *phy); 199 static void plc_init(struct s_smc *smc, int p); 200 static void sm_ph_lem_start(struct s_smc *smc, int np, int threshold); 201 static void sm_ph_lem_stop(struct s_smc *smc, int np); 202 static void sm_ph_linestate(struct s_smc *smc, int phy, int ls); 203 static void real_init_plc(struct s_smc *smc); [all …]
|
D | ecm.c | 90 static void ecm_fsm(struct s_smc *smc, int cmd); 91 static void start_ecm_timer(struct s_smc *smc, u_long value, int event); 92 static void stop_ecm_timer(struct s_smc *smc); 93 static void prop_actions(struct s_smc *smc); 99 void ecm_init(struct s_smc *smc) in ecm_init() 117 void ecm(struct s_smc *smc, int event) in ecm() 136 static void ecm_fsm(struct s_smc *smc, int cmd) in ecm_fsm() 418 static void prop_actions(struct s_smc *smc) in prop_actions() 468 static void prop_actions(struct s_smc *smc) in prop_actions() 514 static void start_ecm_timer(struct s_smc *smc, u_long value, int event) in start_ecm_timer() [all …]
|
D | srf.c | 37 static void clear_all_rep(struct s_smc *smc); 38 static void clear_reported(struct s_smc *smc); 39 static void smt_send_srf(struct s_smc *smc); 40 static struct s_srf_evc *smt_get_evc(struct s_smc *smc, int code, int index); 68 void smt_init_evc(struct s_smc *smc) in smt_init_evc() 157 static struct s_srf_evc *smt_get_evc(struct s_smc *smc, int code, int index) in smt_get_evc() 181 void smt_srf_event(struct s_smc *smc, int code, int index, int cond) in smt_srf_event() 329 static void clear_all_rep(struct s_smc *smc) in clear_all_rep() 342 static void clear_reported(struct s_smc *smc) in clear_reported() 365 static void smt_send_srf(struct s_smc *smc) in smt_send_srf()
|
D | smtinit.c | 26 void init_fddi_driver(struct s_smc *smc, u_char *mac_addr); 47 static void set_oem_spec_val(struct s_smc *smc) in set_oem_spec_val() 64 int init_smt(struct s_smc *smc, u_char *mac_addr) in init_smt()
|
D | smtdef.c | 71 void smt_reset_defaults(struct s_smc *smc, int level); 72 static void smt_init_mib(struct s_smc *smc, int level); 78 void smt_reset_defaults(struct s_smc *smc, int level) in smt_reset_defaults() 160 static void smt_init_mib(struct s_smc *smc, int level) in smt_init_mib() 175 sizeof(struct s_smc) - in smt_init_mib() 280 int smt_set_mac_opvalues(struct s_smc *smc) in smt_set_mac_opvalues() 305 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 | 31 static int smt_authorize(struct s_smc *smc, struct smt_header *sm); 32 static int smt_check_set_count(struct s_smc *smc, struct smt_header *sm); 34 static int smt_mib_phys(struct s_smc *smc); 35 static int smt_set_para(struct s_smc *smc, struct smt_para *pa, int index, 37 void smt_add_para(struct s_smc *smc, struct s_pcon *pcon, u_short para, 39 static SMbuf *smt_build_pmf_response(struct s_smc *smc, struct smt_header *req, 41 static int port_to_mib(struct s_smc *smc, int p); 277 void smt_pmf_received_pack(struct s_smc *smc, SMbuf *mb, int local) in smt_pmf_received_pack() 307 static SMbuf *smt_build_pmf_response(struct s_smc *smc, struct smt_header *req, in smt_build_pmf_response() 495 static int smt_authorize(struct s_smc *smc, struct smt_header *sm) in smt_authorize() [all …]
|