/kernel/linux/linux-5.10/drivers/net/fddi/skfp/h/ |
H A 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 *sm [all...] |
H A D | smc.h | 430 struct s_smc { struct 468 void all_selection_criteria(struct s_smc *smc); 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 *sm [all...] |
/kernel/linux/linux-6.6/drivers/net/fddi/skfp/h/ |
H A 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 *sm [all...] |
H A D | smc.h | 430 struct s_smc { struct 468 void all_selection_criteria(struct s_smc *smc); 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 *sm [all...] |
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/ |
H A 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 *sm [all...] |
H A 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 *sm [all...] |
H A 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 *sm [all...] |
H A 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 *sm [all...] |
H A 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 *sm [all...] |
H A D | hwt.c | 47 * struct s_smc *smc, 59 void hwt_start(struct s_smc *smc, u_long time) in hwt_start() 90 * struct s_smc *smc) ; 97 void hwt_stop(struct s_smc *smc) in hwt_stop() 112 * struct s_smc *smc) ; 119 void hwt_init(struct s_smc *smc) in hwt_init() 135 * struct s_smc *smc) ; 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 *sm [all...] |
H A 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()
|
H A 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 *sm [all...] |
H A 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 *sm [all...] |
H A 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()
|
H A 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 *sm [all...] |
/kernel/linux/linux-6.6/drivers/net/fddi/skfp/ |
H A 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 *sm [all...] |
H A 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 *sm [all...] |
H A 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 *sm [all...] |
H A 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 *sm [all...] |
H A 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 *sm [all...] |
H A D | hwt.c | 43 * struct s_smc *smc, 55 void hwt_start(struct s_smc *smc, u_long time) in hwt_start() 86 * struct s_smc *smc) ; 93 void hwt_stop(struct s_smc *smc) in hwt_stop() 108 * struct s_smc *smc) ; 115 void hwt_init(struct s_smc *smc) in hwt_init() 131 * struct s_smc *smc) ; 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 *sm [all...] |
H A 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()
|
H A 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 *sm [all...] |
H A 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 *sm [all...] |
H A 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()
|