| /Linux-v5.4/drivers/net/fddi/skfp/ | 
| D | fplustm.c | 107 static u_long mac_get_tneg(struct s_smc *smc)  in mac_get_tneg()116 void mac_update_counter(struct s_smc *smc)  in mac_update_counter()
 141 static void write_mdr(struct s_smc *smc, u_long val)  in write_mdr()
 170 static void init_ram(struct s_smc *smc)  in init_ram()
 189 static void set_recvptr(struct s_smc *smc)  in set_recvptr()
 219 static void set_txptr(struct s_smc *smc)  in set_txptr()
 251 static void init_rbc(struct s_smc *smc)  in init_rbc()
 272 static void init_rx(struct s_smc *smc)  in init_rx()
 294 void set_formac_tsync(struct s_smc *smc, long sync_bw)  in set_formac_tsync()
 302 static void init_tx(struct s_smc *smc)  in init_tx()
 [all …]
 
 | 
| D | drvfbi.c | 64 #define	OEMID(smc,i)	oem_id[ID_BYTE0 + i]  argument70 #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 …]
 
 | 
| D | smt.c | 108 #define		hwm_conv_can(smc,data,len)  argument112 static inline int is_my_addr(const struct s_smc *smc,   in is_my_addr()
 151 void smt_agent_init(struct s_smc *smc)  in smt_agent_init()
 197 void smt_agent_task(struct s_smc *smc)  in smt_agent_task()
 205 void smt_emulate_token_ct(struct s_smc *smc, int mac_index)  in smt_emulate_token_ct()
 232 void smt_event(struct s_smc *smc, int event)  in smt_event()
 464 void smt_received_pack(struct s_smc *smc, SMbuf *mb, int fs)  in smt_received_pack()
 810 static void update_dac(struct s_smc *smc, int report)  in update_dac()
 828 void smt_send_frame(struct s_smc *smc, SMbuf *mb, int fc, int local)  in smt_send_frame()
 851 static void smt_send_rdf(struct s_smc *smc, SMbuf *rej, int fc, int reason,  in smt_send_rdf()
 [all …]
 
 | 
| D | skfddi.c | 203 	struct s_smc *smc;	/* board pointer */  in skfp_init_one()  local378 	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 …]
 
 | 
| D | rmt.c | 119 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 …]
 
 | 
| D | hwmtm.c | 255 int mac_drv_init(struct s_smc *smc)  in mac_drv_init()305 void init_driver_fplus(struct s_smc *smc)  in init_driver_fplus()
 320 static u_long init_descr_ring(struct s_smc *smc,  in init_descr_ring()
 351 static void init_txd_ring(struct s_smc *smc)  in init_txd_ring()
 388 static void init_rxd_ring(struct s_smc *smc)  in init_rxd_ring()
 418 void init_fddi_driver(struct s_smc *smc, u_char *mac_addr)  in init_fddi_driver()
 482 SMbuf *smt_get_mbuf(struct s_smc *smc)  in smt_get_mbuf()
 504 void smt_free_mbuf(struct s_smc *smc, SMbuf *mb)  in smt_free_mbuf()
 550 void mac_drv_repair_descr(struct s_smc *smc)  in mac_drv_repair_descr()
 582 static u_long repair_txd_ring(struct s_smc *smc, struct s_smt_tx_queue *queue)  in repair_txd_ring()
 [all …]
 
 | 
| D | pcmplc.c | 209 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 …]
 
 | 
| D | cfm.c | 99 void cfm_init(struct s_smc *smc)  in cfm_init()111 #define THRU_ENABLED(smc)	(smc->y[PA].pc_mode != PM_TREE && \  argument
 114 static void selection_criteria (struct s_smc *smc, struct s_phy *phy)  in selection_criteria()
 140 void all_selection_criteria(struct s_smc *smc)  in all_selection_criteria()
 151 static void cem_priv_state(struct s_smc *smc, int event)  in cem_priv_state()
 207 void cfm(struct s_smc *smc, int event)  in cfm()
 279 static void cfm_fsm(struct s_smc *smc, int cmd)  in cfm_fsm()
 537 int cfm_get_mac_input(struct s_smc *smc)  in cfm_get_mac_input()
 548 int cfm_get_mac_output(struct s_smc *smc)  in cfm_get_mac_output()
 588 int cem_build_path(struct s_smc *smc, char *to, int path_index)  in cem_build_path()
 
 | 
| 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 | ess.c | 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()
 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()
 
 | 
| 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 | smttimer.c | 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 | ecm.c | 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()
 523 static void stop_ecm_timer(struct s_smc *smc)  in stop_ecm_timer()
 
 | 
| D | smtinit.c | 34 #define OEMID(smc,i)	oem_id[i]  argument37 #define OEMID(smc,i)	smc->hw.oem_id->oi_mark[i]  argument
 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 | srf.c | 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 | pmf.c | 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()
 530 static int smt_check_set_count(struct s_smc *smc, struct smt_header *sm)  in smt_check_set_count()
 546 void smt_add_para(struct s_smc *smc, struct s_pcon *pcon, u_short para,  in smt_add_para()
 1071 static int smt_set_para(struct s_smc *smc, struct smt_para *pa, int index,  in smt_set_para()
 1527 static int smt_mib_phys(struct s_smc *smc)  in smt_mib_phys()
 1540 static int port_to_mib(struct s_smc *smc, int p)  in port_to_mib()
 1556 void dump_smt(struct s_smc *smc, struct smt_header *sm, char *text)  in dump_smt()
 
 | 
| D | smtdef.c | 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()
 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()
 
 | 
| /Linux-v5.4/net/smc/ | 
| D | af_smc.c | 62 	struct smc_sock *smc = smc_sk(sk);  in smc_set_keepalive()  local126 static void smc_restore_fallback_changes(struct smc_sock *smc)  in smc_restore_fallback_changes()
 132 static int __smc_release(struct smc_sock *smc)  in __smc_release()
 171 	struct smc_sock *smc;  in smc_release()  local
 217 	struct smc_sock *smc;  in smc_sock_alloc()  local
 249 	struct smc_sock *smc;  in smc_bind()  local
 322 static void smc_copy_sock_settings_to_clc(struct smc_sock *smc)  in smc_copy_sock_settings_to_clc()
 332 static void smc_copy_sock_settings_to_smc(struct smc_sock *smc)  in smc_copy_sock_settings_to_smc()
 359 static int smc_clnt_conf_first_link(struct smc_sock *smc)  in smc_clnt_conf_first_link()
 420 static void smcr_conn_save_peer_info(struct smc_sock *smc,  in smcr_conn_save_peer_info()
 [all …]
 
 | 
| D | smc_close.c | 25 void smc_clcsock_release(struct smc_sock *smc)  in smc_clcsock_release()50 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()
 112 static void smc_close_active_abort(struct smc_sock *smc)  in smc_close_active_abort()
 177 int smc_close_active(struct smc_sock *smc)  in smc_close_active()
 289 static void smc_close_passive_abort_received(struct smc_sock *smc)  in smc_close_passive_abort_received()
 338 	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()
 490 void smc_close_init(struct smc_sock *smc)  in smc_close_init()
 
 | 
| D | smc_rx.c | 53 static int smc_rx_update_consumer(struct smc_sock *smc,  in smc_rx_update_consumer()94 static void smc_rx_update_cons(struct smc_sock *smc, size_t len)  in smc_rx_update_cons()
 104 	struct smc_sock *smc;  member
 112 	struct smc_sock *smc = priv->smc;  in smc_rx_pipe_buf_release()  local
 152 			 struct smc_sock *smc)  in smc_rx_splice()
 199 int smc_rx_wait(struct smc_sock *smc, long *timeo,  in smc_rx_wait()
 221 static int smc_rx_recv_urg(struct smc_sock *smc, struct msghdr *msg, int len,  in smc_rx_recv_urg()
 264 static bool smc_rx_recvmsg_data_available(struct smc_sock *smc)  in smc_rx_recvmsg_data_available()
 283 int smc_rx_recvmsg(struct smc_sock *smc, struct msghdr *msg,  in smc_rx_recvmsg()
 441 void smc_rx_init(struct smc_sock *smc)  in smc_rx_init()
 
 | 
| D | smc_cdc.c | 31 	struct smc_sock *smc;  in smc_cdc_tx_handler()  local178 	struct smc_sock *smc = container_of(conn, struct smc_sock, conn);  in smcd_cdc_msg_send()  local
 219 static void smc_cdc_handle_urg_data_arrival(struct smc_sock *smc,  in smc_cdc_handle_urg_data_arrival()
 239 static void smc_cdc_msg_recv_action(struct smc_sock *smc,  in smc_cdc_msg_recv_action()
 309 static void smc_cdc_msg_recv(struct smc_sock *smc, struct smc_cdc_msg *cdc)  in smc_cdc_msg_recv()
 329 	struct smc_sock *smc;  in smcd_cdc_rx_tsklet()  local
 357 	struct smc_sock *smc;  in smc_cdc_rx_handler()  local
 
 | 
| D | smc_tx.c | 43 	struct smc_sock *smc = smc_sk(sk);  in smc_tx_write_space()  local64 void smc_tx_sndbuf_nonfull(struct smc_sock *smc)  in smc_tx_sndbuf_nonfull()
 74 static int smc_tx_wait(struct smc_sock *smc, int flags)  in smc_tx_wait()
 123 static bool smc_tx_is_corked(struct smc_sock *smc)  in smc_tx_is_corked()
 133 int smc_tx_sendmsg(struct smc_sock *smc, struct msghdr *msg, size_t len)  in smc_tx_sendmsg()
 493 			struct smc_sock *smc =  in smcr_tx_sndbuf_nonempty()  local
 557 		struct smc_sock *smc = container_of(conn, struct smc_sock,  in smc_tx_sndbuf_nonempty()  local
 572 	struct smc_sock *smc = container_of(conn, struct smc_sock, conn);  in smc_tx_work()  local
 626 void smc_tx_init(struct smc_sock *smc)  in smc_tx_init()
 
 | 
| D | smc_core.c | 95 	struct smc_sock *smc = container_of(conn, struct smc_sock, conn);  in smc_lgr_register_conn()  local115 	struct smc_sock *smc = container_of(conn, struct smc_sock, conn);  in __smc_lgr_unregister_conn()  local
 198 static int smc_lgr_create(struct smc_sock *smc, struct smc_init_info *ini)  in smc_lgr_create()
 456 	struct smc_sock *smc;  in __smc_lgr_terminate()  local
 607 int smc_conn_create(struct smc_sock *smc, struct smc_init_info *ini)  in smc_conn_create()
 830 static int __smc_buf_create(struct smc_sock *smc, bool is_smcd, bool is_rmb)  in __smc_buf_create()
 951 int smc_buf_create(struct smc_sock *smc, bool is_smcd)  in smc_buf_create()
 
 | 
| /Linux-v5.4/drivers/net/ethernet/smsc/ | 
| D | smc91c92_cs.c | 304     struct smc_private *smc;  in smc91c92_probe()  local381     struct smc_private *smc = netdev_priv(dev);  in mhz_3288_power()  local
 424     struct smc_private *smc = netdev_priv(dev);  in mhz_mfc_config()  local
 519     struct smc_private *smc = netdev_priv(dev);  in mot_config()  local
 722 	struct smc_private *smc = netdev_priv(dev);  in smc91c92_resume()  local
 808     struct smc_private *smc = netdev_priv(dev);  in smc91c92_config()  local
 958 		struct smc_private *smc = netdev_priv(dev);  in smc91c92_release()  local
 1049     struct smc_private *smc = netdev_priv(dev);  in smc_open()  local
 1083     struct smc_private *smc = netdev_priv(dev);  in smc_close()  local
 1120     struct smc_private *smc = netdev_priv(dev);  in smc_hardware_send_packet()  local
 [all …]
 
 | 
| /Linux-v5.4/drivers/net/fddi/skfp/h/ | 
| D | hwmtm.h | 242 #define	HWM_GET_TX_USED(smc,queue)	(int) (smc)->hw.fp.tx_q[queue].tx_used  argument260 #define	HWM_GET_CURR_TXD(smc,queue)	(struct s_smt_fp_txd volatile *)\  argument
 311 #define	HWM_GET_RX_USED(smc)	((int)(smc)->hw.fp.rx_q[QUEUE_R1].rx_used)  argument
 325 #define	HWM_GET_RX_FREE(smc)	((int)(smc)->hw.fp.rx_q[QUEUE_R1].rx_free-1)  argument
 340 #define	HWM_GET_CURR_RXD(smc)	(struct s_smt_fp_rxd volatile *)\  argument
 358 #define	HWM_RX_CHECK(smc,low_water) {\  argument
 364 #define	HWM_RX_CHECK(smc,low_water)		mac_drv_fill_rxd(smc)  argument
 
 |