| /linux/drivers/infiniband/hw/hfi1/ |
| H A 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() 77 ret = sdma_txadd_kvaddr(sde->dd, &tx->txreq, in build_vnic_ulp_payload() 85 static int build_vnic_tx_desc(struct sdma_engine *sde, in build_vnic_tx_desc() argument 107 sde->dd, in build_vnic_tx_desc() 115 ret = build_vnic_ulp_payload(sde, tx); in build_vnic_tx_desc() 131 struct sdma_engine *sde = vnic_sdma->sde; in hfi1_vnic_send_dma() local 138 if (unlikely(!sde || !sdma_running(sde))) in hfi1_vnic_send_dma() 151 ret = build_vnic_tx_desc(sde, tx, pbc); in hfi1_vnic_send_dma() [all …]
|
| H A D | sdma.h | 390 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 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()
|
| 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 = 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 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 …]
|
| H A D | ipoib_tx.c | 126 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 D | verbs_txreq.h | 23 struct sdma_engine *sde; member 50 tx->sde = priv->s_sde; in get_txreq()
|
| H A D | msix.h | 17 int msix_request_sdma_irq(struct sdma_engine *sde);
|
| H A D | vnic.h | 44 struct sdma_engine *sde; member
|
| H A D | ipoib.h | 111 struct sdma_engine *sde; member
|
| H A 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, sde->dd->sdma_pad_phys, 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()
|
| H A 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()
|
| H A D | iowait.c | 44 int (*sleep)(struct sdma_engine *sde, in iowait_init() argument
|
| H A D | user_sdma.h | 134 struct sdma_engine *sde; member
|
| H A D | chip.c | 6008 struct sdma_engine *sde; in handle_sdma_eng_err() local 6011 sde = &dd->per_sdma[source]; in handle_sdma_eng_err() 6013 dd_dev_err(sde->dd, "CONFIG SDMA(%u) %s:%d %s()\n", sde->this_idx, in handle_sdma_eng_err() 6015 dd_dev_err(sde->dd, "CONFIG SDMA(%u) source: %u status 0x%llx\n", in handle_sdma_eng_err() 6016 sde->this_idx, source, (unsigned long long)status); in handle_sdma_eng_err() 6018 sde->err_cnt++; in handle_sdma_eng_err() 6019 sdma_engine_error(sde, status); in handle_sdma_eng_err() 6038 struct sdma_engine *sde = &dd->per_sdma[source]; in is_sdma_eng_err_int() local 6040 dd_dev_err(dd, "CONFIG SDMA(%u) %s:%d %s()\n", sde->this_idx, in is_sdma_eng_err_int() 6042 dd_dev_err(dd, "CONFIG SDMA(%u) source: %u\n", sde->this_idx, in is_sdma_eng_err_int() [all …]
|
| H A D | uc.c | 229 ps->s_txreq->sde = priv->s_sde; in hfi1_make_uc_req()
|
| H A D | ud.c | 522 ps->s_txreq->sde = priv->s_sde; in hfi1_make_ud_req()
|
| /linux/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 */ 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/arch/arm64/boot/dts/qcom/ |
| H A D | sdm845-shift-axolotl.dts | 607 sde_dsi_active: sde-dsi-active-state { 614 sde_dsi_suspend: sde-dsi-suspend-state { 621 sde_te_active: sde-te-active-state { 628 sde_te_suspend: sde-te-suspend-state {
|
| H A D | sm8550-mtp.dts | 888 sde_dsi_active: sde-dsi-active-state { 895 sde_dsi_suspend: sde-dsi-suspend-state { 902 sde_te_active: sde-te-active-state { 909 sde_te_suspend: sde-te-suspend-state {
|
| H A D | sdm845-sony-xperia-tama.dtsi | 686 sde_dsi_active: sde-dsi-active-state { 693 sde_dsi_sleep: sde-dsi-sleep-state { 708 sde_te_active_sleep: sde-te-active-sleep-state {
|
| H A D | sm8550-qrd.dts | 1153 sde_dsi_active: sde-dsi-active-state { 1160 sde_dsi_suspend: sde-dsi-suspend-state { 1167 sde_te_active: sde-te-active-state { 1174 sde_te_suspend: sde-te-suspend-state {
|
| H A D | sdm845-xiaomi-polaris.dts | 602 sde_dsi_active: sde-dsi-active-state { 609 sde_dsi_suspend: sde-dsi-suspend-state {
|
| /linux/drivers/net/fddi/skfp/h/ |
| H A D | smt.h | 727 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 D | cvmx-pciercx-defs.h | 264 __BITFIELD_FIELD(uint32_t sde:1,
|