Home
last modified time | relevance | path

Searched refs:smt (Results 1 – 15 of 15) sorted by relevance

/drivers/net/fddi/skfp/
Dsmtdef.c80 struct smt_config *smt ; in smt_reset_defaults() local
91 smt = &smc->s ; in smt_reset_defaults()
92 smt->attach_s = 0 ; in smt_reset_defaults()
93 smt->build_ring_map = 1 ; in smt_reset_defaults()
94 smt->sas = SMT_DAS ; in smt_reset_defaults()
95 smt->numphys = NUMPHYS ; in smt_reset_defaults()
96 smt->pcm_tb_min = DEFAULT_TB_MIN ; in smt_reset_defaults()
97 smt->pcm_tb_max = DEFAULT_TB_MAX ; in smt_reset_defaults()
98 smt->pcm_c_min = DEFAULT_C_MIN ; in smt_reset_defaults()
99 smt->pcm_t_out = DEFAULT_T_OUT ; in smt_reset_defaults()
[all …]
Dsrf.c368 struct smt_header *smt ; in smt_send_srf() local
388 smt = smtod(mb, struct smt_header *) ; in smt_send_srf()
389 smt->smt_dest = SMT_SRF_DA ; /* DA == SRF multicast */ in smt_send_srf()
397 pcon.pc_p = (void *) (smt + 1) ; /* paras start here */ in smt_send_srf()
408 smt->smt_len = SMT_MAX_INFO_LEN - pcon.pc_len ; in smt_send_srf()
409 mb->sm_len = smt->smt_len + sizeof(struct smt_header) ; in smt_send_srf()
411 DB_SMT("SRF: sending SRF at %p, len %d", smt, mb->sm_len); in smt_send_srf()
415 dump_smt(smc,smt,"SRF Send") ; in smt_send_srf()
Dsmt.c880 rdf->smt.smt_tid = sm->smt_tid ; /* use TID from sm */ in smt_send_rdf()
881 rdf->smt.smt_dest = sm->smt_source ; /* set dest = source */ in smt_send_rdf()
918 rdf->smt.smt_len += len ; in smt_send_rdf()
947 nif->smt.smt_dest = *dest ; /* destination address */ in smt_send_nif()
948 nif->smt.smt_tid = tid ; /* transaction ID */ in smt_send_nif()
1010 ecf->smt.smt_dest = *dest ; /* destination address */ in smt_send_ecf()
1011 ecf->smt.smt_tid = tid ; /* transaction ID */ in smt_send_ecf()
1042 sif->smt.smt_dest = *dest ; /* destination address */ in smt_send_sif_config()
1043 sif->smt.smt_tid = tid ; /* transaction ID */ in smt_send_sif_config()
1092 sif->smt.smt_dest = *dest ; /* destination address */ in smt_send_sif_operation()
[all …]
Dpmf.c311 struct smt_header *smt ; in smt_build_pmf_response() local
329 smt = smtod(mb, struct smt_header *) ; in smt_build_pmf_response()
330 smt->smt_dest = req->smt_source ; /* DA == source of request */ in smt_build_pmf_response()
331 smt->smt_class = req->smt_class ; /* same class (GET/SET) */ in smt_build_pmf_response()
332 smt->smt_type = SMT_REPLY ; in smt_build_pmf_response()
333 smt->smt_version = SMT_VID_2 ; in smt_build_pmf_response()
334 smt->smt_tid = req->smt_tid ; /* same TID */ in smt_build_pmf_response()
335 smt->smt_pad = 0 ; in smt_build_pmf_response()
336 smt->smt_len = 0 ; in smt_build_pmf_response()
344 pcon.pc_p = (void *) (smt + 1) ; /* paras start here */ in smt_build_pmf_response()
[all …]
Dess.c494 chg->smt.smt_tid = sm->smt_tid ; in ess_send_response()
495 chg->smt.smt_dest = sm->smt_source ; in ess_send_response()
585 req->smt.smt_tid = smc->ess.alloc_trans_id = smt_get_tid(smc) ; in ess_send_alc_req()
586 req->smt.smt_dest = smt_sba_da ; in ess_send_alc_req()
DMakefile8 skfp-objs := skfddi.o hwmtm.o fplustm.o smt.o cfm.o \
/drivers/net/fddi/skfp/h/
Dsmt.h725 struct smt_header smt ; /* generic header */ member
738 struct smt_header smt ; /* generic header */ member
756 struct smt_header smt ; /* generic header */ member
776 struct smt_header smt ; /* generic header */ member
785 struct smt_header smt ; /* generic header */ member
795 struct smt_header smt ; /* generic header */ member
811 struct smt_header smt ; /* generic header */ member
829 struct smt_header smt ; /* generic header */ member
842 struct smt_header smt ; /* generic header */ member
851 struct smt_header smt ; /* generic header */ member
/drivers/net/ethernet/brocade/bna/
Dbfa_cs.h53 bfa_sm_to_state(const struct bfa_sm_table *smt, bfa_sm_t sm) in bfa_sm_to_state() argument
57 while (smt[i].sm && smt[i].sm != sm) in bfa_sm_to_state()
59 return smt[i].state; in bfa_sm_to_state()
/drivers/scsi/bfa/
Dbfa_cs.h231 bfa_sm_to_state(struct bfa_sm_table_s *smt, bfa_sm_t sm) in bfa_sm_to_state() argument
235 while (smt[i].sm && smt[i].sm != sm) in bfa_sm_to_state()
237 return smt[i].state; in bfa_sm_to_state()
/drivers/net/ethernet/chelsio/cxgb4/
Dsmt.c122 struct smt_data *s = adap->smt; in do_smt_write_rpl()
140 struct smt_data *s = adapter->smt; in write_smt_entry()
211 struct smt_data *s = adap->smt; in t4_smt_alloc_switching()
DMakefile8 cxgb4-objs := cxgb4_main.o l2t.o smt.o t4_hw.o sge.o clip_tbl.o cxgb4_ethtool.o \
Dcxgb4_filter.c154 TCB_SMAC_SEL_V(f->smt->idx), 1); in configure_filter_smac()
572 f->smt = cxgb4_smt_alloc_switching(f->dev, f->fs.smac); in set_filter_wr()
573 if (!f->smt) { in set_filter_wr()
726 if (f->smt) in clear_filter()
727 cxgb4_smt_release(f->smt); in clear_filter()
1140 f->smt = cxgb4_smt_alloc_switching(f->dev, f->fs.smac); in cxgb4_set_hash_filter()
1141 if (!f->smt) { in cxgb4_set_hash_filter()
1228 if (f->smt) { in cxgb4_set_hash_filter()
1229 cxgb4_smt_release(f->smt); in cxgb4_set_hash_filter()
1230 f->smt = NULL; in cxgb4_set_hash_filter()
Dcxgb4.h976 struct smt_data *smt; member
1265 struct smt_entry *smt; /* Source Mac Table entry for smac */ member
Dcxgb4_main.c5439 kvfree(adapter->smt); in free_some_resources()
5949 adapter->smt = t4_init_smt(); in init_one()
5950 if (!adapter->smt) { in init_one()
/drivers/net/fddi/
Ddefza.c444 struct net_device *dev, int smt) in fza_do_xmit() argument
476 if (smt) in fza_do_xmit()