Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9d7d0a52 authored by Menon, Nishanth's avatar Menon, Nishanth Committed by Greg Kroah-Hartman
Browse files

staging: tidspbridge: remove IN modifier



IN modifier does not exist. remove it

Signed-off-by: default avatarNishanth Menon <nm@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent cd4f13c0
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -30,27 +30,27 @@ extern struct mailbox_context mboxsetting;
 * Wakes up the DSP from DeepSleep
 */
extern int wake_dsp(struct bridge_dev_context *dev_context,
							IN void *pargs);
							void *pargs);

/*
 * ======== sleep_dsp =========
 * Places the DSP in DeepSleep.
 */
extern int sleep_dsp(struct bridge_dev_context *dev_context,
			    IN u32 dw_cmd, IN void *pargs);
			    u32 dw_cmd, void *pargs);
/*
 *  ========interrupt_dsp========
 *  	  Sends an interrupt to DSP unconditionally.
 */
extern void interrupt_dsp(struct bridge_dev_context *dev_context,
							IN u16 mb_val);
							u16 mb_val);

/*
 * ======== wake_dsp =========
 * Wakes up the DSP from DeepSleep
 */
extern int dsp_peripheral_clk_ctrl(struct bridge_dev_context
					*dev_context, IN void *pargs);
					*dev_context, void *pargs);
/*
 *  ======== handle_hibernation_from_dsp ========
 *  	Handle Hibernation requested from DSP
@@ -61,19 +61,19 @@ int handle_hibernation_from_dsp(struct bridge_dev_context *dev_context);
 *  	Handle Post Scale notification to DSP
 */
int post_scale_dsp(struct bridge_dev_context *dev_context,
							IN void *pargs);
							void *pargs);
/*
 *  ======== pre_scale_dsp ========
 *  	Handle Pre Scale notification to DSP
 */
int pre_scale_dsp(struct bridge_dev_context *dev_context,
							IN void *pargs);
							void *pargs);
/*
 *  ======== handle_constraints_set ========
 *  	Handle constraints request from DSP
 */
int handle_constraints_set(struct bridge_dev_context *dev_context,
				  IN void *pargs);
				  void *pargs);

/*
 *  ======== dsp_clk_wakeup_event_ctrl ========
+2 −2
Original line number Diff line number Diff line
@@ -383,7 +383,7 @@ func_cont:
 */
int bridge_chnl_create(OUT struct chnl_mgr **channel_mgr,
			      struct dev_object *hdev_obj,
			      IN const struct chnl_mgrattrs *mgr_attrts)
			      const struct chnl_mgrattrs *mgr_attrts)
{
	int status = 0;
	struct chnl_mgr *chnl_mgr_obj = NULL;
@@ -777,7 +777,7 @@ int bridge_chnl_idle(struct chnl_object *chnl_obj, u32 timeout,
 */
int bridge_chnl_open(OUT struct chnl_object **chnl,
			    struct chnl_mgr *hchnl_mgr, s8 chnl_mode,
			    u32 ch_id, const IN struct chnl_attr *pattrs)
			    u32 ch_id, const struct chnl_attr *pattrs)
{
	int status = 0;
	struct chnl_mgr *chnl_mgr_obj = hchnl_mgr;
+2 −2
Original line number Diff line number Diff line
@@ -239,7 +239,7 @@ void dsp_gpt_wait_overflow(short int clk_id, unsigned int load)
 *      Enable Clock .
 *
 */
int dsp_clk_enable(IN enum dsp_clk_id clk_id)
int dsp_clk_enable(enum dsp_clk_id clk_id)
{
	int status = 0;

@@ -317,7 +317,7 @@ u32 dsp_clock_enable_all(u32 dsp_per_clocks)
 *      Disable the clock.
 *
 */
int dsp_clk_disable(IN enum dsp_clk_id clk_id)
int dsp_clk_disable(enum dsp_clk_id clk_id)
{
	int status = 0;

+10 −10
Original line number Diff line number Diff line
@@ -132,9 +132,9 @@ struct io_mgr {
};

/* Function Prototypes */
static void io_dispatch_chnl(IN struct io_mgr *pio_mgr,
				IN OUT struct chnl_object *pchnl, u8 io_mode);
static void io_dispatch_msg(IN struct io_mgr *pio_mgr,
static void io_dispatch_chnl(struct io_mgr *pio_mgr,
				OUT struct chnl_object *pchnl, u8 io_mode);
static void io_dispatch_msg(struct io_mgr *pio_mgr,
			    struct msg_mgr *hmsg_mgr);
static void io_dispatch_pm(struct io_mgr *pio_mgr);
static void notify_chnl_complete(struct chnl_object *pchnl,
@@ -163,7 +163,7 @@ static int register_shm_segs(struct io_mgr *hio_mgr,
 */
int bridge_io_create(OUT struct io_mgr **io_man,
			    struct dev_object *hdev_obj,
			    IN const struct io_attrs *mgr_attrts)
			    const struct io_attrs *mgr_attrts)
{
	int status = 0;
	struct io_mgr *pio_mgr = NULL;
@@ -838,8 +838,8 @@ func_end:
 *  ======== io_dispatch_chnl ========
 *      Proc-copy chanl dispatch.
 */
static void io_dispatch_chnl(IN struct io_mgr *pio_mgr,
				IN OUT struct chnl_object *pchnl, u8 io_mode)
static void io_dispatch_chnl(struct io_mgr *pio_mgr,
				OUT struct chnl_object *pchnl, u8 io_mode)
{
	if (!pio_mgr)
		goto func_end;
@@ -859,7 +859,7 @@ func_end:
 *  ======== io_dispatch_msg ========
 *      Performs I/O dispatch on message queues.
 */
static void io_dispatch_msg(IN struct io_mgr *pio_mgr, struct msg_mgr *hmsg_mgr)
static void io_dispatch_msg(struct io_mgr *pio_mgr, struct msg_mgr *hmsg_mgr)
{
	if (!pio_mgr)
		goto func_end;
@@ -919,7 +919,7 @@ static void io_dispatch_pm(struct io_mgr *pio_mgr)
 *      out the dispatch of I/O as a non-preemptible event.It can only be
 *      pre-empted      by an ISR.
 */
void io_dpc(IN OUT unsigned long ref_data)
void io_dpc(OUT unsigned long ref_data)
{
	struct io_mgr *pio_mgr = (struct io_mgr *)ref_data;
	struct chnl_mgr *chnl_mgr_obj;
@@ -1720,7 +1720,7 @@ static u32 write_data(struct bridge_dev_context *dev_ctxt, void *dest,
}

/* ZCPY IO routines. */
void io_intr_dsp2(IN struct io_mgr *pio_mgr, IN u16 mb_val)
void io_intr_dsp2(struct io_mgr *pio_mgr, u16 mb_val)
{
	sm_interrupt_dsp(pio_mgr->hbridge_context, mb_val);
}
@@ -1792,7 +1792,7 @@ int io_sh_msetting(struct io_mgr *hio_mgr, u8 desc, void *pargs)
 *  ======== bridge_io_get_proc_load ========
 *      Gets the Processor's Load information
 */
int bridge_io_get_proc_load(IN struct io_mgr *hio_mgr,
int bridge_io_get_proc_load(struct io_mgr *hio_mgr,
				OUT struct dsp_procloadstat *proc_lstat)
{
	proc_lstat->curr_load =
+1 −1
Original line number Diff line number Diff line
@@ -383,7 +383,7 @@ func_end:
 *      Put a message onto a msg_ctrl queue.
 */
int bridge_msg_put(struct msg_queue *msg_queue_obj,
			  IN const struct dsp_msg *pmsg, u32 utimeout)
			  const struct dsp_msg *pmsg, u32 utimeout)
{
	struct msg_frame *msg_frame_obj;
	struct msg_mgr *hmsg_mgr;
Loading