Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-6.6/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.c60 #define OEMID(smc,i) oem_id[ID_BYTE0 + i] argument
66 #define OEMID(smc,i) smc->hw.oem_id->oi_id[i] argument
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()
[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.c206 struct s_smc *smc; /* board pointer */ in skfp_init_one() local
381 struct s_smc *smc = netdev_priv(dev); in skfp_driver_init() local
483 struct s_smc *smc = netdev_priv(dev); in skfp_open() local
550 struct s_smc *smc = netdev_priv(dev); in skfp_close() local
608 struct s_smc *smc; /* private board structure pointer */ in skfp_interrupt() local
838 struct s_smc *smc = netdev_priv(dev); in skfp_ctl_set_multicast_list() local
851 struct s_smc *smc = netdev_priv(dev); in skfp_ctl_set_multicast_list_wo_lock() local
922 struct s_smc *smc = netdev_priv(dev); in skfp_ctl_set_mac_address() local
962 struct s_smc *smc = netdev_priv(dev); in skfp_siocdevprivate() local
1046 struct s_smc *smc = netdev_priv(dev); in skfp_send_pkt() local
[all …]
Drmt.c115 void rmt_init(struct s_smc *smc) in rmt_init()
137 void rmt(struct s_smc *smc, int event) in rmt()
156 static void rmt_fsm(struct s_smc *smc, int cmd) in rmt_fsm()
521 static void rmt_dup_actions(struct s_smc *smc) in rmt_dup_actions()
540 static void rmt_reinsert_actions(struct s_smc *smc) in rmt_reinsert_actions()
549 static void rmt_new_dup_actions(struct s_smc *smc) in rmt_new_dup_actions()
574 static void rmt_leave_actions(struct s_smc *smc) in rmt_leave_actions()
587 static void start_rmt_timer0(struct s_smc *smc, u_long value, int event) in start_rmt_timer0()
597 static void start_rmt_timer1(struct s_smc *smc, u_long value, int event) in start_rmt_timer1()
607 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.c205 static void start_pcm_timer0(struct s_smc *smc, u_long value, int event, in start_pcm_timer0()
216 static void stop_pcm_timer0(struct s_smc *smc, struct s_phy *phy) in stop_pcm_timer0()
226 void pcm_init(struct s_smc *smc) in pcm_init()
390 void init_plc(struct s_smc *smc) in init_plc()
403 static void real_init_plc(struct s_smc *smc) in real_init_plc()
411 static void plc_init(struct s_smc *smc, int p) in plc_init()
474 static void plc_go_state(struct s_smc *smc, int p, int state) in plc_go_state()
490 int sm_pm_get_ls(struct s_smc *smc, int phy) in sm_pm_get_ls()
523 static int plc_send_bits(struct s_smc *smc, struct s_phy *phy, int len) in plc_send_bits()
560 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.c55 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()
Dess.c112 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()
471 static void ess_send_response(struct s_smc *smc, struct smt_header *sm, in ess_send_response()
536 void ess_timer_poll(struct s_smc *smc) in ess_timer_poll()
550 static void ess_send_alc_req(struct s_smc *smc) in ess_send_alc_req()
658 static void ess_send_frame(struct s_smc *smc, SMbuf *mb) in ess_send_frame()
684 void ess_para_change(struct s_smc *smc) in ess_para_change()
690 static void ess_config_fifo(struct s_smc *smc) in ess_config_fifo()
Dqueue.c26 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()
/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()
/kernel/linux/linux-6.6/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()
81 void smc_close_wake_tx_prepared(struct smc_sock *smc) in smc_close_wake_tx_prepared()
114 static void smc_close_cancel_work(struct smc_sock *smc) in smc_close_cancel_work()
128 void smc_close_active_abort(struct smc_sock *smc) in smc_close_active_abort()
193 int smc_close_active(struct smc_sock *smc) in smc_close_active()
312 static void smc_close_passive_abort_received(struct smc_sock *smc) in smc_close_passive_abort_received()
361 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smc_close_passive_work() local
447 int smc_close_shutdown_write(struct smc_sock *smc) in smc_close_shutdown_write()
503 void smc_close_init(struct smc_sock *smc) in smc_close_init()
Daf_smc.c112 struct smc_sock *smc = smc_sk(sk); in smc_set_keepalive() local
124 struct smc_sock *smc; in smc_tcp_syn_recv_sock() local
159 const struct smc_sock *smc; in smc_hs_congested() local
213 struct smc_sock *smc = smc_sk(sk); in smc_release_cb() local
247 static void smc_fback_restore_callbacks(struct smc_sock *smc) in smc_fback_restore_callbacks()
262 static void smc_restore_fallback_changes(struct smc_sock *smc) in smc_restore_fallback_changes()
271 static int __smc_release(struct smc_sock *smc) in __smc_release()
314 struct smc_sock *smc; in smc_release() local
367 struct smc_sock *smc = smc_sk(sk); in smc_sk_init() local
411 struct smc_sock *smc; in smc_bind() local
[all …]
/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()
125 void smc_close_active_abort(struct smc_sock *smc) in smc_close_active_abort()
190 int smc_close_active(struct smc_sock *smc) in smc_close_active()
306 static void smc_close_passive_abort_received(struct smc_sock *smc) in smc_close_passive_abort_received()
355 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smc_close_passive_work() local
441 int smc_close_shutdown_write(struct smc_sock *smc) in smc_close_shutdown_write()
497 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()
182 struct smc_sock *smc; in smc_release() local
238 struct smc_sock *smc; in smc_sock_alloc() local
270 struct smc_sock *smc; in smc_bind() local
343 static void smc_copy_sock_settings_to_clc(struct smc_sock *smc) in smc_copy_sock_settings_to_clc()
353 static void smc_copy_sock_settings_to_smc(struct smc_sock *smc) in smc_copy_sock_settings_to_smc()
393 static int smcr_clnt_conf_first_link(struct smc_sock *smc) in smcr_clnt_conf_first_link()
456 static void smcr_conn_save_peer_info(struct smc_sock *smc, in smcr_conn_save_peer_info()
[all …]

12345