blob: 37ea64bb292048250ab7f1319137037c2635e5ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright (C) 2023-2026 Intel Corporation */
#ifndef _ISSEI_HAM_H_
#define _ISSEI_HAM_H_
#include <linux/types.h>
struct issei_device;
int issei_ham_send_start_req(struct issei_device *idev);
int issei_ham_send_clients_req(struct issei_device *idev);
static inline bool issei_is_ham_rsp(u16 fw_id, u16 host_id)
{
return fw_id == 0 && host_id == 0;
}
int issei_ham_process_ham_rsp(struct issei_device *idev, const u8 *buf, size_t length);
#endif /* _ISSEI_HAM_H_ */
|