Contributors: 11
Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
Jani Nikula |
41 |
27.89% |
4 |
21.05% |
Dale B Stimson |
28 |
19.05% |
1 |
5.26% |
Imre Deak |
26 |
17.69% |
3 |
15.79% |
Chris Wilson |
24 |
16.33% |
4 |
21.05% |
Ashutosh Dixit |
15 |
10.20% |
1 |
5.26% |
Ville Syrjälä |
4 |
2.72% |
1 |
5.26% |
Matt Roper |
3 |
2.04% |
1 |
5.26% |
Badal Nilawar |
2 |
1.36% |
1 |
5.26% |
Clint Taylor |
2 |
1.36% |
1 |
5.26% |
Sean Paul |
1 |
0.68% |
1 |
5.26% |
Tom O'Rourke |
1 |
0.68% |
1 |
5.26% |
Total |
147 |
|
19 |
|
/* SPDX-License-Identifier: MIT */
/*
* Copyright © 2013-2021 Intel Corporation
*/
#ifndef _INTEL_PCODE_H_
#define _INTEL_PCODE_H_
#include <linux/types.h>
struct intel_uncore;
int snb_pcode_read(struct intel_uncore *uncore, u32 mbox, u32 *val, u32 *val1);
int snb_pcode_write_timeout(struct intel_uncore *uncore, u32 mbox, u32 val,
int fast_timeout_us, int slow_timeout_ms);
#define snb_pcode_write(uncore, mbox, val) \
snb_pcode_write_timeout(uncore, mbox, val, 500, 0)
int skl_pcode_request(struct intel_uncore *uncore, u32 mbox, u32 request,
u32 reply_mask, u32 reply, int timeout_base_ms);
int intel_pcode_init(struct intel_uncore *uncore);
/*
* Helpers for dGfx PCODE mailbox command formatting
*/
int snb_pcode_read_p(struct intel_uncore *uncore, u32 mbcmd, u32 p1, u32 p2, u32 *val);
int snb_pcode_write_p(struct intel_uncore *uncore, u32 mbcmd, u32 p1, u32 p2, u32 val);
#endif /* _INTEL_PCODE_H */