vas.h (8f3a6c92802b7c48043954ba3b507e9b33d8c898) | vas.h (b22f2d88e435cdada32581ca1f11b9806adf459a) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * Copyright 2016-17 IBM Corp. 4 */ 5 6#ifndef _ASM_POWERPC_VAS_H 7#define _ASM_POWERPC_VAS_H 8#include <linux/sched/mm.h> --- 240 unchanged lines hidden (view full) --- 249 __be64 feat_type; 250} __packed __aligned(0x1000); 251 252struct vas_all_caps { 253 u64 descriptor; 254 u64 feat_type; 255}; 256 | 1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * Copyright 2016-17 IBM Corp. 4 */ 5 6#ifndef _ASM_POWERPC_VAS_H 7#define _ASM_POWERPC_VAS_H 8#include <linux/sched/mm.h> --- 240 unchanged lines hidden (view full) --- 249 __be64 feat_type; 250} __packed __aligned(0x1000); 251 252struct vas_all_caps { 253 u64 descriptor; 254 u64 feat_type; 255}; 256 |
257int h_query_vas_capabilities(const u64 hcall, u8 query_type, u64 result); 258int vas_register_api_pseries(struct module *mod, 259 enum vas_cop_type cop_type, const char *name); 260void vas_unregister_api_pseries(void); |
|
257#endif 258 259/* 260 * Register / unregister coprocessor type to VAS API which will be exported 261 * to user space. Applications can use this API to open / close window 262 * which can be used to send / receive requests directly to cooprcessor. 263 * 264 * Only NX GZIP coprocessor type is supported now, but this API can be --- 12 unchanged lines hidden --- | 261#endif 262 263/* 264 * Register / unregister coprocessor type to VAS API which will be exported 265 * to user space. Applications can use this API to open / close window 266 * which can be used to send / receive requests directly to cooprcessor. 267 * 268 * Only NX GZIP coprocessor type is supported now, but this API can be --- 12 unchanged lines hidden --- |