Home
last modified time | relevance | path

Searched full:ppe (Results 1 – 25 of 132) sorted by relevance

123456

/kernel/linux/linux-6.6/drivers/net/ethernet/mediatek/
Dmtk_ppe.c26 static void ppe_w32(struct mtk_ppe *ppe, u32 reg, u32 val) in ppe_w32() argument
28 writel(val, ppe->base + reg); in ppe_w32()
31 static u32 ppe_r32(struct mtk_ppe *ppe, u32 reg) in ppe_r32() argument
33 return readl(ppe->base + reg); in ppe_r32()
36 static u32 ppe_m32(struct mtk_ppe *ppe, u32 reg, u32 mask, u32 set) in ppe_m32() argument
40 val = ppe_r32(ppe, reg); in ppe_m32()
43 ppe_w32(ppe, reg, val); in ppe_m32()
48 static u32 ppe_set(struct mtk_ppe *ppe, u32 reg, u32 val) in ppe_set() argument
50 return ppe_m32(ppe, reg, 0, val); in ppe_set()
53 static u32 ppe_clear(struct mtk_ppe *ppe, u32 reg, u32 val) in ppe_clear() argument
[all …]
Dmtk_ppe.h349 void mtk_ppe_start(struct mtk_ppe *ppe);
350 int mtk_ppe_stop(struct mtk_ppe *ppe);
351 int mtk_ppe_prepare_reset(struct mtk_ppe *ppe);
353 void __mtk_ppe_check_skb(struct mtk_ppe *ppe, struct sk_buff *skb, u16 hash);
356 mtk_ppe_check_skb(struct mtk_ppe *ppe, struct sk_buff *skb, u16 hash) in mtk_ppe_check_skb() argument
360 if (!ppe) in mtk_ppe_check_skb()
367 diff = now - ppe->foe_check_time[hash]; in mtk_ppe_check_skb()
371 ppe->foe_check_time[hash] = now; in mtk_ppe_check_skb()
372 __mtk_ppe_check_skb(ppe, skb, hash); in mtk_ppe_check_skb()
398 int mtk_foe_entry_commit(struct mtk_ppe *ppe, struct mtk_flow_entry *entry);
[all …]
Dmtk_ppe_debugfs.c78 struct mtk_ppe *ppe = m->private; in mtk_ppe_debugfs_foe_show() local
82 struct mtk_foe_entry *entry = mtk_foe_get_entry(ppe, i); in mtk_ppe_debugfs_foe_show()
99 acct = mtk_foe_entry_get_mib(ppe, i, NULL); in mtk_ppe_debugfs_foe_show()
101 type = mtk_get_ib1_pkt_type(ppe->eth, entry->ib1); in mtk_ppe_debugfs_foe_show()
183 int mtk_ppe_debugfs_init(struct mtk_ppe *ppe, int index) in mtk_ppe_debugfs_init() argument
187 snprintf(ppe->dirname, sizeof(ppe->dirname), "ppe%d", index); in mtk_ppe_debugfs_init()
189 root = debugfs_create_dir(ppe->dirname, NULL); in mtk_ppe_debugfs_init()
190 debugfs_create_file("entries", S_IRUGO, root, ppe, &mtk_ppe_debugfs_foe_all_fops); in mtk_ppe_debugfs_init()
191 debugfs_create_file("bind", S_IRUGO, root, ppe, &mtk_ppe_debugfs_foe_bind_fops); in mtk_ppe_debugfs_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_ppe.c67 * hns_ppe_common_get_cfg - get ppe common config
145 * hns_ppe_checksum_hw - set ppe checksum caculate
146 * @ppe_cb: ppe device
164 * hns_ppe_set_qid - set ppe qid
165 * @ppe_common: ppe common device
182 * @ppe_cb: ppe device
192 * hns_ppe_common_init_hw - init ppe common device
193 * @ppe_common: ppe common device
243 "get ppe queue mode failed! dsaf_mode=%d\n", in hns_ppe_common_init_hw()
256 /*clr ppe exception irq*/
[all …]
Dhns_dsaf_ppe.h74 struct hns_ppe_cb *next; /* pointer to next ppe device */
78 u8 index; /* index in a ppe common device */
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_ppe.c64 * hns_ppe_common_get_cfg - get ppe common config
142 * hns_ppe_checksum_hw - set ppe checksum caculate
143 * @ppe_cb: ppe device
161 * hns_ppe_set_qid - set ppe qid
162 * @ppe_common: ppe common device
179 * @ppe_cb: ppe device
189 * hns_ppe_common_init_hw - init ppe common device
190 * @ppe_common: ppe common device
240 "get ppe queue mode failed! dsaf_mode=%d\n", in hns_ppe_common_init_hw()
253 /*clr ppe exception irq*/
[all …]
Dhns_dsaf_ppe.h74 struct hns_ppe_cb *next; /* pointer to next ppe device */
78 u8 index; /* index in a ppe common device */
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/
Dhisilicon-hip04-net.txt10 phandle, specifies a reference to the syscon ppe node
22 * Ethernet ppe node:
28 - compatible: "hisilicon,hip04-ppe", "syscon".
60 ppe: ppe@28c0000 {
61 compatible = "hisilicon,hip04-ppe", "syscon";
70 port-handle = <&ppe 31 0 31>;
78 port-handle = <&ppe 0 1 0>;
87 port-handle = <&ppe 8 2 8>;
Dhisilicon-hns-dsaf.txt20 The third region is the PPE register base and size.
23 - reg-names: may be ppe-base and(or) dsaf-base. It is used to find the
64 reg-names = "ppe-base", "dsaf-base";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dhisilicon-hip04-net.txt10 phandle, specifies a reference to the syscon ppe node
22 * Ethernet ppe node:
28 - compatible: "hisilicon,hip04-ppe", "syscon".
60 ppe: ppe@28c0000 {
61 compatible = "hisilicon,hip04-ppe", "syscon";
70 port-handle = <&ppe 31 0 31>;
78 port-handle = <&ppe 0 1 0>;
87 port-handle = <&ppe 8 2 8>;
Dhisilicon-hns-dsaf.txt20 The third region is the PPE register base and size.
23 - reg-names: may be ppe-base and(or) dsaf-base. It is used to find the
64 reg-names = "ppe-base", "dsaf-base";
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/fw/api/
Dmac.h412 * enum iwl_he_pkt_ext_constellations - PPE constellation indices
439 * The required PPE is set via HE Capabilities IE, per Nss x BW x MCS
446 * QAM_tx < QAM_th1 --> PPE=0us
447 * QAM_th1 <= QAM_tx < QAM_th2 --> PPE=8us
448 * QAM_th2 <= QAM_tx --> PPE=16us
451 * For rates below the low_th, no need for PPE
452 * For rates between low_th and high_th, need 8us PPE
453 * For rates equal or higher then the high_th, need 16us PPE
463 * The required PPE is set via HE Capabilities IE, per Nss x BW x MCS
470 * QAM_tx < QAM_th1 --> PPE=0us
[all …]
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/
Dcbe_thermal.c187 /* shows the temperature of the DTS on the PPE,
195 /* shows the temperature of the second DTS on the PPE */
272 static DEVICE_PREFIX_ATTR(ppe, throttle_end, 0600);
273 static DEVICE_PREFIX_ATTR(ppe, throttle_begin, 0600);
274 static DEVICE_PREFIX_ATTR(ppe, throttle_full_stop, 0600);
305 /* ppe in init_default_values()
309 tpr.ppe = 0x1F0803; in init_default_values()
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/
Dcbe_thermal.c188 /* shows the temperature of the DTS on the PPE,
196 /* shows the temperature of the second DTS on the PPE */
273 static DEVICE_PREFIX_ATTR(ppe, throttle_end, 0600);
274 static DEVICE_PREFIX_ATTR(ppe, throttle_begin, 0600);
275 static DEVICE_PREFIX_ATTR(ppe, throttle_full_stop, 0600);
306 /* ppe in init_default_values()
310 tpr.ppe = 0x1F0803; in init_default_values()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/
Dmac.h443 * enum iwl_he_pkt_ext_constellations - PPE constellation indices
469 * The required PPE is set via HE Capabilities IE, per Nss x BW x MCS
476 * QAM_tx < QAM_th1 --> PPE=0us
477 * QAM_th1 <= QAM_tx < QAM_th2 --> PPE=8us
478 * QAM_th2 <= QAM_tx --> PPE=16us
481 * For rates below the low_th, no need for PPE
482 * For rates between low_th and high_th, need 8us PPE
483 * For rates equal or higher then the high_th, need 16us PPE
569 * @pkt_ext: optional, exists according to PPE-present bit in the HE-PHY capa
597 /* The below fields are set via PPE thresholds element */
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/tegra-vde/
Dvde.h31 void __iomem *ppe; member
86 if (vde->ppe == base) in tegra_vde_reg_base_name()
87 return "PPE"; in tegra_vde_reg_base_name()
/kernel/linux/linux-6.6/drivers/ata/
Dpata_sch.c34 PPE = (1 << 30), /* Prefetch/Post Enable */ enumerator
106 data &= ~(PM | PPE); in sch_set_piomode()
108 /* enable PPE for block device */ in sch_set_piomode()
110 data |= PPE; in sch_set_piomode()
Dpata_oldpiix.c92 control |= 4; /* PPE */ in oldpiix_set_piomode()
97 * Set PPE, IE and TIME as appropriate. in oldpiix_set_piomode()
141 * IORDY unconditionally along with TIME1. PPE has already in oldpiix_set_dmamode()
155 /* Intel specifies that the PPE functionality is for disk only */ in oldpiix_set_dmamode()
157 control |= 4; /* PPE enable */ in oldpiix_set_dmamode()
/kernel/linux/linux-5.10/drivers/ata/
Dpata_sch.c34 PPE = (1 << 30), /* Prefetch/Post Enable */ enumerator
106 data &= ~(PM | PPE); in sch_set_piomode()
108 /* enable PPE for block device */ in sch_set_piomode()
110 data |= PPE; in sch_set_piomode()
Dpata_oldpiix.c92 control |= 4; /* PPE */ in oldpiix_set_piomode()
97 * Set PPE, IE and TIME as appropriate. in oldpiix_set_piomode()
141 * IORDY unconditionally along with TIME1. PPE has already in oldpiix_set_dmamode()
155 /* Intel specifies that the PPE functionality is for disk only */ in oldpiix_set_dmamode()
157 control |= 4; /* PPE enable */ in oldpiix_set_dmamode()
/kernel/linux/linux-6.6/block/partitions/
Daix.c50 struct ppe { struct
64 struct ppe ppe[1016]; argument
232 struct ppe *p = pvd->ppe + i; in aix_partition()
/kernel/linux/linux-5.10/block/partitions/
Daix.c50 struct ppe { struct
64 struct ppe ppe[1016]; member
248 struct ppe *p = pvd->ppe + i; in aix_partition()
/kernel/linux/linux-6.6/drivers/media/platform/nvidia/tegra-vde/
Dvde.h99 void __iomem *ppe; member
218 if (vde->ppe == base) in tegra_vde_reg_base_name()
219 return "PPE"; in tegra_vde_reg_base_name()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/
Dnvidia,tegra-vde.txt15 - ppe
53 reg-names = "sxe", "bsev", "mbe", "ppe", "mce",
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/media/
Dnvidia,tegra-vde.yaml36 - const: ppe
106 reg-names = "sxe", "bsev", "mbe", "ppe", "mce",

123456