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

Commit 126eb088 authored by Chris Metcalf's avatar Chris Metcalf
Browse files

tile: improve gxio iorpc autogenerated code style



Fix some whitespace style issues in some auto-generated files.

Signed-off-by: default avatarChris Metcalf <cmetcalf@tilera.com>
parent ad2a4bb3
Loading
Loading
Loading
Loading
+44 −46
Original line number Diff line number Diff line
@@ -460,8 +460,7 @@ struct adjust_timestamp_aux_param {
	int64_t nsec;
};

int gxio_mpipe_adjust_timestamp_aux(gxio_mpipe_context_t * context,
				    int64_t nsec)
int gxio_mpipe_adjust_timestamp_aux(gxio_mpipe_context_t *context, int64_t nsec)
{
	struct adjust_timestamp_aux_param temp;
	struct adjust_timestamp_aux_param *params = &temp;
@@ -475,25 +474,6 @@ int gxio_mpipe_adjust_timestamp_aux(gxio_mpipe_context_t * context,

EXPORT_SYMBOL(gxio_mpipe_adjust_timestamp_aux);

struct adjust_timestamp_freq_param {
	int32_t ppb;
};

int gxio_mpipe_adjust_timestamp_freq(gxio_mpipe_context_t * context,
				     int32_t ppb)
{
	struct adjust_timestamp_freq_param temp;
	struct adjust_timestamp_freq_param *params = &temp;

	params->ppb = ppb;

	return hv_dev_pwrite(context->fd, 0, (HV_VirtAddr) params,
			     sizeof(*params),
			     GXIO_MPIPE_OP_ADJUST_TIMESTAMP_FREQ);
}

EXPORT_SYMBOL(gxio_mpipe_adjust_timestamp_freq);

struct config_edma_ring_blks_param {
	unsigned int ering;
	unsigned int max_blks;
@@ -520,6 +500,24 @@ int gxio_mpipe_config_edma_ring_blks(gxio_mpipe_context_t * context,

EXPORT_SYMBOL(gxio_mpipe_config_edma_ring_blks);

struct adjust_timestamp_freq_param {
	int32_t ppb;
};

int gxio_mpipe_adjust_timestamp_freq(gxio_mpipe_context_t *context, int32_t ppb)
{
	struct adjust_timestamp_freq_param temp;
	struct adjust_timestamp_freq_param *params = &temp;

	params->ppb = ppb;

	return hv_dev_pwrite(context->fd, 0, (HV_VirtAddr) params,
			     sizeof(*params),
			     GXIO_MPIPE_OP_ADJUST_TIMESTAMP_FREQ);
}

EXPORT_SYMBOL(gxio_mpipe_adjust_timestamp_freq);

struct arm_pollfd_param {
	union iorpc_pollfd pollfd;
};
+7 −8
Original line number Diff line number Diff line
@@ -15,7 +15,6 @@
/* This file is machine-generated; DO NOT EDIT! */
#include "gxio/iorpc_mpipe_info.h"


struct instance_aux_param {
	_gxio_mpipe_link_name_t name;
};
+4 −4

File changed.

Contains only whitespace changes.

+4 −4

File changed.

Contains only whitespace changes.

+4 −4

File changed.

Contains only whitespace changes.

+26 −26

File changed.

Contains only whitespace changes.

+14 −14

File changed.

Contains only whitespace changes.

+4 −4

File changed.

Contains only whitespace changes.

+14 −14

File changed.

Contains only whitespace changes.

+6 −6

File changed.

Contains only whitespace changes.

Loading