Home
last modified time | relevance | path

Searched full:npu (Results 1 – 25 of 56) sorted by relevance

123

/linux/include/linux/soc/airoha/
H A Dairoha_offload.h172 struct airoha_npu *npu; member
173 /* protect concurrent npu memory accesses */
183 int (*ppe_init)(struct airoha_npu *npu);
184 int (*ppe_deinit)(struct airoha_npu *npu);
185 int (*ppe_init_stats)(struct airoha_npu *npu,
187 int (*ppe_flush_sram_entries)(struct airoha_npu *npu,
190 int (*ppe_foe_commit_entry)(struct airoha_npu *npu,
194 int (*wlan_init_reserved_memory)(struct airoha_npu *npu);
195 int (*wlan_send_msg)(struct airoha_npu *npu, int ifindex,
198 int (*wlan_get_msg)(struct airoha_npu *npu, int ifindex,
[all …]
/linux/include/linux/
H A Damd-pmf-io.h70 * struct amd_pmf_npu_metrics: Get NPU metrics data from PMF driver
71 * @npuclk_freq: NPU clock frequency [MHz]
72 * @npu_busy: NPU busy % [0-100]
73 * @npu_power: NPU power [mW]
75 * @npu_reads: NPU read bandwidth [MB/sec]
76 * @npu_writes: NPU write bandwidth [MB/sec]
77 * @npu_temp: NPU temperature [C]
91 /* AMD PMF and NPU interface */
/linux/drivers/net/wireless/mediatek/mt76/
H A Ddma.h63 struct airoha_npu *npu; in mt76_dma_handle_read() local
67 npu = rcu_dereference(q->dev->mmio.npu); in mt76_dma_handle_read()
68 if (npu) in mt76_dma_handle_read()
69 regmap_read(npu->regmap, q->wed_regs + offset, val); in mt76_dma_handle_read()
91 struct airoha_npu *npu; in mt76_dma_handle_write() local
94 npu = rcu_dereference(q->dev->mmio.npu); in mt76_dma_handle_write()
95 if (npu) in mt76_dma_handle_write()
96 regmap_write(npu->regmap, q->wed_regs + offset, val); in mt76_dma_handle_write()
H A DMakefile18 mt76-y += npu.o
/linux/drivers/net/ethernet/airoha/
H A Dairoha_ppe.c613 struct airoha_npu *npu, in airoha_ppe_foe_flow_stat_entry_reset() argument
616 memset_io(&npu->stats[index], 0, sizeof(*npu->stats)); in airoha_ppe_foe_flow_stat_entry_reset()
621 struct airoha_npu *npu) in airoha_ppe_foe_flow_stats_reset() argument
630 airoha_ppe_foe_flow_stat_entry_reset(ppe, npu, i); in airoha_ppe_foe_flow_stats_reset()
634 struct airoha_npu *npu, in airoha_ppe_foe_flow_stats_update() argument
671 airoha_ppe_foe_flow_stat_entry_reset(ppe, npu, index); in airoha_ppe_foe_flow_stats_update()
778 struct airoha_npu *npu; in airoha_ppe_foe_commit_entry() local
790 npu = rcu_dereference(eth->npu); in airoha_ppe_foe_commit_entry()
791 if (!npu) { in airoha_ppe_foe_commit_entry()
797 airoha_ppe_foe_flow_stats_update(ppe, npu, hwe, hash); in airoha_ppe_foe_commit_entry()
[all …]
/linux/drivers/accel/amdxdna/
H A DKconfig14 Choose this option to enable support for NPU integrated into AMD
15 client CPUs like AMD Ryzen AI 300 Series. AMD NPU can be used to
H A Damdxdna_pci_drv.c24 MODULE_FIRMWARE("amdnpu/1502_00/npu.sbin");
25 MODULE_FIRMWARE("amdnpu/17f0_10/npu.sbin");
26 MODULE_FIRMWARE("amdnpu/17f0_11/npu.sbin");
27 MODULE_FIRMWARE("amdnpu/17f0_20/npu.sbin");
/linux/Documentation/accel/amdxdna/
H A Dindex.rst4 accel/amdxdna NPU driver
7 The accel/amdxdna driver supports the AMD NPU (Neural Processing Unit).
/linux/arch/arm64/boot/dts/airoha/
H A Den7581.dtsi18 npu-binary@84000000 {
23 npu-flag@84b0000 {
28 npu-pkt@85000000 {
33 npu-phyaddr@86b00000 {
38 npu-rxdesc@86d00000 {
/linux/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/
H A Dsmu15_driver_if_v15_0_0.h204 uint16_t NpuBusy[8]; //Time filtered NPU per-column busy % [0-100]
208 uint16_t NpuPower; //Time filtered NPU power [mW]
218 uint16_t NpuReads; //Time filtered NPU read bandwidth [MB/sec]
219 uint16_t NpuWrites; //Time filtered NPU write bandwidth [MB/sec]
/linux/drivers/accel/ivpu/
H A Divpu_fw_log.c23 "NPU firmware default log level: debug=" __stringify(IVPU_FW_LOG_DEBUG)
146 fw_log_print_all_in_bo(vdev, "NPU critical", vdev->fw->mem_log_crit, only_new_msgs, p); in ivpu_fw_log_print()
147 fw_log_print_all_in_bo(vdev, "NPU verbose", vdev->fw->mem_log_verb, only_new_msgs, p); in ivpu_fw_log_print()
/linux/tools/perf/pmu-events/arch/arm64/freescale/imx8mp/sys/
H A Dmetrics.json259 "BriefDescription": "bytes of npu read from ddr",
260 "MetricName": "imx8mp_ddr_read.npu",
267 "BriefDescription": "bytes of npu write to ddr",
268 "MetricName": "imx8mp_ddr_write.npu",
/linux/drivers/accel/ethosu/
H A DKconfig4 tristate "Arm Ethos-U65/U85 NPU"
/linux/drivers/pmdomain/thead/
H A DKconfig11 which can be managed independently. For example GPU, NPU,
/linux/drivers/pmdomain/sunxi/
H A Dsun20i-ppu.c187 "NPU",
198 "NPU",
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A DKconfig17 bool "MT7996 (PCIe) NPU support"
H A Dmmio.c727 struct airoha_npu *npu; in mt7996_rx_poll_complete() local
729 npu = rcu_dereference(mdev->mmio.npu); in mt7996_rx_poll_complete()
730 if (npu) in mt7996_rx_poll_complete()
731 airoha_npu_wlan_enable_irq(npu, q - MT_RXQ_NPU0); in mt7996_rx_poll_complete()
/linux/drivers/accel/rocket/
H A Drocket_job.c37 return "rockchip-npu"; in rocket_fence_get_timeline_name()
307 * we were resetting the NPU. in rocket_job_run()
390 /* NPU has been reset, we can clear the reset pending bit. */ in rocket_reset()
403 dev_err(core->dev, "NPU job timed out"); in rocket_job_timedout()
/linux/drivers/misc/ocxl/
H A Dlink.c66 * time. The NPU won't raise another interrupt until the
650 * before we clear the NPU context cache below, so that the in ocxl_link_update_pe()
658 * cache of the NPU. in ocxl_link_update_pe()
712 * before we clear the NPU context cache below, so that the in ocxl_link_remove_pe()
720 * cache of the NPU. in ocxl_link_remove_pe()
/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-g12b-a311d-bananapi-m2s.dts35 &npu {
H A Dmeson-g12b-a311d-khadas-vim3.dts43 &npu {
/linux/arch/powerpc/platforms/powernv/
H A Docxl.c10 /* PASIDs are 20-bit, but on P9, NPU can only handle 15 bits */
43 * for a (BDF, pasid) combination. When it receives a command, the NPU
286 * on the device. The NPU needs to be configured to know how in pnv_ocxl_get_pasid_count()
329 * The TL capabilities are a characteristic of the NPU, so in pnv_ocxl_get_tl_cap()
H A Dopal-hmi.c150 printk("%s NPU checkstop on chip %x\n", level, in print_npu_checkstop_reason()
170 printk("%s NPU checkstop on chip %x: FIR%d bit %d is set\n", in print_npu_checkstop_reason()
/linux/drivers/platform/x86/amd/pmf/
H A Dmetrics.c270 /* Send SMU command to get NPU metrics */ in amd_pmf_get_smu_metrics()
273 dev_err(dev->dev, "SMU command failed to get NPU metrics: %d\n", ret); in amd_pmf_get_smu_metrics()
/linux/Documentation/devicetree/bindings/interconnect/
H A Dqcom,sm6350-rpmh.yaml24 - qcom,sm6350-npu-noc

123