/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
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, in write_sde_csr() argument 249 write_kctxt_csr(sde->dd, sde->this_idx, offset0, value); in write_sde_csr() 253 struct sdma_engine *sde, in read_sde_csr() argument 256 return read_kctxt_csr(sde->dd, sde->this_idx, offset0); in read_sde_csr() [all …]
|
D | vnic_sdma.c | 49 static noinline int build_vnic_ulp_payload(struct sdma_engine *sde, in build_vnic_ulp_payload() argument 55 sde->dd, in build_vnic_ulp_payload() 66 ret = sdma_txadd_page(sde->dd, in build_vnic_ulp_payload() 76 ret = sdma_txadd_kvaddr(sde->dd, &tx->txreq, in build_vnic_ulp_payload() 84 static int build_vnic_tx_desc(struct sdma_engine *sde, in build_vnic_tx_desc() argument 106 sde->dd, in build_vnic_tx_desc() 114 ret = build_vnic_ulp_payload(sde, tx); in build_vnic_tx_desc() 130 struct sdma_engine *sde = vnic_sdma->sde; in hfi1_vnic_send_dma() local 137 if (unlikely(!sde || !sdma_running(sde))) in hfi1_vnic_send_dma() 150 ret = build_vnic_tx_desc(sde, tx, pbc); in hfi1_vnic_send_dma() [all …]
|
D | sdma.h | 391 static inline int sdma_empty(struct sdma_engine *sde) in sdma_empty() argument 393 return sde->descq_tail == sde->descq_head; in sdma_empty() 396 static inline u16 sdma_descq_freecnt(struct sdma_engine *sde) in sdma_descq_freecnt() argument 398 return sde->descq_cnt - in sdma_descq_freecnt() 399 (sde->descq_tail - in sdma_descq_freecnt() 400 READ_ONCE(sde->descq_head)) - 1; in sdma_descq_freecnt() 403 static inline u16 sdma_descq_inprocess(struct sdma_engine *sde) in sdma_descq_inprocess() argument 405 return sde->descq_cnt - sdma_descq_freecnt(sde); in sdma_descq_inprocess() 805 int sdma_send_txreq(struct sdma_engine *sde, 809 int sdma_send_txlist(struct sdma_engine *sde, [all …]
|
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->this_idx; [all …]
|
D | msix.c | 185 int msix_request_sdma_irq(struct sdma_engine *sde) in msix_request_sdma_irq() argument 191 sde->dd->unit, sde->this_idx); in msix_request_sdma_irq() 192 nr = msix_request_irq(sde->dd, sde, sdma_interrupt, NULL, in msix_request_sdma_irq() 196 sde->msix_intr = nr; in msix_request_sdma_irq() 197 remap_sdma_interrupts(sde->dd, sde->this_idx, nr); in msix_request_sdma_irq() 259 struct sdma_engine *sde = &dd->per_sdma[i]; in msix_request_irqs() local 261 ret = msix_request_sdma_irq(sde); in msix_request_irqs() 264 enable_sdma_srcs(sde->dd, i); in msix_request_irqs()
|
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 = 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 …]
|
D | qp.c | 26 struct sdma_engine *sde, 437 struct sdma_engine *sde, in iowait_sleep() argument 461 write_seqlock(&sde->waitlock); in iowait_sleep() 462 if (sdma_progress(sde, seq, stx)) in iowait_sleep() 472 &sde->dmawait); in iowait_sleep() 473 priv->s_iowait.lock = &sde->waitlock; in iowait_sleep() 477 write_sequnlock(&sde->waitlock); in iowait_sleep() 487 write_sequnlock(&sde->waitlock); in iowait_sleep() 542 struct sdma_engine *sde; in qp_to_sdma_engine() local 552 sde = sdma_select_engine_sc(dd, qp->ibqp.qp_num >> dd->qos_shift, sc5); in qp_to_sdma_engine() [all …]
|
D | ipoib_tx.c | 126 tx->txq->sde->this_idx); in hfi1_ipoib_free_tx() 388 txq->sde = in hfi1_ipoib_send_dma_common() 409 ret = sdma_send_txlist(txq->sde, in hfi1_ipoib_submit_tx_list() 443 ret = sdma_send_txreq(txq->sde, in hfi1_ipoib_submit_tx() 612 static int hfi1_ipoib_sdma_sleep(struct sdma_engine *sde, in hfi1_ipoib_sdma_sleep() argument 621 write_seqlock(&sde->waitlock); in hfi1_ipoib_sdma_sleep() 624 if (sdma_progress(sde, seq, txreq)) { in hfi1_ipoib_sdma_sleep() 625 write_sequnlock(&sde->waitlock); in hfi1_ipoib_sdma_sleep() 633 struct hfi1_ibport *ibp = &sde->ppd->ibport_data; in hfi1_ipoib_sdma_sleep() 640 iowait_queue(pkts_sent, wait->iow, &sde->dmawait); in hfi1_ipoib_sdma_sleep() [all …]
|
D | verbs_txreq.h | 23 struct sdma_engine *sde; member 50 tx->sde = priv->s_sde; in get_txreq()
|
D | user_sdma.c | 62 struct sdma_engine *sde, 85 struct sdma_engine *sde, in defer_packet_queue() argument 94 write_seqlock(&sde->waitlock); in defer_packet_queue() 95 trace_hfi1_usdma_defer(pq, sde, &pq->busy); in defer_packet_queue() 96 if (sdma_progress(sde, seq, txreq)) in defer_packet_queue() 105 pq->busy.lock = &sde->waitlock; in defer_packet_queue() 107 iowait_queue(pkts_sent, &pq->busy, &sde->dmawait); in defer_packet_queue() 109 write_sequnlock(&sde->waitlock); in defer_packet_queue() 112 write_sequnlock(&sde->waitlock); in defer_packet_queue() 538 req->sde = sdma_select_user_engine(dd, selector, vl); in hfi1_user_sdma_process_request() [all …]
|
D | affinity.c | 743 struct sdma_engine *sde = msix->arg; in hfi1_update_sdma_affinity() local 744 struct hfi1_devdata *dd = sde->dd; in hfi1_update_sdma_affinity() 749 if (cpu > num_online_cpus() || cpu == sde->cpu) in hfi1_update_sdma_affinity() 757 old_cpu = sde->cpu; in hfi1_update_sdma_affinity() 758 sde->cpu = cpu; in hfi1_update_sdma_affinity() 763 sde->this_idx, cpu); in hfi1_update_sdma_affinity() 841 struct sdma_engine *sde = NULL; in get_irq_affinity() local 853 sde = (struct sdma_engine *)msix->arg; in get_irq_affinity() 854 scnprintf(extra, 64, "engine %u", sde->this_idx); in get_irq_affinity() 904 sde->cpu = cpu; in get_irq_affinity()
|
D | msix.h | 17 int msix_request_sdma_irq(struct sdma_engine *sde);
|
D | iowait.h | 101 struct sdma_engine *sde, 133 int (*sleep)(struct sdma_engine *sde,
|
D | vnic.h | 44 struct sdma_engine *sde; member
|
D | ipoib.h | 111 struct sdma_engine *sde; member
|
D | iowait.c | 44 int (*sleep)(struct sdma_engine *sde, in iowait_init() argument
|
D | vnic_main.c | 284 struct sdma_engine *sde; in hfi1_vnic_select_queue() local 287 sde = sdma_select_engine_vl(vinfo->dd, mdata->entropy, mdata->vl); in hfi1_vnic_select_queue() 288 return sde->this_idx; in hfi1_vnic_select_queue()
|
D | verbs.c | 655 struct sdma_engine *sde, in build_verbs_ulp_payload() argument 670 sde->dd, in build_verbs_ulp_payload() 719 struct sdma_engine *sde, in build_verbs_tx_desc() argument 753 sde->dd, in build_verbs_tx_desc() 774 ret = build_verbs_ulp_payload(sde, length, tx); in build_verbs_tx_desc() 781 ret = sdma_txadd_daddr(sde->dd, &tx->txreq, in build_verbs_tx_desc() 782 sde->dd->sdma_pad_phys, extra_bytes); in build_verbs_tx_desc() 848 ret = build_verbs_tx_desc(tx->sde, len, tx, ahg_info, pbc); in hfi1_verbs_send_dma() 852 ret = sdma_send_txreq(tx->sde, ps->wait, &tx->txreq, ps->pkts_sent); in hfi1_verbs_send_dma()
|
D | user_sdma.h | 145 struct sdma_engine *sde; member
|
D | chip.c | 6007 struct sdma_engine *sde; in handle_sdma_eng_err() local 6010 sde = &dd->per_sdma[source]; in handle_sdma_eng_err() 6012 dd_dev_err(sde->dd, "CONFIG SDMA(%u) %s:%d %s()\n", sde->this_idx, in handle_sdma_eng_err() 6014 dd_dev_err(sde->dd, "CONFIG SDMA(%u) source: %u status 0x%llx\n", in handle_sdma_eng_err() 6015 sde->this_idx, source, (unsigned long long)status); in handle_sdma_eng_err() 6017 sde->err_cnt++; in handle_sdma_eng_err() 6018 sdma_engine_error(sde, status); in handle_sdma_eng_err() 6037 struct sdma_engine *sde = &dd->per_sdma[source]; in is_sdma_eng_err_int() local 6039 dd_dev_err(dd, "CONFIG SDMA(%u) %s:%d %s()\n", sde->this_idx, in is_sdma_eng_err_int() 6041 dd_dev_err(dd, "CONFIG SDMA(%u) source: %u\n", sde->this_idx, in is_sdma_eng_err_int() [all …]
|
/linux-6.1.9/drivers/net/fddi/skfp/ |
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 */ 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-6.1.9/arch/arm64/boot/dts/qcom/ |
D | sdm845-shift-axolotl.dts | 586 sde_dsi_active: sde-dsi-active { 599 sde_dsi_suspend: sde-dsi-suspend { 612 sde_te_active: sde-te-active { 625 sde_te_suspend: sde-te-suspend {
|
D | sdm845-xiaomi-polaris.dts | 616 sde_dsi_active: sde-dsi-active { 623 sde_dsi_suspend: sde-dsi-suspend {
|
/linux-6.1.9/drivers/net/fddi/skfp/h/ |
D | smt.h | 727 struct smt_p_sde sde ; /* station descriptor */ member 740 struct smt_p_sde sde ; /* station descriptor */ member
|
/linux-6.1.9/arch/mips/include/asm/octeon/ |
D | cvmx-pciercx-defs.h | 264 __BITFIELD_FIELD(uint32_t sde:1,
|