/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | sdma.c | 201 struct sdma_engine *sde, 204 struct sdma_engine *sde, 206 static void dump_sdma_state(struct sdma_engine *sde); 207 static void sdma_make_progress(struct sdma_engine *sde, u64 status); 208 static void sdma_desc_avail(struct sdma_engine *sde, uint avail); 209 static void sdma_flush_descq(struct sdma_engine *sde); 245 struct sdma_engine *sde, 249 write_kctxt_csr(sde->dd, sde->this_idx, offset0, value); 253 struct sdma_engine *sde, 244 write_sde_csr( struct sdma_engine *sde, u32 offset0, u64 value) argument 252 read_sde_csr( struct sdma_engine *sde, u32 offset0) argument 263 sdma_wait_for_packet_egress(struct sdma_engine *sde, int pause) argument 304 struct sdma_engine *sde = &dd->per_sdma[i]; local 310 sdma_set_desc_cnt(struct sdma_engine *sde, unsigned cnt) argument 322 complete_tx(struct sdma_engine *sde, struct sdma_txreq *tx, int res) argument 362 sdma_flush(struct sdma_engine *sde) argument 409 struct sdma_engine *sde = local 420 struct sdma_engine *sde = container_of(work, struct sdma_engine, local 447 sdma_err_progress_check_schedule(struct sdma_engine *sde) argument 470 struct sdma_engine *sde = from_timer(sde, t, err_progress_check_timer); local 508 struct sdma_engine *sde = from_tasklet(sde, t, local 528 get_txhead(struct sdma_engine *sde) argument 536 sdma_flush_descq(struct sdma_engine *sde) argument 568 struct sdma_engine *sde = from_tasklet(sde, t, sdma_sw_clean_up_task); local 613 sdma_sw_tear_down(struct sdma_engine *sde) argument 625 sdma_start_hw_clean_up(struct sdma_engine *sde) argument 630 sdma_set_state(struct sdma_engine *sde, enum sdma_states next_state) argument 708 sdma_engine_get_vl(struct sdma_engine *sde) argument 795 struct sdma_engine *sde[]; member in struct:sdma_rht_map_elem 831 struct sdma_engine *sde = NULL; local 868 sdma_cleanup_sde_map(struct sdma_rht_map_elem *map, struct sdma_engine *sde) argument 892 sdma_set_cpu_to_sde_map(struct sdma_engine *sde, const char *buf, size_t count) argument 1045 sdma_get_cpu_to_sde_map(struct sdma_engine *sde, char *buf) argument 1256 struct sdma_engine *sde; local 1322 struct sdma_engine *sde; local 1513 struct sdma_engine *sde; local 1531 struct sdma_engine *sde; local 1552 struct sdma_engine *sde; local 1568 struct sdma_engine *sde; local 1660 sdma_gethead(struct sdma_engine *sde) argument 1723 sdma_desc_avail(struct sdma_engine *sde, uint avail) argument 1784 sdma_make_progress(struct sdma_engine *sde, u64 status) argument 1853 sdma_engine_interrupt(struct sdma_engine *sde, u64 status) argument 1873 sdma_engine_error(struct sdma_engine *sde, u64 status) argument 1899 sdma_sendctrl(struct sdma_engine *sde, unsigned op) argument 1948 sdma_setlengen(struct sdma_engine *sde) argument 1967 sdma_update_tail(struct sdma_engine *sde, u16 tail) argument 1978 sdma_hw_start_up(struct sdma_engine *sde) argument 2001 set_sdma_integrity(struct sdma_engine *sde) argument 2009 init_sdma_regs( struct sdma_engine *sde, u32 credits, uint idle_cnt) argument 2060 sdma_dumpstate(struct sdma_engine *sde) argument 2101 dump_sdma_state(struct sdma_engine *sde) argument 2169 sdma_seqfile_dump_sde(struct seq_file *s, struct sdma_engine *sde) argument 2239 add_gen(struct sdma_engine *sde, u64 qw1) argument 2265 submit_tx(struct sdma_engine *sde, struct sdma_txreq *tx) argument 2312 sdma_check_progress( struct sdma_engine *sde, struct iowait_work *wait, struct sdma_txreq *tx, bool pkts_sent) argument 2353 sdma_send_txreq(struct sdma_engine *sde, struct iowait_work *wait, struct sdma_txreq *tx, bool pkts_sent) argument 2432 sdma_send_txlist(struct sdma_engine *sde, struct iowait_work *wait, struct list_head *tx_list, u16 *count_out) argument 2502 sdma_process_event(struct sdma_engine *sde, enum sdma_events event) argument 2518 __sdma_process_event(struct sdma_engine *sde, enum sdma_events event) argument 3139 struct sdma_engine *sde; local 3248 sdma_ahg_alloc(struct sdma_engine *sde) argument 3279 sdma_ahg_free(struct sdma_engine *sde, int ahg_index) argument 3373 _sdma_engine_progress_schedule( struct sdma_engine *sde) argument [all...] |
H A D | vnic_sdma.c | 49 static noinline int build_vnic_ulp_payload(struct sdma_engine *sde, argument 55 sde->dd, 66 ret = sdma_txadd_page(sde->dd, 77 ret = sdma_txadd_kvaddr(sde->dd, &tx->txreq, 85 static int build_vnic_tx_desc(struct sdma_engine *sde, argument 107 sde->dd, 115 ret = build_vnic_ulp_payload(sde, tx); 131 struct sdma_engine *sde = vnic_sdma->sde; local 138 if (unlikely(!sde || !sdma_runnin 186 hfi1_vnic_sdma_sleep(struct sdma_engine *sde, struct iowait_work *wait, struct sdma_txreq *txreq, uint seq, bool pkts_sent) argument [all...] |
H A D | msix.h | 17 int msix_request_sdma_irq(struct sdma_engine *sde);
|
H A D | trace_tx.h | 110 TP_PROTO(struct sdma_engine *sde, 115 TP_ARGS(sde, desc0, desc1, e, descp), 116 TP_STRUCT__entry(DD_DEV_ENTRY(sde->dd) 123 TP_fast_assign(DD_DEV_ASSIGN(sde->dd); 126 __entry->idx = sde->this_idx; 304 TP_PROTO(struct sdma_engine *sde, u64 status), 305 TP_ARGS(sde, status), 306 TP_STRUCT__entry(DD_DEV_ENTRY(sde->dd) 310 TP_fast_assign(DD_DEV_ASSIGN(sde->dd); 312 __entry->idx = sde [all...] |
H A D | sdma.h | 391 static inline int sdma_empty(struct sdma_engine *sde) argument 393 return sde->descq_tail == sde->descq_head; 396 static inline u16 sdma_descq_freecnt(struct sdma_engine *sde) argument 398 return sde->descq_cnt - 399 (sde->descq_tail - 400 READ_ONCE(sde->descq_head)) - 1; 403 static inline u16 sdma_descq_inprocess(struct sdma_engine *sde) argument 405 return sde->descq_cnt - sdma_descq_freecnt(sde); 880 sdma_progress(struct sdma_engine *sde, unsigned seq, struct sdma_txreq *tx) argument 969 struct sdma_engine *sde[]; member in struct:sdma_map_elem 1010 sdma_engine_progress_schedule( struct sdma_engine *sde) argument [all...] |
H A D | msix.c | 182 * @sde: valid sdma engine 185 int msix_request_sdma_irq(struct sdma_engine *sde) argument 191 sde->dd->unit, sde->this_idx); 192 nr = msix_request_irq(sde->dd, sde, sdma_interrupt, NULL, 196 sde->msix_intr = nr; 197 remap_sdma_interrupts(sde->dd, sde->this_idx, nr); 259 struct sdma_engine *sde local [all...] |
H A D | verbs_txreq.h | 23 struct sdma_engine *sde; member in struct:verbs_txreq 50 tx->sde = priv->s_sde;
|
H A D | sysfs.c | 571 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 = local 585 return sde_attr->show(sde, buf); 593 struct sdma_engine *sde = local 602 return sde_attr->store(sde, buf, count); 618 static ssize_t sde_show_cpu_to_sde_map(struct sdma_engine *sde, char *buf) argument 620 return sdma_get_cpu_to_sde_map(sde, buf); 623 static ssize_t sde_store_cpu_to_sde_map(struct sdma_engine *sde, argument 626 return sdma_set_cpu_to_sde_map(sde, bu 629 sde_show_vl(struct sdma_engine *sde, char *buf) argument [all...] |
H A D | qp.c | 26 struct sdma_engine *sde, 437 struct sdma_engine *sde, 461 write_seqlock(&sde->waitlock); 462 if (sdma_progress(sde, seq, stx)) 472 &sde->dmawait); 473 priv->s_iowait.lock = &sde->waitlock; 477 write_sequnlock(&sde->waitlock); 487 write_sequnlock(&sde->waitlock); 542 struct sdma_engine *sde; local 552 sde 436 iowait_sleep( struct sdma_engine *sde, struct iowait_work *wait, struct sdma_txreq *stx, uint seq, bool pkts_sent) argument 603 struct sdma_engine *sde; local [all...] |
H A D | ipoib_tx.c | 123 "%s: Status = 0x%x pbc 0x%llx txq = %d sde = %d\n", 126 tx->txq->sde->this_idx); 389 txq->sde = 410 ret = sdma_send_txlist(txq->sde, 444 ret = sdma_send_txreq(txq->sde, 613 static int hfi1_ipoib_sdma_sleep(struct sdma_engine *sde, argument 622 write_seqlock(&sde->waitlock); 625 if (sdma_progress(sde, seq, txreq)) { 626 write_sequnlock(&sde->waitlock); 634 struct hfi1_ibport *ibp = &sde [all...] |
H A D | vnic.h | 35 * @sde - sdma engine 44 struct sdma_engine *sde; member in struct:hfi1_vnic_sdma
|
H A D | user_sdma.c | 57 struct sdma_engine *sde, 65 struct sdma_engine *sde, 74 write_seqlock(&sde->waitlock); 75 trace_hfi1_usdma_defer(pq, sde, &pq->busy); 76 if (sdma_progress(sde, seq, txreq)) 85 pq->busy.lock = &sde->waitlock; 87 iowait_queue(pkts_sent, &pq->busy, &sde->dmawait); 89 write_sequnlock(&sde->waitlock); 92 write_sequnlock(&sde->waitlock); 514 req->sde 64 defer_packet_queue( struct sdma_engine *sde, struct iowait_work *wait, struct sdma_txreq *txreq, uint seq, bool pkts_sent) argument [all...] |
H A D | affinity.c | 741 struct sdma_engine *sde = msix->arg; local 742 struct hfi1_devdata *dd = sde->dd; 747 if (cpu > num_online_cpus() || cpu == sde->cpu) 755 old_cpu = sde->cpu; 756 sde->cpu = cpu; 761 sde->this_idx, cpu); 839 struct sdma_engine *sde = NULL; local 851 sde = (struct sdma_engine *)msix->arg; 852 scnprintf(extra, 64, "engine %u", sde->this_idx); 902 sde [all...] |
H A D | iowait.c | 44 int (*sleep)(struct sdma_engine *sde, 41 iowait_init(struct iowait *wait, u32 tx_limit, void (*func)(struct work_struct *work), void (*tidfunc)(struct work_struct *work), int (*sleep)(struct sdma_engine *sde, struct iowait_work *wait, struct sdma_txreq *tx, uint seq, bool pkts_sent), void (*wakeup)(struct iowait *wait, int reason), void (*sdma_drained)(struct iowait *wait), void (*init_priority)(struct iowait *wait)) argument
|
H A D | ipoib.h | 98 * @sde: sdma engine 111 struct sdma_engine *sde; member in struct:hfi1_ipoib_txq
|
H A D | user_sdma.h | 134 struct sdma_engine *sde; member in struct:user_sdma_request
|
H A D | iowait.h | 101 struct sdma_engine *sde, 133 int (*sleep)(struct sdma_engine *sde,
|
H A D | vnic_main.c | 284 struct sdma_engine *sde; local 287 sde = sdma_select_engine_vl(vinfo->dd, mdata->entropy, mdata->vl); 288 return sde->this_idx;
|
H A D | verbs.c | 655 struct sdma_engine *sde, 670 sde->dd, 719 struct sdma_engine *sde, 753 sde->dd, 774 ret = build_verbs_ulp_payload(sde, length, tx); 781 ret = sdma_txadd_daddr(sde->dd, &tx->txreq, sde->dd->sdma_pad_phys, 848 ret = build_verbs_tx_desc(tx->sde, len, tx, ahg_info, pbc); 852 ret = sdma_send_txreq(tx->sde, ps->wait, &tx->txreq, ps->pkts_sent); 654 build_verbs_ulp_payload( struct sdma_engine *sde, u32 length, struct verbs_txreq *tx) argument 718 build_verbs_tx_desc( struct sdma_engine *sde, u32 length, struct verbs_txreq *tx, struct hfi1_ahg_info *ahg_info, u64 pbc) argument
|
H A D | uc.c | 229 ps->s_txreq->sde = priv->s_sde;
|
H A D | chip.c | 6008 struct sdma_engine *sde; local 6011 sde = &dd->per_sdma[source]; 6013 dd_dev_err(sde->dd, "CONFIG SDMA(%u) %s:%d %s()\n", sde->this_idx, 6015 dd_dev_err(sde->dd, "CONFIG SDMA(%u) source: %u status 0x%llx\n", 6016 sde->this_idx, source, (unsigned long long)status); 6018 sde->err_cnt++; 6019 sdma_engine_error(sde, status); 6038 struct sdma_engine *sde = &dd->per_sdma[source]; local 6040 dd_dev_err(dd, "CONFIG SDMA(%u) %s:%d %s()\n", sde 8323 struct sdma_engine *sde = data; local [all...] |
H A D | ud.c | 522 ps->s_txreq->sde = priv->s_sde;
|
/linux-master/drivers/net/fddi/skfp/ |
H A D | smt.c | 74 static void smt_fill_sde(struct s_smc *smc, struct smt_p_sde *sde); 938 smt_fill_sde(smc,&nif->sde) ; /* set station descriptor */ 1030 smt_fill_sde(smc,&sif->sde) ; /* set station descriptor */ 1157 static void smt_fill_sde(struct s_smc *smc, struct smt_p_sde *sde) argument 1159 SMTSETPARA(sde,SMT_P_SDE) ; 1160 sde->sde_non_master = smc->mib.fddiSMTNonMaster_Ct ; 1161 sde->sde_master = smc->mib.fddiSMTMaster_Ct ; 1162 sde->sde_mac_count = NUMMACS ; /* only 1 MAC */ 1164 sde->sde_type = SMT_SDE_CONCENTRATOR ; 1166 sde [all...] |
/linux-master/drivers/net/fddi/skfp/h/ |
H A D | smt.h | 727 struct smt_p_sde sde ; /* station descriptor */ member in struct:smt_nif 740 struct smt_p_sde sde ; /* station descriptor */ member in struct:smt_sif_config
|
/linux-master/arch/mips/include/asm/octeon/ |
H A D | cvmx-pciercx-defs.h | 264 __BITFIELD_FIELD(uint32_t sde:1,
|