Home
last modified time | relevance | path

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

12

/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.c113 #define hwm_conv_can(smc,data,len) argument
117 static inline int is_my_addr(const struct s_smc *smc, in is_my_addr()
156 void smt_agent_init(struct s_smc *smc) in smt_agent_init()
202 void smt_agent_task(struct s_smc *smc) in smt_agent_task()
210 void smt_emulate_token_ct(struct s_smc *smc, int mac_index) in smt_emulate_token_ct()
237 void smt_event(struct s_smc *smc, int event) in smt_event()
469 void smt_received_pack(struct s_smc *smc, SMbuf *mb, int fs) in smt_received_pack()
815 static void update_dac(struct s_smc *smc, int report) in update_dac()
833 void smt_send_frame(struct s_smc *smc, SMbuf *mb, int fc, int local) in smt_send_frame()
856 static void smt_send_rdf(struct s_smc *smc, SMbuf *rej, int fc, int reason, in smt_send_rdf()
[all …]
Dskfddi.c208 struct s_smc *smc; /* board pointer */ in skfp_init_one() local
383 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.c125 void rmt_init(struct s_smc *smc) in rmt_init()
147 void rmt(struct s_smc *smc, int event) in rmt()
166 static void rmt_fsm(struct s_smc *smc, int cmd) in rmt_fsm()
533 static void rmt_dup_actions(struct s_smc *smc) in rmt_dup_actions()
552 static void rmt_reinsert_actions(struct s_smc *smc) in rmt_reinsert_actions()
561 static void rmt_new_dup_actions(struct s_smc *smc) in rmt_new_dup_actions()
586 static void rmt_leave_actions(struct s_smc *smc) in rmt_leave_actions()
599 static void start_rmt_timer0(struct s_smc *smc, u_long value, int event) in start_rmt_timer0()
609 static void start_rmt_timer1(struct s_smc *smc, u_long value, int event) in start_rmt_timer1()
619 static void start_rmt_timer2(struct s_smc *smc, u_long value, int event) in start_rmt_timer2()
[all …]
Dpcmplc.c216 static void start_pcm_timer0(struct s_smc *smc, u_long value, int event, in start_pcm_timer0()
227 static void stop_pcm_timer0(struct s_smc *smc, struct s_phy *phy) in stop_pcm_timer0()
237 void pcm_init(struct s_smc *smc) in pcm_init()
401 void init_plc(struct s_smc *smc) in init_plc()
414 static void real_init_plc(struct s_smc *smc) in real_init_plc()
422 static void plc_init(struct s_smc *smc, int p) in plc_init()
485 static void plc_go_state(struct s_smc *smc, int p, int state) in plc_go_state()
501 int sm_pm_get_ls(struct s_smc *smc, int phy) in sm_pm_get_ls()
534 static int plc_send_bits(struct s_smc *smc, struct s_phy *phy, int len) in plc_send_bits()
571 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.c105 void cfm_init(struct s_smc *smc) in cfm_init()
117 #define THRU_ENABLED(smc) (smc->y[PA].pc_mode != PM_TREE && \ argument
120 static void selection_criteria (struct s_smc *smc, struct s_phy *phy) in selection_criteria()
146 void all_selection_criteria(struct s_smc *smc) in all_selection_criteria()
157 static void cem_priv_state(struct s_smc *smc, int event) in cem_priv_state()
213 void cfm(struct s_smc *smc, int event) in cfm()
285 static void cfm_fsm(struct s_smc *smc, int cmd) in cfm_fsm()
543 int cfm_get_mac_input(struct s_smc *smc) in cfm_get_mac_input()
554 int cfm_get_mac_output(struct s_smc *smc) in cfm_get_mac_output()
594 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()
378 static int process_bw_alloc(struct s_smc *smc, long int payload, long int overhead) in process_bw_alloc()
474 static void ess_send_response(struct s_smc *smc, struct smt_header *sm, in ess_send_response()
539 void ess_timer_poll(struct s_smc *smc) in ess_timer_poll()
553 static void ess_send_alc_req(struct s_smc *smc) in ess_send_alc_req()
661 static void ess_send_frame(struct s_smc *smc, SMbuf *mb) in ess_send_frame()
687 void ess_para_change(struct s_smc *smc) in ess_para_change()
693 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()
Dsmttimer.c31 void smt_timer_init(struct s_smc *smc) in smt_timer_init()
39 void smt_timer_stop(struct s_smc *smc, struct smt_timer *timer) in smt_timer_stop()
62 void smt_timer_start(struct s_smc *smc, struct smt_timer *timer, u_long time, in smt_timer_start()
110 void smt_force_irq(struct s_smc *smc) in smt_force_irq()
115 void smt_timer_done(struct s_smc *smc) in smt_timer_done()
120 static void timer_done(struct s_smc *smc, int restart) in timer_done()
Decm.c106 void ecm_init(struct s_smc *smc) in ecm_init()
124 void ecm(struct s_smc *smc, int event) in ecm()
143 static void ecm_fsm(struct s_smc *smc, int cmd) in ecm_fsm()
427 static void prop_actions(struct s_smc *smc) in prop_actions()
477 static void prop_actions(struct s_smc *smc) in prop_actions()
523 static void start_ecm_timer(struct s_smc *smc, u_long value, int event) in start_ecm_timer()
532 static void stop_ecm_timer(struct s_smc *smc) in stop_ecm_timer()
Dsmtinit.c38 #define OEMID(smc,i) oem_id[i] argument
41 #define OEMID(smc,i) smc->hw.oem_id->oi_mark[i] argument
51 static void set_oem_spec_val(struct s_smc *smc) in set_oem_spec_val()
68 int init_smt(struct s_smc *smc, u_char *mac_addr) in init_smt()
Dsrf.c72 void smt_init_evc(struct s_smc *smc) in smt_init_evc()
161 static struct s_srf_evc *smt_get_evc(struct s_smc *smc, int code, int index) in smt_get_evc()
187 void smt_srf_event(struct s_smc *smc, int code, int index, int cond) in smt_srf_event()
335 static void clear_all_rep(struct s_smc *smc) in clear_all_rep()
348 static void clear_reported(struct s_smc *smc) in clear_reported()
371 static void smt_send_srf(struct s_smc *smc) in smt_send_srf()
Dpmf.c281 void smt_pmf_received_pack(struct s_smc *smc, SMbuf *mb, int local) in smt_pmf_received_pack()
311 static SMbuf *smt_build_pmf_response(struct s_smc *smc, struct smt_header *req, in smt_build_pmf_response()
499 static int smt_authorize(struct s_smc *smc, struct smt_header *sm) in smt_authorize()
534 static int smt_check_set_count(struct s_smc *smc, struct smt_header *sm) in smt_check_set_count()
550 void smt_add_para(struct s_smc *smc, struct s_pcon *pcon, u_short para, in smt_add_para()
1075 static int smt_set_para(struct s_smc *smc, struct smt_para *pa, int index, in smt_set_para()
1531 static int smt_mib_phys(struct s_smc *smc) in smt_mib_phys()
1544 static int port_to_mib(struct s_smc *smc, int p) in port_to_mib()
1560 void dump_smt(struct s_smc *smc, struct smt_header *sm, char *text) in dump_smt()
Dsmtdef.c82 void smt_reset_defaults(struct s_smc *smc, int level) in smt_reset_defaults()
164 static void smt_init_mib(struct s_smc *smc, int level) in smt_init_mib()
284 int smt_set_mac_opvalues(struct s_smc *smc) in smt_set_mac_opvalues()
309 void smt_fixup_mib(struct s_smc *smc) in smt_fixup_mib()
/drivers/net/ethernet/smsc/
Dsmc91c92_cs.c304 struct smc_private *smc; in smc91c92_probe() local
381 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
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 …]
/drivers/net/fddi/skfp/h/
Dhwmtm.h243 #define HWM_GET_TX_USED(smc,queue) (int) (smc)->hw.fp.tx_q[queue].tx_used argument
261 #define HWM_GET_CURR_TXD(smc,queue) (struct s_smt_fp_txd volatile *)\ argument
312 #define HWM_GET_RX_USED(smc) ((int)(smc)->hw.fp.rx_q[QUEUE_R1].rx_used) argument
326 #define HWM_GET_RX_FREE(smc) ((int)(smc)->hw.fp.rx_q[QUEUE_R1].rx_free-1) argument
341 #define HWM_GET_CURR_RXD(smc) (struct s_smt_fp_rxd volatile *)\ argument
359 #define HWM_RX_CHECK(smc,low_water) {\ argument
365 #define HWM_RX_CHECK(smc,low_water) mac_drv_fill_rxd(smc) argument
Dskfbiinc.h88 #define DRV_PCM_STATE_CHANGE(smc,plc,p_state) /* nothing */ argument
93 #define DRV_RMT_INDICATION(smc,i) /* nothing */ argument
Dcmtdef.h535 #define smt_panic(smc,text) argument
629 #define smt_init_evc(smc) argument
630 #define smt_srf_event(smc,code,index,cond) argument
640 #define dump_smt(smc,sm,text) argument
652 #define PNMI_INIT(smc) /* Nothing */ argument
655 #define PNMI_GET_ID( smc, ndis_oid, buf, len, BytesWritten, BytesNeeded ) \ argument
659 #define PNMI_SET_ID( smc, ndis_oid, buf, len, BytesRead, BytesNeeded, \ argument
667 #define SMT_PANIC(smc,nr,msg) smt_panic (smc, msg) argument
671 #define SMT_ERR_LOG(smc,nr,msg) SMT_PANIC (smc, nr, msg) argument
Dosdef1st.h52 #define SMT_PANIC(smc, nr, msg) printk(KERN_INFO "SMT PANIC: code: %d, msg: %s\n",nr,msg) argument
/drivers/ata/
Dpata_at32.c85 struct smc_config smc; member
95 struct smc_config *smc = &info->smc; in pata_at32_setup_timing() local
Dpata_at91.c209 struct sam9_smc_config smc; in set_smc_timing() local
284 struct sam9_smc_config smc; in pata_at91_data_xfer_noirq() local
/drivers/s390/char/
Dtape_3590.h93 unsigned int smc:4; member
105 unsigned int smc:4; member

12