18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * ssip_slave.h 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * SSIP slave support header file 68c2ecf20Sopenharmony_ci * 78c2ecf20Sopenharmony_ci * Copyright (C) 2010 Nokia Corporation. All rights reserved. 88c2ecf20Sopenharmony_ci * 98c2ecf20Sopenharmony_ci * Contact: Carlos Chinea <carlos.chinea@nokia.com> 108c2ecf20Sopenharmony_ci */ 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci#ifndef __LINUX_SSIP_SLAVE_H__ 138c2ecf20Sopenharmony_ci#define __LINUX_SSIP_SLAVE_H__ 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci#include <linux/hsi/hsi.h> 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_cistatic inline void ssip_slave_put_master(struct hsi_client *master) 188c2ecf20Sopenharmony_ci{ 198c2ecf20Sopenharmony_ci} 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_cistruct hsi_client *ssip_slave_get_master(struct hsi_client *slave); 228c2ecf20Sopenharmony_ciint ssip_slave_start_tx(struct hsi_client *master); 238c2ecf20Sopenharmony_ciint ssip_slave_stop_tx(struct hsi_client *master); 248c2ecf20Sopenharmony_civoid ssip_reset_event(struct hsi_client *master); 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ciint ssip_slave_running(struct hsi_client *master); 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci#endif /* __LINUX_SSIP_SLAVE_H__ */ 298c2ecf20Sopenharmony_ci 30