Home
last modified time | relevance | path

Searched refs:sde (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/infiniband/hw/hfi1/
H A Dsdma.c202 struct sdma_engine *sde,
205 struct sdma_engine *sde,
207 static void dump_sdma_state(struct sdma_engine *sde);
208 static void sdma_make_progress(struct sdma_engine *sde, u64 status);
209 static void sdma_desc_avail(struct sdma_engine *sde, uint avail);
210 static void sdma_flush_descq(struct sdma_engine *sde);
246 struct sdma_engine *sde, in write_sde_csr() argument
250 write_kctxt_csr(sde->dd, sde->this_idx, offset0, value); in write_sde_csr()
254 struct sdma_engine *sde, in read_sde_csr() argument
264 sdma_wait_for_packet_egress(struct sdma_engine * sde,int pause) sdma_wait_for_packet_egress() argument
305 struct sdma_engine *sde = &dd->per_sdma[i]; sdma_wait() local
311 sdma_set_desc_cnt(struct sdma_engine * sde,unsigned cnt) sdma_set_desc_cnt() argument
323 complete_tx(struct sdma_engine * sde,struct sdma_txreq * tx,int res) complete_tx() argument
363 sdma_flush(struct sdma_engine * sde) sdma_flush() argument
410 struct sdma_engine *sde = sdma_field_flush() local
421 struct sdma_engine *sde = container_of(work, struct sdma_engine, sdma_err_halt_wait() local
448 sdma_err_progress_check_schedule(struct sdma_engine * sde) sdma_err_progress_check_schedule() argument
471 struct sdma_engine *sde = timer_container_of(sde, t, sdma_err_progress_check() local
510 struct sdma_engine *sde = from_tasklet(sde, t, sdma_hw_clean_up_task() local
530 get_txhead(struct sdma_engine * sde) get_txhead() argument
538 sdma_flush_descq(struct sdma_engine * sde) sdma_flush_descq() argument
570 struct sdma_engine *sde = from_tasklet(sde, t, sdma_sw_clean_up_task); sdma_sw_clean_up_task() local
615 sdma_sw_tear_down(struct sdma_engine * sde) sdma_sw_tear_down() argument
627 sdma_start_hw_clean_up(struct sdma_engine * sde) sdma_start_hw_clean_up() argument
632 sdma_set_state(struct sdma_engine * sde,enum sdma_states next_state) sdma_set_state() argument
710 sdma_engine_get_vl(struct sdma_engine * sde) sdma_engine_get_vl() argument
797 struct sdma_engine *sde[]; global() member
833 struct sdma_engine *sde = NULL; sdma_select_user_engine() local
871 sdma_cleanup_sde_map(struct sdma_rht_map_elem * map,struct sdma_engine * sde) sdma_cleanup_sde_map() argument
894 sdma_set_cpu_to_sde_map(struct sdma_engine * sde,const char * buf,size_t count) sdma_set_cpu_to_sde_map() argument
1047 sdma_get_cpu_to_sde_map(struct sdma_engine * sde,char * buf) sdma_get_cpu_to_sde_map() argument
1258 struct sdma_engine *sde; sdma_clean() local
1326 struct sdma_engine *sde; sdma_init() local
1517 struct sdma_engine *sde; sdma_all_running() local
1538 struct sdma_engine *sde; sdma_start() local
1554 struct sdma_engine *sde; sdma_exit() local
1646 sdma_gethead(struct sdma_engine * sde) sdma_gethead() argument
1709 sdma_desc_avail(struct sdma_engine * sde,uint avail) sdma_desc_avail() argument
1770 sdma_make_progress(struct sdma_engine * sde,u64 status) sdma_make_progress() argument
1839 sdma_engine_interrupt(struct sdma_engine * sde,u64 status) sdma_engine_interrupt() argument
1859 sdma_engine_error(struct sdma_engine * sde,u64 status) sdma_engine_error() argument
1885 sdma_sendctrl(struct sdma_engine * sde,unsigned op) sdma_sendctrl() argument
1934 sdma_setlengen(struct sdma_engine * sde) sdma_setlengen() argument
1953 sdma_update_tail(struct sdma_engine * sde,u16 tail) sdma_update_tail() argument
1964 sdma_hw_start_up(struct sdma_engine * sde) sdma_hw_start_up() argument
1987 set_sdma_integrity(struct sdma_engine * sde) set_sdma_integrity() argument
1996 init_sdma_regs(struct sdma_engine * sde,u32 credits,uint idle_cnt) init_sdma_regs() argument
2046 sdma_dumpstate(struct sdma_engine * sde) sdma_dumpstate() argument
2087 dump_sdma_state(struct sdma_engine * sde) dump_sdma_state() argument
2155 sdma_seqfile_dump_sde(struct seq_file * s,struct sdma_engine * sde) sdma_seqfile_dump_sde() argument
2225 add_gen(struct sdma_engine * sde,u64 qw1) add_gen() argument
2251 submit_tx(struct sdma_engine * sde,struct sdma_txreq * tx) submit_tx() argument
2299 sdma_check_progress(struct sdma_engine * sde,struct iowait_work * wait,struct sdma_txreq * tx,bool pkts_sent) sdma_check_progress() argument
2339 sdma_send_txreq(struct sdma_engine * sde,struct iowait_work * wait,struct sdma_txreq * tx,bool pkts_sent) sdma_send_txreq() argument
2418 sdma_send_txlist(struct sdma_engine * sde,struct iowait_work * wait,struct list_head * tx_list,u16 * count_out) sdma_send_txlist() argument
2488 sdma_process_event(struct sdma_engine * sde,enum sdma_events event) sdma_process_event() argument
2504 __sdma_process_event(struct sdma_engine * sde,enum sdma_events event) __sdma_process_event() argument
3125 struct sdma_engine *sde; sdma_update_lmc() local
3234 sdma_ahg_alloc(struct sdma_engine * sde) sdma_ahg_alloc() argument
3265 sdma_ahg_free(struct sdma_engine * sde,int ahg_index) sdma_ahg_free() argument
3360 _sdma_engine_progress_schedule(struct sdma_engine * sde) _sdma_engine_progress_schedule() argument
[all...]
H A Dsdma.h390 static inline int sdma_empty(struct sdma_engine *sde) in sdma_empty() argument
392 return sde->descq_tail == sde->descq_head; in sdma_empty()
395 static inline u16 sdma_descq_freecnt(struct sdma_engine *sde) in sdma_descq_freecnt() argument
397 return sde->descq_cnt - in sdma_descq_freecnt()
398 (sde->descq_tail - in sdma_descq_freecnt()
399 READ_ONCE(sde->descq_head)) - 1; in sdma_descq_freecnt()
402 static inline u16 sdma_descq_inprocess(struct sdma_engine *sde) in sdma_descq_inprocess() argument
404 return sde->descq_cnt - sdma_descq_freecnt(sde); in sdma_descq_inprocess()
827 int sdma_send_txreq(struct sdma_engine *sde,
831 int sdma_send_txlist(struct sdma_engine *sde,
[all …]
H A Dsysfs.c571 ssize_t (*show)(struct sdma_engine *sde, char *buf);
572 ssize_t (*store)(struct sdma_engine *sde, const char *buf, size_t cnt);
579 struct sdma_engine *sde = in sde_show() local
585 return sde_attr->show(sde, buf); in sde_show()
593 struct sdma_engine *sde = in sde_store() local
602 return sde_attr->store(sde, buf, count); in sde_store()
618 static ssize_t sde_show_cpu_to_sde_map(struct sdma_engine *sde, char *buf) in sde_show_cpu_to_sde_map() argument
620 return sdma_get_cpu_to_sde_map(sde, buf); in sde_show_cpu_to_sde_map()
623 static ssize_t sde_store_cpu_to_sde_map(struct sdma_engine *sde, in sde_store_cpu_to_sde_map() argument
626 return sdma_set_cpu_to_sde_map(sde, buf, count); in sde_store_cpu_to_sde_map()
[all …]
H A Dipoib_tx.c126 tx->txq->sde->this_idx); in hfi1_ipoib_free_tx()
389 txq->sde = in hfi1_ipoib_send_dma_common()
410 ret = sdma_send_txlist(txq->sde, in hfi1_ipoib_submit_tx_list()
444 ret = sdma_send_txreq(txq->sde, in hfi1_ipoib_submit_tx()
613 static int hfi1_ipoib_sdma_sleep(struct sdma_engine *sde, in hfi1_ipoib_sdma_sleep() argument
622 write_seqlock(&sde->waitlock); in hfi1_ipoib_sdma_sleep()
625 if (sdma_progress(sde, seq, txreq)) { in hfi1_ipoib_sdma_sleep()
626 write_sequnlock(&sde->waitlock); in hfi1_ipoib_sdma_sleep()
634 struct hfi1_ibport *ibp = &sde->ppd->ibport_data; in hfi1_ipoib_sdma_sleep()
641 iowait_queue(pkts_sent, wait->iow, &sde->dmawait); in hfi1_ipoib_sdma_sleep()
[all …]
H A Daffinity.c732 struct sdma_engine *sde = msix->arg; in hfi1_update_sdma_affinity() local
733 struct hfi1_devdata *dd = sde->dd; in hfi1_update_sdma_affinity()
738 if (cpu > num_online_cpus() || cpu == sde->cpu) in hfi1_update_sdma_affinity()
746 old_cpu = sde->cpu; in hfi1_update_sdma_affinity()
747 sde->cpu = cpu; in hfi1_update_sdma_affinity()
752 sde->this_idx, cpu); in hfi1_update_sdma_affinity()
830 struct sdma_engine *sde = NULL; in get_irq_affinity() local
842 sde = (struct sdma_engine *)msix->arg; in get_irq_affinity()
843 scnprintf(extra, 64, "engine %u", sde->this_idx); in get_irq_affinity()
893 sde in get_irq_affinity()
[all...]
H A Dverbs_txreq.h23 struct sdma_engine *sde; member
50 tx->sde = priv->s_sde; in get_txreq()
H A Dmsix.h17 int msix_request_sdma_irq(struct sdma_engine *sde);
H A Dipoib.h111 struct sdma_engine *sde; member
H A Diowait.c44 int (*sleep)(struct sdma_engine *sde, in iowait_init() argument
H A Duser_sdma.h134 struct sdma_engine *sde; member
H A Duc.c229 ps->s_txreq->sde = priv->s_sde; in hfi1_make_uc_req()
H A Dud.c522 ps->s_txreq->sde = priv->s_sde; in hfi1_make_ud_req()
H A Drc.c353 ps->s_txreq->sde = qpriv->s_sde; in make_rc_ack()
1147 ps->s_txreq->sde = priv->s_sde; in hfi1_make_rc_req()
H A Dtid_rdma.c5165 ps->s_txreq->sde = priv->s_sde; in hfi1_make_tid_rdma_pkt()
5314 ps->s_txreq->sde = qpriv->s_sde; in make_tid_rdma_ack()
/linux/drivers/net/fddi/skfp/
H A Dsmt.c74 static void smt_fill_sde(struct s_smc *smc, struct smt_p_sde *sde);
938 smt_fill_sde(smc,&nif->sde) ; /* set station descriptor */ in smt_send_nif()
1030 smt_fill_sde(smc,&sif->sde) ; /* set station descriptor */ in smt_send_sif_config()
1157 static void smt_fill_sde(struct s_smc *smc, struct smt_p_sde *sde) in smt_fill_sde() argument
1159 SMTSETPARA(sde,SMT_P_SDE) ; in smt_fill_sde()
1160 sde->sde_non_master = smc->mib.fddiSMTNonMaster_Ct ; in smt_fill_sde()
1161 sde->sde_master = smc->mib.fddiSMTMaster_Ct ; in smt_fill_sde()
1162 sde->sde_mac_count = NUMMACS ; /* only 1 MAC */ in smt_fill_sde()
1164 sde->sde_type = SMT_SDE_CONCENTRATOR ; in smt_fill_sde()
1166 sde->sde_type = SMT_SDE_STATION ; in smt_fill_sde()
/linux/drivers/net/fddi/skfp/h/
H A Dsmt.h727 struct smt_p_sde sde ; /* station descriptor */ member
740 struct smt_p_sde sde ; /* station descriptor */ member
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pciercx-defs.h264 __BITFIELD_FIELD(uint32_t sde:1,