Home
last modified time | relevance | path

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

123

/linux-6.1.9/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()
Dsmttimer.c23 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()
Decm.c95 void ecm_init(struct s_smc *smc) in ecm_init()
113 void ecm(struct s_smc *smc, int event) in ecm()
132 static void ecm_fsm(struct s_smc *smc, int cmd) in ecm_fsm()
415 static void prop_actions(struct s_smc *smc) in prop_actions()
465 static void prop_actions(struct s_smc *smc) in prop_actions()
511 static void start_ecm_timer(struct s_smc *smc, u_long value, int event) in start_ecm_timer()
520 static void stop_ecm_timer(struct s_smc *smc) in stop_ecm_timer()
Dsmtinit.c30 #define OEMID(smc,i) oem_id[i] argument
33 #define OEMID(smc,i) smc->hw.oem_id->oi_mark[i] argument
43 static void set_oem_spec_val(struct s_smc *smc) in set_oem_spec_val()
60 int init_smt(struct s_smc *smc, const u_char *mac_addr) in init_smt()
Dsrf.c63 void smt_init_evc(struct s_smc *smc) in smt_init_evc()
152 static struct s_srf_evc *smt_get_evc(struct s_smc *smc, int code, int index) in smt_get_evc()
176 void smt_srf_event(struct s_smc *smc, int code, int index, int cond) in smt_srf_event()
324 static void clear_all_rep(struct s_smc *smc) in clear_all_rep()
337 static void clear_reported(struct s_smc *smc) in clear_reported()
360 static void smt_send_srf(struct s_smc *smc) in smt_send_srf()
Dpmf.c273 void smt_pmf_received_pack(struct s_smc *smc, SMbuf *mb, int local) in smt_pmf_received_pack()
303 static SMbuf *smt_build_pmf_response(struct s_smc *smc, struct smt_header *req, in smt_build_pmf_response()
491 static int smt_authorize(struct s_smc *smc, struct smt_header *sm) in smt_authorize()
526 static int smt_check_set_count(struct s_smc *smc, struct smt_header *sm) in smt_check_set_count()
542 void smt_add_para(struct s_smc *smc, struct s_pcon *pcon, u_short para, in smt_add_para()
1067 static int smt_set_para(struct s_smc *smc, struct smt_para *pa, int index, in smt_set_para()
1523 static int smt_mib_phys(struct s_smc *smc) in smt_mib_phys()
1536 static int port_to_mib(struct s_smc *smc, int p) in port_to_mib()
1552 void dump_smt(struct s_smc *smc, struct smt_header *sm, char *text) in dump_smt()
Dsmtdef.c74 void smt_reset_defaults(struct s_smc *smc, int level) in smt_reset_defaults()
156 static void smt_init_mib(struct s_smc *smc, int level) in smt_init_mib()
276 int smt_set_mac_opvalues(struct s_smc *smc) in smt_set_mac_opvalues()
301 void smt_fixup_mib(struct s_smc *smc) in smt_fixup_mib()
/linux-6.1.9/net/smc/
Daf_smc.c111 struct smc_sock *smc = smc_sk(sk); in smc_set_keepalive() local
123 struct smc_sock *smc; in smc_tcp_syn_recv_sock() local
158 const struct smc_sock *smc; in smc_hs_congested() local
212 struct smc_sock *smc = smc_sk(sk); in smc_release_cb() local
246 static void smc_fback_restore_callbacks(struct smc_sock *smc) in smc_fback_restore_callbacks()
261 static void smc_restore_fallback_changes(struct smc_sock *smc) in smc_restore_fallback_changes()
270 static int __smc_release(struct smc_sock *smc) in __smc_release()
313 struct smc_sock *smc; in smc_release() local
369 struct smc_sock *smc; in smc_sock_alloc() local
404 struct smc_sock *smc; in smc_bind() local
[all …]
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()
127 void smc_close_active_abort(struct smc_sock *smc) in smc_close_active_abort()
192 int smc_close_active(struct smc_sock *smc) in smc_close_active()
311 static void smc_close_passive_abort_received(struct smc_sock *smc) in smc_close_passive_abort_received()
360 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smc_close_passive_work() local
446 int smc_close_shutdown_write(struct smc_sock *smc) in smc_close_shutdown_write()
502 void smc_close_init(struct smc_sock *smc) in smc_close_init()
Dsmc_tx.c44 struct smc_sock *smc = smc_sk(sk); in smc_tx_write_space() local
67 void smc_tx_sndbuf_nonfull(struct smc_sock *smc) in smc_tx_sndbuf_nonfull()
77 static int smc_tx_wait(struct smc_sock *smc, int flags) in smc_tx_wait()
127 static bool smc_tx_is_corked(struct smc_sock *smc) in smc_tx_is_corked()
145 static bool smc_should_autocork(struct smc_sock *smc) in smc_should_autocork()
159 static bool smc_tx_should_cork(struct smc_sock *smc, struct msghdr *msg) in smc_tx_should_cork()
182 int smc_tx_sendmsg(struct smc_sock *smc, struct msghdr *msg, size_t len) in smc_tx_sendmsg()
301 int smc_tx_sendpage(struct smc_sock *smc, struct page *page, int offset, in smc_tx_sendpage()
501 struct smc_sock *smc = container_of(conn, struct smc_sock, in smc_tx_rdma_writes() local
579 struct smc_sock *smc = in smcr_tx_sndbuf_nonempty() local
[all …]
Dsmc_rx.c55 static int smc_rx_update_consumer(struct smc_sock *smc, in smc_rx_update_consumer()
96 static void smc_rx_update_cons(struct smc_sock *smc, size_t len) in smc_rx_update_cons()
106 struct smc_sock *smc; member
114 struct smc_sock *smc = priv->smc; in smc_rx_pipe_buf_release() local
146 struct smc_sock *smc) in smc_rx_splice()
251 int smc_rx_wait(struct smc_sock *smc, long *timeo, in smc_rx_wait()
277 static int smc_rx_recv_urg(struct smc_sock *smc, struct msghdr *msg, int len, in smc_rx_recv_urg()
321 static bool smc_rx_recvmsg_data_available(struct smc_sock *smc) in smc_rx_recvmsg_data_available()
340 int smc_rx_recvmsg(struct smc_sock *smc, struct msghdr *msg, in smc_rx_recvmsg()
506 void smc_rx_init(struct smc_sock *smc) in smc_rx_init()
Dsmc_cdc.c31 struct smc_sock *smc; in smc_cdc_tx_handler() local
236 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); in smcd_cdc_msg_send() local
277 static void smc_cdc_handle_urg_data_arrival(struct smc_sock *smc, in smc_cdc_handle_urg_data_arrival()
297 static void smc_cdc_msg_validate(struct smc_sock *smc, struct smc_cdc_msg *cdc, in smc_cdc_msg_validate()
319 static void smc_cdc_msg_recv_action(struct smc_sock *smc, in smc_cdc_msg_recv_action()
393 static void smc_cdc_msg_recv(struct smc_sock *smc, struct smc_cdc_msg *cdc) in smc_cdc_msg_recv()
413 struct smc_sock *smc; in smcd_cdc_rx_tsklet() local
441 struct smc_sock *smc; in smc_cdc_rx_handler() local
Dsmc_stats.h86 struct smc_stats_tech smc[2]; member
187 #define SMC_STAT_BUF_REUSE(smc, is_smcd, is_rx) \ argument
190 #define SMC_STAT_RMB_ALLOC(smc, is_smcd, is_rx) \ argument
193 #define SMC_STAT_RMB_DOWNGRADED(smc, is_smcd, is_rx) \ argument
196 #define SMC_STAT_RMB_TX_PEER_FULL(smc, is_smcd) \ argument
199 #define SMC_STAT_RMB_TX_FULL(smc, is_smcd) \ argument
202 #define SMC_STAT_RMB_TX_PEER_SIZE_SMALL(smc, is_smcd) \ argument
205 #define SMC_STAT_RMB_TX_SIZE_SMALL(smc, is_smcd) \ argument
208 #define SMC_STAT_RMB_RX_SIZE_SMALL(smc, is_smcd) \ argument
211 #define SMC_STAT_RMB_RX_FULL(smc, is_smcd) \ argument
/linux-6.1.9/drivers/net/ethernet/smsc/
Dsmc91c92_cs.c304 struct smc_private *smc; in smc91c92_probe() local
383 struct smc_private *smc = netdev_priv(dev); in mhz_3288_power() local
426 struct smc_private *smc = netdev_priv(dev); in mhz_mfc_config() local
521 struct smc_private *smc = netdev_priv(dev); in mot_config() local
725 struct smc_private *smc = netdev_priv(dev); in smc91c92_resume() local
811 struct smc_private *smc = netdev_priv(dev); in smc91c92_config() local
961 struct smc_private *smc = netdev_priv(dev); in smc91c92_release() local
1052 struct smc_private *smc = netdev_priv(dev); in smc_open() local
1086 struct smc_private *smc = netdev_priv(dev); in smc_close() local
1123 struct smc_private *smc = netdev_priv(dev); in smc_hardware_send_packet() local
[all …]
/linux-6.1.9/drivers/firmware/
Dqcom_scm-smc.c36 static void __scm_smc_do_quirk(const struct arm_smccc_args *smc, in __scm_smc_do_quirk()
55 static void __scm_smc_do(const struct arm_smccc_args *smc, in __scm_smc_do()
95 struct arm_smccc_args smc = {0}; in __scm_smc_call() local

123