Home
last modified time | relevance | path

Searched defs:smc (Results 1 – 25 of 101) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/net/fddi/skfp/
Dfplustm.c103 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()
166 static void init_ram(struct s_smc *smc) in init_ram()
185 static void set_recvptr(struct s_smc *smc) in set_recvptr()
215 static void set_txptr(struct s_smc *smc) in set_txptr()
247 static void init_rbc(struct s_smc *smc) in init_rbc()
268 static void init_rx(struct s_smc *smc) in init_rx()
290 void set_formac_tsync(struct s_smc *smc, long sync_bw) in set_formac_tsync()
298 static void init_tx(struct s_smc *smc) in init_tx()
[all …]
Ddrvfbi.c64 #define OEMID(smc,i) oem_id[ID_BYTE0 + i] argument
70 #define OEMID(smc,i) smc->hw.oem_id->oi_id[i] argument
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()
[all …]
Dsmt.c104 #define hwm_conv_can(smc,data,len) argument
108 static inline int is_my_addr(const struct s_smc *smc, in is_my_addr()
147 void smt_agent_init(struct s_smc *smc) in smt_agent_init()
193 void smt_agent_task(struct s_smc *smc) in smt_agent_task()
201 void smt_emulate_token_ct(struct s_smc *smc, int mac_index) in smt_emulate_token_ct()
228 void smt_event(struct s_smc *smc, int event) in smt_event()
460 void smt_received_pack(struct s_smc *smc, SMbuf *mb, int fs) in smt_received_pack()
806 static void update_dac(struct s_smc *smc, int report) in update_dac()
824 void smt_send_frame(struct s_smc *smc, SMbuf *mb, int fc, int local) in smt_send_frame()
847 static void smt_send_rdf(struct s_smc *smc, SMbuf *rej, int fc, int reason, in smt_send_rdf()
[all …]
Dskfddi.c203 struct s_smc *smc; /* board pointer */ in skfp_init_one() local
378 struct s_smc *smc = netdev_priv(dev); in skfp_driver_init() local
480 struct s_smc *smc = netdev_priv(dev); in skfp_open() local
547 struct s_smc *smc = netdev_priv(dev); in skfp_close() local
605 struct s_smc *smc; /* private board structure pointer */ in skfp_interrupt() local
835 struct s_smc *smc = netdev_priv(dev); in skfp_ctl_set_multicast_list() local
848 struct s_smc *smc = netdev_priv(dev); in skfp_ctl_set_multicast_list_wo_lock() local
919 struct s_smc *smc = netdev_priv(dev); in skfp_ctl_set_mac_address() local
959 struct s_smc *smc = netdev_priv(dev); in skfp_ioctl() local
1040 struct s_smc *smc = netdev_priv(dev); in skfp_send_pkt() local
[all …]
Drmt.c119 void rmt_init(struct s_smc *smc) in rmt_init()
141 void rmt(struct s_smc *smc, int event) in rmt()
160 static void rmt_fsm(struct s_smc *smc, int cmd) in rmt_fsm()
525 static void rmt_dup_actions(struct s_smc *smc) in rmt_dup_actions()
544 static void rmt_reinsert_actions(struct s_smc *smc) in rmt_reinsert_actions()
553 static void rmt_new_dup_actions(struct s_smc *smc) in rmt_new_dup_actions()
578 static void rmt_leave_actions(struct s_smc *smc) in rmt_leave_actions()
591 static void start_rmt_timer0(struct s_smc *smc, u_long value, int event) in start_rmt_timer0()
601 static void start_rmt_timer1(struct s_smc *smc, u_long value, int event) in start_rmt_timer1()
611 static void start_rmt_timer2(struct s_smc *smc, u_long value, int event) in start_rmt_timer2()
[all …]
Dhwmtm.c251 int mac_drv_init(struct s_smc *smc) in mac_drv_init()
301 void init_driver_fplus(struct s_smc *smc) in init_driver_fplus()
316 static u_long init_descr_ring(struct s_smc *smc, in init_descr_ring()
347 static void init_txd_ring(struct s_smc *smc) in init_txd_ring()
384 static void init_rxd_ring(struct s_smc *smc) in init_rxd_ring()
414 void init_fddi_driver(struct s_smc *smc, u_char *mac_addr) in init_fddi_driver()
478 SMbuf *smt_get_mbuf(struct s_smc *smc) in smt_get_mbuf()
500 void smt_free_mbuf(struct s_smc *smc, SMbuf *mb) in smt_free_mbuf()
546 void mac_drv_repair_descr(struct s_smc *smc) in mac_drv_repair_descr()
578 static u_long repair_txd_ring(struct s_smc *smc, struct s_smt_tx_queue *queue) in repair_txd_ring()
[all …]
Dpcmplc.c209 static void start_pcm_timer0(struct s_smc *smc, u_long value, int event, in start_pcm_timer0()
220 static void stop_pcm_timer0(struct s_smc *smc, struct s_phy *phy) in stop_pcm_timer0()
230 void pcm_init(struct s_smc *smc) in pcm_init()
394 void init_plc(struct s_smc *smc) in init_plc()
407 static void real_init_plc(struct s_smc *smc) in real_init_plc()
415 static void plc_init(struct s_smc *smc, int p) in plc_init()
478 static void plc_go_state(struct s_smc *smc, int p, int state) in plc_go_state()
494 int sm_pm_get_ls(struct s_smc *smc, int phy) in sm_pm_get_ls()
527 static int plc_send_bits(struct s_smc *smc, struct s_phy *phy, int len) in plc_send_bits()
564 void plc_config_mux(struct s_smc *smc, int mux) in plc_config_mux()
[all …]
Dcfm.c95 void cfm_init(struct s_smc *smc) in cfm_init()
107 #define THRU_ENABLED(smc) (smc->y[PA].pc_mode != PM_TREE && \ argument
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()
Dhwt.c59 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()
Dess.c113 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()
472 static void ess_send_response(struct s_smc *smc, struct smt_header *sm, in ess_send_response()
537 void ess_timer_poll(struct s_smc *smc) in ess_timer_poll()
551 static void ess_send_alc_req(struct s_smc *smc) in ess_send_alc_req()
659 static void ess_send_frame(struct s_smc *smc, SMbuf *mb) in ess_send_frame()
685 void ess_para_change(struct s_smc *smc) in ess_para_change()
691 static void ess_config_fifo(struct s_smc *smc) in ess_config_fifo()
Dqueue.c30 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()
/kernel/linux/linux-4.19/drivers/net/fddi/skfp/
Dfplustm.c111 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()
174 static void init_ram(struct s_smc *smc) in init_ram()
193 static void set_recvptr(struct s_smc *smc) in set_recvptr()
223 static void set_txptr(struct s_smc *smc) in set_txptr()
255 static void init_rbc(struct s_smc *smc) in init_rbc()
276 static void init_rx(struct s_smc *smc) in init_rx()
298 void set_formac_tsync(struct s_smc *smc, long sync_bw) in set_formac_tsync()
306 static void init_tx(struct s_smc *smc) in init_tx()
[all …]
Ddrvfbi.c67 #define OEMID(smc,i) oem_id[ID_BYTE0 + i] argument
73 #define OEMID(smc,i) smc->hw.oem_id->oi_id[i] argument
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()
[all …]
Dsmt.c112 #define hwm_conv_can(smc,data,len) argument
116 static inline int is_my_addr(const struct s_smc *smc, in is_my_addr()
155 void smt_agent_init(struct s_smc *smc) in smt_agent_init()
201 void smt_agent_task(struct s_smc *smc) in smt_agent_task()
209 void smt_emulate_token_ct(struct s_smc *smc, int mac_index) in smt_emulate_token_ct()
236 void smt_event(struct s_smc *smc, int event) in smt_event()
468 void smt_received_pack(struct s_smc *smc, SMbuf *mb, int fs) in smt_received_pack()
814 static void update_dac(struct s_smc *smc, int report) in update_dac()
832 void smt_send_frame(struct s_smc *smc, SMbuf *mb, int fc, int local) in smt_send_frame()
855 static void smt_send_rdf(struct s_smc *smc, SMbuf *rej, int fc, int reason, in smt_send_rdf()
[all …]
Dskfddi.c207 struct s_smc *smc; /* board pointer */ in skfp_init_one() local
382 struct s_smc *smc = netdev_priv(dev); in skfp_driver_init() local
484 struct s_smc *smc = netdev_priv(dev); in skfp_open() local
551 struct s_smc *smc = netdev_priv(dev); in skfp_close() local
609 struct s_smc *smc; /* private board structure pointer */ in skfp_interrupt() local
839 struct s_smc *smc = netdev_priv(dev); in skfp_ctl_set_multicast_list() local
852 struct s_smc *smc = netdev_priv(dev); in skfp_ctl_set_multicast_list_wo_lock() local
923 struct s_smc *smc = netdev_priv(dev); in skfp_ctl_set_mac_address() local
963 struct s_smc *smc = netdev_priv(dev); in skfp_ioctl() local
1044 struct s_smc *smc = netdev_priv(dev); in skfp_send_pkt() local
[all …]
Drmt.c123 void rmt_init(struct s_smc *smc) in rmt_init()
145 void rmt(struct s_smc *smc, int event) in rmt()
164 static void rmt_fsm(struct s_smc *smc, int cmd) in rmt_fsm()
529 static void rmt_dup_actions(struct s_smc *smc) in rmt_dup_actions()
548 static void rmt_reinsert_actions(struct s_smc *smc) in rmt_reinsert_actions()
557 static void rmt_new_dup_actions(struct s_smc *smc) in rmt_new_dup_actions()
582 static void rmt_leave_actions(struct s_smc *smc) in rmt_leave_actions()
595 static void start_rmt_timer0(struct s_smc *smc, u_long value, int event) in start_rmt_timer0()
605 static void start_rmt_timer1(struct s_smc *smc, u_long value, int event) in start_rmt_timer1()
615 static void start_rmt_timer2(struct s_smc *smc, u_long value, int event) in start_rmt_timer2()
[all …]
Dpcmplc.c214 static void start_pcm_timer0(struct s_smc *smc, u_long value, int event, in start_pcm_timer0()
225 static void stop_pcm_timer0(struct s_smc *smc, struct s_phy *phy) in stop_pcm_timer0()
235 void pcm_init(struct s_smc *smc) in pcm_init()
399 void init_plc(struct s_smc *smc) in init_plc()
412 static void real_init_plc(struct s_smc *smc) in real_init_plc()
420 static void plc_init(struct s_smc *smc, int p) in plc_init()
483 static void plc_go_state(struct s_smc *smc, int p, int state) in plc_go_state()
499 int sm_pm_get_ls(struct s_smc *smc, int phy) in sm_pm_get_ls()
532 static int plc_send_bits(struct s_smc *smc, struct s_phy *phy, int len) in plc_send_bits()
569 void plc_config_mux(struct s_smc *smc, int mux) in plc_config_mux()
[all …]
Dhwmtm.c259 int mac_drv_init(struct s_smc *smc) in mac_drv_init()
309 void init_driver_fplus(struct s_smc *smc) in init_driver_fplus()
324 static u_long init_descr_ring(struct s_smc *smc, in init_descr_ring()
355 static void init_txd_ring(struct s_smc *smc) in init_txd_ring()
392 static void init_rxd_ring(struct s_smc *smc) in init_rxd_ring()
422 void init_fddi_driver(struct s_smc *smc, u_char *mac_addr) in init_fddi_driver()
486 SMbuf *smt_get_mbuf(struct s_smc *smc) in smt_get_mbuf()
508 void smt_free_mbuf(struct s_smc *smc, SMbuf *mb) in smt_free_mbuf()
554 void mac_drv_repair_descr(struct s_smc *smc) in mac_drv_repair_descr()
586 static u_long repair_txd_ring(struct s_smc *smc, struct s_smt_tx_queue *queue) in repair_txd_ring()
[all …]
Dcfm.c103 void cfm_init(struct s_smc *smc) in cfm_init()
115 #define THRU_ENABLED(smc) (smc->y[PA].pc_mode != PM_TREE && \ argument
118 static void selection_criteria (struct s_smc *smc, struct s_phy *phy) in selection_criteria()
144 void all_selection_criteria(struct s_smc *smc) in all_selection_criteria()
155 static void cem_priv_state(struct s_smc *smc, int event) in cem_priv_state()
211 void cfm(struct s_smc *smc, int event) in cfm()
283 static void cfm_fsm(struct s_smc *smc, int cmd) in cfm_fsm()
541 int cfm_get_mac_input(struct s_smc *smc) in cfm_get_mac_input()
552 int cfm_get_mac_output(struct s_smc *smc) in cfm_get_mac_output()
592 int cem_build_path(struct s_smc *smc, char *to, int path_index) in cem_build_path()
Dhwt.c63 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()
Dess.c117 int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm, in ess_raf_received_pack()
380 static int process_bw_alloc(struct s_smc *smc, long int payload, long int overhead) in process_bw_alloc()
476 static void ess_send_response(struct s_smc *smc, struct smt_header *sm, in ess_send_response()
541 void ess_timer_poll(struct s_smc *smc) in ess_timer_poll()
555 static void ess_send_alc_req(struct s_smc *smc) in ess_send_alc_req()
663 static void ess_send_frame(struct s_smc *smc, SMbuf *mb) in ess_send_frame()
689 void ess_para_change(struct s_smc *smc) in ess_para_change()
695 static void ess_config_fifo(struct s_smc *smc) in ess_config_fifo()
Dqueue.c34 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()
/kernel/linux/linux-5.10/net/smc/
Dsmc_close.c24 void smc_clcsock_release(struct smc_sock *smc) in smc_clcsock_release()
49 static void smc_close_stream_wait(struct smc_sock *smc, long timeout) in smc_close_stream_wait()
78 void smc_close_wake_tx_prepared(struct smc_sock *smc) in smc_close_wake_tx_prepared()
111 static void smc_close_cancel_work(struct smc_sock *smc) in smc_close_cancel_work()
124 void smc_close_active_abort(struct smc_sock *smc) in smc_close_active_abort()
189 int smc_close_active(struct smc_sock *smc) in smc_close_active()
295 static void smc_close_passive_abort_received(struct smc_sock *smc) in smc_close_passive_abort_received()
344 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smc_close_passive_work() local
430 int smc_close_shutdown_write(struct smc_sock *smc) in smc_close_shutdown_write()
486 void smc_close_init(struct smc_sock *smc) in smc_close_init()
Daf_smc.c67 struct smc_sock *smc = smc_sk(sk); in smc_set_keepalive() local
131 static void smc_restore_fallback_changes(struct smc_sock *smc) in smc_restore_fallback_changes()
139 static int __smc_release(struct smc_sock *smc) in __smc_release()
178 struct smc_sock *smc; in smc_release() local
226 struct smc_sock *smc; in smc_sock_alloc() local
258 struct smc_sock *smc; in smc_bind() local
331 static void smc_copy_sock_settings_to_clc(struct smc_sock *smc) in smc_copy_sock_settings_to_clc()
341 static void smc_copy_sock_settings_to_smc(struct smc_sock *smc) in smc_copy_sock_settings_to_smc()
381 static int smcr_clnt_conf_first_link(struct smc_sock *smc) in smcr_clnt_conf_first_link()
440 static void smcr_conn_save_peer_info(struct smc_sock *smc, in smcr_conn_save_peer_info()
[all …]
/kernel/linux/linux-4.19/net/smc/
Daf_smc.c54 struct smc_sock *smc = smc_sk(sk); in smc_set_keepalive() local
121 struct smc_sock *smc; in smc_release() local
192 struct smc_sock *smc; in smc_sock_alloc() local
224 struct smc_sock *smc; in smc_bind() local
296 static void smc_copy_sock_settings_to_clc(struct smc_sock *smc) in smc_copy_sock_settings_to_clc()
306 static void smc_copy_sock_settings_to_smc(struct smc_sock *smc) in smc_copy_sock_settings_to_smc()
330 static int smc_clnt_conf_first_link(struct smc_sock *smc) in smc_clnt_conf_first_link()
391 static void smcr_conn_save_peer_info(struct smc_sock *smc, in smcr_conn_save_peer_info()
403 static void smcd_conn_save_peer_info(struct smc_sock *smc, in smcd_conn_save_peer_info()
416 static void smc_conn_save_peer_info(struct smc_sock *smc, in smc_conn_save_peer_info()
[all …]

12345